fastlane-plugin-gs_deliver 0.1.0 → 0.1.2

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: 10b6a93d19c6bd7b58221171efc164cc94f3aa77
4
- data.tar.gz: b602924f278a65c78af3bca2e7484a0ec5405265
3
+ metadata.gz: 038e835d7d23040062e729119338924a56cd72a3
4
+ data.tar.gz: 827466ae6c134153fd4cd796b459c506a296ecdf
5
5
  SHA512:
6
- metadata.gz: 877cac59b6d734bf68e6694e458cbce1e6683ae3677b8b904a2f4bf58776ff2741455421925a03665518343584b7c3a51fb20a40f8981d365bcb6afcb0724d93
7
- data.tar.gz: 86dd9224d6db89f7becf8dcec47dfa0d0d4f91c7948200eb603ec77baca03a4e1f6ffa67f088be586f35ce365eb00166d13e497fbc73f7f6ba0dba1aebe885ed
6
+ metadata.gz: b78ea29bda06cd5ae92fd7cf31114d33a407c25a9cc75f887139de2d928612cf392dae0738de4120df445605af28c65be5e6d5cbc4c27dd4c4004d65fcd4ff39
7
+ data.tar.gz: 64f6e1b3c0811f52052b629e3e541fba2e386a8e864063e4738323acde773919de845e90322f2674ed814971819d939f936b6dc6025b668f85f25da7ba7e46c4
@@ -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.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-gs_deliver
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Сергей Веселовский
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-01-09 00:00:00.000000000 Z
11
+ date: 2017-01-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry
@@ -109,7 +109,7 @@ files:
109
109
  - lib/fastlane/plugin/gs_deliver.rb
110
110
  - README.md
111
111
  - LICENSE
112
- homepage:
112
+ homepage: https://github.com/SAVeselovskiy/gs_deliver
113
113
  licenses:
114
114
  - MIT
115
115
  metadata: {}