gonative-cli 0.5.2 → 0.5.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +11 -10
- data/lib/gonative/plugins/ios/release.rb +2 -0
- data/lib/gonative/version.rb +1 -1
- data/templates/plugins/ios/common/PLUGIN_NAME.podspec.tpl +2 -2
- data/templates/plugins/ios/common/Podfile.tpl +0 -1
- data/templates/plugins/ios/common/js/info.plist.json.tpl +1 -0
- metadata +3 -3
- data/lib/gonative/commands/ios/release.rb +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8b5265e83ea1fb696fde7c7268dbae499678c2d5b6a20f65af77f461faed3d56
|
4
|
+
data.tar.gz: 2b4ac25eac3e13767571f6b7206362449eb1943f9cfecd28d33779c291e254ae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fe8fc2019620d93576c49edfab157e296947da7658beec2baf2dc2fb7550a1c75aa9d68559948b4085500d5fcadfc2baeaa82d0885e669a61b27dd570fd8ae53
|
7
|
+
data.tar.gz: a75d080664f67c918e1691492ec8248c0808332bac1d14df6755dced4790f566dc38a280575843c324b5b7f0fbbe91eba3141f9036d830026a5c1cb43794d0df
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -1,22 +1,23 @@
|
|
1
1
|
# Gonative::Cli
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
TODO: Delete this and the text above, and describe your gem
|
3
|
+
This cli is a tool to create/publish new plugins for GoNative apps.
|
6
4
|
|
7
5
|
## Installation
|
8
6
|
|
9
|
-
|
7
|
+
This gem has a minimum Ruby version requirement which is 2.7.0+ macOS comes with Ruby 2.6 and so built-in Ruby cannot be used for this gem.
|
8
|
+
|
9
|
+
### Homebrew
|
10
10
|
|
11
|
-
|
12
|
-
|
13
|
-
|
11
|
+
You can install newer versions of Ruby using homebrew by using
|
12
|
+
|
13
|
+
$ brew install ruby
|
14
|
+
$ echo 'export PATH="/usr/local/opt/ruby/bin:$PATH"' >> ~/.zshrc
|
14
15
|
|
15
|
-
|
16
|
+
After that you will need to restart the terminal application for changes to take effect.
|
16
17
|
|
17
|
-
|
18
|
+
Confirm the installation by running `ruby -v`
|
18
19
|
|
19
|
-
|
20
|
+
Install the gem now using:
|
20
21
|
|
21
22
|
$ gem install gonative-cli
|
22
23
|
|
data/lib/gonative/version.rb
CHANGED
@@ -17,12 +17,12 @@ TODO: Add long description of the pod here.
|
|
17
17
|
|
18
18
|
s.subspec 'Source' do |cs|
|
19
19
|
cs.source_files = '{{PLUGIN_NAME}}/Classes/**/*.{h,m,swift}'
|
20
|
-
cs.resource_bundle = { 'JS' => 'js/*.{js}' }
|
20
|
+
cs.resource_bundle = { '{{PLUGIN_NAME}}JS' => 'js/*.{js,json}' }
|
21
21
|
end
|
22
22
|
|
23
23
|
s.subspec 'Binary' do |cs|
|
24
24
|
cs.ios.vendored_frameworks = 'XCFramework/{{PLUGIN_NAME}}.xcframework'
|
25
|
-
cs.resource_bundle = { 'JS' => 'js/*.{js}' }
|
25
|
+
cs.resource_bundle = { '{{PLUGIN_NAME}}JS' => 'js/*.{js,json}' }
|
26
26
|
end
|
27
27
|
|
28
28
|
s.default_subspec = 'Source'
|
@@ -0,0 +1 @@
|
|
1
|
+
{}
|
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.5.
|
4
|
+
version: 0.5.6
|
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-11-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dry-cli
|
@@ -190,7 +190,6 @@ files:
|
|
190
190
|
- lib/gonative/commands/base.rb
|
191
191
|
- lib/gonative/commands/ios/create.rb
|
192
192
|
- lib/gonative/commands/ios/publish.rb
|
193
|
-
- lib/gonative/commands/ios/release.rb
|
194
193
|
- lib/gonative/commands/version.rb
|
195
194
|
- lib/gonative/dsl/error_catchable.rb
|
196
195
|
- lib/gonative/dsl/serviceable.rb
|
@@ -207,6 +206,7 @@ files:
|
|
207
206
|
- templates/plugins/ios/common/PLUGIN_NAME/Info.plist
|
208
207
|
- templates/plugins/ios/common/Podfile.tpl
|
209
208
|
- templates/plugins/ios/common/create-framework.sh.tpl
|
209
|
+
- templates/plugins/ios/common/js/info.plist.json.tpl
|
210
210
|
- templates/plugins/ios/common/js/polyfill.js.tpl
|
211
211
|
- templates/plugins/ios/language-specific/objc/PLUGIN_NAME/Classes/GNPLUGIN_NAME.h.tpl
|
212
212
|
- templates/plugins/ios/language-specific/objc/PLUGIN_NAME/Classes/GNPLUGIN_NAME.m.tpl
|
File without changes
|