gonative-cli 1.5.0 → 1.5.2
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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/gonative/commands/ios/publish.rb +1 -1
- data/lib/gonative/commands/ios/version.rb +5 -3
- data/lib/gonative/plugins/ios/release.rb +6 -1
- data/lib/gonative/plugins/ios/version.rb +6 -1
- data/lib/gonative/version.rb +1 -1
- data/templates/build/ios/Podfile.tpl +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: 036b363350b522557703cfb3e602304be379604ee42d5313253e3014db037d32
|
4
|
+
data.tar.gz: f0c0ec0d4394c27684f58c179acb69429ca12c50907909d043702d2062fd2d71
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6cfa53dd39bb682b0d64db042f0df4ef4c9613a5114b42d09d4cf45644f27bccd6c1456bce645f7344de81efea2ded669e82b373915b1a6e150b459c28237d49
|
7
|
+
data.tar.gz: ed6b6c403c948a18207c8dc1442353f28174ba52579dfcbae4a2377b669342931c92318ded94b3d0ddcb5136baf34219e65b5d1794b1d3065624c66b72e1e704
|
data/Gemfile.lock
CHANGED
@@ -15,7 +15,7 @@ module GoNative
|
|
15
15
|
def call(podspec:, skip_build:, debug:, archs:, **)
|
16
16
|
Plugins::IOS::Verify.call
|
17
17
|
Plugins::IOS::BuildFramework.call(podspec, archs, debug) unless skip_build
|
18
|
-
Plugins::IOS::Release.call
|
18
|
+
Plugins::IOS::Release.call(podspec)
|
19
19
|
end
|
20
20
|
end
|
21
21
|
end
|
@@ -4,10 +4,12 @@ module GoNative
|
|
4
4
|
module Commands
|
5
5
|
module IOS
|
6
6
|
class Version < Base
|
7
|
-
desc '
|
7
|
+
desc 'Get version of a Podspec file'
|
8
8
|
|
9
|
-
|
10
|
-
|
9
|
+
argument :podspec, required: true, desc: 'Podspec name'
|
10
|
+
|
11
|
+
def call(podspec:, **)
|
12
|
+
Plugins::IOS::Version.call(podspec)
|
11
13
|
end
|
12
14
|
end
|
13
15
|
end
|
@@ -7,10 +7,15 @@ module GoNative
|
|
7
7
|
module IOS
|
8
8
|
class Release
|
9
9
|
extend DSL::Serviceable
|
10
|
-
include Helpers::SpecReader
|
11
10
|
|
12
11
|
GONATIVE_SOURCE_NAME = 'gonative-specs'
|
13
12
|
|
13
|
+
attr_reader :spec
|
14
|
+
|
15
|
+
def initialize(podspec_path)
|
16
|
+
@spec = Pod::Specification.from_file(podspec_path)
|
17
|
+
end
|
18
|
+
|
14
19
|
def call
|
15
20
|
Utils::UI.info 'Linting and releasing pod'
|
16
21
|
assert_spec_exists!
|
@@ -7,7 +7,12 @@ module GoNative
|
|
7
7
|
module IOS
|
8
8
|
class Version
|
9
9
|
extend DSL::Serviceable
|
10
|
-
|
10
|
+
|
11
|
+
attr_reader :spec
|
12
|
+
|
13
|
+
def initialize(spec_path)
|
14
|
+
@spec = Pod::Specification.from_file(spec_path)
|
15
|
+
end
|
11
16
|
|
12
17
|
def call
|
13
18
|
Utils::UI.output(spec.version)
|
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: 1.5.
|
4
|
+
version: 1.5.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hunaid Hassan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-03-
|
11
|
+
date: 2025-03-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|