fastlane-plugin-discord 0.3.0 → 0.4.0

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
  SHA256:
3
- metadata.gz: e2b104f44ab3e2256eb4b7321971b6a194ecb761ed504dfdc99cf4fa0b8ce426
4
- data.tar.gz: 55eefd6c8736ab97f7b811a0ff4ba97046adb9197daad6b5df33871ee5940a72
3
+ metadata.gz: 01c43cc0e6923b03ffbf6f7ad58fcf82e161c35e7704adc8e08e5807ccb885e2
4
+ data.tar.gz: f6bd00a929be08d4db2af4823168e602f130451f81772c8305dd176534fe0f91
5
5
  SHA512:
6
- metadata.gz: 6dd7683498baaa4078ebbf14603159b272804198b1754f1fa315a3d0fef929ecb3e5566e132b7b7b44727593d65a4d177709842095543d34d8788a7aaab72fb3
7
- data.tar.gz: 6aa2241fc4cedd48ebf48e10c3da843b251eed7112efb1dbcfb15a6bfb61773de6a2b8bb4f8f7c9a14cfcb70e5bf6d88ecf394e68a184c7548f9212bd45af904
6
+ metadata.gz: 79150e6aef0d18cdbeeaa195c90e3bd5e0ced23a8c5a5768fd60641bf8ba172072888f60f740491e6915c8ecdc778af9838e579c40192bdc0fc5d9015db1507d
7
+ data.tar.gz: adbcca5f723962093ec40f63082d0da561e8b992c49a52765fa837cb4a156fe68730bd8f86648610f216e69348e2c885a76b7fa359d612f4bf78344d9f6c0c3e
@@ -8,7 +8,7 @@ module Fastlane
8
8
  def self.run(params)
9
9
  UI.message("Notifying Discord")
10
10
 
11
- if params[:store] == 'ios'
11
+ if params[:platform] == 'ios'
12
12
  return self.itunes_notification(params)
13
13
  end
14
14
 
@@ -44,7 +44,7 @@ module Fastlane
44
44
  end
45
45
 
46
46
  def self.description
47
- "Discord integration with Fastlane."
47
+ "Discord integration with Fastlane"
48
48
  end
49
49
 
50
50
  def self.authors
@@ -63,17 +63,14 @@ module Fastlane
63
63
  def self.available_options
64
64
  [
65
65
  FastlaneCore::ConfigItem.new(key: :url,
66
- env_name: "DISCORD_URL",
67
66
  description: "Discord Webhook URL",
68
67
  optional: false,
69
68
  type: String),
70
69
  FastlaneCore::ConfigItem.new(key: :build_number,
71
- env_name: "DISCORD_BUILD_NUMBER",
72
70
  description: "New build number",
73
71
  optional: false,
74
- type: String),
72
+ type: Integer),
75
73
  FastlaneCore::ConfigItem.new(key: :version,
76
- env_name: "DISCORD_VERSION",
77
74
  description: "Version of the build",
78
75
  optional: false,
79
76
  type: String),
@@ -82,9 +79,9 @@ module Fastlane
82
79
  description: "Name of the app",
83
80
  optional: false,
84
81
  type: String),
85
- FastlaneCore::ConfigItem.new(key: :store,
82
+ FastlaneCore::ConfigItem.new(key: :platform,
86
83
  env_name: "DISCORD_STORE",
87
- description: "Which app store the app has deployed (ios or android), default is android.",
84
+ description: "Which app store the app has deployed (ios or android), default is android",
88
85
  optional: true,
89
86
  type: String)
90
87
  ]
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module Discord
3
- VERSION = "0.3.0"
3
+ VERSION = "0.4.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-discord
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matheus Gambati
@@ -185,5 +185,5 @@ rubyforge_project:
185
185
  rubygems_version: 2.7.6
186
186
  signing_key:
187
187
  specification_version: 4
188
- summary: Discord integration with Fastlane.
188
+ summary: Discord integration with Fastlane
189
189
  test_files: []