Commit Graph

277 Commits

Author SHA1 Message Date
Fabio Pelosin
9c71d5ab7a [Platform] Require name for initialization. 2012-06-09 20:24:29 +02:00
Fabio Pelosin
d0ebef6a7a [Platform] Specify deployment target only on initialization. 2012-06-09 18:52:37 +02:00
Fabio Pelosin
7bf8692caa [Podfile] Check that platforms actually have a deployment target.
Closes #305.
2012-06-09 18:34:16 +02:00
Fabio Pelosin
05fba7b679 [Platform] Default deployment targets. 2012-06-09 18:28:35 +02:00
Fabio Pelosin
de9fe2dcea [Linter] Use the deployment target of the specification.
Closes #304.
2012-06-07 19:20:10 +02:00
Fabio Pelosin
8d1430a8bd [Platform] Support initialization from another platform. 2012-06-07 19:06:49 +02:00
Fabio Pelosin
d1a9af21a5 [LocalPod] Fix for over aggressive #clean.
Paths that contain or are contained by an used path are now preserved.
The new logic works well with used path that are directories.

Closes #300
2012-06-06 18:30:18 +02:00
Fabio Pelosin
eeeef2322e Merge branch 'master' of github.com:CocoaPods/CocoaPods
* 'master' of github.com:CocoaPods/CocoaPods:
  Fix integration spec, which was trying to assign a source to subspecs.
  Fix spec that was using a newer version of lib than expected.
  Update spec repo fixture to latest 0.6 and fix CP version checking.
  Fix a RubyGems specific version spec failure.
  Update SSToolkit fixture submodule.
  Fix version number.

Conflicts:
	lib/cocoapods/command/repo.rb
2012-05-29 18:25:45 +02:00
Fabio Pelosin
8a1a5d30fa [Repo] Class method to return if a repo is compatible. 2012-05-29 18:20:08 +02:00
Eloy Duran
378a4ae0af Fix a RubyGems specific version spec failure. 2012-05-29 17:03:07 +02:00
Fabio Pelosin
598c743c28 Update to the last head of Xcodeproj. 2012-05-28 20:05:12 +02:00
Fabio Pelosin
68d5cbd10f [Specs] Robustness of specs related to target_integrator. 2012-05-27 15:42:31 +02:00
Fabio Pelosin
76fcc49057 Merge branch 'issue-246'
* issue-246:
  [Specs] Detect the target with the matching name.
  [TargetIntegrator] Detect the target with the matching name.
2012-05-27 13:15:18 +02:00
Fabio Pelosin
e58b364dd2 [Specs] Detect the target with the matching name. 2012-05-27 13:14:54 +02:00
Fabio Pelosin
a9a1d332fd [Specs] Fix minor failure on Travis. 2012-05-26 18:31:18 +02:00
Fabio Pelosin
8ae9f97c19 [Specs] Forgot to update the specs for the previous changes :-)
Bonus: stray #puts for debug.
2012-05-25 21:57:23 +02:00
Fabio Pelosin
57f29716e9 Merge branch 'master' of github.com:CocoaPods/CocoaPods
* 'master' of github.com:CocoaPods/CocoaPods: (25 commits)
  Updated CHANGELOG.md
  Added acknowledgements_path to TargetDefinition class
  Use String.empty? instead of == ""
  Made Acknowledgements Plist title configurable
  Fixed Acknowledgements file names
  Removed unnecessary () from specs
  Improved Markdown Acknowledgements unit testing
  Improved Plist Acknowledgements unit testing some more
  Improve Acknowledgements unit testing
  Improve Plist Acknowledgements unit testing a little
  Completed basic implementation of Markdown Acknowledgements subclass
  WIP: Added Markdown Acknowledgements subclass
  Added Plist Acknowledgements sub-class
  Changed Local_pod license method to license_text and added fallback to file if no text specified
  Cleaned up BananaLib fixture a little
  Simplify Acknowledgement file saving
  Correct a few typos
  Minor changes to Acknowledgements header and footer text
  Integrate acknowledgements generator into install command
  Speculative fix for possible bug when a pod has no licence
  ...
2012-05-25 15:45:25 +02:00
Fabio Pelosin
4458700ed6 [LocalPod] Fix for nasty bug related to Rake::FileList.
If the paths of the pod are resolved when the directory is not
created, FileList will cache no files and not update subsequently.
2012-05-25 14:47:12 +02:00
Will Pragnell
4b4bd46764 Merged branch 'master' into 'acknowledgements' 2012-05-25 08:36:58 +01:00
Fabio Pelosin
9f1b33b159 [Specification] Made homepage, description, and summary top level.
Closes #269
2012-05-24 23:55:01 +02:00
Fabio Pelosin
9511cc44b6 [Specs] Placeholder for LocalPod and TODOs. 2012-05-23 17:30:04 +02:00
Fabio Pelosin
638d78e59a [Specs] Oops... forgot to update for documentation changes. 2012-05-17 14:18:33 +02:00
Fabio Pelosin
572ac974d3 [Specs] Patch bacon to reset Pod::Config::Instance.
One of the tests wasn't restoring the changes it made to the config.
As the test was difficult to track down and the problem would have
become only worse in the future, the issues was solved starting with
a new config before each run.

The performance impact seems negligible and the testing environment is
more predictable.
2012-05-17 13:42:36 +02:00
Fabio Pelosin
cb2942f873 [Specs] Adapting existing specs for recent changes. 2012-05-17 00:49:56 +02:00
Fabio Pelosin
fe461952a1 [Specs] Minor clean up and cosmetic fixes. 2012-05-17 00:24:30 +02:00
Fabio Pelosin
9323fbac6f [Specs] Fix for reinitialization of constant.
The actual warning:
./spec/unit/sandbox_spec.rb:4: warning: already initialized constant TMP_POD_ROOT
Pod::Sandbox
2012-05-16 21:20:41 +02:00
Fabio Pelosin
d59409f6be [Specs] Cleaning up temporary repos helper. 2012-05-16 19:09:03 +02:00
Fabio Pelosin
8bdb41f8ab Merge branch 'master' into spec-refactor
* master:
  Minor copy change
  A few small fixes related to integrating multiple targets/projects.
  Add rake ~> 0.9.0 (for rake/file_list.rb file) to gemspec. Closes #195.
  Fix for https://github.com/CocoaPods/CocoaPods/issues/141
  [Push] Bypass pre-commit hook.
  [Fix] GitHub downloader was downloading the repos twice.

Conflicts:
	spec/unit/resolver_spec.rb
2012-05-14 17:28:25 +02:00
Fabio Pelosin
ebc4b1513f Minor fixes related to master repo update. 2012-05-14 16:31:22 +02:00
Fabio Pelosin
8ecd4bcfda Integration of Specificaiton refactor. 2012-05-14 16:03:52 +02:00
Fabio Pelosin
7162c5afde Completed Pod::Specification refactor. 2012-05-14 16:02:06 +02:00
Fabio Pelosin
65221133fb [LocalPod] Cluster specifications. 2012-05-10 21:30:44 +02:00
Jean Regisser
23a2e68ec2 Fix for https://github.com/CocoaPods/CocoaPods/issues/141 2012-05-10 17:50:28 +02:00
Fabio Pelosin
a1286c7acc Merge branch 'master' into spec-refactor
Get the cache for testing.

* master:
  Enable caching for specs and remove configurable git cache size.
  Save Git chaches in ~/Library/Caches/CocoaPods/Git.
  [Downloader::Git] Skip cache pull if ref is available.
  Restored Pod::Downloader::Git::GitHub.
  [Git] Fix for Travis errors.
  [Git] Increased default cache to 500Mb.
  [Downloader::Git] Completed cache support
  [Git<<Downloader] Fix for url hash
  [Downloader::Git] Cache repos
2012-05-10 15:25:34 +02:00
Fabio Pelosin
0c5c43c1f4 Speficiation#activate_for_platform and collateral improvements. 2012-05-10 14:51:13 +02:00
Fabio Pelosin
0d4dd44b49 Merge pull request #248 from CocoaPods/git-cache
[Downloader::Git] Cache repos
2012-05-09 12:10:32 -07:00
Fabio Pelosin
cfbdef5484 Restored Pod::Downloader::Git::GitHub. 2012-05-09 20:59:35 +02:00
Fabio Pelosin
99d2042530 Simplified resolution process and implemented `main_subspec' substitution. 2012-05-09 18:48:41 +02:00
Fabio Pelosin
ea9b1810d0 WIP Specification refactor. 2012-05-09 15:16:20 +02:00
Eloy Duran
81d3550d71 Actually add the user's build configurations to Pods.xcodeproj.
Closes #105, #121, #215.
2012-05-06 23:18:52 +02:00
Eloy Duran
a0a15ccc7e Add build configurations to the Pods targets based on Debug and Release. 2012-05-06 23:18:52 +02:00
Eloy Duran
c46a4c1b18 Read the configurations from the user's projects and default to :release. 2012-05-06 23:18:52 +02:00
Eloy Duran
660d5a618c Add build configs of all the user's projects to the Pods project.
Still need to do it at the target level too.
2012-05-06 23:18:52 +02:00
Eloy Duran
8453f58555 Podfile#xcodeproj now also takes a hash of custom configurations that the user's project contains. 2012-05-06 23:18:52 +02:00
Will Pragnell
edff6c05d8 Merge branch master into acknowledgements 2012-05-06 17:38:59 +01:00
Will Pragnell
5c62253abd Made Acknowledgements Plist title configurable 2012-05-06 17:32:09 +01:00
Will Pragnell
2c9443458f Fixed Acknowledgements file names 2012-05-06 17:32:09 +01:00
Will Pragnell
4cdeed685d Removed unnecessary () from specs 2012-05-06 17:32:09 +01:00
Will Pragnell
de6a8702f4 Improved Markdown Acknowledgements unit testing 2012-05-06 17:32:08 +01:00
Will Pragnell
14821f6814 Improved Plist Acknowledgements unit testing some more 2012-05-06 17:32:08 +01:00