cocoapods-dev-env 0.9.3 → 0.9.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +0 -1
- data/lib/cocoapods/dev/env/version.rb +1 -1
- data/lib/cocoapods_plugin.rb +11 -8
- 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: 2b01f0f0582cfe3c5261f1d0d089330081d34c55d8af579e69ea5d8796bbb43a
|
|
4
|
+
data.tar.gz: 866faad5278ec2447797199d45efa46d9a30fed4fd7fc259f2c584807a2e15f8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f519b875d3b173ddeacc100b096bb9ab72c54f2abc687e20ad437424e15827eb8ca8f6b5e0da0bdde2da02006b542be143104a37336073cac39440bb49f543b3
|
|
7
|
+
data.tar.gz: 2895757cd5e19580eb7f1f51e166824db6c97d61880eae2133e9ee3eaa6f1ee139275d64daa134ff6040035084661536a36659651ed32cf2f8972952f3575c4a
|
data/README.md
CHANGED
|
@@ -41,7 +41,6 @@ Finally the state clean submodule will be removed automatically.
|
|
|
41
41
|
|
|
42
42
|
3. When you define "dev_env" to "release", and run ```pod install``` .
|
|
43
43
|
We want to use the release version in cocoapods repo. And do many check for state, and help you to release the not released pod.
|
|
44
|
-
**But we hav't done it.**
|
|
45
44
|
|
|
46
45
|
|
|
47
46
|
## Development
|
data/lib/cocoapods_plugin.rb
CHANGED
|
@@ -160,13 +160,6 @@ class Podfile
|
|
|
160
160
|
pod_name = Specification.root_name(name)
|
|
161
161
|
last_options = $processedPodsOptions[pod_name]
|
|
162
162
|
|
|
163
|
-
if name == "YDOfflineDictQuerier"
|
|
164
|
-
UI.puts name
|
|
165
|
-
UI.puts requirements
|
|
166
|
-
UI.puts "last"
|
|
167
|
-
UI.puts last_options
|
|
168
|
-
end
|
|
169
|
-
|
|
170
163
|
if (last_options != nil)
|
|
171
164
|
UI.message "#{name.green} use last_options: #{last_options.to_s.green}"
|
|
172
165
|
if options != nil && options.is_a?(Hash)
|
|
@@ -199,7 +192,17 @@ class Podfile
|
|
|
199
192
|
if tag == nil || tag.length == 0
|
|
200
193
|
raise "💔 #{pod_name.yellow} 未定义:tag => 'xxx', tag 将会作为 dev模式下载最新代码检查的依据,beta模式引用的tag 以及 release模式引用的版本号"
|
|
201
194
|
end
|
|
202
|
-
|
|
195
|
+
|
|
196
|
+
if dev_env == 'subtree'
|
|
197
|
+
options[:path] = path
|
|
198
|
+
if requirements.length >= 2
|
|
199
|
+
requirements.delete_at(0)
|
|
200
|
+
end
|
|
201
|
+
UI.message "pod #{pod_name.green} enabled #{"subtree".green}-mode 🍺"
|
|
202
|
+
elsif dev_env == 'dev'
|
|
203
|
+
if ARGV.include? '--aaa'
|
|
204
|
+
UI.puts "XXXXXXXXXXX".yellow
|
|
205
|
+
end
|
|
203
206
|
# 开发模式,使用path方式引用本地的submodule git库
|
|
204
207
|
if !File.directory?(path)
|
|
205
208
|
UI.puts "add submodule for #{pod_name.green}".yellow
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cocoapods-dev-env
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.9.
|
|
4
|
+
version: 0.9.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- 吴锡苗
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-
|
|
11
|
+
date: 2020-05-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|