zpng 0.4.2 → 0.4.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +4 -6
- data/Gemfile.lock +28 -31
- data/VERSION +1 -1
- data/spec/create_image_spec.rb +3 -2
- data/zpng.gemspec +10 -14
- metadata +12 -40
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2cceb23c5330f39f49baad1cb807e023e79e27cfdf6c9bb9afca1def11d43556
|
4
|
+
data.tar.gz: 3985fed46171d58778e3d6ad8fe06e8c2e1e94dde884554dfde9495fe737d6da
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7e35dbd0d0f09a8aad7c8a0fce43f9a46ca9fa1c8a64d1ca1b20452e1273018bc01deb1dba00e4ec07ff0b8d27b80510b27078eeaf017a78224a1fce620cd12b
|
7
|
+
data.tar.gz: 965d3ace9f810ccb433b6574c27b409168103d81f5f86cadab8450d012f4c81ce3fa44c19309d99d01ddde36fa14ff4b18bd345e59ab60616f3aa010c100bbe1
|
data/Gemfile
CHANGED
@@ -2,14 +2,12 @@ source "http://rubygems.org"
|
|
2
2
|
# Add dependencies required to use your gem here.
|
3
3
|
# Example:
|
4
4
|
# gem "activesupport", ">= 2.3.5"
|
5
|
-
gem 'rainbow'
|
5
|
+
gem 'rainbow', '~> 3.1.1'
|
6
6
|
|
7
7
|
# Add dependencies to develop your gem here.
|
8
8
|
# Include everything needed to run rake, tests, features, etc.
|
9
9
|
group :development do
|
10
|
-
gem "rspec",
|
11
|
-
gem "rspec-its",
|
12
|
-
gem "
|
13
|
-
gem "juwelier"
|
14
|
-
gem "what_methods"
|
10
|
+
gem "rspec", '~> 3.11.0'
|
11
|
+
gem "rspec-its", '~> 1.3.0'
|
12
|
+
gem "juwelier", '~> 2.4.9'
|
15
13
|
end
|
data/Gemfile.lock
CHANGED
@@ -7,7 +7,7 @@ GEM
|
|
7
7
|
descendants_tracker (0.0.4)
|
8
8
|
thread_safe (~> 0.3, >= 0.3.1)
|
9
9
|
diff-lcs (1.5.0)
|
10
|
-
faraday (1.
|
10
|
+
faraday (1.10.0)
|
11
11
|
faraday-em_http (~> 1.0)
|
12
12
|
faraday-em_synchrony (~> 1.0)
|
13
13
|
faraday-excon (~> 1.1)
|
@@ -23,14 +23,14 @@ GEM
|
|
23
23
|
faraday-em_synchrony (1.0.0)
|
24
24
|
faraday-excon (1.1.0)
|
25
25
|
faraday-httpclient (1.0.1)
|
26
|
-
faraday-multipart (1.0.
|
27
|
-
multipart-post (
|
26
|
+
faraday-multipart (1.0.4)
|
27
|
+
multipart-post (~> 2)
|
28
28
|
faraday-net_http (1.0.1)
|
29
29
|
faraday-net_http_persistent (1.2.0)
|
30
30
|
faraday-patron (1.0.0)
|
31
31
|
faraday-rack (1.0.0)
|
32
32
|
faraday-retry (1.0.3)
|
33
|
-
git (1.
|
33
|
+
git (1.11.0)
|
34
34
|
rchardet (~> 1.8)
|
35
35
|
github_api (0.19.0)
|
36
36
|
addressable (~> 2.4)
|
@@ -52,64 +52,61 @@ GEM
|
|
52
52
|
rake
|
53
53
|
rdoc
|
54
54
|
semver2
|
55
|
-
jwt (2.
|
55
|
+
jwt (2.4.1)
|
56
56
|
kamelcase (0.0.2)
|
57
57
|
semver2 (~> 3)
|
58
58
|
mini_portile2 (2.8.0)
|
59
59
|
multi_json (1.15.0)
|
60
60
|
multi_xml (0.6.0)
|
61
|
-
multipart-post (2.
|
62
|
-
nokogiri (1.13.
|
61
|
+
multipart-post (2.2.3)
|
62
|
+
nokogiri (1.13.6)
|
63
63
|
mini_portile2 (~> 2.8.0)
|
64
64
|
racc (~> 1.4)
|
65
|
-
oauth2 (1.4.
|
66
|
-
faraday (>= 0.
|
65
|
+
oauth2 (1.4.9)
|
66
|
+
faraday (>= 0.17.3, < 3.0)
|
67
67
|
jwt (>= 1.0, < 3.0)
|
68
68
|
multi_json (~> 1.3)
|
69
69
|
multi_xml (~> 0.5)
|
70
70
|
rack (>= 1.2, < 3)
|
71
|
-
psych (4.0.
|
71
|
+
psych (4.0.4)
|
72
72
|
stringio
|
73
|
-
public_suffix (4.0.
|
73
|
+
public_suffix (4.0.7)
|
74
74
|
racc (1.6.0)
|
75
|
-
rack (2.2.3)
|
75
|
+
rack (2.2.3.1)
|
76
76
|
rainbow (3.1.1)
|
77
77
|
rake (13.0.6)
|
78
78
|
rchardet (1.8.0)
|
79
79
|
rdoc (6.4.0)
|
80
80
|
psych (>= 4.0.0)
|
81
|
-
rspec (3.
|
82
|
-
rspec-core (~> 3.
|
83
|
-
rspec-expectations (~> 3.
|
84
|
-
rspec-mocks (~> 3.
|
85
|
-
rspec-core (3.
|
86
|
-
rspec-support (~> 3.
|
87
|
-
rspec-expectations (3.
|
81
|
+
rspec (3.11.0)
|
82
|
+
rspec-core (~> 3.11.0)
|
83
|
+
rspec-expectations (~> 3.11.0)
|
84
|
+
rspec-mocks (~> 3.11.0)
|
85
|
+
rspec-core (3.11.0)
|
86
|
+
rspec-support (~> 3.11.0)
|
87
|
+
rspec-expectations (3.11.0)
|
88
88
|
diff-lcs (>= 1.2.0, < 2.0)
|
89
|
-
rspec-support (~> 3.
|
89
|
+
rspec-support (~> 3.11.0)
|
90
90
|
rspec-its (1.3.0)
|
91
91
|
rspec-core (>= 3.0.0)
|
92
92
|
rspec-expectations (>= 3.0.0)
|
93
|
-
rspec-mocks (3.
|
93
|
+
rspec-mocks (3.11.1)
|
94
94
|
diff-lcs (>= 1.2.0, < 2.0)
|
95
|
-
rspec-support (~> 3.
|
96
|
-
rspec-support (3.
|
95
|
+
rspec-support (~> 3.11.0)
|
96
|
+
rspec-support (3.11.0)
|
97
97
|
ruby2_keywords (0.0.5)
|
98
98
|
semver2 (3.4.2)
|
99
|
-
stringio (3.0.
|
99
|
+
stringio (3.0.2)
|
100
100
|
thread_safe (0.3.6)
|
101
|
-
what_methods (1.0.1)
|
102
101
|
|
103
102
|
PLATFORMS
|
104
103
|
ruby
|
105
104
|
|
106
105
|
DEPENDENCIES
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
rspec (~> 3.9.0)
|
106
|
+
juwelier (~> 2.4.9)
|
107
|
+
rainbow (~> 3.1.1)
|
108
|
+
rspec (~> 3.11.0)
|
111
109
|
rspec-its (~> 1.3.0)
|
112
|
-
what_methods
|
113
110
|
|
114
111
|
BUNDLED WITH
|
115
|
-
2.
|
112
|
+
2.3.12
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.4.
|
1
|
+
0.4.3
|
data/spec/create_image_spec.rb
CHANGED
@@ -32,8 +32,9 @@ describe Image do
|
|
32
32
|
end
|
33
33
|
|
34
34
|
describe "new( :bpp => 16, :color => true )" do
|
35
|
-
|
36
|
-
|
35
|
+
it "raises error" do
|
36
|
+
lambda { _new_img(16,true) }.should raise_error(RuntimeError)
|
37
|
+
end
|
37
38
|
end
|
38
39
|
|
39
40
|
describe "new( :bpp => 24, :color => false )" do
|
data/zpng.gemspec
CHANGED
@@ -2,16 +2,16 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Juwelier::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: zpng 0.4.
|
5
|
+
# stub: zpng 0.4.3 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "zpng".freeze
|
9
|
-
s.version = "0.4.
|
9
|
+
s.version = "0.4.3"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib".freeze]
|
13
13
|
s.authors = ["Andrey \"Zed\" Zaikin".freeze]
|
14
|
-
s.date = "2022-
|
14
|
+
s.date = "2022-06-30"
|
15
15
|
s.email = "zed.0xff@gmail.com".freeze
|
16
16
|
s.executables = ["zpng".freeze]
|
17
17
|
s.extra_rdoc_files = [
|
@@ -95,7 +95,7 @@ Gem::Specification.new do |s|
|
|
95
95
|
]
|
96
96
|
s.homepage = "http://github.com/zed-0xff/zpng".freeze
|
97
97
|
s.licenses = ["MIT".freeze]
|
98
|
-
s.rubygems_version = "3.
|
98
|
+
s.rubygems_version = "3.1.6".freeze
|
99
99
|
s.summary = "pure ruby PNG file manipulation & validation".freeze
|
100
100
|
|
101
101
|
if s.respond_to? :specification_version then
|
@@ -103,19 +103,15 @@ Gem::Specification.new do |s|
|
|
103
103
|
end
|
104
104
|
|
105
105
|
if s.respond_to? :add_runtime_dependency then
|
106
|
-
s.add_runtime_dependency(%q<rainbow>.freeze, ["
|
107
|
-
s.add_development_dependency(%q<rspec>.freeze, ["~> 3.
|
106
|
+
s.add_runtime_dependency(%q<rainbow>.freeze, ["~> 3.1.1"])
|
107
|
+
s.add_development_dependency(%q<rspec>.freeze, ["~> 3.11.0"])
|
108
108
|
s.add_development_dependency(%q<rspec-its>.freeze, ["~> 1.3.0"])
|
109
|
-
s.add_development_dependency(%q<
|
110
|
-
s.add_development_dependency(%q<juwelier>.freeze, [">= 0"])
|
111
|
-
s.add_development_dependency(%q<what_methods>.freeze, [">= 0"])
|
109
|
+
s.add_development_dependency(%q<juwelier>.freeze, ["~> 2.4.9"])
|
112
110
|
else
|
113
|
-
s.add_dependency(%q<rainbow>.freeze, ["
|
114
|
-
s.add_dependency(%q<rspec>.freeze, ["~> 3.
|
111
|
+
s.add_dependency(%q<rainbow>.freeze, ["~> 3.1.1"])
|
112
|
+
s.add_dependency(%q<rspec>.freeze, ["~> 3.11.0"])
|
115
113
|
s.add_dependency(%q<rspec-its>.freeze, ["~> 1.3.0"])
|
116
|
-
s.add_dependency(%q<
|
117
|
-
s.add_dependency(%q<juwelier>.freeze, [">= 0"])
|
118
|
-
s.add_dependency(%q<what_methods>.freeze, [">= 0"])
|
114
|
+
s.add_dependency(%q<juwelier>.freeze, ["~> 2.4.9"])
|
119
115
|
end
|
120
116
|
end
|
121
117
|
|
metadata
CHANGED
@@ -1,43 +1,43 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zpng
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.3
|
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: 2022-
|
11
|
+
date: 2022-06-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rainbow
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 3.1.1
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 3.1.1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rspec
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 3.
|
33
|
+
version: 3.11.0
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 3.
|
40
|
+
version: 3.11.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rspec-its
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -53,47 +53,19 @@ dependencies:
|
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: 1.3.0
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
56
|
+
name: juwelier
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 2.
|
61
|
+
version: 2.4.9
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 2.
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: juwelier
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - ">="
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: '0'
|
76
|
-
type: :development
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - ">="
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: '0'
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: what_methods
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - ">="
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '0'
|
90
|
-
type: :development
|
91
|
-
prerelease: false
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - ">="
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: '0'
|
68
|
+
version: 2.4.9
|
97
69
|
description:
|
98
70
|
email: zed.0xff@gmail.com
|
99
71
|
executables:
|
@@ -195,7 +167,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
195
167
|
- !ruby/object:Gem::Version
|
196
168
|
version: '0'
|
197
169
|
requirements: []
|
198
|
-
rubygems_version: 3.
|
170
|
+
rubygems_version: 3.1.6
|
199
171
|
signing_key:
|
200
172
|
specification_version: 4
|
201
173
|
summary: pure ruby PNG file manipulation & validation
|