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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/airservice/build_tools/version.rb +1 -1
- data/spec/airservice/build_tools/obj_c_spec.rb +10 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: db4798af61a6b40e3b6cdbf68e525747853a04c5
|
4
|
+
data.tar.gz: 06337ef417f094553eae1cd23115dbba70afbd7e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 16719ea847b5de33728878864f3d440c9fe65e0b9fff307ce5bf31f7cc1b83ce6dfc6df2a4d5a2523cfb70cc167b524f498642e941701a0057e634d5aac8c479
|
7
|
+
data.tar.gz: 1917f668de53d4f606df3d0c30d8a0f0c6207d55e02c19adfdc89b5a2655f0547f57c5cc6bf76cee4f1db3843225422ca5c14261afc6b138884befafea450ec2
|
data/Gemfile.lock
CHANGED
@@ -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
|