fastlane-plugin-versioning 0.5.1 → 0.5.2

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
  SHA256:
3
- metadata.gz: 3b859783ec3eb0b788723835e3e9cea700b5924d1993a398f1381c319f4393d9
4
- data.tar.gz: 3820aef2545a4054830e859c02497d4a8110a8931020758c123775113d15d96b
3
+ metadata.gz: 79b440ee888faef8d8af1ca926280a5f9b49bb357cc3d69e53dc8a1a56b7b2c8
4
+ data.tar.gz: c3a217e48d29083d152d32fbf2d59e155e0b6c8634ff47171135c5a808595bc6
5
5
  SHA512:
6
- metadata.gz: a33054f02eb1fad905b17d001aaddfd82c4fecae4b8f203be72ae5d65129019ecea32445e6d53e1ae375828651019de0ae1833abbb7c6bb49f86743df036d692
7
- data.tar.gz: 07a216fd6beca44bf81e57b8ee5ecef852094ca3589882d1ff983683022b0efa118ccb6be84814a0a4083d21a35363aa6a28b75904a8887ae359ece31b20b38c
6
+ metadata.gz: e4a0ac02d302b480dd88dec90e780239455ede0f5d6c8b40bb32d774951ac8b74de3a8c633c8be57b89ba27d014c523b8081e629ab4449b72eec76aadc4e05b8
7
+ data.tar.gz: ef0aa4fb316b53cb28bdb6285c8acba0649ad2ccf295430ba665152bb6a3e25a832594f2e3b3cf4d4dcabf9c2ed19f761f046ad24b15da1e1130e84416392b1b
@@ -3,6 +3,7 @@ module Fastlane
3
3
  class GetAppStoreVersionNumberAction < Action
4
4
 
5
5
  require 'json'
6
+ require 'securerandom'
6
7
 
7
8
  def self.run(params)
8
9
  if params[:bundle_id]
@@ -16,10 +17,12 @@ module Fastlane
16
17
  bundle_id = GetInfoPlistValueAction.run(path: plist, key: 'CFBundleIdentifier') # TODO: add same kind of flag to support build setting variables
17
18
  end
18
19
 
20
+ random = Helper.test? ? "123" : SecureRandom.uuid
21
+
19
22
  if params[:country]
20
- uri = URI("http://itunes.apple.com/lookup?bundleId=#{bundle_id}&country=#{params[:country]}")
23
+ uri = URI("http://itunes.apple.com/lookup?bundleId=#{bundle_id}&country=#{params[:country]}&rand=#{random}")
21
24
  else
22
- uri = URI("http://itunes.apple.com/lookup?bundleId=#{bundle_id}")
25
+ uri = URI("http://itunes.apple.com/lookup?bundleId=#{bundle_id}&rand=#{random}")
23
26
  end
24
27
  Net::HTTP.get(uri)
25
28
 
@@ -79,7 +82,7 @@ module Fastlane
79
82
  end
80
83
 
81
84
  def self.authors
82
- ["SiarheiFedartsou"]
85
+ ["SiarheiFedartsou", "jdouglas-nz", "raymondjacobson"]
83
86
  end
84
87
 
85
88
  def self.is_supported?(platform)
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module Versioning
3
- VERSION = "0.5.1"
3
+ VERSION = "0.5.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-versioning
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Siarhei Fiedartsou
8
8
  - John Douglas
9
- autorequire:
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2022-06-25 00:00:00.000000000 Z
12
+ date: 2023-07-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: pry
@@ -67,7 +67,7 @@ dependencies:
67
67
  - - ">="
68
68
  - !ruby/object:Gem::Version
69
69
  version: 1.93.1
70
- description:
70
+ description:
71
71
  email:
72
72
  - siarhei.fedartsou@gmail.com
73
73
  - john.douglas.nz@gmail.com
@@ -95,7 +95,7 @@ homepage: https://github.com/SiarheiFedartsou/fastlane-plugin-versioning
95
95
  licenses:
96
96
  - MIT
97
97
  metadata: {}
98
- post_install_message:
98
+ post_install_message:
99
99
  rdoc_options: []
100
100
  require_paths:
101
101
  - lib
@@ -110,8 +110,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
110
110
  - !ruby/object:Gem::Version
111
111
  version: '0'
112
112
  requirements: []
113
- rubygems_version: 3.0.6
114
- signing_key:
113
+ rubygems_version: 3.3.26
114
+ signing_key:
115
115
  specification_version: 4
116
116
  summary: Allows to set/get app version and build number directly to/from Info.plist
117
117
  test_files: []