fastlane 2.94.0.beta.20180427050031 → 2.94.0.beta.20180428050023

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bfeebfd5c8d646a7597d2c5e49facabd04cd209a
4
- data.tar.gz: a9eec73325f421f4330a8bc05afa5410f7ac34f0
3
+ metadata.gz: 18760f96ba8092bd362b3a1df95aaeecbf0268fb
4
+ data.tar.gz: bb5f6aba33858b176b293a651a44f879f2bbea46
5
5
  SHA512:
6
- metadata.gz: 83e2cefa692c547c03b846505f64ebfd25751f49d0ebf25afbcd23bdffdd47d5adb73f5d5d7a29cfc4c384fde787d27a5561f0c710742ac0df330a8c1e59487e
7
- data.tar.gz: 7509b9a0fc83a14ac78066b1be4e0e260e76e4c6b59001c0310551f45e7d3019f9edad40e0019f81101ce21fbf2193d664bb54bb677d3abbd3cac086965031e0
6
+ metadata.gz: 3439899858d9a545395fccf1420f918570066e32a443a3ded83f4f8d71a71034922513b049fc62cfccf336cb636357363ddc5b1662afbdc4411b8859a8d147a4
7
+ data.tar.gz: f125cfee50585b4de24c93867ae1a1be98d2a67144271f68ebeb550679591ddebc495ae327ef29c79e35c03b540a163cc923b1bf5f7335351e30f5f66bace3e7
@@ -33,6 +33,8 @@ module Fastlane
33
33
 
34
34
  notifier = Slack::Notifier.new(options[:slack_url], channel: channel, username: username)
35
35
 
36
+ link_names = options[:link_names]
37
+
36
38
  icon_url = options[:use_webhook_configured_username_and_icon] ? nil : options[:icon_url]
37
39
 
38
40
  slack_attachment = generate_slack_attachments(options)
@@ -40,7 +42,7 @@ module Fastlane
40
42
  return [notifier, slack_attachment] if Helper.test? # tests will verify the slack attachments and other properties
41
43
 
42
44
  begin
43
- results = notifier.ping('', icon_url: icon_url, attachments: [slack_attachment])
45
+ results = notifier.ping('', link_names: link_names, icon_url: icon_url, attachments: [slack_attachment])
44
46
  rescue => exception
45
47
  UI.error("Exception: #{exception}")
46
48
  ensure
@@ -124,6 +126,12 @@ module Fastlane
124
126
  description: "Should an error sending the slack notification cause a failure? (true/false)",
125
127
  optional: true,
126
128
  default_value: true,
129
+ is_string: false),
130
+ FastlaneCore::ConfigItem.new(key: :link_names,
131
+ env_name: "FL_SLACK_LINK_NAMES",
132
+ description: "Find and link channel names and usernames (true/false)",
133
+ optional: true,
134
+ default_value: false,
127
135
  is_string: false)
128
136
  ]
129
137
  end
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
- VERSION = '2.94.0.beta.20180427050031'.freeze
2
+ VERSION = '2.94.0.beta.20180428050023'.freeze
3
3
  DESCRIPTION = "The easiest way to automate beta deployments and releases for your iOS and Android apps".freeze
4
4
  MINIMUM_XCODE_RELEASE = "7.0".freeze
5
5
  RUBOCOP_REQUIREMENT = '0.49.1'.freeze
@@ -32,7 +32,7 @@ module FastlaneCore
32
32
 
33
33
  # An optional block which is called when a new value is set.
34
34
  # Check value is valid. This could be type checks or if a folder/file exists
35
- # You have to raise a specific exception if something goes wrong. Append .red after the string
35
+ # You have to raise a specific exception if something goes wrong. Use `user_error!` for the message: UI.user_error!("your message")
36
36
  attr_accessor :verify_block
37
37
 
38
38
  # [Boolean] is false by default. If set to true, also string values will not be asked to the user
@@ -65,12 +65,12 @@
65
65
  </style>
66
66
  </head>
67
67
  <body><% image_counter = 0 %><% @data.each do |language, content| %>
68
- <h1 class="language"><%= language %></h1>
68
+ <h1 id="<%= language %>" class="language"><%= language %></h1>
69
69
  <hr>
70
70
  <table><% content.each do |device_name, screens| %>
71
71
  <tr>
72
72
  <th colspan="<%= screens.count %>">
73
- <span class="deviceName"><%= device_name %></span>
73
+ <a id="<%= language %>-<%= device_name %>" class="deviceName" href="#<%= language %>-<%= device_name %>"><%= device_name %></a>
74
74
  </th>
75
75
  </tr>
76
76
  <tr><% screens.each do |screen_path| %><% next if screen_path.include?"_framed.png" %>
@@ -65,12 +65,12 @@
65
65
  </style>
66
66
  </head>
67
67
  <body><% image_counter = 0 %><% @data.each do |language, content| %>
68
- <h1 class="language"><%= language %></h1>
68
+ <h1 id="<%= language %>" class="language"><%= language %></h1>
69
69
  <hr>
70
70
  <table><% content.each do |device_name, screens| %>
71
71
  <tr>
72
72
  <th colspan="<%= screens.count %>">
73
- <span class="deviceName"><%= device_name %></span>
73
+ <a id="<%= language %>-<%= device_name %>" class="deviceName" href="#<%= language %>-<%= device_name %>"><%= device_name %></a>
74
74
  </th>
75
75
  </tr>
76
76
  <tr><% screens.each do |screen_path| %><% next if screen_path.include?"_framed.png" %>
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: 2.94.0.beta.20180427050031
4
+ version: 2.94.0.beta.20180428050023
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felix Krause
@@ -27,7 +27,7 @@ authors:
27
27
  autorequire:
28
28
  bindir: bin
29
29
  cert_chain: []
30
- date: 2018-04-27 00:00:00.000000000 Z
30
+ date: 2018-04-28 00:00:00.000000000 Z
31
31
  dependencies:
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: slack-notifier
@@ -1637,24 +1637,24 @@ metadata:
1637
1637
  post_install_message:
1638
1638
  rdoc_options: []
1639
1639
  require_paths:
1640
- - screengrab/lib
1641
- - match/lib
1640
+ - pilot/lib
1641
+ - pem/lib
1642
+ - cert/lib
1643
+ - sigh/lib
1642
1644
  - snapshot/lib
1645
+ - supply/lib
1643
1646
  - deliver/lib
1644
- - produce/lib
1645
- - scan/lib
1646
1647
  - fastlane_core/lib
1647
- - sigh/lib
1648
- - credentials_manager/lib
1649
- - frameit/lib
1650
- - cert/lib
1651
- - pilot/lib
1652
- - spaceship/lib
1653
1648
  - fastlane/lib
1654
- - gym/lib
1649
+ - scan/lib
1650
+ - screengrab/lib
1651
+ - produce/lib
1655
1652
  - precheck/lib
1656
- - pem/lib
1657
- - supply/lib
1653
+ - frameit/lib
1654
+ - match/lib
1655
+ - gym/lib
1656
+ - credentials_manager/lib
1657
+ - spaceship/lib
1658
1658
  required_ruby_version: !ruby/object:Gem::Requirement
1659
1659
  requirements:
1660
1660
  - - ">="