longbow 0.4.0 → 0.5.0
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.
- checksums.yaml +4 -4
- data/README.md +7 -0
- data/lib/longbow/images.rb +2 -2
- data/lib/longbow/version.rb +1 -1
- metadata +3 -4
- data/Gemfile.lock +0 -42
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4938e79d5273991698fd2851465887929a1a44e6
|
4
|
+
data.tar.gz: 6788bb77060caf9c7851ccaf6b3e08d778d94986
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dec36b67b07ae1b4c8cd55bd9e044179d5d448d43085fdddd59d42b54616d6d3375b5dd3bc5d45e83c52267f76200708efde6f1f04b2a3cad58eda984b7fabe7
|
7
|
+
data.tar.gz: bcd18a88d98959ed9e94a2586f88550f865bdd002f99542a7f1b4f1202b85000a23f1f5116deea0806ab45e89bfb62b5c90503ed4f32f945f0c3d43eac457e52
|
data/README.md
CHANGED
@@ -128,6 +128,13 @@ First you'll need to write a single UIAutomation script to take the screenshots.
|
|
128
128
|
|
129
129
|
Once you've created your automation script, you can run it by calling `longbow aim`. This command will generate a variation of your UIAutomation script for each target, then handle running it for each target. Grab a drink, depending on your script and your number of targets, this may take a while.
|
130
130
|
|
131
|
+
**Options**
|
132
|
+
|
133
|
+
Similar to the `shoot` command, there are flags you can use with this feature.
|
134
|
+
|
135
|
+
* `-n` - name of the target to capture
|
136
|
+
* `-d` - directory the project lives in
|
137
|
+
* `-u` - url of the longbow.json file
|
131
138
|
|
132
139
|
## The Future
|
133
140
|
|
data/lib/longbow/images.rb
CHANGED
@@ -53,7 +53,7 @@ module Longbow
|
|
53
53
|
|
54
54
|
# Resize
|
55
55
|
image_sizes = []
|
56
|
-
image_sizes += ['120x120', '114x114', '80x80', '58x58', '57x57', '29x29'] if iPhone
|
56
|
+
image_sizes += ['180x180', '120x120', '114x114', '80x80', '58x58', '57x57', '29x29'] if iPhone
|
57
57
|
image_sizes += ['152x152', '144x144', '100x100', '80x80', '76x76', '72x72', '58x58', '50x50', '40x40', '29x29'] if iPad
|
58
58
|
image_sizes.uniq.each do |size|
|
59
59
|
image = Image.read(img_path).first
|
@@ -131,7 +131,7 @@ module Longbow
|
|
131
131
|
f.write('{ "images" : [ ')
|
132
132
|
|
133
133
|
if iPhone
|
134
|
-
f.write( '{ "size" : "29x29", "idiom" : "iphone", "filename" : "icon58x58.png", "scale" : "2x" }, { "size" : "40x40", "idiom" : "iphone", "filename" : "icon80x80.png", "scale" : "2x" }, { "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" }' + (iPad ? ',' : ''))
|
134
|
+
f.write( '{ "size" : "29x29", "idiom" : "iphone", "filename" : "icon58x58.png", "scale" : "2x" }, { "size" : "40x40", "idiom" : "iphone", "filename" : "icon80x80.png", "scale" : "2x" }, { "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 ? ',' : ''))
|
135
135
|
end
|
136
136
|
|
137
137
|
if iPad
|
data/lib/longbow/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: longbow
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.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: 2014-
|
11
|
+
date: 2014-09-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -132,7 +132,6 @@ extensions: []
|
|
132
132
|
extra_rdoc_files: []
|
133
133
|
files:
|
134
134
|
- ./Gemfile
|
135
|
-
- ./Gemfile.lock
|
136
135
|
- ./lib/longbow/colors.rb
|
137
136
|
- ./lib/longbow/commands/aim.rb
|
138
137
|
- ./lib/longbow/commands/install.rb
|
@@ -173,7 +172,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
173
172
|
version: '0'
|
174
173
|
requirements: []
|
175
174
|
rubyforge_project:
|
176
|
-
rubygems_version: 2.1.
|
175
|
+
rubygems_version: 2.1.10
|
177
176
|
signing_key:
|
178
177
|
specification_version: 4
|
179
178
|
summary: Better target creation for one iOS codebase.
|
data/Gemfile.lock
DELETED
@@ -1,42 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
longbow (0.4.0)
|
5
|
-
bundler (~> 1.3)
|
6
|
-
commander (~> 4.1)
|
7
|
-
dotenv (~> 0.7)
|
8
|
-
fileutils
|
9
|
-
json
|
10
|
-
rmagick (~> 2.13.2)
|
11
|
-
xcodeproj
|
12
|
-
|
13
|
-
GEM
|
14
|
-
remote: https://rubygems.org/
|
15
|
-
specs:
|
16
|
-
activesupport (3.2.16)
|
17
|
-
i18n (~> 0.6, >= 0.6.4)
|
18
|
-
multi_json (~> 1.0)
|
19
|
-
colored (1.2)
|
20
|
-
commander (4.2.0)
|
21
|
-
highline (~> 1.6.11)
|
22
|
-
dotenv (0.11.1)
|
23
|
-
dotenv-deployment (~> 0.0.2)
|
24
|
-
dotenv-deployment (0.0.2)
|
25
|
-
fileutils (0.7)
|
26
|
-
rmagick (>= 2.13.1)
|
27
|
-
highline (1.6.21)
|
28
|
-
i18n (0.6.9)
|
29
|
-
json (1.8.1)
|
30
|
-
multi_json (1.9.3)
|
31
|
-
rake (10.1.1)
|
32
|
-
rmagick (2.13.2)
|
33
|
-
xcodeproj (0.17.0)
|
34
|
-
activesupport (~> 3.0)
|
35
|
-
colored (~> 1.2)
|
36
|
-
|
37
|
-
PLATFORMS
|
38
|
-
ruby
|
39
|
-
|
40
|
-
DEPENDENCIES
|
41
|
-
longbow!
|
42
|
-
rake
|