cocoapods-art 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cocoapods_art.rb +1 -1
- data/lib/cocoapods_plugin.rb +30 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d9d222b46676e4463c5c5aec5a3af35047d54a97d3a9c73ff6ff8a4bd417e699
|
4
|
+
data.tar.gz: b38e06a224c90f1fb14f3687bc2f4a7dfb48302ae5869c457dc81a66a1e7874d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7e9f3dba833a12529559fc8128b9212e7445c2fe0117b02c591fcb5d05ade38d2677ba6b4a289152975c867103e9a147a9f11023cd8a1fbc9b60d2a725992ff3
|
7
|
+
data.tar.gz: 9ce5144075600a8e696581b44ffbe355c8124fe0d6fa4bdc684f8b7d0a347ebcdc79446704c63c964836b6811ab7d10cc82ff9e8eb9983a50c717180c2fdbcde
|
data/lib/cocoapods_art.rb
CHANGED
data/lib/cocoapods_plugin.rb
CHANGED
@@ -103,4 +103,33 @@ module Pod
|
|
103
103
|
end
|
104
104
|
end
|
105
105
|
end
|
106
|
-
|
106
|
+
end
|
107
|
+
|
108
|
+
module Pod
|
109
|
+
class Source
|
110
|
+
class Manager
|
111
|
+
|
112
|
+
alias_method :orig_source_from_path, :source_from_path
|
113
|
+
|
114
|
+
# @return [Source] The Source at a given path.
|
115
|
+
#
|
116
|
+
# @param [Pathname] path
|
117
|
+
# The local file path to one podspec repo.
|
118
|
+
#
|
119
|
+
def source_from_path(path)
|
120
|
+
@sources_by_path ||= Hash.new do |hash, key|
|
121
|
+
art_repo = "#{UTIL.get_repos_art_dir()}/#{key.basename}"
|
122
|
+
hash[key] = if key.basename.to_s == Pod::MasterSource::MASTER_REPO_NAME
|
123
|
+
MasterSource.new(key)
|
124
|
+
elsif File.exist?("#{art_repo}/.artpodrc")
|
125
|
+
create_source_from_name(key.basename)
|
126
|
+
else
|
127
|
+
Source.new(key)
|
128
|
+
end
|
129
|
+
end
|
130
|
+
@sources_by_path[path]
|
131
|
+
end
|
132
|
+
|
133
|
+
end
|
134
|
+
end
|
135
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocoapods-art
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dan Feldman
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-03-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|