ios_android_toolbox 0.0.3 → 0.0.4

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.
@@ -9,6 +9,7 @@ module IosAndroidToolbox
9
9
 
10
10
  class IosVersionController < VersionController
11
11
  VERSION_KEY = 'CFBundleVersion'
12
+ SHORT_VERSION_KEY = 'CFBundleShortVersionString'
12
13
 
13
14
  def self.find_project_info_candidates_for_dir(dir)
14
15
  candidates = []
@@ -49,7 +50,7 @@ module IosAndroidToolbox
49
50
  end
50
51
 
51
52
  def next_version!(inc_idx = nil)
52
- @dict[VERSION_KEY] = next_version
53
+ @dict[SHORT_VERSION_KEY] = @dict[VERSION_KEY] = next_version
53
54
  end
54
55
 
55
56
  def write_to_plist_file(output_file)
@@ -1,3 +1,3 @@
1
1
  module IosAndroidToolbox
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ios_android_toolbox
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 23
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 3
10
- version: 0.0.3
9
+ - 4
10
+ version: 0.0.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Igor Sales