cocoapods 0.3.5 → 0.3.6

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -52,6 +52,10 @@ And then you [install the dependencies](https://github.com/CocoaPods/CocoaPods/w
52
52
 
53
53
  _Where ‘App.xcodeproj’ is the name of your actual application project._
54
54
 
55
+ The next time you change your Podfile, you can update your project by simply running:
56
+
57
+ $ pod install
58
+
55
59
  Remember to always open the Xcode workspace instead of the project file when you're building.
56
60
 
57
61
  $ open App.xcworkspace
@@ -1,5 +1,5 @@
1
1
  module Pod
2
- VERSION = '0.3.5'
2
+ VERSION = '0.3.6'
3
3
 
4
4
  class Informative < StandardError
5
5
  end
@@ -7,7 +7,7 @@ module Pod
7
7
  install_resource()
8
8
  {
9
9
  echo "cp -R ${SRCROOT}/Pods/$1 ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
10
- cp -R ${SRCROOT}/Pods/$1 ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}
10
+ cp -R "${SRCROOT}/Pods/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
11
11
  }
12
12
  EOS
13
13
 
@@ -13,7 +13,8 @@ module Pod
13
13
 
14
14
  def self.search(dependency)
15
15
  all.map { |s| s.search(dependency) }.compact.first ||
16
- raise(Informative, "Unable to find a pod named `#{dependency.name}'")
16
+ raise(Informative, "Unable to find a pod named `#{dependency.name}'.\n" \
17
+ "You might want to run `pod repo update` and try again.")
17
18
  end
18
19
 
19
20
  def self.search_by_name(query, full_text_search)
@@ -111,7 +111,7 @@ module Pod
111
111
  attr_writer :compiler_flags
112
112
  def compiler_flags
113
113
  flags = "#{@compiler_flags} "
114
- flags << '-fobj-arc' if @requires_arc
114
+ flags << '-fobjc-arc' if @requires_arc
115
115
  flags
116
116
  end
117
117
 
@@ -61,7 +61,7 @@ module Pod
61
61
  # Return the first version that matches the current dependency.
62
62
  def required_version
63
63
  versions.find { |v| dependency.match?(name, v) } ||
64
- raise(Informative, "Required version (#{dependency}) not found for `#{name}'.")
64
+ raise(Informative, "Required version (#{dependency}) not found for `#{name}'.\nAvailable versions: #{versions.join(', ')}")
65
65
  end
66
66
 
67
67
  def ==(other)
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 3
8
- - 5
9
- version: 0.3.5
8
+ - 6
9
+ version: 0.3.6
10
10
  platform: ruby
11
11
  authors:
12
12
  - Eloy Duran
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2011-11-17 00:00:00 +01:00
17
+ date: 2011-11-22 00:00:00 +01:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency