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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 79b440ee888faef8d8af1ca926280a5f9b49bb357cc3d69e53dc8a1a56b7b2c8
|
|
4
|
+
data.tar.gz: c3a217e48d29083d152d32fbf2d59e155e0b6c8634ff47171135c5a808595bc6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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)
|
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.
|
|
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:
|
|
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.
|
|
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: []
|