longbow 2.0.0 → 2.1.0

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: 31be1109d53d7b72bf2a1ba1b9a2b55a347a311d
4
- data.tar.gz: fde00c27dc74a8c35820b943a8a2bd4ee0600fb8
3
+ metadata.gz: 22b81c0c86c5a97d5ab3d840fb25f26d275d8c36
4
+ data.tar.gz: 290f87f5df7346cf112c3a233476c21b39994f6b
5
5
  SHA512:
6
- metadata.gz: d1e165b78f93fe10edde027571cb26069b44e222bb6bb1851c7797e8118477774001309a5791c1c784507bdfc1cc2d1396db2e53ee8a38d6dfb98ae89f11bc74
7
- data.tar.gz: 30a67a9b68c9b76d8e8654c4a22adaf0fcb5a31d9bceedef429b5620ec02f83e8cefaf3177d164551d27e4f964befa60265191c341fa60ced6eb7688d42ae4a6
6
+ metadata.gz: fb3f03279881f90edd1e9b4e706563ba3bdc321a1eb3cda6654847fd62e00312d433ed03938db1aebb236577f54e9b28b99b6aad172fb7099c4c4b3dfe0cfafa
7
+ data.tar.gz: a77f364ec826a0ae994f63f0837465cd0c78d5ae5d4ddf76e1a9146ad9a1d2b1649ed56a4a94189893f70f6093b9698c79a0a982370431c3be9ee38c92473bb4
data/README.md CHANGED
@@ -110,6 +110,7 @@ If you leave off the `-n` option, it will run for all targets in the `longbow.js
110
110
  * `-d, --directory` - if not in the current directory, specify a new path
111
111
  * `-u, --url` - the url of a longbow formatted JSON file
112
112
  * `-i, --images` - set this flag to not recreate images in the longbow file
113
+ * `-l, --launchscreenimages` - set this flag to create images for the launch screen in the longbow file
113
114
 
114
115
  `longbow shoot -n NameOfTarget -d ~/Path/To/App -u http://someurl.com/longbow.json`
115
116
 
@@ -54,9 +54,9 @@ module Longbow
54
54
  img_dir = make_asset_directory directory, target, '.appiconset/'
55
55
 
56
56
  # Resize
57
- image_sizes = []
58
- image_sizes += ['180x180', '120x120', '114x114', '87x87', '80x80', '58x58', '57x57', '29x29'] if iPhone
59
- image_sizes += ['167x167', '152x152', '144x144', '100x100', '80x80', '76x76', '72x72', '58x58', '50x50', '40x40', '29x29'] if iPad
57
+ image_sizes = ['1024x1024']
58
+ image_sizes += ['180x180', '120x120', '114x114', '87x87', '80x80', '58x58', '60x60', '57x57', '40x40', '29x29'] if iPhone
59
+ image_sizes += ['167x167', '152x152', '144x144', '100x100', '80x80', '76x76', '72x72', '58x58', '50x50', '40x40', '29x29', '20x20'] if iPad
60
60
  image_sizes.uniq.each do |size|
61
61
  image = Image.read(img_path).first
62
62
  next unless image
@@ -133,14 +133,14 @@ module Longbow
133
133
  f.write('{ "images" : [ ')
134
134
 
135
135
  if iPhone
136
- f.write( '{ "size" : "29x29", "idiom" : "iphone", "filename" : "icon58x58.png", "scale" : "2x" }, { "size" : "29x29", "idiom" : "iphone", "filename" : "icon87x87.png", "scale" : "3x" }, { "size" : "40x40", "idiom" : "iphone", "filename" : "icon80x80.png", "scale" : "2x" }, { "size" : "40x40", "idiom" : "iphone", "filename" : "icon120x120.png", "scale" : "3x" }, { "size" : "60x60", "idiom" : "iphone", "filename" : "icon120x120.png", "scale" : "2x" }, { "size" : "29x29", "idiom" : "iphone", "filename" : "icon29x29.png", "scale" : "1x" }, { "size" : "57x57", "idiom" : "iphone", "filename" : "icon57x57.png", "scale" : "1x" }, { "size" : "57x57", "idiom" : "iphone", "filename" : "icon114x114.png", "scale" : "2x" }, { "size" : "60x60", "idiom" : "iphone", "filename" : "icon180x180.png", "scale" : "3x" }' + (iPad ? ',' : ''))
136
+ f.write( '{ "idiom" : "iphone", "size" : "20x20", "scale" : "2x", "filename" : "icon40x40.png" }, { "idiom" : "iphone", "size" : "60x60", "scale" : "3x", "filename" : "icon29x29.png" }, { "size" : "29x29", "idiom" : "iphone", "filename" : "icon58x58.png", "scale" : "2x" }, { "size" : "29x29", "idiom" : "iphone", "filename" : "icon87x87.png", "scale" : "3x" }, { "size" : "40x40", "idiom" : "iphone", "filename" : "icon80x80.png", "scale" : "2x" }, { "size" : "40x40", "idiom" : "iphone", "filename" : "icon120x120.png", "scale" : "3x" }, { "size" : "60x60", "idiom" : "iphone", "filename" : "icon120x120.png", "scale" : "2x" }, { "size" : "29x29", "idiom" : "iphone", "filename" : "icon29x29.png", "scale" : "1x" }, { "size" : "57x57", "idiom" : "iphone", "filename" : "icon57x57.png", "scale" : "1x" }, { "size" : "57x57", "idiom" : "iphone", "filename" : "icon114x114.png", "scale" : "2x" }, { "size" : "60x60", "idiom" : "iphone", "filename" : "icon180x180.png", "scale" : "3x" }' + (iPad ? ',' : ''))
137
137
  end
138
138
 
139
139
  if iPad
140
- f.write( '{ "idiom" : "ipad", "size" : "29x29", "scale" : "1x", "filename" : "icon29x29.png" }, { "idiom" : "ipad", "size" : "29x29", "scale" : "2x", "filename" : "icon58x58.png" }, { "idiom" : "ipad", "size" : "40x40", "scale" : "1x", "filename" : "icon40x40.png" }, { "idiom" : "ipad", "size" : "40x40", "scale" : "2x", "filename" : "icon80x80.png" }, { "idiom" : "ipad", "size" : "76x76", "scale" : "1x", "filename" : "icon76x76.png" }, { "idiom" : "ipad", "size" : "76x76", "scale" : "2x", "filename" : "icon152x152.png" }, { "idiom" : "ipad", "size" : "50x50", "scale" : "1x", "filename" : "icon50x50.png" }, { "idiom" : "ipad", "size" : "50x50", "scale" : "2x", "filename" : "icon100x100.png" }, { "idiom" : "ipad", "size" : "72x72", "scale" : "1x", "filename" : "icon72x72.png" }, { "idiom" : "ipad", "size" : "72x72", "scale" : "2x", "filename" : "icon144x144.png" }, { "idiom" : "ipad", "size" : "83.5x83.5", "scale" : "2x", "filename" : "icon167x167.png" }')
140
+ f.write( '{ "idiom" : "ipad", "size" : "20x20", "scale" : "1x", "filename" : "icon20x20.png" }, { "idiom" : "ipad", "size" : "20x20", "scale" : "2x", "filename" : "icon40x40.png" }, { "idiom" : "ipad", "size" : "29x29", "scale" : "1x", "filename" : "icon29x29.png" }, { "idiom" : "ipad", "size" : "29x29", "scale" : "2x", "filename" : "icon58x58.png" }, { "idiom" : "ipad", "size" : "40x40", "scale" : "1x", "filename" : "icon40x40.png" }, { "idiom" : "ipad", "size" : "40x40", "scale" : "2x", "filename" : "icon80x80.png" }, { "idiom" : "ipad", "size" : "76x76", "scale" : "1x", "filename" : "icon76x76.png" }, { "idiom" : "ipad", "size" : "76x76", "scale" : "2x", "filename" : "icon152x152.png" }, { "idiom" : "ipad", "size" : "50x50", "scale" : "1x", "filename" : "icon50x50.png" }, { "idiom" : "ipad", "size" : "50x50", "scale" : "2x", "filename" : "icon100x100.png" }, { "idiom" : "ipad", "size" : "72x72", "scale" : "1x", "filename" : "icon72x72.png" }, { "idiom" : "ipad", "size" : "72x72", "scale" : "2x", "filename" : "icon144x144.png" }, { "idiom" : "ipad", "size" : "83.5x83.5", "scale" : "2x", "filename" : "icon167x167.png" }')
141
141
  end
142
142
 
143
- f.write(' ], "info" : { "version" : 1, "author" : "xcode" }, "properties" : { "pre-rendered" : true } }')
143
+ f.write(', { "idiom" : "ios-marketing", "size" : "1024x1024", "scale" : "1x", "filename" : "icon1024x1024.png" } ], "info" : { "version" : 1, "author" : "xcode" }, "properties" : { "pre-rendered" : true } }')
144
144
  end
145
145
 
146
146
  # Return true
@@ -2,7 +2,7 @@ $:.push File.expand_path('../', __FILE__)
2
2
  require 'colors'
3
3
 
4
4
  module Longbow
5
- VERSION = '2.0.0'
5
+ VERSION = '2.1.0'
6
6
 
7
7
  def self.check_for_newer_version
8
8
  unless Gem.latest_version_for('longbow').to_s == VERSION
metadata CHANGED
@@ -1,125 +1,111 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: longbow
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Intermark Interactive
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-07 00:00:00.000000000 Z
11
+ date: 2017-10-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.3'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.3'
27
- - !ruby/object:Gem::Dependency
28
- name: fileutils
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - '>='
32
- - !ruby/object:Gem::Version
33
- version: '0'
34
- type: :runtime
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - '>='
39
- - !ruby/object:Gem::Version
40
- version: '0'
41
27
  - !ruby/object:Gem::Dependency
42
28
  name: commander
43
29
  requirement: !ruby/object:Gem::Requirement
44
30
  requirements:
45
- - - ~>
31
+ - - "~>"
46
32
  - !ruby/object:Gem::Version
47
33
  version: '4.1'
48
34
  type: :runtime
49
35
  prerelease: false
50
36
  version_requirements: !ruby/object:Gem::Requirement
51
37
  requirements:
52
- - - ~>
38
+ - - "~>"
53
39
  - !ruby/object:Gem::Version
54
40
  version: '4.1'
55
41
  - !ruby/object:Gem::Dependency
56
42
  name: dotenv
57
43
  requirement: !ruby/object:Gem::Requirement
58
44
  requirements:
59
- - - ~>
45
+ - - "~>"
60
46
  - !ruby/object:Gem::Version
61
47
  version: '0.7'
62
48
  type: :runtime
63
49
  prerelease: false
64
50
  version_requirements: !ruby/object:Gem::Requirement
65
51
  requirements:
66
- - - ~>
52
+ - - "~>"
67
53
  - !ruby/object:Gem::Version
68
54
  version: '0.7'
69
55
  - !ruby/object:Gem::Dependency
70
56
  name: rmagick
71
57
  requirement: !ruby/object:Gem::Requirement
72
58
  requirements:
73
- - - ~>
59
+ - - "~>"
74
60
  - !ruby/object:Gem::Version
75
61
  version: 2.16.0
76
62
  type: :runtime
77
63
  prerelease: false
78
64
  version_requirements: !ruby/object:Gem::Requirement
79
65
  requirements:
80
- - - ~>
66
+ - - "~>"
81
67
  - !ruby/object:Gem::Version
82
68
  version: 2.16.0
83
69
  - !ruby/object:Gem::Dependency
84
70
  name: xcodeproj
85
71
  requirement: !ruby/object:Gem::Requirement
86
72
  requirements:
87
- - - '>='
73
+ - - ">="
88
74
  - !ruby/object:Gem::Version
89
75
  version: '0'
90
76
  type: :runtime
91
77
  prerelease: false
92
78
  version_requirements: !ruby/object:Gem::Requirement
93
79
  requirements:
94
- - - '>='
80
+ - - ">="
95
81
  - !ruby/object:Gem::Version
96
82
  version: '0'
97
83
  - !ruby/object:Gem::Dependency
98
84
  name: json
99
85
  requirement: !ruby/object:Gem::Requirement
100
86
  requirements:
101
- - - '>='
87
+ - - ">="
102
88
  - !ruby/object:Gem::Version
103
89
  version: '0'
104
90
  type: :runtime
105
91
  prerelease: false
106
92
  version_requirements: !ruby/object:Gem::Requirement
107
93
  requirements:
108
- - - '>='
94
+ - - ">="
109
95
  - !ruby/object:Gem::Version
110
96
  version: '0'
111
97
  - !ruby/object:Gem::Dependency
112
98
  name: rake
113
99
  requirement: !ruby/object:Gem::Requirement
114
100
  requirements:
115
- - - '>='
101
+ - - ">="
116
102
  - !ruby/object:Gem::Version
117
103
  version: '0'
118
104
  type: :development
119
105
  prerelease: false
120
106
  version_requirements: !ruby/object:Gem::Requirement
121
107
  requirements:
122
- - - '>='
108
+ - - ">="
123
109
  - !ruby/object:Gem::Version
124
110
  version: '0'
125
111
  description: One codebase. Multiple App Store submission targets with different icons,
@@ -131,28 +117,28 @@ executables:
131
117
  extensions: []
132
118
  extra_rdoc_files: []
133
119
  files:
134
- - ./Gemfile
135
- - ./lib/longbow/colors.rb
136
- - ./lib/longbow/commands/aim.rb
137
- - ./lib/longbow/commands/install.rb
138
- - ./lib/longbow/commands/shoot.rb
139
- - ./lib/longbow/commands.rb
140
- - ./lib/longbow/images.rb
141
- - ./lib/longbow/json.rb
142
- - ./lib/longbow/plist.rb
143
- - ./lib/longbow/targets.rb
144
- - ./lib/longbow/utilities.rb
145
- - ./lib/longbow/version.rb
146
- - ./lib/longbow.rb
147
- - ./LICENSE.txt
148
- - ./Rakefile
149
- - ./README.md
150
- - ./resources/aim.sh
151
- - ./resources/banner.png
152
- - ./resources/capture.js
153
- - ./resources/config-screenshots.sh
154
- - ./resources/ui-screen-shooter.sh
155
- - ./resources/unix_instruments.sh
120
+ - "./Gemfile"
121
+ - "./LICENSE.txt"
122
+ - "./README.md"
123
+ - "./Rakefile"
124
+ - "./lib/longbow.rb"
125
+ - "./lib/longbow/colors.rb"
126
+ - "./lib/longbow/commands.rb"
127
+ - "./lib/longbow/commands/aim.rb"
128
+ - "./lib/longbow/commands/install.rb"
129
+ - "./lib/longbow/commands/shoot.rb"
130
+ - "./lib/longbow/images.rb"
131
+ - "./lib/longbow/json.rb"
132
+ - "./lib/longbow/plist.rb"
133
+ - "./lib/longbow/targets.rb"
134
+ - "./lib/longbow/utilities.rb"
135
+ - "./lib/longbow/version.rb"
136
+ - "./resources/aim.sh"
137
+ - "./resources/banner.png"
138
+ - "./resources/capture.js"
139
+ - "./resources/config-screenshots.sh"
140
+ - "./resources/ui-screen-shooter.sh"
141
+ - "./resources/unix_instruments.sh"
156
142
  - bin/longbow
157
143
  homepage: https://github.com/intermark/longbow
158
144
  licenses:
@@ -164,17 +150,17 @@ require_paths:
164
150
  - lib
165
151
  required_ruby_version: !ruby/object:Gem::Requirement
166
152
  requirements:
167
- - - '>='
153
+ - - ">="
168
154
  - !ruby/object:Gem::Version
169
155
  version: '0'
170
156
  required_rubygems_version: !ruby/object:Gem::Requirement
171
157
  requirements:
172
- - - '>='
158
+ - - ">="
173
159
  - !ruby/object:Gem::Version
174
160
  version: '0'
175
161
  requirements: []
176
162
  rubyforge_project:
177
- rubygems_version: 2.0.14.1
163
+ rubygems_version: 2.5.2
178
164
  signing_key:
179
165
  specification_version: 4
180
166
  summary: Better target creation for one iOS codebase.