fastlane-plugin-flutter 0.2.6 → 0.2.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
  SHA1:
3
- metadata.gz: 2e49cdc5d271c7365cfe21127b123d9c72240f26
4
- data.tar.gz: 39fd5286e69f753784e1303f02c62abfb9e52d9e
3
+ metadata.gz: fb29c8dc7585bdd45029e7c2718a113a6d47598c
4
+ data.tar.gz: a21b6f7c0ef29dca72423d6f6fcb638989cb0321
5
5
  SHA512:
6
- metadata.gz: 5f9bea43cb55ae7ffafe8c5c1f5fe3e6baa75c0c5b027212b31a930ec388a481bdc7f0db6285ca657a8c93bda837cc59362b594c7b7f220f0321f64d12caf229
7
- data.tar.gz: f6319f558fdd9b80962d400ff144ead85820eb450e71c83d82986432225a69ef1568a9144ea9e165b49e67229ef6ebe1abba18a5993825ff270b5d5efa334f67
6
+ metadata.gz: a9b569b2f6e8fb92c5751886e8f3ed44d3ccb1cb2e0157a97accb22fa0fa4b59588afd07469fbeefad46e603c062eab80328a7f368ad27c89faa9636a1b2c90a
7
+ data.tar.gz: eb9887fda61f9518021b2ca43bdbc09400c996465dd5ba9971596b9aa3667dccebf344ccf49e5c5115f50ebd396fcb0bb3a9032e8bf7e2004bb717dbaa6053c3
@@ -133,22 +133,6 @@ module Fastlane
133
133
  end
134
134
  end
135
135
  end
136
-
137
- android_properties_file = 'android/local.properties'
138
- flutter_sdk_par = 'flutter.sdk'
139
- unless File.exist?(android_properties_file) &&
140
- File.read(android_properties_file).include?(flutter_sdk_par)
141
- flutter_sdk_path = File.dirname(File.dirname(which('flutter')))
142
- File.open(android_properties_file, 'a') do |properties|
143
- properties.write(<<-CONFIG.gsub(/^\s+/, ''))
144
-
145
- ### Generated by #{$0}#{__method__} ###
146
- #{flutter_sdk_par}=#{flutter_sdk_path}
147
- CONFIG
148
- end
149
- end
150
-
151
- Dir.chdir('android') { Actions.sh('./gradlew', 'dependencies') }
152
136
  end
153
137
 
154
138
  def self.android_sdk_root!
@@ -159,18 +143,6 @@ module Fastlane
159
143
  end
160
144
  end
161
145
  end
162
-
163
- # https://stackoverflow.com/a/5471032/8584735
164
- def self.which(cmd)
165
- exts = ENV['PATHEXT'] ? ENV['PATHEXT'].split(';') : ['']
166
- ENV['PATH'].split(File::PATH_SEPARATOR).each do |path|
167
- exts.each do |ext|
168
- exe = File.join(path, "#{cmd}#{ext}")
169
- return exe if File.executable?(exe) && !File.directory?(exe)
170
- end
171
- end
172
- nil
173
- end
174
146
  end
175
147
  end
176
148
  end
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module Flutter
3
- VERSION = "0.2.6"
3
+ VERSION = "0.2.7"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-flutter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Artem Sheremet
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-03-03 00:00:00.000000000 Z
11
+ date: 2019-03-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry