rdf-trix 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README +28 -9
- data/VERSION +1 -1
- data/lib/rdf/trix/version.rb +15 -16
- metadata +30 -75
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 91c132b273f53b01ea6d81bfaa842703c74d165c
|
4
|
+
data.tar.gz: 045277c38187c1f2f203f8590465a987a738d6d4
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: bca45f5c9a62e0a911225dcbf5022f708031ecc6f82fecddf9a25750623acee86649323614933b1f85b422b60030ca302419d7ec31be4b227b03036dc58a54be
|
7
|
+
data.tar.gz: 8e361c636c03e35491818f454101d2399609cd986df238a9072c3b572203b14c7a9cdeb2b82db80febf5b0dcf6c73014783ff0d74568ffcb1272e1c000c9494d
|
data/README
CHANGED
@@ -5,9 +5,12 @@ This is an [RDF.rb][] plugin that adds support for parsing/serializing
|
|
5
5
|
[TriX][], an XML-based RDF serialization format developed by HP Labs and
|
6
6
|
Nokia.
|
7
7
|
|
8
|
-
* <http://github.com/
|
8
|
+
* <http://github.com/ruby-rdf/rdf-trix>
|
9
9
|
* <http://blog.datagraph.org/2010/04/parsing-rdf-with-ruby>
|
10
10
|
|
11
|
+
[![Gem Version](https://badge.fury.io/rb/rdf-trix.png)](http://badge.fury.io/rb/rdf-trix)
|
12
|
+
[![Build Status](https://travis-ci.org/ruby-rdf/rdf-trix.png?branch=master)](http://travis-ci.org/ruby-rdf/rdf-trix)
|
13
|
+
|
11
14
|
Documentation
|
12
15
|
-------------
|
13
16
|
|
@@ -19,10 +22,8 @@ Documentation
|
|
19
22
|
Dependencies
|
20
23
|
------------
|
21
24
|
|
22
|
-
* [RDF.rb](http://rubygems.org/gems/rdf) (>= 1.
|
23
|
-
|
24
|
-
[LibXML-Ruby](http://rubygems.org/gems/libxml-ruby) (>= 1.1.4), or
|
25
|
-
[Nokogiri](http://rubygems.org/gems/nokogiri) (>= 1.4.2)
|
25
|
+
* [RDF.rb](http://rubygems.org/gems/rdf) (>= 1.1)
|
26
|
+
[Nokogiri](http://rubygems.org/gems/nokogiri) (>= 1.6.0)
|
26
27
|
|
27
28
|
Installation
|
28
29
|
------------
|
@@ -37,12 +38,12 @@ Download
|
|
37
38
|
|
38
39
|
To get a local working copy of the development repository, do:
|
39
40
|
|
40
|
-
% git clone git://github.com/
|
41
|
+
% git clone git://github.com/ruby-rdf/rdf-trix.git
|
41
42
|
|
42
43
|
Alternatively, download the latest development version as a tarball as
|
43
44
|
follows:
|
44
45
|
|
45
|
-
% wget http://github.com/
|
46
|
+
% wget http://github.com/ruby-rdf/rdf-trix/tarball/master
|
46
47
|
|
47
48
|
Mailing List
|
48
49
|
------------
|
@@ -59,8 +60,26 @@ Contributors
|
|
59
60
|
|
60
61
|
Refer to the accompanying {file:CREDITS} file.
|
61
62
|
|
62
|
-
|
63
|
-
|
63
|
+
## Contributing
|
64
|
+
|
65
|
+
This repository uses [Git Flow](https://github.com/nvie/gitflow) to mange development and release activity. All submissions _must_ be on a feature branch based on the _develop_ branch to ease staging and integration.
|
66
|
+
|
67
|
+
* Do your best to adhere to the existing coding conventions and idioms.
|
68
|
+
* Don't use hard tabs, and don't leave trailing whitespace on any line.
|
69
|
+
Before committing, run `git diff --check` to make sure of this.
|
70
|
+
* Do document every method you add using [YARD][] annotations. Read the
|
71
|
+
[tutorial][YARD-GS] or just look at the existing code for examples.
|
72
|
+
* Don't touch the `.gemspec` or `VERSION` files. If you need to change them,
|
73
|
+
do so on your private branch only.
|
74
|
+
* Do feel free to add yourself to the `CREDITS` file and the
|
75
|
+
corresponding list in the the `README`. Alphabetical order applies.
|
76
|
+
* Don't touch the `AUTHORS` file. If your contributions are significant
|
77
|
+
enough, be assured we will eventually add you in there.
|
78
|
+
* Do note that in order for us to merge any non-trivial changes (as a rule
|
79
|
+
of thumb, additions larger than about 15 lines of code), we need an
|
80
|
+
explicit [public domain dedication][PDD] on record from you.
|
81
|
+
|
82
|
+
## License
|
64
83
|
|
65
84
|
This is free and unencumbered public domain software. For more information,
|
66
85
|
see <http://unlicense.org/> or the accompanying {file:UNLICENSE} file.
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.1.0
|
data/lib/rdf/trix/version.rb
CHANGED
@@ -1,19 +1,18 @@
|
|
1
|
-
module RDF
|
2
|
-
|
3
|
-
|
4
|
-
MAJOR, MINOR, TINY, EXTRA = File.read(FILE).chomp.split('.')
|
5
|
-
STRING = [MAJOR, MINOR, TINY, EXTRA].compact.join('.').freeze
|
1
|
+
module RDF::TriX::VERSION
|
2
|
+
VERSION_FILE = File.join(File.expand_path(File.dirname(__FILE__)), "..", "..", "..", "VERSION")
|
3
|
+
MAJOR, MINOR, TINY, EXTRA = File.read(VERSION_FILE).chop.split(".")
|
6
4
|
|
7
|
-
|
8
|
-
# @return [String]
|
9
|
-
def self.to_s() STRING end
|
5
|
+
STRING = [MAJOR, MINOR, TINY, EXTRA].compact.join('.')
|
10
6
|
|
11
|
-
|
12
|
-
|
13
|
-
|
7
|
+
##
|
8
|
+
# @return [String]
|
9
|
+
def self.to_s() STRING end
|
14
10
|
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
11
|
+
##
|
12
|
+
# @return [String]
|
13
|
+
def self.to_str() STRING end
|
14
|
+
|
15
|
+
##
|
16
|
+
# @return [Array(Integer, Integer, Integer)]
|
17
|
+
def self.to_a() STRING.split(".") end
|
18
|
+
end
|
metadata
CHANGED
@@ -1,128 +1,85 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rdf-trix
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
5
|
-
prerelease:
|
4
|
+
version: 1.1.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Arto Bendiken
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date: 2013-
|
11
|
+
date: 2013-12-06 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: rdf
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - '>='
|
20
18
|
- !ruby/object:Gem::Version
|
21
|
-
version: '1.
|
19
|
+
version: '1.1'
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- -
|
24
|
+
- - '>='
|
28
25
|
- !ruby/object:Gem::Version
|
29
|
-
version: '1.
|
26
|
+
version: '1.1'
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: rdf-spec
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
|
-
- -
|
31
|
+
- - '>='
|
36
32
|
- !ruby/object:Gem::Version
|
37
|
-
version: '1.
|
33
|
+
version: '1.1'
|
38
34
|
type: :development
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
|
-
- -
|
38
|
+
- - '>='
|
44
39
|
- !ruby/object:Gem::Version
|
45
|
-
version: '1.
|
40
|
+
version: '1.1'
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
42
|
name: rspec
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
|
-
- -
|
45
|
+
- - '>='
|
52
46
|
- !ruby/object:Gem::Version
|
53
|
-
version: '2.
|
47
|
+
version: '2.14'
|
54
48
|
type: :development
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
51
|
requirements:
|
59
|
-
- -
|
52
|
+
- - '>='
|
60
53
|
- !ruby/object:Gem::Version
|
61
|
-
version: '2.
|
54
|
+
version: '2.14'
|
62
55
|
- !ruby/object:Gem::Dependency
|
63
56
|
name: yard
|
64
57
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
58
|
requirements:
|
67
|
-
- -
|
59
|
+
- - '>='
|
68
60
|
- !ruby/object:Gem::Version
|
69
|
-
version:
|
61
|
+
version: 0.8.5
|
70
62
|
type: :development
|
71
63
|
prerelease: false
|
72
64
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
65
|
requirements:
|
75
|
-
- -
|
66
|
+
- - '>='
|
76
67
|
- !ruby/object:Gem::Version
|
77
|
-
version:
|
78
|
-
- !ruby/object:Gem::Dependency
|
79
|
-
name: rexml
|
80
|
-
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
|
-
requirements:
|
83
|
-
- - ! '>='
|
84
|
-
- !ruby/object:Gem::Version
|
85
|
-
version: 3.1.7
|
86
|
-
type: :development
|
87
|
-
prerelease: false
|
88
|
-
version_requirements: !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
|
-
requirements:
|
91
|
-
- - ! '>='
|
92
|
-
- !ruby/object:Gem::Version
|
93
|
-
version: 3.1.7
|
94
|
-
- !ruby/object:Gem::Dependency
|
95
|
-
name: libxml-ruby
|
96
|
-
requirement: !ruby/object:Gem::Requirement
|
97
|
-
none: false
|
98
|
-
requirements:
|
99
|
-
- - ! '>='
|
100
|
-
- !ruby/object:Gem::Version
|
101
|
-
version: 1.1.4
|
102
|
-
type: :development
|
103
|
-
prerelease: false
|
104
|
-
version_requirements: !ruby/object:Gem::Requirement
|
105
|
-
none: false
|
106
|
-
requirements:
|
107
|
-
- - ! '>='
|
108
|
-
- !ruby/object:Gem::Version
|
109
|
-
version: 1.1.4
|
68
|
+
version: 0.8.5
|
110
69
|
- !ruby/object:Gem::Dependency
|
111
70
|
name: nokogiri
|
112
71
|
requirement: !ruby/object:Gem::Requirement
|
113
|
-
none: false
|
114
72
|
requirements:
|
115
|
-
- -
|
73
|
+
- - '>='
|
116
74
|
- !ruby/object:Gem::Version
|
117
|
-
version: 1.
|
75
|
+
version: 1.5.9
|
118
76
|
type: :development
|
119
77
|
prerelease: false
|
120
78
|
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
none: false
|
122
79
|
requirements:
|
123
|
-
- -
|
80
|
+
- - '>='
|
124
81
|
- !ruby/object:Gem::Version
|
125
|
-
version: 1.
|
82
|
+
version: 1.5.9
|
126
83
|
description: RDF.rb plugin for parsing/serializing TriX data.
|
127
84
|
email: public-rdf-ruby@w3.org
|
128
85
|
executables: []
|
@@ -145,31 +102,29 @@ files:
|
|
145
102
|
- lib/rdf/trix/writer/rexml.rb
|
146
103
|
- lib/rdf/trix/writer.rb
|
147
104
|
- lib/rdf/trix.rb
|
148
|
-
homepage: http://ruby-rdf.github.com/rdf-trix
|
105
|
+
homepage: http://ruby-rdf.github.com/rdf-trix
|
149
106
|
licenses:
|
150
107
|
- Public Domain
|
108
|
+
metadata: {}
|
151
109
|
post_install_message:
|
152
110
|
rdoc_options: []
|
153
111
|
require_paths:
|
154
112
|
- lib
|
155
113
|
required_ruby_version: !ruby/object:Gem::Requirement
|
156
|
-
none: false
|
157
114
|
requirements:
|
158
|
-
- -
|
115
|
+
- - '>='
|
159
116
|
- !ruby/object:Gem::Version
|
160
|
-
version: 1.
|
117
|
+
version: 1.9.2
|
161
118
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
162
|
-
none: false
|
163
119
|
requirements:
|
164
|
-
- -
|
120
|
+
- - '>='
|
165
121
|
- !ruby/object:Gem::Version
|
166
122
|
version: '0'
|
167
|
-
requirements:
|
168
|
-
- REXML (>= 3.1.7), LibXML-Ruby (>= 1.1.4), or Nokogiri (>= 1.4.2)
|
123
|
+
requirements: []
|
169
124
|
rubyforge_project: rdf
|
170
|
-
rubygems_version: 1.
|
125
|
+
rubygems_version: 2.1.11
|
171
126
|
signing_key:
|
172
|
-
specification_version:
|
127
|
+
specification_version: 4
|
173
128
|
summary: TriX support for RDF.rb.
|
174
129
|
test_files: []
|
175
130
|
has_rdoc: false
|