frameit 2.0.0 → 2.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: 39874df0b50f3d2b85da9a8e15fd1a63639cc090
4
- data.tar.gz: e0ef4228c227cadd7557cab83bc3a17c09361e9a
3
+ metadata.gz: 3d2a2a56cf47435c5ade1e1a23aa9be3d173a5d6
4
+ data.tar.gz: 7cb3e2d31b45a5d536c8cad848c558bbef57d0b4
5
5
  SHA512:
6
- metadata.gz: ffb3757b70c4a004f0a69462526ac341e676bc26c011d23164733e9217b30a4c80714419babd61bce104b8d47985a76f0e50924cda6fbc9b7f8d4e8ddc7dd362
7
- data.tar.gz: ad69ccef5a466dbe23ba6a1533372c351a191961df49084ade21683ecff7024b0ff9bcc08dafa4ec198222366a5d0f8b7da11c83ab9c5b74b06edadfc2696998
6
+ metadata.gz: 05da10f3143b6f271f3b28328fc85875826f3f738f0ec90b9bcee82d4d8d0a62d57fde6e5731cc09c3b76fd7d6cbd06170bc5d404221950fcb4cbb24aace802b
7
+ data.tar.gz: e0bf2d046840925a4ff16b91d0bf08807dc9a7e3d8fb20751ca584e2d78277eb04b9719d53785a7449cda7f24f188e37905d3d1c9be498114441763340ad86b4
@@ -96,7 +96,7 @@ module Frameit
96
96
  image.resize "#{frame_width}x"
97
97
  end
98
98
 
99
- @@image = put_device_into_background(background)
99
+ @image = put_device_into_background(background)
100
100
 
101
101
  if fetch_config['title']
102
102
  @image = add_title
@@ -164,7 +164,7 @@ module Frameit
164
164
  end
165
165
 
166
166
  def actual_font_size
167
- (screenshot.size[0] / 20.0).round # depends on the width of the screenshot
167
+ [top_space_above_device / 3.0, @image.width / 30.0].max.round
168
168
  end
169
169
 
170
170
  def keyword_padding
@@ -1,3 +1,3 @@
1
1
  module Frameit
2
- VERSION = "2.0.0"
2
+ VERSION = "2.0.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: frameit
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felix Krause
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-15 00:00:00.000000000 Z
11
+ date: 2015-05-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fastlane_core