fastlane-plugin-gs_deliver 0.3.2 → 0.3.3

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: 666223ca8647e510c734d985a9e959acfbc47780
4
- data.tar.gz: 575e39b576084d05758a396abc338ada1e9bd44f
3
+ metadata.gz: 090031cf60fc1d0c0a71f417e04fd94a65883dc6
4
+ data.tar.gz: 7e331fe31b861a88d3c4634cc7616360b492369b
5
5
  SHA512:
6
- metadata.gz: c444eb091bd7fd34eb577a960588bdaefcf818a0588c16932babbe018f6bbca7dde30430db7c51547f5fd712cc258c3a2243a3283d30c7a3876e5449ed5ea4a0
7
- data.tar.gz: dca90a206a2c2189fa1e281399e61e00617568de91ab10d992b467cbee3b6ded0a321fab7a69ac2d7ac706bed0aa632fde1205738c6135a13fc592fbb9f9ec69
6
+ metadata.gz: 302d4fbd5ff8aa953e15e458c413863c00ac1b58b48430f35b6c2f5888418cdb21a2d14781de373bad08193f5d6c4c7b5aef34a279db7c860dffc71993d1de96
7
+ data.tar.gz: f5347fdfb5ecacdb6a9ea75f051584c4dd8774c5439acfb29566187f6802bcfd20e7ef84c871b9addd2634f9062946322cbb7c5caf17e455ae4895d6e09dc1eb
@@ -43,19 +43,13 @@ module Fastlane
43
43
 
44
44
  params = {}
45
45
  options.all_keys.each do |key|
46
- params[key] = options[key] if options[key] != nil && key != :lang && key != :request
46
+ params[key] = options[key] if options[key] != nil && key != :request
47
47
  end
48
+ UI.message(params.to_s)
48
49
  json_params = params.to_json
49
50
  response = ""
50
- if options[:cmd].class != Hash && (options[:cmd].include? "file")
51
- UI.message("curl -k -H \"Content-Type: application/json\" -d \'#{json_params}\' https://mobile.geo4.io/bot/releaseBuilder/#{options[:request]}")
52
- response = `curl -k -H "Content-Type: application/json" -d '#{json_params}' https://mobile.geo4.io/bot/releaseBuilder/cmd`
53
- FileHelper.write(Dir.pwd + "/../../notes/" + options[:project] + "/" +
54
- options[:displayVersionName] + "_" + options[:lang] + ".txt", response)
55
- else
56
- UI.message("curl -k -H \"Content-Type: application/json\" -d \'#{json_params}\' https://mobile.geo4.io/bot/releaseBuilder/cmd")
57
- response = `curl -k -H "Content-Type: application/json" -d '#{json_params}' https://mobile.geo4.io/bot/releaseBuilder/cmd`
58
- end
51
+ UI.message("curl -k -H \"Content-Type: application/json\" -d \'#{json_params}\' https://mobile.geo4.io/bot/releaseBuilder/cmd")
52
+ response = `curl -k -H "Content-Type: application/json" -d '#{json_params}' https://mobile.geo4.io/bot/releaseBuilder/cmd`
59
53
  response
60
54
  end
61
55
 
@@ -78,10 +72,6 @@ module Fastlane
78
72
 
79
73
  def self.available_options
80
74
  [
81
- FastlaneCore::ConfigItem.new(key: :lang,
82
- description: "For fileBetaRu and etc",
83
- optional: true,
84
- type: String),
85
75
  FastlaneCore::ConfigItem.new(key: :cmd,
86
76
  description: "Command that indicates bot action",
87
77
  optional: true,
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module GsDeliver
3
- VERSION = "0.3.2"
3
+ VERSION = "0.3.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-gs_deliver
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Сергей Веселовский