Commit 0ba09e15 authored by Fabio Pelosin's avatar Fabio Pelosin

Merge branch 'master' into 0.17

* master:
  Update README.md
  Release 0.16.1
  [Gemspec] Bump Xcodeproj to 0.4.1
  [CHANGELOG] Update for Xcodeproj 0.4.1 and CocoaPods 0.16.1
  Update bundle and make specs green.
  [Update Command] Remove duplicate option in help. Closes #725.
  Update previous patch to match code-style.
  Unpack tgz files into pod's root #727
  If a repo isn't passed to push default to master

Conflicts:
	CHANGELOG.md
	Gemfile.lock
	cocoapods.gemspec
	lib/cocoapods.rb
	lib/cocoapods/command/push.rb
	lib/cocoapods/command/update.rb
	lib/cocoapods/downloader/http.rb
	spec/functional/downloader_spec.rb
	spec/unit/http_spec.rb
parents a917e967 b8f9f326
...@@ -64,6 +64,30 @@ ...@@ -64,6 +64,30 @@
- Added Library class. - Added Library class.
- Added XCConfig generator. - Added XCConfig generator.
## 0.16.1
[CocoaPods](https://github.com/CocoaPods/CocoaPods/compare/0.16.0...0.16.1)[Xcodeproj](https://github.com/CocoaPods/Xcodeproj/compare/0.4.0...0.4.1)
###### Bug fixes
- After unpacking source from a HTTP location, move the source into the parent
dir if the archive contained only one child. This is done to make it
consistent with how source from other types of locations are described in a
podspec.
**NOTE** This might break some podspecs that assumed the incorrect layout.
[#727](https://github.com/CocoaPods/CocoaPods/issues/727)
[#728](https://github.com/CocoaPods/CocoaPods/pull/728)
- Remove duplicate option in `pod update` command.
[#725](https://github.com/CocoaPods/CocoaPods/issues/725)
- Memory fixes in Xcodeproj.
[#43](https://github.com/CocoaPods/Xcodeproj/pull/43)
###### Xcodeproj Enhancements
- Sort contents of xcconfig files by setting name.
[#591](https://github.com/CocoaPods/CocoaPods/issues/591)
- Add helpers to get platform name, deployment target, and frameworks build phases
- Take SDKROOT into account when adding frameworks.
## 0.16.0 ## 0.16.0
[CocoaPods](https://github.com/CocoaPods/CocoaPods/compare/0.16.0.rc5...master) [CocoaPods](https://github.com/CocoaPods/CocoaPods/compare/0.16.0.rc5...master)
......
GIT GIT
remote: git://github.com/CocoaPods/Core.git remote: git://github.com/CocoaPods/Core.git
revision: 423f7364a74324db85238d3e8f8587b8191d7372 revision: cccab9046f9c94f9eeba6dff6a3783589315c7f9
specs: specs:
cocoapods-core (0.17.0.alpha) cocoapods-core (0.17.0.alpha)
activesupport (~> 3.2.6) activesupport (~> 3.2.6)
...@@ -9,15 +9,15 @@ GIT ...@@ -9,15 +9,15 @@ GIT
GIT GIT
remote: git://github.com/CocoaPods/Xcodeproj.git remote: git://github.com/CocoaPods/Xcodeproj.git
revision: 161ed66566a887208d1b20344b920a946664bdee revision: 39b060359900d5d319f8e42e50d641ef58bf7825
specs: specs:
xcodeproj (0.4.0) xcodeproj (0.4.1)
activesupport (~> 3.2.6) activesupport (~> 3.2.6)
colored (~> 1.2) colored (~> 1.2)
GIT GIT
remote: git://github.com/CocoaPods/cocoapods-downloader remote: git://github.com/CocoaPods/cocoapods-downloader
revision: b349db398d5e9205a67974f70906fec2c7a0e588 revision: f5fc744975f89be09bce4775ed255c0f7b8eee33
specs: specs:
cocoapods-downloader (0.1.0) cocoapods-downloader (0.1.0)
...@@ -44,17 +44,17 @@ PATH ...@@ -44,17 +44,17 @@ PATH
octokit (~> 1.7) octokit (~> 1.7)
open4 (~> 1.3.0) open4 (~> 1.3.0)
rake (~> 0.9.4) rake (~> 0.9.4)
xcodeproj (~> 0.4.0) xcodeproj (~> 0.4.1)
GEM GEM
remote: http://rubygems.org/ remote: http://rubygems.org/
specs: specs:
activesupport (3.2.9) activesupport (3.2.11)
i18n (~> 0.6) i18n (~> 0.6)
multi_json (~> 1.0) multi_json (~> 1.0)
addressable (2.3.2) addressable (2.3.2)
awesome_print (1.1.0) awesome_print (1.1.0)
bacon (1.1.0) bacon (1.2.0)
claide (0.2.0) claide (0.2.0)
coderay (1.0.8) coderay (1.0.8)
colored (1.2) colored (1.2)
...@@ -66,8 +66,8 @@ GEM ...@@ -66,8 +66,8 @@ GEM
github-markup (0.7.5) github-markup (0.7.5)
hashie (1.2.0) hashie (1.2.0)
i18n (0.6.1) i18n (0.6.1)
json (1.7.5) json (1.7.6)
listen (0.6.0) listen (0.7.2)
metaclass (0.0.1) metaclass (0.0.1)
method_source (0.8.1) method_source (0.8.1)
mocha (0.11.4) mocha (0.11.4)
...@@ -76,23 +76,25 @@ GEM ...@@ -76,23 +76,25 @@ GEM
mocha (>= 0.9.8) mocha (>= 0.9.8)
multi_json (1.5.0) multi_json (1.5.0)
multipart-post (1.1.5) multipart-post (1.1.5)
octokit (1.19.0) netrc (0.7.7)
octokit (1.21.0)
addressable (~> 2.2) addressable (~> 2.2)
faraday (~> 0.8) faraday (~> 0.8)
faraday_middleware (~> 0.9) faraday_middleware (~> 0.9)
hashie (~> 1.2) hashie (~> 1.2)
multi_json (~> 1.3) multi_json (~> 1.3)
netrc (~> 0.7.7)
open4 (1.3.0) open4 (1.3.0)
posix-spawn (0.3.6) posix-spawn (0.3.6)
pry (0.9.10) pry (0.9.10)
coderay (~> 1.0.5) coderay (~> 1.0.5)
method_source (~> 0.8) method_source (~> 0.8)
slop (~> 3.3.1) slop (~> 3.3.1)
pygments.rb (0.3.3) pygments.rb (0.3.7)
posix-spawn (~> 0.3.6) posix-spawn (~> 0.3.6)
yajl-ruby (~> 1.1.0) yajl-ruby (~> 1.1.0)
rake (0.9.6) rake (0.9.6)
rb-fsevent (0.9.2) rb-fsevent (0.9.3)
redcarpet (2.2.2) redcarpet (2.2.2)
slop (3.3.3) slop (3.3.3)
terminal-notifier (1.4.2) terminal-notifier (1.4.2)
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
CocoaPods manages library dependencies for your Xcode project. CocoaPods manages library dependencies for your Xcode project.
Homepage: [http://cocoapods.org/](http://cocoapods.org/) Homepage: [http://cocoapods.org/](http://cocoapods.org/)
Twitter: [@CocoaPodsOrg](http://twitter.com/CocoaPodsOrg) Twitter: [@CocoaPods](http://twitter.com/CocoaPods)
Mailing List: [http://groups.google.com/group/cocoapods](http://groups.google.com/group/cocoapods) Mailing List: [http://groups.google.com/group/cocoapods](http://groups.google.com/group/cocoapods)
You specify the dependencies for your project in one easy text file. CocoaPods resolves dependencies between libraries, fetches source code for the dependencies, and creates and maintains an Xcode workspace to build your project. You specify the dependencies for your project in one easy text file. CocoaPods resolves dependencies between libraries, fetches source code for the dependencies, and creates and maintains an Xcode workspace to build your project.
...@@ -105,7 +105,7 @@ There are several other ways to start using **any** library without a Pod specif ...@@ -105,7 +105,7 @@ There are several other ways to start using **any** library without a Pod specif
All CocoaPods development happens on GitHub, there is a repository for [CocoaPods](https://github.com/CocoaPods/CocoaPods) and one for the [CocoaPods specs](https://github.com/CocoaPods/Specs). Contributing patches or Pods is really easy and gratifying. You even get push access when one of your specs or patches is accepted. All CocoaPods development happens on GitHub, there is a repository for [CocoaPods](https://github.com/CocoaPods/CocoaPods) and one for the [CocoaPods specs](https://github.com/CocoaPods/Specs). Contributing patches or Pods is really easy and gratifying. You even get push access when one of your specs or patches is accepted.
Follow [@CocoaPodsOrg](http://twitter.com/CocoaPodsOrg) to get up to date information about what's going on in the CocoaPods world. Follow [@CocoaPods](http://twitter.com/CocoaPods) to get up to date information about what's going on in the CocoaPods world.
# Donations # Donations
......
...@@ -35,7 +35,7 @@ Gem::Specification.new do |s| ...@@ -35,7 +35,7 @@ Gem::Specification.new do |s|
s.add_runtime_dependency 'cocoapods-core' s.add_runtime_dependency 'cocoapods-core'
s.add_runtime_dependency 'claide', '~> 0.1' s.add_runtime_dependency 'claide', '~> 0.1'
s.add_runtime_dependency 'xcodeproj', '~> 0.4.0' s.add_runtime_dependency 'xcodeproj', '~> 0.4.1'
s.add_runtime_dependency 'faraday', '~> 0.8.1' s.add_runtime_dependency 'faraday', '~> 0.8.1'
s.add_runtime_dependency 'octokit', '~> 1.7' s.add_runtime_dependency 'octokit', '~> 1.7'
......
...@@ -24,7 +24,14 @@ module Pod ...@@ -24,7 +24,14 @@ module Pod
@allow_warnings = argv.flag?('allow-warnings') @allow_warnings = argv.flag?('allow-warnings')
@local_only = argv.flag?('local-only') @local_only = argv.flag?('local-only')
@repo = argv.shift_argument @repo = argv.shift_argument
@podspec = argv.shift_argument if @repo.nil?
@repo = "master"
elsif @repo.end_with? ".podspec"
@podspec = @repo
@repo = "master"
else
@podspec = argv.shift_argument
end
super super
end end
......
...@@ -3,17 +3,12 @@ require File.expand_path('../../../spec_helper', __FILE__) ...@@ -3,17 +3,12 @@ require File.expand_path('../../../spec_helper', __FILE__)
module Pod module Pod
describe Command::Push do describe Command::Push do
extend SpecHelper::Command extend SpecHelper::Command
extend SpecHelper::TemporaryRepos extend SpecHelper::TemporaryRepos
before do before do
config.repos_dir = SpecHelper.tmp_repos_path config.repos_dir = SpecHelper.tmp_repos_path
end end
it "requires a spec-repo name" do
lambda { command('push').validate! }.should.raise CLAide::Help
end
it "complains if it can't find the repo" do it "complains if it can't find the repo" do
Dir.chdir(fixture('banana-lib')) do Dir.chdir(fixture('banana-lib')) do
cmd = command('push', 'missing_repo') cmd = command('push', 'missing_repo')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment