gonative-cli 0.4.1 → 0.4.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/gonative-cli.gemspec +1 -1
- data/lib/gonative/plugins/ios/publish/release.rb +2 -7
- data/lib/gonative/version.rb +1 -1
- data/templates/plugins/ios/PLUGIN_NAME.podspec.tpl +1 -1
- data/templates/plugins/ios/Podfile.tpl +1 -1
- data/templates/plugins/ios/js/polyfill.js.tpl +0 -0
- metadata +7 -7
- data/FacebookPlugin.podspec +0 -29
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 456654f324684cda9b2a39dad0854d93a15e233e1c7788214fbc74174cbda08a
|
4
|
+
data.tar.gz: e0c57236547ecbb83a8fbbb58d98c12c4c53069e60d0d721b01a8f8ab2625e60
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3896f5de592d2f022f8d925c8a6e5ecfca11d02f52504e8ab0e7fc714bbfa8bbaef2ee474f0d30acf5bbe5f8b4e6d5ac90db7f00fe5217d9c95dc516aa607559
|
7
|
+
data.tar.gz: 724f72589b23fdcb280f60e278d58fe913bc90ec4fb7862bdee30ea4a844a1a287f07c1004a21bb64c393ceb3d62ef5f65a65dc93cfabddabeedf8a590911f9e
|
data/Gemfile.lock
CHANGED
data/gonative-cli.gemspec
CHANGED
@@ -31,7 +31,7 @@ Gem::Specification.new do |spec|
|
|
31
31
|
spec.add_dependency 'zeitwerk', '~> 2.4'
|
32
32
|
spec.add_dependency 'cocoapods', '~> 1.10'
|
33
33
|
spec.add_dependency 'xcodeproj', '~> 1.20'
|
34
|
-
spec.add_dependency 'colorize'
|
34
|
+
spec.add_dependency 'colorize', '~> 0.8.0'
|
35
35
|
|
36
36
|
spec.add_development_dependency 'rspec', '~> 3.10'
|
37
37
|
spec.add_development_dependency 'pry-byebug', '~> 3.9'
|
@@ -14,7 +14,6 @@ module GoNative
|
|
14
14
|
assert_spec_exists!
|
15
15
|
sources_manager.update(GONATIVE_SOURCE_NAME)
|
16
16
|
assert_not_pushed!
|
17
|
-
verify_lib!
|
18
17
|
create_and_push_tag!
|
19
18
|
push_to_pod_repo!
|
20
19
|
end
|
@@ -31,13 +30,9 @@ module GoNative
|
|
31
30
|
version = spec.version
|
32
31
|
name = spec.name
|
33
32
|
|
34
|
-
pushed_versions = source.versions(name)
|
33
|
+
pushed_versions = source.versions(name)&.collect(&:to_s)
|
35
34
|
|
36
|
-
raise Error, "#{name} (#{version}) has already been pushed to #{source.name}" if pushed_versions
|
37
|
-
end
|
38
|
-
|
39
|
-
def verify_lib!
|
40
|
-
raise Error, "pod lib lint failed" unless system("pod lib lint #{spec_name} --private")
|
35
|
+
raise Error, "#{name} (#{version}) has already been pushed to #{source.name}" if pushed_versions&.include? version.to_s
|
41
36
|
end
|
42
37
|
|
43
38
|
def create_and_push_tag!
|
data/lib/gonative/version.rb
CHANGED
@@ -10,7 +10,7 @@ TODO: Add long description of the pod here.
|
|
10
10
|
s.homepage = 'https://github.com/gonativeio/{{PLUGIN_NAME}}'
|
11
11
|
s.license = { :type => 'MIT', :file => 'LICENSE' }
|
12
12
|
s.author = { 'hhunaid' => 'hhunaid@gmail.com' }
|
13
|
-
s.source = { :git => '
|
13
|
+
s.source = { :git => 'git@github.com:gonativeio/{{PLUGIN_NAME}}.git', :tag => s.version.to_s }
|
14
14
|
|
15
15
|
s.ios.deployment_target = '10.0'
|
16
16
|
s.swift_versions = '5.0'
|
File without changes
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gonative-cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hunaid Hassan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-09-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dry-cli
|
@@ -70,16 +70,16 @@ dependencies:
|
|
70
70
|
name: colorize
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- - "
|
73
|
+
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
75
|
+
version: 0.8.0
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- - "
|
80
|
+
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version:
|
82
|
+
version: 0.8.0
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: rspec
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -162,7 +162,6 @@ files:
|
|
162
162
|
- ".rspec"
|
163
163
|
- ".rubocop.yml"
|
164
164
|
- CODE_OF_CONDUCT.md
|
165
|
-
- FacebookPlugin.podspec
|
166
165
|
- Gemfile
|
167
166
|
- Gemfile.lock
|
168
167
|
- LICENSE.txt
|
@@ -195,6 +194,7 @@ files:
|
|
195
194
|
- templates/plugins/ios/PLUGIN_NAME/Info.plist
|
196
195
|
- templates/plugins/ios/Podfile.tpl
|
197
196
|
- templates/plugins/ios/create-framework.sh.tpl
|
197
|
+
- templates/plugins/ios/js/polyfill.js.tpl
|
198
198
|
homepage: https://www.github.com/gonativeio/gonative-cli
|
199
199
|
licenses:
|
200
200
|
- MIT
|
data/FacebookPlugin.podspec
DELETED
@@ -1,29 +0,0 @@
|
|
1
|
-
Pod::Spec.new do |s|
|
2
|
-
s.name = 'FacebookPlugin'
|
3
|
-
s.version = '1.0.0'
|
4
|
-
s.summary = 'Facebook plugin for GoNative.'
|
5
|
-
|
6
|
-
s.description = <<-DESC
|
7
|
-
TODO: Add long description of the pod here.
|
8
|
-
DESC
|
9
|
-
|
10
|
-
s.homepage = 'https://github.com/gonativeio/FacebookPlugin'
|
11
|
-
s.license = { :type => 'MIT', :file => 'LICENSE' }
|
12
|
-
s.author = { 'hhunaid' => 'hhunaid@gmail.com' }
|
13
|
-
s.source = { :git => 'https://github.com/gonativeio/FacebookPlugin.git', :tag => s.version.to_s }
|
14
|
-
|
15
|
-
s.ios.deployment_target = '10.0'
|
16
|
-
s.swift_versions = '5.0'
|
17
|
-
|
18
|
-
s.subspec 'Source' do |cs|
|
19
|
-
cs.source_files = 'FacebookPlugin/Classes/**/*'
|
20
|
-
end
|
21
|
-
|
22
|
-
s.subspec 'Binary' do |cs|
|
23
|
-
cs.ios.vendored_frameworks = 'XCFramework/FacebookPlugin.xcframework'
|
24
|
-
end
|
25
|
-
|
26
|
-
s.default_subspec = 'Source'
|
27
|
-
s.dependency 'FBSDKCoreKit', '~> 9.1.0'
|
28
|
-
s.dependency 'GoNativeCore'
|
29
|
-
end
|