Ascii85 1.0.2 → 1.0.3

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.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 5677cdd3585a3d528ba316387231b110f6bcc23e
4
+ data.tar.gz: 3e6f35796a2b92ee46210fa2abc67dcd54e7f79f
5
+ SHA512:
6
+ metadata.gz: f0899095dd358dacddf940655b3b184ca578a6e48e9a965b26d99ab3c44665ed8fbb1df18ec23a0ff5ce3adbb0507c8c97947bdad4573c692cf955ba2f638e1c
7
+ data.tar.gz: 69d6130a76e34c6a124714147ffada5b6b14908bedc80c9ec7d966aa2a11a86a64b6fcf635dad7ab9762c5e7198d5ea5507ae7379a8b3e579ac8b7f6b24ece23
@@ -0,0 +1,7 @@
1
+ language: ruby
2
+ rvm:
3
+ - 1.8
4
+ - 1.9
5
+ - 2.5
6
+ - ruby-head
7
+ - jruby
@@ -7,14 +7,12 @@ Gem::Specification.new do |s|
7
7
  s.version = Ascii85::VERSION
8
8
  s.platform = Gem::Platform::RUBY
9
9
  s.author = "Johannes Holzfuß"
10
- s.email = "DataWraith@web.de"
10
+ s.email = "johannes@holzfuss.name"
11
11
  s.license = 'MIT'
12
- s.homepage = "http://rubyforge.org/projects/ascii85/"
12
+ s.homepage = "https://github.com/DataWraith/ascii85gem/"
13
13
  s.summary = %q{Ascii85 encoder/decoder}
14
14
  s.description = %q{Ascii85 provides methods to encode/decode Adobe's binary-to-text encoding of the same name.}
15
15
 
16
- s.rubyforge_project = "Ascii85"
17
-
18
16
  s.add_development_dependency "bundler", ">= 1.0.0"
19
17
  s.add_development_dependency "minitest",">= 2.6.0"
20
18
  s.add_development_dependency "rake", ">= 0.9.2"
@@ -23,5 +21,5 @@ Gem::Specification.new do |s|
23
21
  s.test_files = `git ls-files -- spec/*`.split("\n")
24
22
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
25
23
  s.require_paths = ["lib"]
26
- s.extra_rdoc_files = ['README.rdoc', 'LICENSE']
24
+ s.extra_rdoc_files = ['README.md', 'LICENSE']
27
25
  end
@@ -1,3 +1,7 @@
1
+ === 1.0.3 / 2018-01-25
2
+
3
+ * Updated the gem's metadata
4
+
1
5
  === 1.0.2 / 2012-09-16
2
6
 
3
7
  * Changed test runner from RSpec to MiniSpec
@@ -0,0 +1,62 @@
1
+ **Status**: This project is in maintenance mode. I will not develop new features, but I will address Issues and Pull Requests.
2
+
3
+ # Ascii85
4
+
5
+ [![Build Status](https://travis-ci.org/DataWraith/ascii85gem.svg?branch=master)](https://travis-ci.org/DataWraith/ascii85gem)
6
+
7
+ ## Description
8
+
9
+ Ascii85 is a simple gem that provides methods for encoding/decoding Adobe's
10
+ binary-to-text encoding of the same name.
11
+
12
+ See http://www.adobe.com/products/postscript/pdfs/PLRM.pdf page 131 and
13
+ http://en.wikipedia.org/wiki/Ascii85 for more information about the format.
14
+
15
+
16
+ ## Installation
17
+
18
+ `sudo gem install Ascii85`
19
+
20
+
21
+ ## Usage
22
+
23
+ ```
24
+ require 'rubygems'
25
+ require 'ascii85'
26
+
27
+ Ascii85.encode("Ruby")
28
+ => "<~;KZGo~>"
29
+
30
+ Ascii85.decode("<~;KZGo~>")
31
+ => "Ruby"
32
+ ```
33
+
34
+ In addition, Ascii85.encode can take a second parameter that specifies the
35
+ length of the returned lines. The default is 80; use `false` for unlimited.
36
+
37
+ Ascii85.decode expects the input to be enclosed in <~ and ~> — it
38
+ ignores everything outside of these. The output of Ascii85.decode
39
+ will have the ASCII-8BIT encoding, so in Ruby 1.9 you may have to use
40
+ <tt>String#force_encoding</tt> to correct the encoding.
41
+
42
+
43
+ ## Command-line utility
44
+
45
+ This gem includes `ascii85`, a command-line utility modeled after `base64` from
46
+ the GNU coreutils. It can be used to encode/decode Ascii85 directly from the
47
+ command-line:
48
+
49
+ ```
50
+ Usage: ascii85 [OPTIONS] [FILE]
51
+ Encodes or decodes FILE or STDIN using Ascii85 and writes to STDOUT.
52
+ -w, --wrap COLUMN Wrap lines at COLUMN. Default is 80, use 0 for no wrapping
53
+ -d, --decode Decode the input
54
+ -h, --help Display this help and exit
55
+ --version Output version information
56
+ ```
57
+
58
+
59
+ ## License
60
+
61
+ Ascii85 is distributed under the MIT License. See the accompanying LICENSE file
62
+ for details.
@@ -1,3 +1,3 @@
1
1
  module Ascii85
2
- VERSION = "1.0.2"
2
+ VERSION = "1.0.3"
3
3
  end
@@ -9,7 +9,7 @@
9
9
  # and http://en.wikipedia.org/wiki/Ascii85 for more information about
10
10
  # the format.
11
11
  #
12
- # Author:: Johannes Holzfuß (DataWraith@web.de)
12
+ # Author:: Johannes Holzfuß (johannes@holzfuss.name)
13
13
  # License:: Distributed under the MIT License (see LICENSE file)
14
14
  #
15
15
 
metadata CHANGED
@@ -1,98 +1,101 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: Ascii85
3
- version: !ruby/object:Gem::Version
4
- prerelease:
5
- version: 1.0.2
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.3
6
5
  platform: ruby
7
- authors:
8
- - "Johannes Holzfu\xC3\x9F"
6
+ authors:
7
+ - Johannes Holzfuß
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
-
13
- date: 2012-09-16 00:00:00 Z
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
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
24
- type: :development
25
- version_requirements: *id001
26
- - !ruby/object:Gem::Dependency
27
- name: minitest
28
- prerelease: false
29
- requirement: &id002 !ruby/object:Gem::Requirement
30
- none: false
31
- requirements:
32
- - - ">="
33
- - !ruby/object:Gem::Version
34
- version: 2.6.0
35
- type: :development
36
- version_requirements: *id002
37
- - !ruby/object:Gem::Dependency
38
- name: rake
39
- prerelease: false
40
- requirement: &id003 !ruby/object:Gem::Requirement
41
- none: false
42
- requirements:
43
- - - ">="
44
- - !ruby/object:Gem::Version
45
- version: 0.9.2
46
- type: :development
47
- version_requirements: *id003
48
- description: Ascii85 provides methods to encode/decode Adobe's binary-to-text encoding of the same name.
49
- email: DataWraith@web.de
50
- executables:
51
- - ascii85
11
+ date: 2018-01-25 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: 1.0.0
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: 1.0.0
27
+ - !ruby/object:Gem::Dependency
28
+ name: minitest
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: 2.6.0
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: 2.6.0
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: 0.9.2
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: 0.9.2
55
+ description: Ascii85 provides methods to encode/decode Adobe's binary-to-text encoding
56
+ of the same name.
57
+ email: johannes@holzfuss.name
58
+ executables:
59
+ - ascii85
52
60
  extensions: []
53
-
54
- extra_rdoc_files:
55
- - README.rdoc
56
- - LICENSE
57
- files:
58
- - .gemtest
59
- - Ascii85.gemspec
60
- - Gemfile
61
- - History.txt
62
- - LICENSE
63
- - README.rdoc
64
- - Rakefile
65
- - bin/ascii85
66
- - lib/Ascii85/version.rb
67
- - lib/ascii85.rb
68
- - spec/lib/ascii85_spec.rb
69
- homepage: http://rubyforge.org/projects/ascii85/
70
- licenses:
71
- - MIT
61
+ extra_rdoc_files:
62
+ - README.md
63
+ - LICENSE
64
+ files:
65
+ - ".travis.yml"
66
+ - Ascii85.gemspec
67
+ - Gemfile
68
+ - History.txt
69
+ - LICENSE
70
+ - README.md
71
+ - Rakefile
72
+ - bin/ascii85
73
+ - lib/Ascii85/version.rb
74
+ - lib/ascii85.rb
75
+ - spec/lib/ascii85_spec.rb
76
+ homepage: https://github.com/DataWraith/ascii85gem/
77
+ licenses:
78
+ - MIT
79
+ metadata: {}
72
80
  post_install_message:
73
81
  rdoc_options: []
74
-
75
- require_paths:
76
- - lib
77
- required_ruby_version: !ruby/object:Gem::Requirement
78
- none: false
79
- requirements:
80
- - - ">="
81
- - !ruby/object:Gem::Version
82
- version: "0"
83
- required_rubygems_version: !ruby/object:Gem::Requirement
84
- none: false
85
- requirements:
86
- - - ">="
87
- - !ruby/object:Gem::Version
88
- version: "0"
82
+ require_paths:
83
+ - lib
84
+ required_ruby_version: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - ">="
87
+ - !ruby/object:Gem::Version
88
+ version: '0'
89
+ required_rubygems_version: !ruby/object:Gem::Requirement
90
+ requirements:
91
+ - - ">="
92
+ - !ruby/object:Gem::Version
93
+ version: '0'
89
94
  requirements: []
90
-
91
- rubyforge_project: Ascii85
92
- rubygems_version: 1.8.24
95
+ rubyforge_project:
96
+ rubygems_version: 2.6.13
93
97
  signing_key:
94
- specification_version: 3
98
+ specification_version: 4
95
99
  summary: Ascii85 encoder/decoder
96
- test_files:
97
- - spec/lib/ascii85_spec.rb
98
- has_rdoc:
100
+ test_files:
101
+ - spec/lib/ascii85_spec.rb
data/.gemtest DELETED
File without changes
@@ -1,57 +0,0 @@
1
- = Ascii85
2
-
3
- * http://rubyforge.org/projects/ascii85
4
-
5
-
6
- == Description
7
-
8
- Ascii85 is a simple gem that provides methods for encoding/decoding Adobe's
9
- binary-to-text encoding of the same name.
10
-
11
- See http://www.adobe.com/products/postscript/pdfs/PLRM.pdf page 131 and
12
- http://en.wikipedia.org/wiki/Ascii85 for more information about the format.
13
-
14
-
15
- == Installation
16
-
17
- * sudo gem install Ascii85
18
-
19
-
20
- == Usage
21
-
22
- require 'rubygems'
23
- require 'ascii85'
24
-
25
- Ascii85.encode("Ruby")
26
- => "<~;KZGo~>"
27
-
28
- Ascii85.decode("<~;KZGo~>")
29
- => "Ruby"
30
-
31
- In addition, Ascii85.encode can take a second parameter that specifies the
32
- length of the returned lines. The default is 80; use +false+ for unlimited.
33
-
34
- Ascii85.decode expects the input to be enclosed in <~ and ~> — it
35
- ignores everything outside of these. The output of Ascii85.decode
36
- will have the ASCII-8BIT encoding, so in Ruby 1.9 you may have to use
37
- <tt>String#force_encoding</tt> to correct the encoding.
38
-
39
-
40
- == Command-line utility
41
-
42
- This gem includes +ascii85+, a command-line utility modeled after +base64+ from
43
- the GNU coreutils. It can be used to encode/decode Ascii85 directly from the
44
- command-line:
45
-
46
- Usage: ascii85 [OPTIONS] [FILE]
47
- Encodes or decodes FILE or STDIN using Ascii85 and writes to STDOUT.
48
- -w, --wrap COLUMN Wrap lines at COLUMN. Default is 80, use 0 for no wrapping
49
- -d, --decode Decode the input
50
- -h, --help Display this help and exit
51
- --version Output version information
52
-
53
-
54
- == License
55
-
56
- Ascii85 is distributed under the MIT License. See the accompanying LICENSE file
57
- for details.