airservice_build_tools 0.0.7 → 0.0.8

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: b2b8d434319dde2e092bb3b0efe2903925693ace
4
- data.tar.gz: f9e096ade73af6030577eb3fa5910118481272e8
3
+ metadata.gz: b55ce81be58abf8b9b292675fcd31623808fc88e
4
+ data.tar.gz: 54f0c5585d381c00bb7131bba0526c3d13f7298d
5
5
  SHA512:
6
- metadata.gz: 8732e2d784b08a65395eeb925653020a02965583ba97ba643f22bb5aa09b0532bd4fd9ae3b63d192d4be79edf5cfb7469afbb7581fe99cfc43bda9d2e376ae1c
7
- data.tar.gz: f1fa7bb613c24fb46abb8949d9241a44df0c79207436268e228b9608d645047b07ee782e6c4c19a8ed39d54502512627f77d8c8243f2b8c6b4f1bc1dc438b239
6
+ metadata.gz: b6c02d25c657e1fb03f0fb6d78111eacf5238cae76ac144736aa15935536c636b40f14c9a61fc4546b76f6685a3543bb4488c217e1f3f2ae6cbb96aff46d2356
7
+ data.tar.gz: 7e6e75d854c3df540293d4b4e325ecff5a45238b72a9ed48eae2f7d016c347ed3fa14c59ae70606763415ed9643a122fc1027006e685e221fe4695449b964ae5
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- airservice_build_tools (0.0.5)
4
+ airservice_build_tools (0.0.7)
5
5
  plist
6
6
 
7
7
  GEM
@@ -39,7 +39,7 @@ module AirService
39
39
  size[:scale].each do |scale|
40
40
  scaled_size = size[:size] * scale
41
41
  target_size = "#{scaled_size}x#{scaled_size}"
42
- output_file = "#{size[:name]}@#{scale}x}.png"
42
+ output_file = "#{size[:name]}@#{scale}x.png"
43
43
  args = %W[#{File.expand_path(source, '.')}
44
44
  -resize #{target_size}
45
45
  #{File.join(output_dir, output_file)}]
@@ -1,5 +1,5 @@
1
1
  module AirService
2
2
  module BuildTools
3
- VERSION = "0.0.7"
3
+ VERSION = "0.0.8"
4
4
  end
5
5
  end
@@ -85,5 +85,10 @@ describe AirService::BuildTools::ObjC do
85
85
  end.join(' ')
86
86
  icons.should include('152x152', '80x80', '58x58')
87
87
  end
88
+ it 'creates images with correct names for ipad' do
89
+ create_ios_icons(source: 'spec/fixtures/test_image.png', output_dir: '/tmp/icons/')
90
+ icons = Dir['/tmp/icons/*.png'].join(' ')
91
+ icons.should include('ipad@2x.png', 'ipad@1x.png')
92
+ end
88
93
  end
89
94
  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.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - AirService