fastlane-plugin-device_image_selector 1.0.0 → 1.0.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 04773f98f52789af80008cb688197defe764f5d6
|
4
|
+
data.tar.gz: ccd113b4b9bf78fcaebb6c52814bc8d0c307ae5d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 88ea6a4f35b18a0cc5b2b2447674a8fd6af555adce3fb8a7b0f7b841fd8d262b5a800554cdf992974a2246109df9e9b607f69f415e2201a11bb7994bedc4eec2
|
7
|
+
data.tar.gz: fc7df1e18a8768141225920efa6c68d937ac423a3c13e39e5bd47fc75a7abbfb3e214ca9669d1a5c0533a02a92e8b9bcf11103ab75a5adfd4ef71eb245912448
|
data/README.md
CHANGED
@@ -12,7 +12,7 @@ fastlane add_plugin device_image_selector
|
|
12
12
|
|
13
13
|
## About device_image_selector
|
14
14
|
|
15
|
-
After creating
|
15
|
+
After creating hundreds of screenshots for the AppStore you probably want to use only a few of them with device frames, i.e. to put them on your website. Instead of running 'frameit' on the whole screenshots directory this plugin selects only the screenshots you want to use and puts them into the output directory. Running 'frameit' on that directory produces the device images. After that, the screenshot files can automatically be deleted by running the cleanup action. So the Fastfile may look like this:
|
16
16
|
|
17
17
|
|
18
18
|
desc "Generate device images"
|
@@ -6,11 +6,11 @@ module Fastlane
|
|
6
6
|
module SharedValues
|
7
7
|
DEVICE_IMAGE_SELECTOR_FILES = :DEVICE_IMAGE_SELECTOR_FILES
|
8
8
|
end
|
9
|
-
|
9
|
+
|
10
10
|
class DeviceImageSelectorAction < Action
|
11
11
|
def self.run(params)
|
12
12
|
Dir.mkdir(params[:output_directory]) unless Dir.exists?(params[:output_directory])
|
13
|
-
|
13
|
+
|
14
14
|
files = []
|
15
15
|
|
16
16
|
Dir.entries(params[:screenshot_directory]).each do |entry|
|
@@ -63,7 +63,7 @@ module Fastlane
|
|
63
63
|
|
64
64
|
def self.details
|
65
65
|
# Optional:
|
66
|
-
"Takes the device screenshots which
|
66
|
+
"Takes the device screenshots which match the specified names and puts them in the output directory for frameit to process. The screenshot files can then be cleaned up after the device images are created."
|
67
67
|
end
|
68
68
|
|
69
69
|
def self.available_options
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-device_image_selector
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mario Zimmermann
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-03-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pry
|
@@ -172,7 +172,7 @@ rubyforge_project:
|
|
172
172
|
rubygems_version: 2.5.2
|
173
173
|
signing_key:
|
174
174
|
specification_version: 4
|
175
|
-
summary: Takes the screenshots from devices which
|
176
|
-
|
177
|
-
|
175
|
+
summary: Takes the screenshots from devices which match the specified names and puts
|
176
|
+
them in a new directory for frameit to process. The screenshot files can then be
|
177
|
+
cleaned up after the device images are created.
|
178
178
|
test_files: []
|