gonative-cli 0.7.1 → 0.7.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 +1 -1
- data/lib/gonative/plugins/ios/build_framework.rb +3 -2
- data/lib/gonative/plugins/ios/create.rb +3 -2
- data/lib/gonative/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 07fce249ff2c7f1d1d8a34db1c5858b164908a949f51a908a8b81ac0c4a5b065
|
4
|
+
data.tar.gz: 6e1b143097f94766176dcdd172e6d177477582c7851d494e9f04b98ce38d551e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7201d0187e77dd9b775e5d1e7855e1d6713bb0792919e2e6df76de96ca685345948eb3c361fb09718f840d6e84e60bfbae29d3cfc623871ae320964d94bb1b68
|
7
|
+
data.tar.gz: 6c4d8c01f46feb0438cc9326d2b8260ef12b4e7239a533f2aa61aa4f1a6b5b25f7c0a6f292a280e9585e4b671003545c8d7a3f3e42ad276e8f048a7e1815e811
|
data/Gemfile.lock
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
|
3
3
|
require 'cocoapods'
|
4
4
|
require 'xcodeproj'
|
5
|
+
require 'active_support/core_ext/string/inflections'
|
5
6
|
|
6
7
|
module GoNative
|
7
8
|
module Plugins
|
@@ -16,7 +17,7 @@ module GoNative
|
|
16
17
|
attr_reader :plugin_name
|
17
18
|
|
18
19
|
def initialize
|
19
|
-
@plugin_name = Utils::SanitizePluginName.call(FileUtils.pwd.split('/').last, 'ios') + 'Plugin'
|
20
|
+
@plugin_name = Utils::SanitizePluginName.call(FileUtils.pwd.split('/').last, 'ios').capitalize + 'Plugin'
|
20
21
|
end
|
21
22
|
|
22
23
|
def call
|
@@ -74,7 +75,7 @@ module GoNative
|
|
74
75
|
end
|
75
76
|
|
76
77
|
def move_framework_file
|
77
|
-
FileUtils.mv("XCFramework
|
78
|
+
FileUtils.mv("XCFramework", '..', force: true)
|
78
79
|
end
|
79
80
|
end
|
80
81
|
end
|
@@ -6,6 +6,8 @@ module GoNative
|
|
6
6
|
module Plugins
|
7
7
|
module IOS
|
8
8
|
class Create
|
9
|
+
autoload :FileUtils, 'fileutils'
|
10
|
+
|
9
11
|
extend DSL::Serviceable
|
10
12
|
|
11
13
|
TEMPLATE_DIRECTORY_PATH = File.expand_path(File.join(__dir__, '../../../..', 'templates', 'plugins', 'ios'))
|
@@ -24,8 +26,7 @@ module GoNative
|
|
24
26
|
assert_not_exists!
|
25
27
|
set_working_dir!
|
26
28
|
cp_template_files!
|
27
|
-
Utils::TemplateInflator.new(plugin_name: plugin_name).call
|
28
|
-
chmod_frameworks_script!
|
29
|
+
Utils::TemplateInflator.new(plugin_name: plugin_name, repo_name: repo_name).call
|
29
30
|
end
|
30
31
|
|
31
32
|
def assert_not_exists!
|
data/lib/gonative/version.rb
CHANGED
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.
|
4
|
+
version: 0.7.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:
|
11
|
+
date: 2022-01-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dry-cli
|