png 1.3.0 → 1.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/History.txt +6 -0
- data/lib/png.rb +2 -2
- data.tar.gz.sig +0 -0
- metadata +3 -3
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 58bead40e74c716f4e360f969c764dc05abb8f40e27b0058e01ae211afa22e0c
|
4
|
+
data.tar.gz: 89ad83414c0bf016d9859999a5cbcf88b7a0737a003c757b1631cf8e6a5a9ccb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 05e76106807b58bf351e2a49c07bb7b6b6377aed0edcd36414415f2a508b378589effa1f506d2ec84df5a2835bd1cdb836d13c7148deebea0abdce6756c39023
|
7
|
+
data.tar.gz: 48faf1062180d40f52e4a4174001fd5822ae536a84397a42b69b51ef43db0c3a41340165239b82f4bf06de14aae120aac5b00b12be0cb315a649ddffd3ae779d
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/History.txt
CHANGED
data/lib/png.rb
CHANGED
@@ -89,7 +89,7 @@ end
|
|
89
89
|
# bottom left.
|
90
90
|
|
91
91
|
class PNG
|
92
|
-
VERSION = "1.3.
|
92
|
+
VERSION = "1.3.1"
|
93
93
|
SIGNATURE = [137, 80, 78, 71, 13, 10, 26, 10].pack("C*")
|
94
94
|
|
95
95
|
# Color Types:
|
@@ -207,7 +207,7 @@ class PNG
|
|
207
207
|
# Creates a new color with values +red+, +green+, +blue+, and +alpha+.
|
208
208
|
|
209
209
|
def initialize red, green, blue, alpha = MAX, name = nil
|
210
|
-
@values = "%c%c%c%c" % [red, green, blue, alpha].map(&:chr)
|
210
|
+
@values = "%c%c%c%c".b % [red, green, blue, alpha].map(&:chr)
|
211
211
|
@name = name
|
212
212
|
end
|
213
213
|
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: png
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Davis
|
@@ -29,7 +29,7 @@ cert_chain:
|
|
29
29
|
S7043fq9EbQdBr2AXdj92+CDwuTfHI6/Hj5FVBDULufrJaan4xUgL70Hvc6pTTeW
|
30
30
|
deKfBjgVAq7EYHu1AczzlUly
|
31
31
|
-----END CERTIFICATE-----
|
32
|
-
date: 2024-
|
32
|
+
date: 2024-12-16 00:00:00.000000000 Z
|
33
33
|
dependencies:
|
34
34
|
- !ruby/object:Gem::Dependency
|
35
35
|
name: RubyInline
|
@@ -130,7 +130,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
130
130
|
- !ruby/object:Gem::Version
|
131
131
|
version: '0'
|
132
132
|
requirements: []
|
133
|
-
rubygems_version: 3.5.
|
133
|
+
rubygems_version: 3.5.23
|
134
134
|
signing_key:
|
135
135
|
specification_version: 4
|
136
136
|
summary: PNG is an almost-pure-ruby PNG library
|
metadata.gz.sig
CHANGED
Binary file
|