fastlane-plugin-gs_versioning 0.3.15 → 0.3.16

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: 04560a4175adb3e0f1a8c26291f943ae3f4d6bd5
4
- data.tar.gz: 2d40f5d95c70762a0c838bfee79e159f8bf092a9
3
+ metadata.gz: 966d34b0fd111d0da6dbee58dd2a4e657e2587c5
4
+ data.tar.gz: 68cb70f834f83d2e4ec2cd6aae658d1f55491fd6
5
5
  SHA512:
6
- metadata.gz: e3b5cc59e026943c59b8342adda4556a59adaed1d5a456bb097b48696d8b74c7fac9ea1a1ddd47741ac04ecb543c133867ca01590f2353c175869b0a502d4523
7
- data.tar.gz: 4cbec9db648c09d49d076b0a73dbb6ed9c171d5cd5bfff478270c5738b9c3967f33d742e8f77e41e6f485715524fa89e13253e669cc3b87f5301d1615cafca4d
6
+ metadata.gz: e57b7c74f547f37237704a026bbbbd92035e233376e6c2c679b36dca2bad8ba2f74e5769d52303d10e36c1e821bfbfcef835a735685992f03a1a1a0b2795c727
7
+ data.tar.gz: 58af51f08aa46716b62a90010021ec2b76b1e83778ff7aa4744d5b016c1dd1d5d6702a9bff9f2e4f11159e5613e6760d4ef30fbc59742efaf10d3e83d9fc13c1
@@ -113,6 +113,7 @@ class GSVersionApiProvider
113
113
  end
114
114
 
115
115
  def self.updateVersions(projectName, newValue = GSVersionValue.versions_dict[projectName])
116
+ require 'json'
116
117
  GSVersionValue.versions_dict[projectName] = newValue
117
118
  url = 'versions'
118
119
  json_params = {
@@ -123,7 +124,7 @@ class GSVersionApiProvider
123
124
  }
124
125
  response = @@client.request(:patch) do |req|
125
126
  req.url url
126
- req.body = json_params.to_s
127
+ req.body = json_params.to_json
127
128
  req.headers['Content-Type'] = 'application/json'
128
129
  end
129
130
 
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module GsVersioning
3
- VERSION = "0.3.15"
3
+ VERSION = "0.3.16"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-gs_versioning
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.15
4
+ version: 0.3.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - SAVeselovskiy