60 Commits

Author SHA1 Message Date
Fabio Pelosin
d1ef7c739c [Specs] Fix for master repo update & small performance improvements. 2012-11-23 20:44:02 +01:00
Fabio Pelosin
b455a33309 [Set] Support for multiple sources.
Closes #85
2012-09-22 21:16:55 +02:00
Fabio Pelosin
7df2566a17 [Specs] minor fix. 2012-09-19 21:10:06 +02:00
Fabio Pelosin
cdecc32a23 Merge branch 'master' into b0.15.0
* master:
  [Specs] Minor fix for Command::Push.
  [Push] Use git! where possible.
  [Specs] fix for the fix that was supposed to fix Travis.
  [Specs] Fix for Travis issues.
  [Source] The name should be an attribute.
  [Specs] Fixed Travis errors related to Command::Repo.
  [Linter] Fixed minor bug.
  Update CHANGELOG.md
  Update lib/cocoapods/generator/acknowledgements/markdown.rb
  Update lib/cocoapods/generator/acknowledgements/markdown.rb
  [Linter] Promote long summary warning to an error.

Conflicts:
	lib/cocoapods/command/push.rb
2012-09-19 20:53:05 +02:00
Fabio Pelosin
a478de621e [Specs] Minor fix for Command::Push. 2012-09-19 20:41:40 +02:00
Fabio Pelosin
d94da4bcfd [Specs] fix for the fix that was supposed to fix Travis. 2012-09-19 20:23:16 +02:00
Fabio Pelosin
d370ca2a23 [Specs] Fix for Travis issues. 2012-09-19 20:12:39 +02:00
Fabio Pelosin
476558265a [Specs] Fixed Travis errors related to Command::Repo. 2012-09-19 19:30:29 +02:00
Fabio Pelosin
76cb703e26 [UI] Adoption in Pod::Command classes. 2012-09-19 18:57:21 +02:00
Fabio Pelosin
0360ab89b4 [Linter] Promote long summary warning to an error. 2012-09-19 14:21:19 +02:00
Fabio Pelosin
bb911ddcd4 [Specs] Fix repo specs. 2012-09-19 02:15:22 +02:00
Fabio Pelosin
34a68534d8 Introduced Pod update, outdated.
See #131, #191.

- The installer is initialized with a resolver. The resolver is responsible of
  indicating which specs must be installed/reinstalled.
- It was introduced a slight change in the format of the Podfile.lock.
- The specification set was simplified to receive and handle Pod::Dependency
  instead of Pod::Specification. With this change it also appears to be more
  robust.

A this stage it appears to be working. However the support, for external and
head dependencies is weak.
2012-08-08 11:42:12 +02:00
Fabio Pelosin
741cece15a [Specs] Minor fix for
Managing spec-repos:

    $ pod repo add NAME URL [BRANCH]

      Clones `URL' in the local spec-repos directory at `~/.cocoapods'. The
      remote can later be referred to by `NAME'.

    $ pod repo update NAME

      Updates the local clone of the spec-repo `NAME'. If `NAME' is omitted
      this will update all spec-repos in `~/.cocoapods'.

Options:

    --help       Show help information
    --silent     Print nothing
    --no-color   Print output without color
    --verbose    Print more information while working
    --version    Prints the version of CocoaPods.
2012-08-07 00:34:55 +02:00
Fabio Pelosin
28c50294dd [Linter] Extracted the Linter and added pod repo lint.
Closes #423.
2012-08-07 00:00:35 +02:00
Fabio Pelosin
68f22d1903 [#221] Completed merge. 2012-08-06 16:38:38 +02:00
Fabio Pelosin
d44e0feb29 Merge https://github.com/groue/CocoaPods into public_headers
* https://github.com/groue/CocoaPods:
  [#221] robustness against nil file lists (such as public_header_files)
  [#221] code cleanup
  [#221] HEADER_SEARCH_PATHS value comes from the new variable PODS_HEADER_SEARCH_PATHS. PODS_HEADER_SEARCH_PATHS is set to public headers search paths in Pods.xcconfig, and to build headers search paths in Pods.xcodeproj.
  [#221] Pod::Sandbox#build_header_storage and Pod::Sandbox#public_header_storage
  [#221] Pod::Spec#public_header_files accepted and validated by `pod spec lint`

Conflicts:
	lib/cocoapods/command/spec.rb
	lib/cocoapods/installer/target_installer.rb
	lib/cocoapods/local_pod.rb
	lib/cocoapods/sandbox.rb
	lib/cocoapods/specification.rb
	spec/functional/command/spec_spec.rb
	spec/unit/local_pod_spec.rb
2012-08-06 15:09:58 +02:00
Fabio Pelosin
81c1043dd2 [Spec#lint] Fix. 2012-07-03 17:11:26 +02:00
Fabio Pelosin
aa8d39a062 Merge branch 'master' into develop
* master:
  Fix #324 - Setup should use `https://github.com/CocoaPods/Specs.git` url
2012-06-29 13:42:46 +02:00
Fabio Pelosin
cae642fe6b Revert "[Platform] Always show the deployment target in #to_s."
This reverts commit cfe61a6961.

Conflicts:
	lib/cocoapods/command/spec.rb

See #358
2012-06-28 16:59:09 +02:00
Alex Rothenberg
f324053abf Fix #324 - Setup should use https://github.com/CocoaPods/Specs.git url 2012-06-28 10:57:06 -04:00
Fabio Pelosin
aaa4a8dc9f [Spec#lint] Simplified handling of directories and repos. 2012-06-27 16:10:06 +02:00
Fabio Pelosin
cfe61a6961 [Platform] Always show the deployment target in #to_s.
Previously the deployment was shown only if explicitly declared.
However, as the Specification class needs a different default than
the Podfile class and thus needs to declare it, this was not useful
anymore.
2012-06-27 14:57:43 +02:00
Fabio Pelosin
15540df30f [Specs] Don't update master repo fixture. 2012-06-07 17:02:40 +02:00
Fabio Pelosin
1f1cc97ae2 [Spec] Fine-tuning template. 2012-05-31 14:08:44 +02:00
Fabio Pelosin
736308452d [Specs] More robust test for Repo branch feature. 2012-05-29 22:46:39 +02:00
Fabio Pelosin
dcd85e7263 [Repo] Allow to specify a branch for new repos. 2012-05-29 21:23:33 +02:00
Fabio Pelosin
4d4e3a9521 [Repo] Fix spelling mistake. 2012-05-29 19:54:21 +02:00
Fabio Pelosin
b5bdcea695 [Specs] Fix for incompatibility with current master repo. 2012-05-29 19:50:46 +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
78d54274e9 Update spec repo fixture to latest 0.6 and fix CP version checking. 2012-05-29 17:24:30 +02:00
Fabio Pelosin
9f1b33b159 [Specification] Made homepage, description, and summary top level.
Closes #269
2012-05-24 23:55:01 +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
d59409f6be [Specs] Cleaning up temporary repos helper. 2012-05-16 19:09:03 +02:00
Fabio Pelosin
e2867dade8 Updated master repo in fixtures. 2012-05-14 16:18:25 +02:00
Fabio Pelosin
0c5c43c1f4 Speficiation#activate_for_platform and collateral improvements. 2012-05-10 14:51:13 +02:00
Gwendal Roué
3f9aa83790 [#221] Pod::Sandbox#build_header_storage and Pod::Sandbox#public_header_storage
Those methods return Pod::HeaderStorage instances, managing respectively build headers and public headers.

Those objects replace and encapsulate former Pod::Sandbox#headers_root, add_header_file, add_header_files and header_search_paths methods.

For instance, instead of sandbox.header_search_paths, write sandbox.build_header_storage.search_paths.
2012-05-10 14:49:03 +02:00
Fabio Pelosin
e19bf01c46 [# 242 Command::Spec::Linter] Refactoring
- moved Specification#validate! to Linter
- fixed FileList bugs
- cleaned up
2012-05-02 23:39:42 +02:00
Fabio Pelosin
03138241f3 [Command::Spec::Linter] Error for name mismatch.
Related to [#239]
2012-04-30 17:44:57 +02:00
Fabio Pelosin
04bb26a781 [Specs] Minor fixes. 2012-04-29 15:07:54 +02:00
Fabio Pelosin
9d40f196b0 [Pod::Command::Spec] refinements 2012-04-26 23:00:49 +02:00
Fabio Pelosin
82372f3431 [Specs] Fix for missing tmp directory in Spec command 2012-04-26 20:06:40 +02:00
Fabio Pelosin
56e8c133e2 [Specs] quick fix for search (spec helpers need refactoring) 2012-04-24 18:48:33 +02:00
Fabio Pelosin
3b074a3d6c [Specs] more fixes - Ooooops edition 2012-04-24 18:35:44 +02:00
Fabio Pelosin
ae9d9d9b78 [Specs] more fixes 2012-04-24 18:25:06 +02:00
Fabio Pelosin
7290b8826d [Specs] xcodebuild fix for Travis 2012-04-24 18:10:39 +02:00
Fabio Pelosin
c16445d853 [Specs] Added specs for PUSH command and for the improvements to SPEC LINT subcommand 2012-04-24 16:13:58 +02:00
Fabio Pelosin
08254fbeb8 [Specs] Minor check for Pod::Command::Search arguments 2012-04-21 15:33:50 +02:00