gs_deliver 0.1.0 → 0.1.1

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: b057de781a621bb159bb5821f05d04511fab85d9
4
- data.tar.gz: 5e07d9050580c6b9b6d12b35f3818f4c6f395e95
3
+ metadata.gz: 668ebf3d6f37f20aa5cd41afaacc6fa78de1bec6
4
+ data.tar.gz: b1a1d704e4c24350335f39bcf906b2ebe2812e7f
5
5
  SHA512:
6
- metadata.gz: 1430ddda7e6c19ad4df4496a0a18d05e1345521512ea745dec5f784149d434cc36173e859017421e38f81e1ad291558771b7167768e2c3b32ce0e409c98f2684
7
- data.tar.gz: 4fafdb8f3abe7a2737a49d82ef4c6915138bb81d3e431706cd69d82f3652d689645c84a296064d2359bb95097cfc290e7af42f2e0697bd89239d5599cfef41c5
6
+ metadata.gz: 2d3b7ee0d9f66da619fab32232e11ad62fb766edf913cdbb2105e19222ab470a23f5b7739509857cf492565ea381d5d86bd5eeef051757864aca1dc5cc9ee57c
7
+ data.tar.gz: 5f5ea82dc3b586cce411d565a4a6727ade4e4f1aca33a3bc0f3200d9179570dbe7a34a01d97a57bbbf1ac582d4b50070d4d4776617f2a6664afd6e5451a3c176
@@ -0,0 +1,45 @@
1
+ module Fastlane
2
+ module Actions
3
+ class GsGetAppStatus < Action
4
+ def self.run(params)
5
+ app = Spaceship::Tunes::Application.find(params[:app_identifier])
6
+ return app.edit_version.app_status
7
+ end
8
+
9
+ def self.description
10
+ "Gradoservice plugin to rule apps releases"
11
+ end
12
+
13
+ def self.authors
14
+ ["Сергей Веселовский"]
15
+ end
16
+
17
+ def self.return_value
18
+ # If your method provides a return value, you can describe here what it does
19
+ end
20
+
21
+ def self.details
22
+ # Optional:
23
+ "Gradoservice plugin to rule apps releases for our scheme"
24
+ end
25
+
26
+ def self.available_options
27
+ [
28
+ # FastlaneCore::ConfigItem.new(key: :your_option,
29
+ # env_name: "GS_DELIVER_YOUR_OPTION",
30
+ # description: "A description of your option",
31
+ # optional: false,
32
+ # type: String)
33
+ ]
34
+ end
35
+
36
+ def self.is_supported?(platform)
37
+ # Adjust this if your plugin only works for a particular platform (iOS vs. Android, for example)
38
+ # See: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Platforms.md
39
+ #
40
+ # [:ios, :mac, :android].include?(platform)
41
+ true
42
+ end
43
+ end
44
+ end
45
+ end
@@ -3,7 +3,7 @@ module Fastlane
3
3
  class GsMoveToReadyForSale < Action
4
4
  def self.run(params)
5
5
  app = Spaceship::Tunes::Application.find(params[:app_identifier])
6
- return app.edit_version.app_status
6
+ app.release!
7
7
  end
8
8
 
9
9
  def self.description
@@ -25,11 +25,11 @@ module Fastlane
25
25
 
26
26
  def self.available_options
27
27
  [
28
- # FastlaneCore::ConfigItem.new(key: :your_option,
29
- # env_name: "GS_DELIVER_YOUR_OPTION",
30
- # description: "A description of your option",
31
- # optional: false,
32
- # type: String)
28
+ FastlaneCore::ConfigItem.new(key: :app_identifier,
29
+ env_name: "GS_APP_IDENTIFIER",
30
+ description: "A description of your option",
31
+ optional: false,
32
+ type: String)
33
33
  ]
34
34
  end
35
35
 
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module GsDeliver
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gs_deliver
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Сергей Веселовский