Commit 2a21c651 authored by Fabio Pelosin's avatar Fabio Pelosin

Merge pull request #208 from CocoaPods/spec-create

Spec create
parents 4909373d 6c304ff7
...@@ -3,6 +3,8 @@ source "http://rubygems.org" ...@@ -3,6 +3,8 @@ source "http://rubygems.org"
gem "open4" gem "open4"
gem "colored" gem "colored"
gem "escape" gem "escape"
gem "json"
gem "octokit"
group :development do group :development do
gem "xcodeproj", :git => "git://github.com/CocoaPods/Xcodeproj.git" gem "xcodeproj", :git => "git://github.com/CocoaPods/Xcodeproj.git"
...@@ -14,4 +16,5 @@ group :development do ...@@ -14,4 +16,5 @@ group :development do
gem "rb-fsevent" gem "rb-fsevent"
gem "vcr" gem "vcr"
gem "webmock" gem "webmock"
gem "awesome_print"
end end
...@@ -8,10 +8,19 @@ GEM ...@@ -8,10 +8,19 @@ GEM
remote: http://rubygems.org/ remote: http://rubygems.org/
specs: specs:
addressable (2.2.7) addressable (2.2.7)
awesome_print (1.0.2)
bacon (1.1.0) bacon (1.1.0)
colored (1.2) colored (1.2)
crack (0.3.1) crack (0.3.1)
escape (0.0.4) escape (0.0.4)
faraday (0.7.6)
addressable (~> 2.2)
multipart-post (~> 1.1)
rack (~> 1.1)
faraday_middleware (0.8.6)
faraday (>= 0.7.4, < 0.9)
hashie (1.2.0)
json (1.6.6)
kicker (2.5.0) kicker (2.5.0)
rb-fsevent rb-fsevent
metaclass (0.0.1) metaclass (0.0.1)
...@@ -19,7 +28,16 @@ GEM ...@@ -19,7 +28,16 @@ GEM
metaclass (~> 0.0.1) metaclass (~> 0.0.1)
mocha-on-bacon (0.2.0) mocha-on-bacon (0.2.0)
mocha (>= 0.9.8) mocha (>= 0.9.8)
multi_json (1.1.0)
multipart-post (1.1.5)
octokit (1.0.1)
addressable (~> 2.2)
faraday (~> 0.7)
faraday_middleware (~> 0.8)
hashie (~> 1.2)
multi_json (~> 1.0)
open4 (1.3.0) open4 (1.3.0)
rack (1.4.1)
rake (0.9.2.2) rake (0.9.2.2)
rb-fsevent (0.9.1) rb-fsevent (0.9.1)
vcr (2.0.1) vcr (2.0.1)
...@@ -31,11 +49,14 @@ PLATFORMS ...@@ -31,11 +49,14 @@ PLATFORMS
ruby ruby
DEPENDENCIES DEPENDENCIES
awesome_print
bacon bacon
colored colored
escape escape
json
kicker kicker
mocha-on-bacon mocha-on-bacon
octokit
open4 open4
rake rake
rb-fsevent rb-fsevent
......
This diff is collapsed.
...@@ -54,11 +54,11 @@ describe "Pod::Command" do ...@@ -54,11 +54,11 @@ describe "Pod::Command" do
spec = Pod::Specification.from_file(path) spec = Pod::Specification.from_file(path)
spec.name.should == 'Bananas' spec.name.should == 'Bananas'
spec.license.should == { :type => "MIT", :file => "LICENSE" } spec.license.should == { :type => "MIT", :file => "LICENSE" }
spec.version.should == Pod::Version.new('1.0.0') spec.version.should == Pod::Version.new('0.0.1')
spec.summary.should == 'A short description of Bananas.' spec.summary.should == 'A short description of Bananas.'
spec.homepage.should == 'http://EXAMPLE/Bananas' spec.homepage.should == 'http://EXAMPLE/Bananas'
spec.authors.should == { `git config --get user.name`.strip => `git config --get user.email`.strip, "other author" => "and email address" } spec.authors.should == { `git config --get user.name`.strip => `git config --get user.email`.strip}
spec.source.should == { :git => 'http://EXAMPLE/Bananas.git', :tag => '1.0.0' } spec.source.should == { :git => 'http://EXAMPLE/Bananas.git', :tag => '0.0.1' }
spec.description.should == 'An optional longer description of Bananas.' spec.description.should == 'An optional longer description of Bananas.'
spec.source_files[:ios].should == ['Classes', 'Classes/**/*.{h,m}'] spec.source_files[:ios].should == ['Classes', 'Classes/**/*.{h,m}']
end end
......
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