gonative-cli 0.7.5 → 0.7.9

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: 07fce249ff2c7f1d1d8a34db1c5858b164908a949f51a908a8b81ac0c4a5b065
4
- data.tar.gz: 6e1b143097f94766176dcdd172e6d177477582c7851d494e9f04b98ce38d551e
3
+ metadata.gz: 38b17cc5da62d5659bc36fc9ee757de00c851aac06fac944856d24f8524ac495
4
+ data.tar.gz: cee55ca0b7ece404ff2e9adbd80e9e9c4dbaeddee936464be8fed30a8a824e34
5
5
  SHA512:
6
- metadata.gz: 7201d0187e77dd9b775e5d1e7855e1d6713bb0792919e2e6df76de96ca685345948eb3c361fb09718f840d6e84e60bfbae29d3cfc623871ae320964d94bb1b68
7
- data.tar.gz: 6c4d8c01f46feb0438cc9326d2b8260ef12b4e7239a533f2aa61aa4f1a6b5b25f7c0a6f292a280e9585e4b671003545c8d7a3f3e42ad276e8f048a7e1815e811
6
+ metadata.gz: fb493f284b05fd555d6a093a29bf7d4b2a154e6a115517fd95b2bdd29d23e02be91443f1c564a08b213a4079f986b08a24e16cfad75abd1678ae16158fc39e56
7
+ data.tar.gz: 65f8757063d301a4dd2fee7c98bba92924f3e33dcdcf82b12b1cdcef717d7e1f409d4c2be8a852c6549739fa83923f0c1520a0b181233d4677fd325dd7d85008
@@ -5,11 +5,12 @@ module GoNative
5
5
  module IOS
6
6
  class Publish < Base
7
7
  desc 'Verify, build and release a new version'
8
+ argument :name, required: true, desc: 'Name of the plugin'
8
9
  option :skip_build, type: :boolean, default: false
9
10
 
10
- def call(skip_build:, **)
11
+ def call(name:, skip_build:, **)
11
12
  Plugins::IOS::Verify.call
12
- Plugins::IOS::BuildFramework.call unless skip_build
13
+ Plugins::IOS::BuildFramework.call(name) unless skip_build
13
14
  Plugins::IOS::Release.call
14
15
  end
15
16
  end
@@ -16,8 +16,8 @@ module GoNative
16
16
 
17
17
  attr_reader :plugin_name
18
18
 
19
- def initialize
20
- @plugin_name = Utils::SanitizePluginName.call(FileUtils.pwd.split('/').last, 'ios').capitalize + 'Plugin'
19
+ def initialize(plugin_name)
20
+ @plugin_name = plugin_name
21
21
  end
22
22
 
23
23
  def call
@@ -41,7 +41,7 @@ module GoNative
41
41
 
42
42
  def create_framework_proj
43
43
  proj = Xcodeproj::Project.new(FileUtils.pwd)
44
- target = proj.new_target(:framework, "#{plugin_name}", :ios, '10.0')
44
+ target = proj.new_target(:framework, "#{plugin_name}", :ios, '11.0')
45
45
  main_group = proj.new_group(plugin_name, plugin_name)
46
46
  classes_group = main_group.new_group('Classes', 'Classes')
47
47
  references = Dir.glob("../#{plugin_name}/Classes/**").map{ |file| classes_group.new_file("../../#{file}") }
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module GoNative
4
- VERSION = "0.7.5"
4
+ VERSION = "0.7.9"
5
5
  end
@@ -1,4 +1,4 @@
1
- platform :ios, '10.0'
1
+ platform :ios, '11.0'
2
2
 
3
3
  source 'https://cdn.cocoapods.org/'
4
4
  source 'git@github.com:gonativeio/gonative-specs.git'
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.7.5
4
+ version: 0.7.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hunaid Hassan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-01-05 00:00:00.000000000 Z
11
+ date: 2022-01-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dry-cli