gyaazle 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/gyaazle/cli.rb +10 -1
- data/lib/gyaazle/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e924e8b88ed6cc2e9c8ec6c3827ab342e9cbb93f
|
4
|
+
data.tar.gz: 0073fbd6d8db3d30eb11a2fd701bacec72b4945e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4673d53f3db59eb804b6322c02f771b0fde177fe41e1690c25dd15b2185430c2cd7fc2df307c52c72869986ea4103d38ca578eee36eaab0ab528457cf9830b44
|
7
|
+
data.tar.gz: 32c90cf7ee9446fd5c390a694d973361286542148b4ba18c55507624e7cd7c5c3b3b945ad398c62c6281565e0d41df7dceed8f579b38681b9586ad780d09a75c
|
data/lib/gyaazle/cli.rb
CHANGED
@@ -102,7 +102,16 @@ TEXT
|
|
102
102
|
when /darwin/
|
103
103
|
"screencapture -i '#{save_to}'"
|
104
104
|
else
|
105
|
-
|
105
|
+
case
|
106
|
+
when system('which import > /dev/null')
|
107
|
+
"import '#{save_to}'"
|
108
|
+
|
109
|
+
when system('which gm > /dev/null')
|
110
|
+
"gm import '#{save_to}'"
|
111
|
+
|
112
|
+
else
|
113
|
+
raise "You should install ImageMagick or GraphicsMagick "
|
114
|
+
end
|
106
115
|
end
|
107
116
|
end
|
108
117
|
end
|
data/lib/gyaazle/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gyaazle
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- uu59
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-05-
|
11
|
+
date: 2013-05-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httpclient
|