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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 79849534fe222e0870f9b6ee0251c66a7f1a2735c1b53f9ece362b84d75de0bb
4
- data.tar.gz: cefa85fd2097475b0a0af4714cea561dc2374854add5cc9c996c030666806366
3
+ metadata.gz: 2b01f0f0582cfe3c5261f1d0d089330081d34c55d8af579e69ea5d8796bbb43a
4
+ data.tar.gz: 866faad5278ec2447797199d45efa46d9a30fed4fd7fc259f2c584807a2e15f8
5
5
  SHA512:
6
- metadata.gz: d29362439894d87b5baf8331cbe4859ac8f8f98081fe1266fbe4c4aa66f3bbd8db4a9d63e3095f521477524186084f30bff5cedb082c3cd902a1a474177a2607
7
- data.tar.gz: ab6b0004169679ae583ea2efd4d69ef35ea8523d9d376d5df20add84143f790968c07b6d7e9570d527e9c8e87db40858a620c18064e7eed5e2b1b69bb86da089
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
@@ -1,7 +1,7 @@
1
1
  module Cocoapods
2
2
  module Dev
3
3
  module Env
4
- VERSION = "0.9.3"
4
+ VERSION = "0.9.4"
5
5
  end
6
6
  end
7
7
  end
@@ -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
- if dev_env == 'dev'
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.3
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-01-13 00:00:00.000000000 Z
11
+ date: 2020-05-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler