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
|
data/lib/cocoapods.rb
CHANGED
@@ -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
|
|
data/lib/cocoapods/source.rb
CHANGED
@@ -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)
|
@@ -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
|
-
-
|
9
|
-
version: 0.3.
|
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
|
+
date: 2011-11-22 00:00:00 +01:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|