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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b7f014a29a265e0718e44dca943691b7f3dae9b342ab512c0e1e7201fb298501
4
- data.tar.gz: 90ad03cbdc87c2aaedf571d213a1ddce73fd3308d76e0588f0431e71650ba5d3
3
+ metadata.gz: 8b5265e83ea1fb696fde7c7268dbae499678c2d5b6a20f65af77f461faed3d56
4
+ data.tar.gz: 2b4ac25eac3e13767571f6b7206362449eb1943f9cfecd28d33779c291e254ae
5
5
  SHA512:
6
- metadata.gz: 9a5bb74b4107fe12f04cddaff523dc83f83944a94a9865088cfb292689852c193f520c84ecffe28ad6b292e66bd2add6ee81e04a81080c92321e547f6ece57ac
7
- data.tar.gz: b6890ee87cd88145fe1d76f9ad46be36f85d48993266c0e3e8e77cd695b1c05c19d4a05f11acf6282f1b802b11c6fcd9eaedf00a18f8b13b6b416023245576c6
6
+ metadata.gz: fe8fc2019620d93576c49edfab157e296947da7658beec2baf2dc2fb7550a1c75aa9d68559948b4085500d5fcadfc2baeaa82d0885e669a61b27dd570fd8ae53
7
+ data.tar.gz: a75d080664f67c918e1691492ec8248c0808332bac1d14df6755dced4790f566dc38a280575843c324b5b7f0fbbe91eba3141f9036d830026a5c1cb43794d0df
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gonative-cli (0.5.1)
4
+ gonative-cli (0.5.5)
5
5
  activesupport (~> 6.0)
6
6
  cocoapods (~> 1.10)
7
7
  colorize (~> 0.8.0)
data/README.md CHANGED
@@ -1,22 +1,23 @@
1
1
  # Gonative::Cli
2
2
 
3
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/gonative/cli`. To experiment with that code, run `bin/console` for an interactive prompt.
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
- Add this line to your application's Gemfile:
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
- ```ruby
12
- gem 'gonative-cli'
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
- And then execute:
16
+ After that you will need to restart the terminal application for changes to take effect.
16
17
 
17
- $ bundle install
18
+ Confirm the installation by running `ruby -v`
18
19
 
19
- Or install it yourself as:
20
+ Install the gem now using:
20
21
 
21
22
  $ gem install gonative-cli
22
23
 
@@ -1,5 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require 'cocoapods'
4
+
3
5
  module GoNative
4
6
  module Plugins
5
7
  module IOS
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module GoNative
4
- VERSION = "0.5.2"
4
+ VERSION = "0.5.6"
5
5
  end
@@ -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'
@@ -3,7 +3,6 @@ platform :ios, '10.0'
3
3
  source 'https://cdn.cocoapods.org/'
4
4
  source 'git@github.com:gonativeio/gonative-specs.git'
5
5
 
6
-
7
6
  target '{{PLUGIN_NAME}}Framework' do
8
7
  use_frameworks!
9
8
  pod '{{PLUGIN_NAME}}', path: '.'
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.2
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-09-30 00:00:00.000000000 Z
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