cocoapods 0.5.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2011 Eloy Durán <eloy.de.enige@gmail.com>
1
+ Copyright (c) 2012 Eloy Durán <eloy.de.enige@gmail.com>
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  of this software and associated documentation files (the "Software"), to deal
data/README.md CHANGED
@@ -4,6 +4,10 @@
4
4
 
5
5
  CocoaPods manages library dependencies for your Xcode project.
6
6
 
7
+ Homepage: [http://cocoapods.org/](http://cocoapods.org/)
8
+ Twitter: [@CocoaPodsOrg](http://twitter.com/CocoaPodsOrg)
9
+ Mailing List: [http://groups.google.com/group/cocoapods](http://groups.google.com/group/cocoapods)
10
+
7
11
  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.
8
12
 
9
13
  Ultimately, the goal is to improve discoverability of, and engagement in, third party open-source libraries, by creating a more centralized ecosystem.
data/bin/pod CHANGED
@@ -1,6 +1,7 @@
1
- #!/usr/bin/env macruby
1
+ #!/usr/bin/env ruby
2
2
 
3
3
  if $0 == __FILE__
4
+ $:.unshift File.expand_path('../../external/xcodeproj/ext', __FILE__)
4
5
  $:.unshift File.expand_path('../../external/xcodeproj/lib', __FILE__)
5
6
  $:.unshift File.expand_path('../../lib', __FILE__)
6
7
  end
data/lib/cocoapods.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module Pod
2
- VERSION = '0.5.0'
2
+ VERSION = '0.5.1'
3
3
 
4
4
  class Informative < StandardError
5
5
  end
@@ -120,7 +120,7 @@ module Pod
120
120
  def lint
121
121
  file = @name ? Pathname.new(@name) : Pathname.pwd.glob('*.podspec').first
122
122
  spec = Specification.from_file(file)
123
- spec.validate!
123
+ puts "This pod specification contains all required attributes." if spec.validate!
124
124
  end
125
125
  end
126
126
  end
@@ -154,7 +154,7 @@ module Pod
154
154
  include Config::Mixin
155
155
 
156
156
  def local?
157
- !source[:local].nil?
157
+ !source.nil? && !source[:local].nil?
158
158
  end
159
159
 
160
160
  def local_path
@@ -337,12 +337,16 @@ module Pod
337
337
  allowed = [nil, :ios, :osx]
338
338
  incorrect << ["`platform'", allowed] unless allowed.include?(platform.name)
339
339
 
340
- unless missing.empty? && incorrect.empty?
340
+ no_errors_found = missing.empty? && incorrect.empty?
341
+
342
+ unless no_errors_found
341
343
  message = "The following #{(missing + incorrect).size == 1 ? 'attribute is' : 'attributes are'}:\n"
342
344
  message << "* missing: #{missing.join(", ")}" unless missing.empty?
343
345
  message << "* incorrect: #{incorrect.map { |x| "#{x[0]} (#{x[1..-1]})" }.join(", ")}" unless incorrect.empty?
344
346
  raise Informative, message
345
347
  end
348
+
349
+ no_errors_found
346
350
  end
347
351
 
348
352
  # This is a convenience method which gets called after all pods have been
metadata CHANGED
@@ -1,43 +1,63 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: cocoapods
3
- version: !ruby/object:Gem::Version
4
- version: 0.5.0
5
- prerelease:
3
+ version: !ruby/object:Gem::Version
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 5
8
+ - 1
9
+ version: 0.5.1
6
10
  platform: ruby
7
- authors:
11
+ authors:
8
12
  - Eloy Duran
9
13
  autorequire:
10
14
  bindir: bin
11
15
  cert_chain: []
12
- date: 2011-11-22 00:00:00.000000000 Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
16
+
17
+ date: 2012-02-22 00:00:00 +01:00
18
+ default_executable:
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
15
21
  name: xcodeproj
16
- requirement: &70184002384740 !ruby/object:Gem::Requirement
17
- none: false
18
- requirements:
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
24
+ requirements:
19
25
  - - ~>
20
- - !ruby/object:Gem::Version
26
+ - !ruby/object:Gem::Version
27
+ segments:
28
+ - 0
29
+ - 1
30
+ - 0
21
31
  version: 0.1.0
22
32
  type: :runtime
33
+ version_requirements: *id001
34
+ - !ruby/object:Gem::Dependency
35
+ name: bacon
23
36
  prerelease: false
24
- version_requirements: *70184002384740
25
- description: ! 'CocoaPods manages library dependencies for your Xcode project.
26
-
27
-
28
- You specify the dependencies for your project in one easy text file. CocoaPods resolves
29
- dependencies between libraries, fetches source code for the dependencies, and creates
30
- and maintains an Xcode workspace to build your project.
31
-
32
-
33
- Ultimately, the goal is to improve discoverability of, and engagement in, third
34
- party open-source libraries, by creating a more centralized ecosystem.'
37
+ requirement: &id002 !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - ~>
40
+ - !ruby/object:Gem::Version
41
+ segments:
42
+ - 1
43
+ - 1
44
+ version: "1.1"
45
+ type: :development
46
+ version_requirements: *id002
47
+ description: |-
48
+ CocoaPods manages library dependencies for your Xcode project.
49
+
50
+ 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.
51
+
52
+ Ultimately, the goal is to improve discoverability of, and engagement in, third party open-source libraries, by creating a more centralized ecosystem.
35
53
  email: eloy.de.enige@gmail.com
36
- executables:
54
+ executables:
37
55
  - pod
38
56
  extensions: []
57
+
39
58
  extra_rdoc_files: []
40
- files:
59
+
60
+ files:
41
61
  - lib/cocoapods/command/install.rb
42
62
  - lib/cocoapods/command/list.rb
43
63
  - lib/cocoapods/command/repo.rb
@@ -70,30 +90,35 @@ files:
70
90
  - README.md
71
91
  - LICENSE
72
92
  - CHANGELOG.md
93
+ has_rdoc: true
73
94
  homepage: https://github.com/CocoaPods/CocoaPods
74
- licenses:
95
+ licenses:
75
96
  - MIT
76
- post_install_message: ! '[!] If this is your first time install of CocoaPods, or if
77
- you are upgrading, first run: $ pod setup'
97
+ post_install_message: "[!] If this is your first time install of CocoaPods, or if you are upgrading, first run: $ pod setup"
78
98
  rdoc_options: []
79
- require_paths:
99
+
100
+ require_paths:
80
101
  - lib
81
- required_ruby_version: !ruby/object:Gem::Requirement
82
- none: false
83
- requirements:
84
- - - ! '>='
85
- - !ruby/object:Gem::Version
86
- version: '0'
87
- required_rubygems_version: !ruby/object:Gem::Requirement
88
- none: false
89
- requirements:
90
- - - ! '>='
91
- - !ruby/object:Gem::Version
92
- version: '0'
102
+ required_ruby_version: !ruby/object:Gem::Requirement
103
+ requirements:
104
+ - - ">="
105
+ - !ruby/object:Gem::Version
106
+ segments:
107
+ - 0
108
+ version: "0"
109
+ required_rubygems_version: !ruby/object:Gem::Requirement
110
+ requirements:
111
+ - - ">="
112
+ - !ruby/object:Gem::Version
113
+ segments:
114
+ - 0
115
+ version: "0"
93
116
  requirements: []
117
+
94
118
  rubyforge_project:
95
- rubygems_version: 1.8.11
119
+ rubygems_version: 1.3.6
96
120
  signing_key:
97
121
  specification_version: 3
98
- summary: An Objective-C library package manager. (Requires MacRuby.)
122
+ summary: An Objective-C library package manager.
99
123
  test_files: []
124
+