fastlane-plugin-gs_versioning 0.3.6 → 0.3.7

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: 8a890efca4cd4bce5da832b05c00ae608059fb26
4
- data.tar.gz: e0a6f6768fb31e575511820b74f0a9a578c79020
3
+ metadata.gz: 3e0ac0d87da82f89899dbd7076ea68d44ef1ddcc
4
+ data.tar.gz: 21234f6521bbfed609033e710106bad772924c56
5
5
  SHA512:
6
- metadata.gz: 4c5b97d5a43a8e85d676382aad9b4be077cbe54ba539dfbfb2b1abbd86a68b0116b8220d4ce17fd34c041a7720ddd8f053730d0216e8dcddf2470eb623c75b12
7
- data.tar.gz: ee375f2a149d81e02890b61a18540544edd47098179df668130fe0574f75915b3e40531bfec58c0d4ff83b42249d98c9434671749acfb88e63dae9df24f594a2
6
+ metadata.gz: 1de880188b35bf75d554067c391a6ab2ccdcaf04f2d3362bacad61dd727366f82ffbd3c510ef25ef32c5ec7dd811aea7cd063351c27fd70e8521e1f357bcb200
7
+ data.tar.gz: c489995df24a97e535d98f3d316c90687b1f74421f2564a9b1a23d08aa3aa875539174e50a105e27b881edbd1a0526ba073152d0a1071e81d19f5a4899c37cb7
@@ -75,14 +75,14 @@ class GSVersionValue
75
75
 
76
76
  def self.parseBackendResponse(body)
77
77
  versions = {}
78
- body.each_key do |key|
79
- serverValue = body[key]
78
+ body.each do |serverValue|
79
+ project_alias = body['alias']
80
80
  localValue = Version.parse({
81
81
  'beta' => serverValue['betaVersionName'],
82
82
  'rc' => serverValue['rcVersionName'],
83
83
  'release' => serverValue['releaseVersionName']
84
84
  })
85
- versions[key] = localValue
85
+ versions[project_alias] = localValue
86
86
  end
87
87
  @@versions_dict = versions
88
88
  end
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module GsVersioning
3
- VERSION = "0.3.6"
3
+ VERSION = "0.3.7"
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.6
4
+ version: 0.3.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - SAVeselovskiy