selfiegram 0.0.11 → 0.0.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/background_images/downloader.rb +1 -1
- data/selfiegram.gemspec +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8ab0d8b57412565d60ac8abd0d6f4e62d9f38009
|
4
|
+
data.tar.gz: 5187d932a9f8bac63a7db24d52f826e1b95cd6f7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ad34cfa5c48cc1746434c256f1e9a8dd26d572f20d10be8e8ce7327c4cac4f0dcf6720a15fcfb204bb6dcd08c8b4ad2a5875b4b11126d1bdc5b9b4a1bf2a6b0c
|
7
|
+
data.tar.gz: 0fb31e94a78987a348e45e2ed44e9506e294451bf971ae195f0c1ffd497ac996a11cad250342152b49534b7436c84928f6ec326b45f03d7daa3e217800e56be0
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.12
|
@@ -15,7 +15,7 @@ module BackgroundImages
|
|
15
15
|
def standardize(selfie_image)
|
16
16
|
dimensions = "#{selfie_image.page.width}x#{selfie_image.page.height}"
|
17
17
|
|
18
|
-
`convert #{local_file}.#{file_extension} -resize '#{dimensions}^' -gravity 'center' -crop '#{dimensions}+0+0' #{local_file}.#{destination_extension}`
|
18
|
+
`convert #{Shellwords.escape(local_file)}.#{file_extension} -resize '#{dimensions}^' -gravity 'center' -crop '#{dimensions}+0+0' #{Shellwords.escape(local_file)}.#{destination_extension}`
|
19
19
|
|
20
20
|
begin
|
21
21
|
image = Magick::Image.read("#{local_file}.#{destination_extension}")
|
data/selfiegram.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: selfiegram 0.0.
|
5
|
+
# stub: selfiegram 0.0.12 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "selfiegram"
|
9
|
-
s.version = "0.0.
|
9
|
+
s.version = "0.0.12"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib"]
|