fastlane-plugin-android_versioning_kts 0.2.0 → 0.3.0
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/LICENSE +21 -21
- data/README.md +52 -52
- data/lib/fastlane/plugin/android_versioning_kts/actions/get_value_from_build.rb +118 -118
- data/lib/fastlane/plugin/android_versioning_kts/actions/get_version_code.rb +67 -67
- data/lib/fastlane/plugin/android_versioning_kts/actions/get_version_name.rb +66 -66
- data/lib/fastlane/plugin/android_versioning_kts/actions/increment_version_code.rb +92 -92
- data/lib/fastlane/plugin/android_versioning_kts/actions/increment_version_name.rb +125 -125
- data/lib/fastlane/plugin/android_versioning_kts/actions/set_value_in_build.rb +126 -115
- data/lib/fastlane/plugin/android_versioning_kts/helper/android_versioning_kts_helper.rb +18 -18
- data/lib/fastlane/plugin/android_versioning_kts/version.rb +7 -7
- data/lib/fastlane/plugin/android_versioning_kts.rb +18 -18
- metadata +3 -3
@@ -1,18 +1,18 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require 'fastlane_core/ui/ui'
|
4
|
-
|
5
|
-
module Fastlane
|
6
|
-
UI = FastlaneCore::UI unless Fastlane.const_defined?('UI')
|
7
|
-
|
8
|
-
module Helper
|
9
|
-
class AndroidVersioningKtsHelper
|
10
|
-
# class methods that you define here become available in your action
|
11
|
-
# as `Helper::AndroidVersioningKtsHelper.your_method`
|
12
|
-
#
|
13
|
-
def self.show_message
|
14
|
-
UI.message('Hello from the android_versioning_kts plugin helper!')
|
15
|
-
end
|
16
|
-
end
|
17
|
-
end
|
18
|
-
end
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'fastlane_core/ui/ui'
|
4
|
+
|
5
|
+
module Fastlane
|
6
|
+
UI = FastlaneCore::UI unless Fastlane.const_defined?('UI')
|
7
|
+
|
8
|
+
module Helper
|
9
|
+
class AndroidVersioningKtsHelper
|
10
|
+
# class methods that you define here become available in your action
|
11
|
+
# as `Helper::AndroidVersioningKtsHelper.your_method`
|
12
|
+
#
|
13
|
+
def self.show_message
|
14
|
+
UI.message('Hello from the android_versioning_kts plugin helper!')
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
@@ -1,7 +1,7 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
module Fastlane
|
4
|
-
module AndroidVersioningKts
|
5
|
-
VERSION = '0.
|
6
|
-
end
|
7
|
-
end
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Fastlane
|
4
|
+
module AndroidVersioningKts
|
5
|
+
VERSION = '0.3.0'.freeze
|
6
|
+
end
|
7
|
+
end
|
@@ -1,18 +1,18 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require 'fastlane/plugin/android_versioning_kts/version'
|
4
|
-
|
5
|
-
module Fastlane
|
6
|
-
module AndroidVersioningKts
|
7
|
-
# Return all .rb files inside the "actions" and "helper" directory
|
8
|
-
def self.all_classes
|
9
|
-
Dir[File.expand_path('**/{actions,helper}/*.rb', File.dirname(__FILE__))]
|
10
|
-
end
|
11
|
-
end
|
12
|
-
end
|
13
|
-
|
14
|
-
# By default we want to import all available actions and helpers
|
15
|
-
# A plugin can contain any number of actions and plugins
|
16
|
-
Fastlane::AndroidVersioningKts.all_classes.each do |current|
|
17
|
-
require current
|
18
|
-
end
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'fastlane/plugin/android_versioning_kts/version'
|
4
|
+
|
5
|
+
module Fastlane
|
6
|
+
module AndroidVersioningKts
|
7
|
+
# Return all .rb files inside the "actions" and "helper" directory
|
8
|
+
def self.all_classes
|
9
|
+
Dir[File.expand_path('**/{actions,helper}/*.rb', File.dirname(__FILE__))]
|
10
|
+
end
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
14
|
+
# By default we want to import all available actions and helpers
|
15
|
+
# A plugin can contain any number of actions and plugins
|
16
|
+
Fastlane::AndroidVersioningKts.all_classes.each do |current|
|
17
|
+
require current
|
18
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-android_versioning_kts
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- zmunm
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-04-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -172,7 +172,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
172
172
|
- !ruby/object:Gem::Version
|
173
173
|
version: '0'
|
174
174
|
requirements: []
|
175
|
-
rubygems_version: 3.
|
175
|
+
rubygems_version: 3.5.3
|
176
176
|
signing_key:
|
177
177
|
specification_version: 4
|
178
178
|
summary: android versioning for gradle kotlin DSL
|