cocoapods-force-static-framework 0.0.7 → 0.0.8

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: 33ad2819149664e459dadcd19f154f5d3fca8590767b8107ff45b80d73c6bfda
4
- data.tar.gz: 93d68b228dd3f041fead2b6b5c66c6442086eb051d81826004e64f1b7afae1ea
3
+ metadata.gz: 9a2772e729b9b5365032e4d59d3c497e6e21f04d25e1ed93c6d5cb6573775e92
4
+ data.tar.gz: bcc5c85a2483dd37e4eba2108a6250e8b3056a602bea3f21213674433e353726
5
5
  SHA512:
6
- metadata.gz: a8f4bc6f11bf776353868e34e56d4b8d19379e04e16cff1967349f96d888ae4ee9b06f259f35b79af3d786fed100bf9f34352c55f3936732f986fff15b0fd028
7
- data.tar.gz: 44b24c4e54baeaa6f7d385d6b9f84a1c39e19a38b24a58523266bd9747f06d1e3f3ab28ea36898fc962da89c4b3c7c55e4fab338205c437a20ad62c46bc577ef
6
+ metadata.gz: 95a514978a0fdd5bfe5dbc57cc08a6130d680bf2142a97755643c48e350c951f93ca34977094cb169c4e9421d64dbc6c4942765ca589d8d925fc58053b76abb0
7
+ data.tar.gz: 78ece6a27667b739cef5c910bf2e74ab80cab8aa2c3fcb84614842853b98a247f210decb917087f812577b4c66bfda4e2546ec1951a4e7508f5a03eac1014290
@@ -56,12 +56,22 @@ end
56
56
 
57
57
  Pod::HooksManager.register('cocoapods-force-static-framework', :pre_install) do |context, options|
58
58
  reval = options[:static_frameworks]
59
- if reval and reval.instance_of? String and reval == 'all'
59
+ if reval and reval == true
60
60
  Pod.store_all_framework_static(true)
61
61
  elsif reval and reval.instance_of? Array
62
62
  Pod.store_static_framework_names(reval)
63
63
  else
64
- raise Pod::Informative, "请正确设置:static_frameworks, 示例: plugin 'cocoapods-force-static-framework', :static_frameworks => ['RxSwift']"
64
+ raise Pod::Informative, "请正确设置:static_frameworks, 示例: plugin 'cocoapods-force-static-framework', :static_frameworks => ['RxSwift', ...] / all"
65
65
  end
66
66
 
67
+ end
68
+
69
+ module Pod
70
+ class Podfile
71
+ module DSL
72
+ def all
73
+ true
74
+ end
75
+ end
76
+ end
67
77
  end
@@ -1,3 +1,3 @@
1
1
  module CocoapodsForceStaticFramework
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-force-static-framework
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - maqiang