fastlane-plugin-get_application_id_flavor 0.1.6 → 0.1.7
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b3119004f6da8686a8bc3ea5e00f0e3c840ff2a9148fc240f062bb5aa547989b
|
4
|
+
data.tar.gz: 955a01ad24e04df5ed1ac278712c06681d4a1083e3f10b2706dfb14657ffb284
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e63a9656f352f5512d8f3158ca24e0a8ff7f171d59825ac94b407d010a4cb0e039a7af66c2112dc385e7473cc40b65ff37d945804b7e927b7325fe4e976d5337
|
7
|
+
data.tar.gz: 9bb5609c3b0f8606210869f6d84d3d54d21af1d8c8f06447e80c01d533daec79bc00be063a3223b4c31cbdd6bb1d6b7ef351d6545677e27835c8d9ce19c5119d
|
data/lib/fastlane/plugin/get_application_id_flavor/actions/get_application_id_action_flavor.rb
CHANGED
@@ -13,7 +13,7 @@ module Fastlane
|
|
13
13
|
app_folder_name ||= params[:app_folder_name]
|
14
14
|
UI.message("The get_application_id plugin is looking inside your project folder (#{app_folder_name})!")
|
15
15
|
|
16
|
-
Dir.glob("**/#{app_folder_name}/build.gradle") do |path|
|
16
|
+
Dir.glob("**/#{app_folder_name}/build.gradle*") do |path|
|
17
17
|
UI.message(" -> Found a build.gradle file at path: (#{path})!")
|
18
18
|
application_id = get_application_id(path, constant_name, flavor)
|
19
19
|
end
|
@@ -53,7 +53,7 @@ module Fastlane
|
|
53
53
|
else
|
54
54
|
begin
|
55
55
|
File.open(path) do |f|
|
56
|
-
match = f.read.scan(/^\s*#{flavor}\s*\{([^}]+)\}/).last
|
56
|
+
match = path.end_with?(".kts") ? f.read.scan(/.*create\(\"#{flavor}\"\).*\{([^}]+)\}/).last : f.read.scan(/^\s*#{flavor}\s*\{([^}]+)\}/).last
|
57
57
|
line = match.first.strip.split(/\n/).select { |l| l.include? constant_name }.first
|
58
58
|
components = line.strip.split(' ')
|
59
59
|
application_id = components.last.tr("\"'", '')
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-get_application_id_flavor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Helder Pinhal
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-12-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pry
|
@@ -122,7 +122,7 @@ dependencies:
|
|
122
122
|
- - ">="
|
123
123
|
- !ruby/object:Gem::Version
|
124
124
|
version: 2.64.1
|
125
|
-
description:
|
125
|
+
description:
|
126
126
|
email: pinhal.helder@gmail.com
|
127
127
|
executables: []
|
128
128
|
extensions: []
|
@@ -138,7 +138,7 @@ homepage: https://github.com/pstens/fastlane-plugin-get-application-id
|
|
138
138
|
licenses:
|
139
139
|
- MIT
|
140
140
|
metadata: {}
|
141
|
-
post_install_message:
|
141
|
+
post_install_message:
|
142
142
|
rdoc_options: []
|
143
143
|
require_paths:
|
144
144
|
- lib
|
@@ -153,8 +153,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
153
153
|
- !ruby/object:Gem::Version
|
154
154
|
version: '0'
|
155
155
|
requirements: []
|
156
|
-
rubygems_version: 3.0.
|
157
|
-
signing_key:
|
156
|
+
rubygems_version: 3.0.3.1
|
157
|
+
signing_key:
|
158
158
|
specification_version: 4
|
159
159
|
summary: Get the applicationId of an Android project.
|
160
160
|
test_files: []
|