Ascii85 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.gitignore +5 -0
- data/Ascii85.gemspec +26 -0
- data/Gemfile +4 -0
- data/History.txt +5 -0
- data/{README.txt → README.rdoc} +6 -6
- data/Rakefile +6 -20
- data/bin/ascii85 +4 -5
- data/lib/Ascii85/version.rb +3 -0
- data/lib/ascii85.rb +20 -21
- data/spec/{ascii85_spec.rb → lib/ascii85_spec.rb} +42 -52
- data/spec/spec_helper.rb +12 -0
- metadata +43 -56
- data.tar.gz.sig +0 -2
- data/Manifest.txt +0 -7
- metadata.gz.sig +0 -0
data/Ascii85.gemspec
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
$:.push File.expand_path("../lib", __FILE__)
|
3
|
+
require "Ascii85/version"
|
4
|
+
|
5
|
+
Gem::Specification.new do |s|
|
6
|
+
s.name = "Ascii85"
|
7
|
+
s.version = Ascii85::VERSION
|
8
|
+
s.platform = Gem::Platform::RUBY
|
9
|
+
s.author = "Johannes Holzfuß"
|
10
|
+
s.email = "DataWraith@web.de"
|
11
|
+
s.license = 'MIT'
|
12
|
+
s.homepage = "http://rubyforge.org/projects/ascii85/"
|
13
|
+
s.summary = %q{Ascii85 encoder/decoder}
|
14
|
+
s.description = %q{Ascii85 provides methods to encode/decode Adobe's binary-to-text encoding of the same name.}
|
15
|
+
|
16
|
+
s.rubyforge_project = "Ascii85"
|
17
|
+
|
18
|
+
s.add_development_dependency "bundler", ">= 1.0.0"
|
19
|
+
s.add_development_dependency "rspec", ">= 2.4.0"
|
20
|
+
|
21
|
+
s.files = `git ls-files`.split("\n")
|
22
|
+
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
23
|
+
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
24
|
+
s.require_paths = ["lib"]
|
25
|
+
s.extra_rdoc_files = ['README.rdoc']
|
26
|
+
end
|
data/Gemfile
ADDED
data/History.txt
CHANGED
data/{README.txt → README.rdoc}
RENAMED
@@ -17,17 +17,17 @@ http://en.wikipedia.org/wiki/Ascii85 for more information about the format.
|
|
17
17
|
require 'rubygems'
|
18
18
|
require 'ascii85'
|
19
19
|
|
20
|
-
Ascii85
|
20
|
+
Ascii85.encode("Ruby")
|
21
21
|
=> "<~;KZGo~>"
|
22
22
|
|
23
|
-
Ascii85
|
23
|
+
Ascii85.decode("<~;KZGo~>")
|
24
24
|
=> "Ruby"
|
25
25
|
|
26
|
-
In addition, Ascii85
|
26
|
+
In addition, Ascii85.encode can take a second parameter that specifies the
|
27
27
|
length of the returned lines. The default is 80; use +false+ for unlimited.
|
28
28
|
|
29
|
-
Ascii85
|
30
|
-
ignores everything outside of these. The output of Ascii85
|
29
|
+
Ascii85.decode expects the input to be enclosed in <~ and ~> — it
|
30
|
+
ignores everything outside of these. The output of Ascii85.decode
|
31
31
|
will have the ASCII-8BIT encoding, so in Ruby 1.9 you may have to use
|
32
32
|
<tt>String#force_encoding</tt> to correct the encoding.
|
33
33
|
|
@@ -39,7 +39,7 @@ the GNU coreutils. It can be used to encode/decode Ascii85 directly from the
|
|
39
39
|
command-line:
|
40
40
|
|
41
41
|
Usage: ascii85 [OPTIONS] [FILE]
|
42
|
-
Encodes or decodes FILE or STDIN using Ascii85 and
|
42
|
+
Encodes or decodes FILE or STDIN using Ascii85 and writes to STDOUT.
|
43
43
|
-w, --wrap COLUMN Wrap lines at COLUMN. Default is 80, use 0 for no wrapping
|
44
44
|
-d, --decode Decode the input
|
45
45
|
-h, --help Display this help and exit
|
data/Rakefile
CHANGED
@@ -1,23 +1,9 @@
|
|
1
|
-
|
1
|
+
require 'bundler'
|
2
|
+
Bundler::GemHelper.install_tasks
|
2
3
|
|
3
|
-
require
|
4
|
-
require 'hoe'
|
4
|
+
require "rspec/core/rake_task"
|
5
5
|
|
6
|
-
|
6
|
+
desc "Run all specs"
|
7
|
+
RSpec::Core::RakeTask.new(:specs)
|
7
8
|
|
8
|
-
|
9
|
-
"Johannes Holzfuß",
|
10
|
-
"Drangon@gmx.de"
|
11
|
-
|
12
|
-
summary
|
13
|
-
"Ascii85 encoder/decoder"
|
14
|
-
|
15
|
-
description
|
16
|
-
"Ascii85 provides methods to encode/decode Adobe's binary-to-text encoding"
|
17
|
-
"of the same name."
|
18
|
-
|
19
|
-
self.url =
|
20
|
-
["http://ascii85.rubyforge.org", "http://github.com/drangon/ascii85gem"]
|
21
|
-
|
22
|
-
self.testlib = "spec"
|
23
|
-
end
|
9
|
+
task :default => :specs
|
data/bin/ascii85
CHANGED
@@ -17,7 +17,7 @@ require File.join(File.dirname(__FILE__), '..', 'lib', 'ascii85')
|
|
17
17
|
|
18
18
|
ARGV.options do |opts|
|
19
19
|
opts.banner = "Usage: #{File.basename($PROGRAM_NAME)} [OPTIONS] [FILE]\n" +
|
20
|
-
"Encodes or decodes FILE or STDIN using Ascii85 and
|
20
|
+
"Encodes or decodes FILE or STDIN using Ascii85 and writes to STDOUT."
|
21
21
|
|
22
22
|
|
23
23
|
opts.on( "-w", "--wrap COLUMN", Integer,
|
@@ -55,8 +55,7 @@ ARGV.options do |opts|
|
|
55
55
|
end
|
56
56
|
|
57
57
|
if @options[:file] == '-'
|
58
|
-
$stdin.binmode
|
59
|
-
@input = $stdin.read
|
58
|
+
@input = $stdin.binmode.read
|
60
59
|
else
|
61
60
|
unless File.exists?(@options[:file])
|
62
61
|
abort "File not found: \"#{@options[:file]}\""
|
@@ -73,10 +72,10 @@ end
|
|
73
72
|
|
74
73
|
if @options[:decode]
|
75
74
|
begin
|
76
|
-
print Ascii85
|
75
|
+
print Ascii85.decode(@input)
|
77
76
|
rescue Ascii85::DecodingError => error
|
78
77
|
abort "Decoding Error: #{error.message.to_s}"
|
79
78
|
end
|
80
79
|
else
|
81
|
-
print Ascii85
|
80
|
+
print Ascii85.encode(@input, @options[:wrap])
|
82
81
|
end
|
data/lib/ascii85.rb
CHANGED
@@ -2,38 +2,37 @@
|
|
2
2
|
|
3
3
|
|
4
4
|
#
|
5
|
-
# Ascii85 is an implementation of Adobe's binary-to-text encoding of the
|
6
|
-
# name in pure Ruby.
|
5
|
+
# Ascii85 is an implementation of Adobe's binary-to-text encoding of the
|
6
|
+
# same name in pure Ruby.
|
7
7
|
#
|
8
|
-
# See http://www.adobe.com/products/postscript/pdfs/PLRM.pdf page 131
|
9
|
-
# http://en.wikipedia.org/wiki/Ascii85 for more information about
|
8
|
+
# See http://www.adobe.com/products/postscript/pdfs/PLRM.pdf page 131
|
9
|
+
# and http://en.wikipedia.org/wiki/Ascii85 for more information about
|
10
|
+
# the format.
|
10
11
|
#
|
11
|
-
# Author:: Johannes Holzfuß (
|
12
|
-
# License:: Distributed under the MIT License (see README.
|
12
|
+
# Author:: Johannes Holzfuß (DataWraith@web.de)
|
13
|
+
# License:: Distributed under the MIT License (see README.rdoc)
|
13
14
|
#
|
14
15
|
|
15
16
|
|
16
17
|
module Ascii85
|
17
|
-
# The gem version number
|
18
|
-
VERSION = '1.0.0' # :nodoc:
|
19
18
|
|
20
19
|
#
|
21
20
|
# Encodes the bytes of the given String as Ascii85.
|
22
21
|
#
|
23
22
|
# If +wrap_lines+ evaluates to +false+, the output will be returned as
|
24
|
-
# a single long line. Otherwise #encode formats the output into lines
|
25
|
-
# length +wrap_lines+ (minimum is 2).
|
23
|
+
# a single long line. Otherwise #encode formats the output into lines
|
24
|
+
# of length +wrap_lines+ (minimum is 2).
|
26
25
|
#
|
27
|
-
# Ascii85
|
26
|
+
# Ascii85.encode("Ruby")
|
28
27
|
# => <~;KZGo~>
|
29
28
|
#
|
30
|
-
# Ascii85
|
29
|
+
# Ascii85.encode("Supercalifragilisticexpialidocious", 15)
|
31
30
|
# => <~;g!%jEarNoBkD
|
32
31
|
# BoB5)0rF*),+AU&
|
33
32
|
# 0.@;KXgDe!L"F`R
|
34
33
|
# ~>
|
35
34
|
#
|
36
|
-
# Ascii85
|
35
|
+
# Ascii85.encode("Supercalifragilisticexpialidocious", false)
|
37
36
|
# => <~;g!%jEarNoBkDBoB5)0rF*),+AU&0.@;KXgDe!L"F`R~>
|
38
37
|
#
|
39
38
|
#
|
@@ -106,17 +105,17 @@ module Ascii85
|
|
106
105
|
#
|
107
106
|
# Searches through +str+ and decodes the _first_ Ascii85-String found.
|
108
107
|
#
|
109
|
-
# #decode expects an Ascii85-encoded String enclosed in <~ and ~> — it
|
110
|
-
#
|
111
|
-
#
|
108
|
+
# #decode expects an Ascii85-encoded String enclosed in <~ and ~> — it will
|
109
|
+
# ignore all characters outside these markers. The returned strings are always
|
110
|
+
# encoded as ASCII-8BIT.
|
112
111
|
#
|
113
|
-
# Ascii85
|
112
|
+
# Ascii85.decode("<~;KZGo~>")
|
114
113
|
# => "Ruby"
|
115
114
|
#
|
116
|
-
# Ascii85
|
115
|
+
# Ascii85.decode("Foo<~;KZGo~>Bar<~;KZGo~>Baz")
|
117
116
|
# => "Ruby"
|
118
117
|
#
|
119
|
-
# Ascii85
|
118
|
+
# Ascii85.decode("No markers")
|
120
119
|
# => ""
|
121
120
|
#
|
122
121
|
# #decode will raise Ascii85::DecodingError when malformed input is
|
@@ -179,7 +178,7 @@ module Ascii85
|
|
179
178
|
|
180
179
|
if count == 5
|
181
180
|
|
182
|
-
if word
|
181
|
+
if word > 0xffffffff
|
183
182
|
raise(Ascii85::DecodingError,
|
184
183
|
"Invalid Ascii85 5-tuple (#{word} >= 2**32)")
|
185
184
|
end
|
@@ -219,7 +218,7 @@ module Ascii85
|
|
219
218
|
end
|
220
219
|
|
221
220
|
#
|
222
|
-
# This error is raised when Ascii85
|
221
|
+
# This error is raised when Ascii85.decode encounters one of the following
|
223
222
|
# problems in the input:
|
224
223
|
#
|
225
224
|
# * An invalid character. Valid characters are '!'..'u' and 'z'.
|
@@ -1,15 +1,9 @@
|
|
1
1
|
# encoding: utf-8
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
require 'ascii85'
|
3
|
+
require File.join(File.dirname(__FILE__), '..', 'spec_helper')
|
6
4
|
|
7
5
|
describe Ascii85 do
|
8
6
|
|
9
|
-
before( :all ) do
|
10
|
-
@string_has_encoding = "String".methods.include?(:encoding)
|
11
|
-
end
|
12
|
-
|
13
7
|
TEST_CASES = {
|
14
8
|
|
15
9
|
"" => "",
|
@@ -51,8 +45,8 @@ describe Ascii85 do
|
|
51
45
|
test_str += rand(256).chr
|
52
46
|
end
|
53
47
|
|
54
|
-
encoded = Ascii85
|
55
|
-
decoded = Ascii85
|
48
|
+
encoded = Ascii85.encode(test_str)
|
49
|
+
decoded = Ascii85.decode(encoded)
|
56
50
|
|
57
51
|
decoded.should == test_str
|
58
52
|
end
|
@@ -61,17 +55,15 @@ describe Ascii85 do
|
|
61
55
|
|
62
56
|
it "should encode all specified test-cases correctly" do
|
63
57
|
TEST_CASES.each_pair do |input, encoded|
|
64
|
-
Ascii85
|
58
|
+
Ascii85.encode(input).should == encoded
|
65
59
|
end
|
66
60
|
end
|
67
61
|
|
68
|
-
it "
|
69
|
-
|
70
|
-
|
71
|
-
input_Ascii85 = input_EUC_JP.force_encoding('ASCII-8BIT')
|
62
|
+
it "should encode Strings in different encodings correctly", :ruby => 1.9 do
|
63
|
+
input_EUC_JP = 'どうもありがとうミスターロボット'.encode('EUC-JP')
|
64
|
+
input_binary = input_EUC_JP.force_encoding('ASCII-8BIT')
|
72
65
|
|
73
|
-
|
74
|
-
end
|
66
|
+
Ascii85.encode(input_EUC_JP).should == Ascii85.encode(input_binary)
|
75
67
|
end
|
76
68
|
|
77
69
|
it "should produce output lines no longer than specified" do
|
@@ -80,13 +72,13 @@ describe Ascii85 do
|
|
80
72
|
#
|
81
73
|
# No wrap
|
82
74
|
#
|
83
|
-
Ascii85
|
75
|
+
Ascii85.encode(test_str, false).count("\n").should == 0
|
84
76
|
|
85
77
|
#
|
86
78
|
# x characters per line, except for the last one
|
87
79
|
#
|
88
80
|
x = 2 + rand(255) # < test_str.length
|
89
|
-
encoded = Ascii85
|
81
|
+
encoded = Ascii85.encode(test_str, x)
|
90
82
|
|
91
83
|
# Determine the length of all lines
|
92
84
|
count_arr = []
|
@@ -109,85 +101,83 @@ describe Ascii85 do
|
|
109
101
|
end
|
110
102
|
|
111
103
|
it "should not split the end-marker to achieve correct line length" do
|
112
|
-
Ascii85
|
104
|
+
Ascii85.encode("\0" * 4, 4).should == "<~z\n~>"
|
113
105
|
end
|
114
106
|
|
115
107
|
end
|
116
108
|
|
117
109
|
describe "#decode" do
|
118
110
|
|
119
|
-
it "should decode all specified test-cases correctly" do
|
111
|
+
it "should decode all specified test-cases correctly", :ruby => 1.8 do
|
112
|
+
TEST_CASES.each_pair do |decoded, input|
|
113
|
+
Ascii85.decode(input).should == decoded
|
114
|
+
end
|
115
|
+
end
|
116
|
+
|
117
|
+
it "should decode all specified test-cases correctly", :ruby => 1.9 do
|
120
118
|
TEST_CASES.each_pair do |decoded, input|
|
121
|
-
|
122
|
-
Ascii85::decode(input).should == decoded.dup.force_encoding('ASCII-8BIT')
|
123
|
-
else
|
124
|
-
Ascii85::decode(input).should == decoded
|
125
|
-
end
|
119
|
+
Ascii85.decode(input).should == decoded.dup.force_encoding('ASCII-8BIT')
|
126
120
|
end
|
127
121
|
end
|
128
122
|
|
129
|
-
it "
|
130
|
-
if @string_has_encoding
|
131
|
-
input = "Ragnarök τέχνη русский язык I ♥ Ruby"
|
132
|
-
input_ascii85 = Ascii85::encode(input)
|
123
|
+
it "should accept valid input in encodings other than the default", :ruby => 1.9 do
|
133
124
|
|
134
|
-
|
135
|
-
|
136
|
-
Encoding.list.each do |encoding|
|
137
|
-
next if encoding.dummy?
|
125
|
+
input = "Ragnarök τέχνη русский язык I ♥ Ruby"
|
126
|
+
input_ascii85 = Ascii85.encode(input)
|
138
127
|
|
139
|
-
|
128
|
+
# Try to encode input_ascii85 in all possible encodings and see if we
|
129
|
+
# do the right thing in #decode.
|
130
|
+
Encoding.list.each do |encoding|
|
131
|
+
next if encoding.dummy?
|
140
132
|
|
141
|
-
|
142
|
-
Ascii85::decode(to_test).force_encoding('UTF-8').should == input
|
143
|
-
}.should_not raise_error
|
144
|
-
end
|
133
|
+
to_test = input_ascii85.encode(encoding)
|
145
134
|
|
135
|
+
lambda {
|
136
|
+
Ascii85.decode(to_test).force_encoding('UTF-8').should == input
|
137
|
+
}.should_not raise_error
|
146
138
|
end
|
147
139
|
end
|
148
140
|
|
149
141
|
it "should only process data within delimiters" do
|
150
|
-
Ascii85
|
151
|
-
Ascii85
|
152
|
-
Ascii85
|
153
|
-
Ascii85
|
154
|
-
Ascii85
|
142
|
+
Ascii85.decode("<~~>").should == ''
|
143
|
+
Ascii85.decode("Doesn't contain delimiters").should == ''
|
144
|
+
Ascii85.decode("FooBar<~z~>BazQux").should == ("\0" * 4)
|
145
|
+
Ascii85.decode("<~;KZGo~><~z~>").should == "Ruby"
|
146
|
+
Ascii85.decode("foo~>bar<~baz").should == ''
|
155
147
|
end
|
156
148
|
|
157
149
|
it "should ignore whitespace" do
|
158
|
-
decoded = Ascii85
|
150
|
+
decoded = Ascii85.decode("<~6 #LdYA\r\08\n \n\n- *rF*(i\"Ch[s \t(D.RU,@ <-\'jDJ=0\f/~>")
|
159
151
|
decoded.should == 'Antidisestablishmentarianism'
|
160
152
|
end
|
161
153
|
|
162
|
-
it "
|
163
|
-
|
164
|
-
Ascii85::decode("<~;KZGo~>").encoding.name.should == "ASCII-8BIT"
|
165
|
-
end
|
154
|
+
it "should return ASCII-8BIT encoded strings", :ruby => 1.9 do
|
155
|
+
Ascii85.decode("<~;KZGo~>").encoding.name.should == "ASCII-8BIT"
|
166
156
|
end
|
167
157
|
|
168
158
|
describe "Error conditions" do
|
169
159
|
|
170
160
|
it "should raise DecodingError if it encounters a word >= 2**32" do
|
171
161
|
lambda {
|
172
|
-
Ascii85
|
162
|
+
Ascii85.decode('<~s8W-#~>')
|
173
163
|
}.should raise_error Ascii85::DecodingError
|
174
164
|
end
|
175
165
|
|
176
166
|
it "should raise DecodingError if it encounters an invalid character" do
|
177
167
|
lambda {
|
178
|
-
Ascii85
|
168
|
+
Ascii85.decode('<~!!y!!~>')
|
179
169
|
}.should raise_error Ascii85::DecodingError
|
180
170
|
end
|
181
171
|
|
182
172
|
it "should raise DecodingError if the last tuple consists of a single character" do
|
183
173
|
lambda {
|
184
|
-
Ascii85
|
174
|
+
Ascii85.decode('<~!~>')
|
185
175
|
}.should raise_error Ascii85::DecodingError
|
186
176
|
end
|
187
177
|
|
188
178
|
it "should raise DecodingError if a z is found inside a 5-tuple" do
|
189
179
|
lambda {
|
190
|
-
Ascii85
|
180
|
+
Ascii85.decode('<~!!z!!~>')
|
191
181
|
}.should raise_error Ascii85::DecodingError
|
192
182
|
end
|
193
183
|
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
require File.join(File.dirname(__FILE__), '..', 'lib', 'ascii85')
|
4
|
+
|
5
|
+
RSpec.configure do |c|
|
6
|
+
# Filter tests based on ruby version
|
7
|
+
c.exclusion_filter = {
|
8
|
+
:ruby => lambda { |version|
|
9
|
+
!(RUBY_VERSION.to_s =~ /^#{version.to_s}/)
|
10
|
+
}
|
11
|
+
}
|
12
|
+
end
|
metadata
CHANGED
@@ -1,99 +1,86 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: Ascii85
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
prerelease:
|
5
|
+
version: 1.0.1
|
5
6
|
platform: ruby
|
6
7
|
authors:
|
7
8
|
- "Johannes Holzfu\xC3\x9F"
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
|
-
cert_chain:
|
11
|
-
- |
|
12
|
-
-----BEGIN CERTIFICATE-----
|
13
|
-
MIIDKjCCAhKgAwIBAgIBADANBgkqhkiG9w0BAQUFADA7MRAwDgYDVQQDDAdfcmFu
|
14
|
-
Z29uMRMwEQYKCZImiZPyLGQBGRYDZ214MRIwEAYKCZImiZPyLGQBGRYCZGUwHhcN
|
15
|
-
MDkwMjE0MTgxNDM5WhcNMTAwMjE0MTgxNDM5WjA7MRAwDgYDVQQDDAdfcmFuZ29u
|
16
|
-
MRMwEQYKCZImiZPyLGQBGRYDZ214MRIwEAYKCZImiZPyLGQBGRYCZGUwggEiMA0G
|
17
|
-
CSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDa7HRW1pPBbx8k9GLOzYBwHNLAOvHc
|
18
|
-
kWfq5E99plLhxKobF7xSValm2csTPQqF8549JJUADGrmeSyFx4z241JtDATjFdYI
|
19
|
-
5LaBXqvxR/c6BfPqPOIuZqc6o1VEpMEVsgKqcL0wjmOaNXMDL7vWj2+LyizWqMXJ
|
20
|
-
Y2Hj6GlR6kYzoUyOoAPO+FG363YT++tFvOaOmba314dL40r/Spc730gr1utS8pHA
|
21
|
-
t8Gl+Z0EC5gmcUvfDT2sVAF8k9qQhGGqOuOM2HDP+ZrJ368UJznVBxp9YhUveGc2
|
22
|
-
MPXvntkrN2XLfGjV2Tr418v7OBP+0IgnZVBM8O7q+iMJmuv/yt2M53H/AgMBAAGj
|
23
|
-
OTA3MAkGA1UdEwQCMAAwCwYDVR0PBAQDAgSwMB0GA1UdDgQWBBT83GfQpOoJZm8B
|
24
|
-
gY6lweCTOsu0QTANBgkqhkiG9w0BAQUFAAOCAQEAAT33NPbPZVy3tgPsl1TicU9q
|
25
|
-
eBen2WkXfrCO8jP1ivuFQqMHl5b+MpG2LIwEB45QLLnoXmcW+C4ihGdkYG078uor
|
26
|
-
ZskHRETlHJ791l6PyGw5j1oFSwbeYwYIFBWcRrq0KdcZO4CZb7rln2S06ZJWQIMg
|
27
|
-
930O6/WuJyRQLr1PaTJcUGoHUC9cd4CE7ARuck3V38vNR4azjAznCa01mgSkp9UQ
|
28
|
-
xPVAMuP9qOp6+OFiuL7DDCHgGI52vDFlUSU+hMcsSSDbYSFcilSPlZ3WLTlOhM4d
|
29
|
-
5FGhYN16QZS8VKLApBtxxP9XmwFASMyJLNizTN2q6hCCy/MjoTzHWzodPaWm0Q==
|
30
|
-
-----END CERTIFICATE-----
|
11
|
+
cert_chain: []
|
31
12
|
|
32
|
-
date:
|
33
|
-
default_executable:
|
13
|
+
date: 2011-05-05 00:00:00 Z
|
34
14
|
dependencies:
|
35
15
|
- !ruby/object:Gem::Dependency
|
36
|
-
name:
|
16
|
+
name: bundler
|
17
|
+
prerelease: false
|
18
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
19
|
+
none: false
|
20
|
+
requirements:
|
21
|
+
- - ">="
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: 1.0.0
|
37
24
|
type: :development
|
38
|
-
|
39
|
-
|
25
|
+
version_requirements: *id001
|
26
|
+
- !ruby/object:Gem::Dependency
|
27
|
+
name: rspec
|
28
|
+
prerelease: false
|
29
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
30
|
+
none: false
|
40
31
|
requirements:
|
41
32
|
- - ">="
|
42
33
|
- !ruby/object:Gem::Version
|
43
34
|
version: 2.4.0
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
See http://www.adobe.com/products/postscript/pdfs/PLRM.pdf page 131 and
|
50
|
-
http://en.wikipedia.org/wiki/Ascii85 for more information about the format.
|
51
|
-
email:
|
52
|
-
- Drangon@gmx.de
|
35
|
+
type: :development
|
36
|
+
version_requirements: *id002
|
37
|
+
description: Ascii85 provides methods to encode/decode Adobe's binary-to-text encoding of the same name.
|
38
|
+
email: DataWraith@web.de
|
53
39
|
executables:
|
54
40
|
- ascii85
|
55
41
|
extensions: []
|
56
42
|
|
57
43
|
extra_rdoc_files:
|
58
|
-
-
|
59
|
-
- Manifest.txt
|
60
|
-
- README.txt
|
44
|
+
- README.rdoc
|
61
45
|
files:
|
46
|
+
- .gitignore
|
47
|
+
- Ascii85.gemspec
|
48
|
+
- Gemfile
|
62
49
|
- History.txt
|
63
|
-
-
|
64
|
-
- README.txt
|
50
|
+
- README.rdoc
|
65
51
|
- Rakefile
|
66
52
|
- bin/ascii85
|
53
|
+
- lib/Ascii85/version.rb
|
67
54
|
- lib/ascii85.rb
|
68
|
-
- spec/ascii85_spec.rb
|
69
|
-
|
70
|
-
homepage: http://
|
71
|
-
licenses:
|
72
|
-
|
55
|
+
- spec/lib/ascii85_spec.rb
|
56
|
+
- spec/spec_helper.rb
|
57
|
+
homepage: http://rubyforge.org/projects/ascii85/
|
58
|
+
licenses:
|
59
|
+
- MIT
|
73
60
|
post_install_message:
|
74
|
-
rdoc_options:
|
75
|
-
|
76
|
-
- README.txt
|
61
|
+
rdoc_options: []
|
62
|
+
|
77
63
|
require_paths:
|
78
64
|
- lib
|
79
65
|
required_ruby_version: !ruby/object:Gem::Requirement
|
66
|
+
none: false
|
80
67
|
requirements:
|
81
68
|
- - ">="
|
82
69
|
- !ruby/object:Gem::Version
|
83
70
|
version: "0"
|
84
|
-
version:
|
85
71
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
72
|
+
none: false
|
86
73
|
requirements:
|
87
74
|
- - ">="
|
88
75
|
- !ruby/object:Gem::Version
|
89
76
|
version: "0"
|
90
|
-
version:
|
91
77
|
requirements: []
|
92
78
|
|
93
|
-
rubyforge_project:
|
94
|
-
rubygems_version: 1.
|
79
|
+
rubyforge_project: Ascii85
|
80
|
+
rubygems_version: 1.8.0
|
95
81
|
signing_key:
|
96
82
|
specification_version: 3
|
97
|
-
summary: Ascii85
|
98
|
-
test_files:
|
99
|
-
|
83
|
+
summary: Ascii85 encoder/decoder
|
84
|
+
test_files:
|
85
|
+
- spec/lib/ascii85_spec.rb
|
86
|
+
- spec/spec_helper.rb
|
data.tar.gz.sig
DELETED
data/Manifest.txt
DELETED
metadata.gz.sig
DELETED
Binary file
|