fastlane-plugin-get_application_id_flavor 0.1.4 → 0.1.5
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
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 7487e8b098465ae268bebb9c35058572d1e2d0d621031aaec2d7ce338b466369
|
4
|
+
data.tar.gz: c7114118ee94c95abc9cbb16295b6e8ec67b2df747308e95b641be5e579a01bf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5b79a6be9b5ca61f03f6a6a4e366a78ae40c102cc7e7e85d8ecab64ef38744101d658a611db771f2fc8d312b1afa682f2cbd04d2cb5f37d225913789743a269d
|
7
|
+
data.tar.gz: cc46c398810425e4680e544e445ebe0be1a6b748b6d8e64ab52337252f7484a2ddfbb1ccdf0057a6eaba772b74fe40ab5d4d5659f14761d1224cb9885a831496
|
data/lib/fastlane/plugin/get_application_id_flavor/actions/get_application_id_action_flavor.rb
CHANGED
@@ -8,7 +8,7 @@ module Fastlane
|
|
8
8
|
flavor ||= params[:flavor]
|
9
9
|
if !gradle_file_path.nil?
|
10
10
|
UI.message("The get_application_id plugin will use gradle file at (#{gradle_file_path})!")
|
11
|
-
application_id = get_application_id(gradle_file_path, constant_name)
|
11
|
+
application_id = get_application_id(gradle_file_path, constant_name, flavor)
|
12
12
|
else
|
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})!")
|
@@ -42,7 +42,7 @@ module Fastlane
|
|
42
42
|
while (line = file.gets)
|
43
43
|
next unless line.include? constant_name
|
44
44
|
components = line.strip.split(' ')
|
45
|
-
application_id = components[components.length - 1].tr("\"", '')
|
45
|
+
application_id = components[components.length - 1].tr("\"'", '')
|
46
46
|
break
|
47
47
|
end
|
48
48
|
file.close
|
@@ -53,10 +53,10 @@ module Fastlane
|
|
53
53
|
else
|
54
54
|
begin
|
55
55
|
File.open(path) do |f|
|
56
|
-
match = f.read.scan(/#{flavor} \{([^}]+)\}/).
|
56
|
+
match = f.read.scan(/#{flavor} \{([^}]+)\}/).last
|
57
57
|
line = match.first.strip.split(/\n/).select { |l| l.include? constant_name }.first
|
58
58
|
components = line.strip.split(' ')
|
59
|
-
application_id = components.last.tr("\"", '')
|
59
|
+
application_id = components.last.tr("\"'", '')
|
60
60
|
end
|
61
61
|
end
|
62
62
|
end
|
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.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Helder Pinhal
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-11-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pry
|
@@ -153,8 +153,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
153
153
|
- !ruby/object:Gem::Version
|
154
154
|
version: '0'
|
155
155
|
requirements: []
|
156
|
-
|
157
|
-
rubygems_version: 2.5.2.3
|
156
|
+
rubygems_version: 3.0.3
|
158
157
|
signing_key:
|
159
158
|
specification_version: 4
|
160
159
|
summary: Get the applicationId of an Android project.
|