airservice_build_tools 0.0.5 → 0.0.6

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: 4bac7108baf1611f733bd64310743c52ab2126a4
4
- data.tar.gz: 716f669abb15728c35465921c90b53c06b2f7aae
3
+ metadata.gz: db4798af61a6b40e3b6cdbf68e525747853a04c5
4
+ data.tar.gz: 06337ef417f094553eae1cd23115dbba70afbd7e
5
5
  SHA512:
6
- metadata.gz: fc8fe994e8090af3d1185c5f6474e5a803668bfddbd929a2cd758bd99dc9eed49a5acfdee9899cb14910c6acc9d9d3fb34a9f1789202e781377a9c6c809e41bd
7
- data.tar.gz: 3eb9a2a5583aa12f99c8e1f3cf1ae67a2760d644dd57526e40351e4589e50fb728c7891761f2c7e804895d3f8c4797cbf1c90c1a33c933e7e190ad8c10fd3a96
6
+ metadata.gz: 16719ea847b5de33728878864f3d440c9fe65e0b9fff307ce5bf31f7cc1b83ce6dfc6df2a4d5a2523cfb70cc167b524f498642e941701a0057e634d5aac8c479
7
+ data.tar.gz: 1917f668de53d4f606df3d0c30d8a0f0c6207d55e02c19adfdc89b5a2655f0547f57c5cc6bf76cee4f1db3843225422ca5c14261afc6b138884befafea450ec2
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- airservice_build_tools (0.0.3)
4
+ airservice_build_tools (0.0.5)
5
5
  plist
6
6
 
7
7
  GEM
@@ -1,5 +1,5 @@
1
1
  module AirService
2
2
  module BuildTools
3
- VERSION = "0.0.5"
3
+ VERSION = "0.0.6"
4
4
  end
5
5
  end
@@ -49,6 +49,16 @@ describe AirService::BuildTools::ObjC do
49
49
  actual.should_not include('CFBundleVersion')
50
50
  actual.should_not include('CFBundleShortVersionString')
51
51
  end
52
+ it 'forces the bundle version to be a string' do
53
+ file_path = 'test_plist.plist'
54
+ File.open(file_path, 'w+') { |f| f.write(plist_file) }
55
+
56
+ update_plist_version(file_path: file_path, build_version: 345, version: 345)
57
+
58
+ actual = Plist::parse_xml(file_path)
59
+ actual['CFBundleVersion'].should eq('345')
60
+ actual['CFBundleShortVersionString'].should eq('345')
61
+ end
52
62
  end
53
63
  end
54
64
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: airservice_build_tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - AirService