fastlane 0.1.9 → 0.1.10

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: c464e783663a94ab157e27d681407a763976b625
4
- data.tar.gz: 36abfb852e100300bfbe2a2ef82fa569f2d10014
3
+ metadata.gz: 1e607093284fb50145d77e5a33aa1be023a0c463
4
+ data.tar.gz: df97b478b6736aa21f786b7b2e01f8f9ae16a8af
5
5
  SHA512:
6
- metadata.gz: 864d22e356eb44b600e903526243f07cc84a10ce064acee755607a3f8b694956cc203b824f48d4732556200610bbccbfe971e7fb4494baf77232a5a3968adf95
7
- data.tar.gz: 248eb32876dc82f653b7371f0a2f44a862af482c50f46320306df1405870c2afbeba79b594a55948ef4d1b77d3ec4bc368374073fadd94c4f1ba613b969467a6
6
+ metadata.gz: c90bee28a3ac6abc1f4347319095dd8b60fc7cd245724c1959b2a35b342341c8ac8aaa6f97708d3c6613085070d0fcaadfb5131ae7beeeeb2a08db40dc9ffcca
7
+ data.tar.gz: f1e04c83f49fdc879ead8dbfdd6bc5a5a8924d45137bb3bcb8738be9b63ad45ce9dc836abe6bd1066b8dbbc4e9d6e2b0680e5438f8f6157f6868b11719f1b56d
data/README.md CHANGED
@@ -331,7 +331,7 @@ This block will get executed when an error occurs, in any of the blocks (*before
331
331
  ```ruby
332
332
  error do |lane, exception|
333
333
  slack({
334
- message: "Successfully deployed new App Update for [AppName](http://link.com).",
334
+ message: "Something went wrong with the deployment.",
335
335
  success: false
336
336
  })
337
337
  end
data/lib/fastlane.rb CHANGED
@@ -1,4 +1,4 @@
1
- require 'json'
1
+ require 'fastlane/core_ext/string' # this has to be above most of the other requires
2
2
  require 'fastlane/version'
3
3
  require 'fastlane/fast_file'
4
4
  require 'fastlane/dependency_checker'
@@ -26,10 +26,3 @@ module Fastlane
26
26
  Fastlane::Actions.load_external_actions(actions_path) if File.directory?(actions_path)
27
27
  end
28
28
  end
29
-
30
-
31
- class String
32
- def classify
33
- split('_').collect!(&:capitalize).join
34
- end
35
- end
@@ -18,6 +18,7 @@ module Fastlane
18
18
  app = CredentialsManager::AppfileConfig.try_fetch_value(:app_identifier)
19
19
  raise 'No app_identifier definied in `./fastlane/Appfile`'.red unless app
20
20
 
21
+ CredentialsManager::PasswordManager.shared_manager(ENV['SIGH_USERNAME']) if ENV['SIGH_USERNAME']
21
22
  path = FastlaneCore::DeveloperCenter.new.run(app, type)
22
23
  output_path = File.expand_path(File.join('.', File.basename(path)))
23
24
  FileUtils.mv(path, output_path)
@@ -35,6 +35,8 @@ module Fastlane
35
35
  require 'slack-notifier'
36
36
 
37
37
  color = (options[:success] ? 'good' : 'danger')
38
+ options[:message] = options[:message].to_s
39
+
38
40
  options[:message] = Slack::Notifier::LinkFormatter.format(options[:message])
39
41
 
40
42
  url = ENV['SLACK_URL']
@@ -0,0 +1,5 @@
1
+ class String
2
+ def classify
3
+ split('_').collect!(&:capitalize).join
4
+ end
5
+ end
@@ -1,3 +1,3 @@
1
1
  module Fastlane
2
- VERSION = '0.1.9'
2
+ VERSION = '0.1.10'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.9
4
+ version: 0.1.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felix Krause
@@ -296,6 +296,7 @@ files:
296
296
  - lib/fastlane/actions/team_id.rb
297
297
  - lib/fastlane/actions/testmunk.rb
298
298
  - lib/fastlane/actions/xctool.rb
299
+ - lib/fastlane/core_ext/string.rb
299
300
  - lib/fastlane/dependency_checker.rb
300
301
  - lib/fastlane/fast_file.rb
301
302
  - lib/fastlane/fastlane_folder.rb