skeptick 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG +4 -0
- data/lib/skeptick/convert.rb +1 -1
- data/lib/skeptick/version.rb +1 -1
- data/test/convert_test.rb +15 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5f1a67760f854da8b0d00d6a2b4f9722d4bb8ea8
|
4
|
+
data.tar.gz: d8832938f0d8d30405ece5eedf0e6fdaf7241231
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 323fbb952c501cfe5379f740dfd185f45eda7d74bcae9691428164556edcf70e0099455c353f0e274cc3b19e3e111453e146eec8cf016924f11bd44293487662
|
7
|
+
data.tar.gz: 2586cf955ba399f7d5637078a64d73f4962ef42d14d534d5bf77fdb9850a08244766403157ff2de43cf61f132684f356b61c28997c041fa1e100ac22c95339f9
|
data/CHANGELOG
CHANGED
data/lib/skeptick/convert.rb
CHANGED
data/lib/skeptick/version.rb
CHANGED
data/test/convert_test.rb
CHANGED
@@ -269,4 +269,19 @@ class ConvertTest < Skeptick::TestCase
|
|
269
269
|
assert_equal 'convert -setting ( foo -baz ) -operation miff:-',
|
270
270
|
cmd.to_s
|
271
271
|
end
|
272
|
+
|
273
|
+
def test_convert_doesnt_clobber_passed_in_destination_arg
|
274
|
+
filename = 'foo.png'
|
275
|
+
|
276
|
+
convert do
|
277
|
+
convert(to: filename) do
|
278
|
+
image 'a'
|
279
|
+
set :foo
|
280
|
+
end
|
281
|
+
|
282
|
+
image 'b'
|
283
|
+
end.to_s
|
284
|
+
|
285
|
+
assert_equal 'foo.png', filename
|
286
|
+
end
|
272
287
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: skeptick
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Maxim Chernyak
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-01-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: posix-spawn
|
@@ -127,7 +127,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
127
127
|
version: '0'
|
128
128
|
requirements: []
|
129
129
|
rubyforge_project:
|
130
|
-
rubygems_version: 2.
|
130
|
+
rubygems_version: 2.2.2
|
131
131
|
signing_key:
|
132
132
|
specification_version: 4
|
133
133
|
summary: Skeptick doesn't believe in Magick
|