ios_android_toolbox 0.0.44 → 0.0.45
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 +4 -4
- data/bin/start_topic_branch.rb +1 -2
- data/lib/ios_android_toolbox/ios.rb +3 -2
- data/lib/ios_android_toolbox/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 946278222ffc7a54e12b70ea9e1aa910b6ed1c41
|
|
4
|
+
data.tar.gz: e60e4ad430deaa3d4514ba293242fed935258091
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 53f7a91854453c11f337983d2dadc842b78a11b4a9a6ed3be5b7878c48cfedb761da2dc162afdb80f447f39c7d03edca3ac07dba6ca126a3bef9379591ed182b
|
|
7
|
+
data.tar.gz: a6cabd20c5bf3c1dff3b1b5e11426c31d274e9adf25ab08561a3b38750f7e4adf7eac5c9129cfc53c8d21733ac00a537bb0e51681409dac10f7580158a0fd95a
|
data/bin/start_topic_branch.rb
CHANGED
|
@@ -16,7 +16,7 @@ raise "Please specify the version file" if version_file.nil?
|
|
|
16
16
|
ctrl = version_controller_for_version_file version_file
|
|
17
17
|
|
|
18
18
|
if topic.nil?
|
|
19
|
-
topic = ctrl.next_version(2).gsub(/\-.+$/,'').gsub(/\.0$/,'')
|
|
19
|
+
topic = ctrl.next_version!(2).gsub(/\-.+$/,'').gsub(/\.0$/,'')
|
|
20
20
|
end
|
|
21
21
|
|
|
22
22
|
topic.gsub!(/[\. \t\n]/, '_') if topic
|
|
@@ -39,7 +39,6 @@ g.branch(topic_branch).delete if g.branches[topic_branch]
|
|
|
39
39
|
g.branch(topic_branch).checkout
|
|
40
40
|
|
|
41
41
|
# Update the version number and commit
|
|
42
|
-
ctrl.next_version!
|
|
43
42
|
ctrl.write_to_output_file version_file
|
|
44
43
|
|
|
45
44
|
# Commit the result
|
|
@@ -97,9 +97,10 @@ module IosAndroidToolbox
|
|
|
97
97
|
|
|
98
98
|
def next_version!(inc_idx = @inc_idx)
|
|
99
99
|
if inc_idx < @inc_idx
|
|
100
|
-
@dict[BUNDLE_VERSION_KEY] = next_version(inc_idx)
|
|
100
|
+
@dict[BUNDLE_VERSION_KEY] = next_version(inc_idx).gsub(/\-.+$/,'')
|
|
101
|
+
@dict[BUILD_VERSION_KEY] = 0
|
|
101
102
|
else
|
|
102
|
-
@dict[BUILD_VERSION_KEY]
|
|
103
|
+
@dict[BUILD_VERSION_KEY] = (build_number.to_i + 1).to_s
|
|
103
104
|
end
|
|
104
105
|
|
|
105
106
|
version
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ios_android_toolbox
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.45
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Igor Sales
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2016-01-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rspec
|