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
- SHA1:
3
- metadata.gz: ac571e527f6847ce13a34cfa4440a0b721ce8c64
4
- data.tar.gz: d0b863af4687a52adfb3f7c098e571ea3dd938d7
2
+ SHA256:
3
+ metadata.gz: 7487e8b098465ae268bebb9c35058572d1e2d0d621031aaec2d7ce338b466369
4
+ data.tar.gz: c7114118ee94c95abc9cbb16295b6e8ec67b2df747308e95b641be5e579a01bf
5
5
  SHA512:
6
- metadata.gz: d78809b15cbe46cf0341b8e84eec028db5b855054e47767347f788aaa3671efbc9d2c537fb3d0f3dbea5b2175058733873be57c9b8db2256f2534fa7434e4245
7
- data.tar.gz: 833cf59f113a1e001880b63236f9afef51686b4d563af03f5d76acddcb3b5bdb0162dbb5c23927bfff2cf4c6d4dc5843a268a2a12d88774ff766828c816796ab
6
+ metadata.gz: 5b79a6be9b5ca61f03f6a6a4e366a78ae40c102cc7e7e85d8ecab64ef38744101d658a611db771f2fc8d312b1afa682f2cbd04d2cb5f37d225913789743a269d
7
+ data.tar.gz: cc46c398810425e4680e544e445ebe0be1a6b748b6d8e64ab52337252f7484a2ddfbb1ccdf0057a6eaba772b74fe40ab5d4d5659f14761d1224cb9885a831496
@@ -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} \{([^}]+)\}/).first
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
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module GetApplicationIdFlavor
3
- VERSION = '0.1.4'
3
+ VERSION = '0.1.5'
4
4
  end
5
5
  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
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-05-25 00:00:00.000000000 Z
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
- rubyforge_project:
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.