frameit 3.0.0 → 4.0.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5f153eb5635aba47fe4f2404223b06181bf98fd2
4
- data.tar.gz: 48ef840b23d480681a43a256503c146f3bd8d928
3
+ metadata.gz: 24435f35aa7c8a885cca34a8a62483c3f5994ca3
4
+ data.tar.gz: 0266b4577c7296a6f392e63c0dc889a5327324a4
5
5
  SHA512:
6
- metadata.gz: 736c49029deb88bdee79e932d4e1d0e807d1d89f1b461e5419dc3d3cd1bd9c050000f5844171c65e46fe5aa4a17bc2da078b7b022252abb65ee5a531bc5f9e76
7
- data.tar.gz: 604c1f3b9918d28788ccefb101208a37973461ee447655dc8e8cdef716628da338a2b21b678566d869f6142c112aa052c93866279a81208d1447307153fd3b71
6
+ metadata.gz: 49da2d8eb7dd20e2ccb83023b4c087193df4bcf9f8fc161e9dd451d8102cdeef433133930f1a0d50da921bc6f03d8e0b2747f3499453fd6386e383f4eba0b0c6
7
+ data.tar.gz: 61d674e6f505ed1687e01fc06baa7b6e017fdb59853ebb9790f555185a05725ad2c09e521c0708b43f8242a5559a056a1639e960815fa80d3e9f564798edfcf1
data/README.md CHANGED
@@ -35,7 +35,7 @@ frameit
35
35
 
36
36
  ###### Quickly put your screenshots into the right device frames
37
37
 
38
- `frameit` allows you to put a gorgeous device frame around your iOS screenshots just by running one simple command. Use `frameit` to prepare perfect screenshots for the App Store, your website, QA or emails.
38
+ `frameit` allows you to put a gorgeous device frame around your iOS and macOS screenshots just by running one simple command. Use `frameit` to prepare perfect screenshots for the App Store, your website, QA or emails.
39
39
 
40
40
 
41
41
  Get in contact with the developer on Twitter: [@FastlaneTools](https://twitter.com/FastlaneTools)
@@ -56,10 +56,12 @@ Get in contact with the developer on Twitter: [@FastlaneTools](https://twitter.c
56
56
 
57
57
  # Features
58
58
 
59
- Put a gorgeous device frame around your iOS screenshots just by running one simple command. Support for:
60
- - iPhone 6 Plus, iPhone 6, iPhone 5s and iPad mini
61
- - Portrait and Landscape
62
- - Black and Silver devices
59
+ Put a gorgeous device frame around your iOS and macOS screenshots just by running one simple command. Support for:
60
+ - iPhone, iPad and Mac
61
+ - Portrait and Landscape modes
62
+ - Several colors
63
+
64
+ The complete and updated list of supported devices and colors can be found [here](https://github.com/fastlane/frameit-frames/tree/gh-pages/latest)
63
65
 
64
66
  ##### [Like this tool? Be the first to know about updates and new fastlane tools](https://tinyletter.com/krausefx)
65
67
 
@@ -91,17 +93,9 @@ Install the gem
91
93
 
92
94
  sudo gem install frameit
93
95
 
94
- Because of legal reasons, I can not pre-package the device frames with ```frameit```.
95
-
96
- The process of adding is really easy, just run ```frameit``` and the guide will help you set it up.
97
- You only have to do this once per computer.
96
+ The first time that ```frameit``` is executed the frames will be downloaded automatically. Originally the frames are coming from [Facebook frameset](http://facebook.design/devices) and they are kept on this repo: https://github.com/fastlane/frameit-frames
98
97
 
99
- - Run ```frameit```
100
- - Press ```Enter```. The [Apple page](https://developer.apple.com/app-store/marketing/guidelines/#images) to download the images should open in your browser.
101
- - Download the devices you want to use
102
- - Press ```Enter```
103
- - Unzip and move the content of the zip files to ```~/.frameit/devices_frames```
104
- - Press ```Enter```
98
+ More information about this process and how to update the frames can be found [here](https://github.com/fastlane/fastlane/tree/master/frameit/frames_generator)
105
99
 
106
100
  # Usage
107
101
 
@@ -4,4 +4,11 @@ $:.push File.expand_path("../../lib", __FILE__)
4
4
 
5
5
  require 'frameit'
6
6
  require 'frameit/commands_generator'
7
+ require 'colored'
8
+ require 'shellwords'
9
+ tool_name = "frameit"
10
+ full_params = ARGV.shelljoin
11
+ puts "[WARNING] You are calling #{tool_name} directly. Usage of the tool name without the `fastlane` prefix is deprecated in fastlane 2.0".yellow
12
+ puts "Please update your scripts to use `fastlane #{tool_name} #{full_params}` instead.".yellow
13
+
7
14
  Frameit::CommandsGenerator.start
@@ -1,4 +1,5 @@
1
1
  require 'commander'
2
+ require 'fastlane/version'
2
3
 
3
4
  HighLine.track_eof = false
4
5
 
@@ -15,6 +16,7 @@ module Frameit
15
16
  end
16
17
 
17
18
  def run
19
+ program :name, 'frameit'
18
20
  program :version, Frameit::VERSION
19
21
  program :description, 'Quickly put your screenshots into the right device frames'
20
22
  program :help, 'Author', 'Felix Krause <frameit@krausefx.com>'
@@ -1,3 +1,3 @@
1
1
  module Frameit
2
- VERSION = "3.0.0".freeze
2
+ VERSION = "4.0.0".freeze
3
3
  end
metadata CHANGED
@@ -1,49 +1,49 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: frameit
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 4.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felix Krause
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-10-24 00:00:00.000000000 Z
11
+ date: 2016-12-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: fastlane_core
14
+ name: fastlane
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.53.0
19
+ version: 2.0.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: 1.0.0
22
+ version: 3.0.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.53.0
29
+ version: 2.0.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: 1.0.0
32
+ version: 3.0.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: fastimage
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
- - - "~>"
37
+ - - ">="
38
38
  - !ruby/object:Gem::Version
39
- version: 1.6.3
39
+ version: '1.6'
40
40
  type: :runtime
41
41
  prerelease: false
42
42
  version_requirements: !ruby/object:Gem::Requirement
43
43
  requirements:
44
- - - "~>"
44
+ - - ">="
45
45
  - !ruby/object:Gem::Version
46
- version: 1.6.3
46
+ version: '1.6'
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: mini_magick
49
49
  requirement: !ruby/object:Gem::Requirement
@@ -58,20 +58,6 @@ dependencies:
58
58
  - - "~>"
59
59
  - !ruby/object:Gem::Version
60
60
  version: 4.5.1
61
- - !ruby/object:Gem::Dependency
62
- name: deliver
63
- requirement: !ruby/object:Gem::Requirement
64
- requirements:
65
- - - ">"
66
- - !ruby/object:Gem::Version
67
- version: '0.3'
68
- type: :runtime
69
- prerelease: false
70
- version_requirements: !ruby/object:Gem::Requirement
71
- requirements:
72
- - - ">"
73
- - !ruby/object:Gem::Version
74
- version: '0.3'
75
61
  - !ruby/object:Gem::Dependency
76
62
  name: bundler
77
63
  requirement: !ruby/object:Gem::Requirement
@@ -90,16 +76,16 @@ dependencies:
90
76
  name: rake
91
77
  requirement: !ruby/object:Gem::Requirement
92
78
  requirements:
93
- - - ">="
79
+ - - "<"
94
80
  - !ruby/object:Gem::Version
95
- version: '0'
81
+ version: '12'
96
82
  type: :development
97
83
  prerelease: false
98
84
  version_requirements: !ruby/object:Gem::Requirement
99
85
  requirements:
100
- - - ">="
86
+ - - "<"
101
87
  - !ruby/object:Gem::Version
102
- version: '0'
88
+ version: '12'
103
89
  - !ruby/object:Gem::Dependency
104
90
  name: rspec
105
91
  requirement: !ruby/object:Gem::Requirement
@@ -243,7 +229,8 @@ homepage: https://fastlane.tools
243
229
  licenses:
244
230
  - MIT
245
231
  metadata: {}
246
- post_install_message:
232
+ post_install_message: "\e[1;33;40mPlease use `fastlane frameit` instead of `frameit`
233
+ from now on.\e[0m"
247
234
  rdoc_options: []
248
235
  require_paths:
249
236
  - lib
@@ -259,7 +246,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
259
246
  version: '0'
260
247
  requirements: []
261
248
  rubyforge_project:
262
- rubygems_version: 2.6.6
249
+ rubygems_version: 2.6.8
263
250
  signing_key:
264
251
  specification_version: 4
265
252
  summary: Quickly put your screenshots into the right device frames