zpng 0.2.4 → 0.2.5

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: adc61618aa2acb1428d8fb00cdf8fd5a14872b3e
4
- data.tar.gz: 21b2f8c2b20de10fcd7748a5ba221508616f9996
3
+ metadata.gz: 599387552281b58dfe219d6c8e4cee71206d6b5a
4
+ data.tar.gz: 06741d99a03d9e70516d8bb0a3cedd7d39102a22
5
5
  SHA512:
6
- metadata.gz: eb56ab61f2cb303534c76da51e8a0d12007704695f9337170696849207d418078e070e94c266608a8c7c5ca3d34d61aed042ca826d3b77cf817fa2091b964edd
7
- data.tar.gz: 20b32ec5cf2ef15c5148b8c9c953c55dfbc8afa28cd0b042c07f32ecc0a92a112c87bcd6f3d39d8a94cf3c7cbc5b9e338b6f7cce0143c2cf0e6154b8562fe7e9
6
+ metadata.gz: 33f036572a31109dbdd5c25193b155e9dd38a1ca3acfc30a7b16f79163b880f9c1e6dd03c374385f8aef4b394ab3be457883d5ba0910911de12b287cc80e6d1a
7
+ data.tar.gz: affc061369de5e2f75b395759f8d2fd5bf0b400ee3bfecd1489f5ec0bf15c5a905bd56edfdb043d8cca2d5c8e9730dd90945d9ab81a9db2d3a48e38f29fb152e
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.4
1
+ 0.2.5
@@ -1,4 +1,4 @@
1
- require 'rainbow'
1
+ require 'rainbow/ext/string'
2
2
 
3
3
  class String
4
4
  [:black, :red, :green, :yellow, :blue, :magenta, :cyan, :white].each do |color|
@@ -19,9 +19,10 @@ module PNGSuite
19
19
  data = open(PNG_SUITE_URL).read
20
20
 
21
21
  fname = File.join(dir, "png_suite.tgz")
22
- File.open(fname, "wb"){ |f| f<<data }
22
+ File.binwrite fname, data
23
23
  puts "[.] unpacking .. "
24
- system "tar", "xzf", fname, "-C", dir
24
+ system "tar", "xf", fname, "-C", dir
25
+ raise "cannot unpack #{fname}" unless $?.success?
25
26
  end
26
27
 
27
28
  def each *prefixes
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "zpng"
8
- s.version = "0.2.4"
8
+ s.version = "0.2.5"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Andrey \"Zed\" Zaikin"]
12
- s.date = "2013-11-14"
12
+ s.date = "2014-03-01"
13
13
  s.email = "zed.0xff@gmail.com"
14
14
  s.executables = ["zpng"]
15
15
  s.extra_rdoc_files = [
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zpng
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrey "Zed" Zaikin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-11-14 00:00:00.000000000 Z
11
+ date: 2014-03-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rainbow