sxp 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +12 -16
  3. data/VERSION +1 -1
  4. data/lib/sxp/reader.rb +2 -2
  5. metadata +18 -13
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 260eea82314284fc8e0065f50b9abf9afc054b45
4
- data.tar.gz: e9aaa797bc6234b5efa8a7b1478aee087ee38635
3
+ metadata.gz: 786d7c95c208d920e8d6d4f0658f8df3e018f5c3
4
+ data.tar.gz: bd480c067b8110b134d3bf43f72658163ce26c46
5
5
  SHA512:
6
- metadata.gz: 24aaf256d61ee089bb278a57cf30695a2e5ca23eb60a0549ab310d6f3327c0cc7b1d677f53acd858dddfba4002b8933c105183d6df39ef6d65144bb805a47f6c
7
- data.tar.gz: 34a98411d37e8f0217ba2bb305f15c7bb449c2379cdfab84a67a6a598210eabdc9f6a40853264f45d9576b27b3517f5592834f8c3913046c0e74304833decb70
6
+ metadata.gz: a4b8dad06e19896a7e9441620316e037e88868d73e4738fec95bff50c304492500416bc8415a7d355597a54625ee15b0a706fa981d74db75e2ec30d42de2f531
7
+ data.tar.gz: d132a4d1339f5e3fb181fb6d7c8278b3eb1bb0666ae32e46e765dfe1bf9678f31a992e9db645fd87e4e2bf50ea900a24132b65fd0e1c07c1816d8d3c911aff52
data/README.md CHANGED
@@ -1,18 +1,18 @@
1
- #SXP.rb: S-Expressions for Ruby
1
+ # SXP.rb: S-Expressions for Ruby
2
2
 
3
3
  This is a Ruby implementation of a universal [S-expression][] parser.
4
4
 
5
- * <http://sxp.rubyforge.org/>
6
- * <http://github.com/bendiken/sxp-ruby>
5
+ [![Gem Version](https://badge.fury.io/rb/sxp.png)](http://badge.fury.io/rb/sxp)
6
+ [![Build Status](https://travis-ci.org/dryruby/sxp.rb.png?branch=master)](http://travis-ci.org/dryruby/sxp.rb)
7
7
 
8
- ##Features
8
+ ## Features
9
9
 
10
10
  * Parses S-expressions in universal, [Scheme][], [Common Lisp][], or
11
11
  [SPARQL][] syntax.
12
12
  * Adds a `#to_sxp` method to Ruby objects.
13
- * Compatible with Ruby Ruby 2.x, Ruby 2.x, and JRuby 9+.
13
+ * Compatible with Ruby >= 2.2.2, Rubinius >= 2.0, and JRuby 9+.
14
14
 
15
- ##Examples
15
+ ## Examples
16
16
 
17
17
  require 'sxp'
18
18
 
@@ -50,9 +50,9 @@ This is a Ruby implementation of a universal [S-expression][] parser.
50
50
 
51
51
  SXP::Generator.print([:and, true, false]) #=> (and #t #f)
52
52
 
53
- ##Documentation
53
+ ## Documentation
54
54
 
55
- * <http://sxp.rubyforge.org/>
55
+ * Full documentation available on [RubyDoc](http://rubydoc.info/gems/sxp/file/README.md)
56
56
 
57
57
  * {SXP}
58
58
 
@@ -74,8 +74,8 @@ This is a Ruby implementation of a universal [S-expression][] parser.
74
74
  Dependencies
75
75
  ------------
76
76
 
77
- * [Ruby](http://ruby-lang.org/) (>= 1.9.3)
78
- * [RDF.rb](http://rubygems.org/gems/rdf) (>= 1.1), only needed for SPARQL
77
+ * [Ruby](http://ruby-lang.org/) (>= 2.2.2)
78
+ * [RDF.rb](http://rubygems.org/gems/rdf) (>= 2.0), only needed for SPARQL
79
79
  S-expressions
80
80
 
81
81
  Installation
@@ -101,12 +101,9 @@ as follows:
101
101
  Resources
102
102
  ---------
103
103
 
104
- * <http://sxp.rubyforge.org/>
105
- * <http://github.com/bendiken/sxp>
106
- * <http://github.com/bendiken/sxp-ruby>
104
+ * <http://rubydoc.info/gems/sxp>
105
+ * <http://github.com/dryruby/sxp>
107
106
  * <http://rubygems.org/gems/sxp>
108
- * <http://rubyforge.org/projects/sxp/>
109
- * <http://raa.ruby-lang.org/project/sxp>
110
107
 
111
108
  Authors
112
109
  -------
@@ -129,4 +126,3 @@ information, see <http://unlicense.org/> or the accompanying UNLICENSE file.
129
126
  [Scheme]: http://scheme.info/
130
127
  [Common Lisp]: http://en.wikipedia.org/wiki/Common_Lisp
131
128
  [SPARQL]: http://openjena.org/wiki/SSE
132
- [Backports]: http://rubygems.org/gems/backports
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.0
1
+ 1.0.1
@@ -24,7 +24,7 @@ module SXP
24
24
  # @return [Enumerable<Object>]
25
25
  def self.read_url(url, options = {})
26
26
  require 'open-uri'
27
- open(url.to_s, 'rb', nil, options) { |io| read_all(io, options).first }
27
+ open(url.to_s, 'rb', nil, options) { |io| read_all(io, options) }
28
28
  end
29
29
 
30
30
  ##
@@ -52,7 +52,7 @@ module SXP
52
52
  # See {#read}
53
53
  # @return [Enumerable<Object>]
54
54
  def self.read_file(filename, options = {})
55
- File.open(filename.to_s, 'rb') { |io| read_all(io, options).first }
55
+ File.open(filename.to_s, 'rb') { |io| read_all(io, options) }
56
56
  end
57
57
 
58
58
  ##
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sxp
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arto Bendiken
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-04-10 00:00:00.000000000 Z
12
+ date: 2017-12-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
@@ -17,42 +17,48 @@ dependencies:
17
17
  requirements:
18
18
  - - "~>"
19
19
  - !ruby/object:Gem::Version
20
- version: '3.4'
20
+ version: '3.7'
21
21
  type: :development
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - "~>"
26
26
  - !ruby/object:Gem::Version
27
- version: '3.4'
27
+ version: '3.7'
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: yard
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
32
  - - "~>"
33
33
  - !ruby/object:Gem::Version
34
- version: '0.8'
34
+ version: '0.9'
35
35
  type: :development
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
39
  - - "~>"
40
40
  - !ruby/object:Gem::Version
41
- version: '0.8'
41
+ version: '0.9'
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: rdf
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
- - - "~>"
46
+ - - ">="
47
+ - !ruby/object:Gem::Version
48
+ version: '2.2'
49
+ - - "<"
47
50
  - !ruby/object:Gem::Version
48
- version: '2.0'
51
+ version: '4.0'
49
52
  type: :runtime
50
53
  prerelease: false
51
54
  version_requirements: !ruby/object:Gem::Requirement
52
55
  requirements:
53
- - - "~>"
56
+ - - ">="
57
+ - !ruby/object:Gem::Version
58
+ version: '2.2'
59
+ - - "<"
54
60
  - !ruby/object:Gem::Version
55
- version: '2.0'
61
+ version: '4.0'
56
62
  description: Universal S-expression parser with specific support for Common Lisp,
57
63
  Scheme, and RDF/SPARQL
58
64
  email:
@@ -100,7 +106,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
100
106
  requirements:
101
107
  - - ">="
102
108
  - !ruby/object:Gem::Version
103
- version: '2.0'
109
+ version: 2.2.2
104
110
  required_rubygems_version: !ruby/object:Gem::Requirement
105
111
  requirements:
106
112
  - - ">="
@@ -108,9 +114,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
108
114
  version: '0'
109
115
  requirements: []
110
116
  rubyforge_project: sxp
111
- rubygems_version: 2.4.8
117
+ rubygems_version: 2.6.14
112
118
  signing_key:
113
119
  specification_version: 4
114
120
  summary: A pure-Ruby implementation of a universal S-expression parser.
115
121
  test_files: []
116
- has_rdoc: false