Commit Graph

1091 Commits

Author SHA1 Message Date
Eloy Duran
b09aaebd4f Contain the cached sets in the Resolver itself. 2012-03-04 21:55:43 +01:00
Eloy Duran
2e872f0fbd Improve integration spec for multiple targets. 2012-03-04 21:55:43 +01:00
Eloy Duran
8c2adafa84 No longer cache Specification::Set in the Set class, but in a Context. 2012-03-04 21:55:43 +01:00
Luke Redpath
9765ffa044 Ensure all header search paths are quoted in the xcconfig file.
Started adding some specs for the target installer, including for this fix.
2012-03-04 17:56:14 +00:00
Eloy Duran
e5ea947dfa Shuffle spec files on each run and make them green on Travis. 2012-03-04 17:30:42 +01:00
Eloy Duran
580c52b087 Need to do the full travis setup for 1.8.7 2012-03-04 17:02:42 +01:00
Eloy Duran
39e492f357 Update Xcodeproj external. 2012-03-04 16:59:41 +01:00
Eloy Duran
0bb0803253 Make all specs green again. 2012-03-04 16:49:53 +01:00
Eloy Duran
7b46404a8b Fix Xcode project generation and a few more specs. 2012-03-04 15:52:11 +01:00
Luke Redpath
fde621d017 My earlier Resolver/TargetInstaller refactoring broke the handling of target-specific specs,
because previously each TargetInstaller would resolve it's specs separately.

Instead, we resolve everything in one go as before, but have the resolver return a hash of
target dependencies to resolved specifications, so when the target installers are run, we only
install the pods for that target that should be in there.

Likewise, we should only call the post-install hook of a specification with the target installers
it belongs to.
2012-03-04 03:18:42 +00:00
Eloy Duran
bf195d74e0 Update Xcodeproj and fix changes needed and a few specs. 2012-03-04 03:38:32 +01:00
Eloy Duran
8e1824445b Fix Travis build now that Xcodeproj has been updated. 2012-03-04 03:03:45 +01:00
Luke Redpath
9d27cb98b3 Not sure how I missed this reference 2012-03-04 01:31:04 +00:00
Luke Redpath
6e4ee6e7b2 Fixes for the latest version of xcodeproj 2012-03-04 01:20:41 +00:00
Luke Redpath
ce8650bbea Refactor the handling of different external sources within a dependency, and if the specification
for an external source can be loaded from the sandbox, because it's already been downloaded, then
just use it rather than trying to pre-download it again.
2012-03-04 00:44:07 +00:00
Luke Redpath
f6e3c90c2e Only the Installer has a #build_specifications method now. 2012-03-04 00:41:27 +00:00
Luke Redpath
85475bc0c2 Pass the file object, not the path. 2012-03-04 00:41:06 +00:00
Luke Redpath
6419aec580 Merge branch 'master' into refactor-podroot
Conflicts:
	Rakefile
2012-03-03 23:16:31 +00:00
Luke Redpath
e0e487bdcb The Sandbox should be able to list its installed pods. 2012-03-03 23:14:59 +00:00
Luke Redpath
de26310114 Resolver is never created with a second argument.
Renamed method argument to make it clear it takes a podfile or a spec.
2012-03-03 23:14:42 +00:00
Eloy Durán
72e9416ea1 Merge pull request #148 from darthdeus/master
External encoding set to UTF-8 on Ruby 1.9 to fix crash caused by non-ascii characters in pod description
2012-03-03 08:30:24 -08:00
Jakub Arnold
8feb7fd9b0 External encoding set to UTF-8 on Ruby 1.9 to fix crash caused by non-ascii characters in pod description 2012-03-03 17:06:55 +01:00
Eloy Duran
1e2f63da4d We need RubyGems >= 1.3.6 2012-03-03 15:42:34 +01:00
Eloy Duran
15779eb0df Add install note about older RubyGems. 2012-03-03 15:35:42 +01:00
Eloy Duran
bc91ef904a The Xcodeproj submodule points to a commit where the namespace was still ext. 2012-03-02 21:14:36 +01:00
Eloy Durán
9638708ec7 Merge pull request #146 from irrationalfab/master
Small fix for copy_resources_script.rb
2012-03-02 12:07:38 -08:00
Eloy Durán
915939d49c Add link to NSScreencast episode. 2012-03-02 20:55:59 +01:00
kermitology
7792945d42 Spelling error 2012-03-02 11:39:26 -07:00
kermitology
bde42895cc Added link to Command Line Tools
Command line tools need to be installed before you can install the
cocoa pod ruby.
2012-03-02 11:38:38 -07:00
Fabio
eb9c5f77a2 Added weak quoting to ibtool input paths 2012-03-02 18:00:47 +01:00
Luke Redpath
d3ca9798cd Rename use of "specification" to "podfile" as that is what is is using; a specification is
something else.
2012-03-01 01:07:58 +00:00
Luke Redpath
3af9e55a36 Just use ProjectIntegration directly. 2012-03-01 00:42:38 +00:00
Luke Redpath
794a427f69 Its not much of a refactoring, but things are a bit clearer now. 2012-03-01 00:16:09 +00:00
Luke Redpath
7db18a2fdc This is really more of a functional spec right now 2012-02-29 23:53:02 +00:00
Eloy Duran
17437fbc5a Fix Travis config. 2012-02-26 18:02:50 +01:00
Luke Redpath
813bdac90e In preparation for further refactoring, extract integration with the user's project into a class
of it's own, and cover it's functionality with some specs.
2012-02-26 02:47:38 +00:00
Luke Redpath
4bd63675ee guard-bacon wasn't really working out for me, just run it using guard-shell instead. 2012-02-26 02:45:20 +00:00
Luke Redpath
e2819ac392 TargetInstaller no longer needs access to #build_specifications 2012-02-25 18:25:19 +00:00
Luke Redpath
a751ba2325 Some minor clean-up and refactoring. 2012-02-25 18:16:45 +00:00
Luke Redpath
7ddf9227c1 Get this working again as it was before. 2012-02-25 18:03:25 +00:00
Luke Redpath
8870faf4ed A bit more refactoring, brought xcodeproj up to date. 2012-02-25 18:00:06 +00:00
Luke Redpath
f0bc0a3f69 Continue to refactor TargetInstaller. 2012-02-25 17:38:27 +00:00
Luke Redpath
8390e00b8a Encapsulate adding a pod's source files to an Xcode target within LocalPod. 2012-02-25 17:15:57 +00:00
Luke Redpath
ef25e3f18f Make spec the default task 2012-02-25 17:01:00 +00:00
Luke Redpath
6ad8dcea38 A few more little bugs. 2012-02-25 17:00:30 +00:00
Luke Redpath
9e8390632f Arguments in the wrong order. 2012-02-25 17:00:19 +00:00
Luke Redpath
2182e47145 Let's make Pod::Project a class in it's own right, inheriting from Xcodeproj::Project, instead
of extending it.
2012-02-25 16:59:55 +00:00
Luke Redpath
8a73c7d3d6 A few little bugs discovered with some end-to-end testing. 2012-02-25 16:28:31 +00:00
Eloy Duran
04a4c425dc Also run the integration spec when running rake spec, but exclude it from Travis. 2012-02-25 17:22:54 +01:00
Luke Redpath
cef1a62776 Refactor the downloaders to still work with Dependency objects. 2012-02-25 13:46:37 +00:00