Skip to content

Commit e767c33

Browse files
committed
Release 2.0.0.beta1.
2 parents bd7afc9 + 2c0d271 commit e767c33

116 files changed

Lines changed: 4281 additions & 27360 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,5 @@ Gemfile.lock
1010
.bundle/
1111
*.sw?
1212
benchmark/
13+
/.byebug_history
14+
/coverage/

.travis.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,17 @@ script: "bundle exec rspec spec"
44
env:
55
- CI=true
66
rvm:
7-
- 1.9.3
87
- 2.0
98
- 2.1
10-
- 2.2
11-
- jruby
9+
- 2.2.4
10+
- 2.3.0
11+
- jruby-9.0.4.0
1212
- rbx-2
1313
cache: bundler
1414
sudo: false
15+
matrix:
16+
allow_failures:
17+
- rvm: rbx-2
18+
addons:
19+
code_climate:
20+
repo_token: 5806cc8a21c03f4e2f9d3b9d98d5d9fe084b66243b1dbb27b467dbc795acdcac

CHANGES.md

Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
Release 2.0.0
2+
=============
3+
4+
* A new class `RDF::Changeset` has been added. This is meant to replace any
5+
previous use of `RDF::Transaction`, which in fact used to in RDF.rb 1.x
6+
represent more of a buffered changeset than a genuine transaction scope.
7+
8+
- Instead of `RDF::Transaction.execute`, use `RDF::Changeset.apply`.
9+
- Instead of `RDF::Transaction#execute`, use `RDF::Changeset#apply`.
10+
11+
* The `RDF::Transaction` class has been substantially revamped, including
12+
some minor backwards-incompatible changes. These changes will mostly
13+
affect repository implementors, not so much general RDF.rb users.
14+
15+
The changes reflect the expanded purpose of the class: instead of being a
16+
mere buffered changeset (for which, see `RDF::Changeset`), transactions
17+
are now intended to provide a proper ACID scope for repository queries and
18+
mutations.
19+
20+
We always now also carefully distinguish between read-only and read/write
21+
transactions, in order to enable repository implementations to take out the
22+
appropriate locks for concurrency control. Note as well that transactions
23+
are now read-only by default; mutability must be explicitly requested on
24+
construction in order to obtain a read/write transaction.
25+
26+
In case repository implementations should be unable to provide actual ACID
27+
guarantees for transactions, that must be clearly indicated in their
28+
documentation. Similarly, implementations should throw an exception when
29+
appropriate in case they don't provide write transaction support.
30+
31+
- `RDF::Transaction#initialize` now takes the target repository as its
32+
first argument. Transactions are now always tied to a specific
33+
repository instance, instead of being free-floating objects as they used
34+
to be (for that, see `RDF::Changeset`).
35+
36+
- `RDF::Transaction` now mixes in `RDF::Queryable` and `RDF::Enumerable`,
37+
enabling quad-pattern matches and BGP queries to execute in a proper
38+
transaction scope.
39+
40+
- The `RDF::Transaction#context` accessor, and its aliases, have been
41+
removed. Transactions aren't necessarily scoped to a single graph only.
42+
43+
- There is a new `RDF::Transaction#repository` accessor for retrieving the
44+
target repository object that the transaction operates upon.
45+
46+
- There is a new `RDF::Transaction#buffered?` predicate for testing
47+
whether the changeset that constitutes a transaction is available for
48+
introspection. Particular repository implementations may support both
49+
options and permit the user the choice on transaction construction.
50+
51+
- The `RDF::Transaction#inserts` and `#deletes` methods are deprecated.
52+
Instead, there is a new `RDF::Transaction#changes` accessor to retrieve
53+
an `RDF::Changeset` instance, which contains corresponding methods.
54+
For unbuffered transactions, `#changes` returns `nil`.
55+
56+
* Enumerables vs. Enumerators
57+
58+
- `RDF::Queryable#query` and `RDF::Query#execute` not return an enumerable, which may be an enumerator. Most internal uses return an Array now, which aides performance for small result sets, but potentially causes problems for large result sets. Implementations may still return an Enumerator, and Enumerators may be passed as arguments.
59+
- `RDF::Enumerable#statements`, `#quads`, `#triples`, `#subjects`, `#predicates`, `#objects`, and `#contexts` now return an array rather than an Enumerator.
60+
61+
* The following vocabularies are deprecated and have been moved to the rdf-vocab gem.
62+
63+
- `RDF::CC` - Creative Commons (CC)
64+
- `RDF::CERT` - W3 Authentication Certificate (CERT)
65+
- `RDF::DC` - Dublin Core (DC)
66+
- `RDF::DC11` - Dublin Core 1.1 (DC11) _deprecated_
67+
- `RDF::DOAP` - Description of a Project (DOAP)
68+
- `RDF::EXIF` - Exchangeable Image File Format (EXIF)
69+
- `RDF::FOAF` - Friend of a Friend (FOAF)
70+
- `RDF::GEO` - WGS84 Geo Positioning (GEO)
71+
- `RDF::GR` - GoodRelations (GR)
72+
- `RDF::HT` - Hypertext Transfer Protocol (HT)
73+
- `RDF::ICAL` - RDF Calendar Workspace (ICAL)
74+
- `RDF::MA` - Media Resources (MA)
75+
- `RDF::MO` - Music Ontology (MO)
76+
- `RDF::OG` - Open Graph protocol (OG)
77+
- `RDF::PROV` - Provenance on the web (PROV)
78+
- `RDF::RSA` - W3 RSA Keys (RSA)
79+
- `RDF::RSS` - RDF Site Summary (RSS)
80+
- `RDF::SCHEMA` - Schema.org (SCHEMA)
81+
- `RDF::SIOC` - Semantically-Interlinked Online Communities (SIOC)
82+
- `RDF::SKOS` - Simple Knowledge Organization System (SKOS)
83+
- `RDF::SKOSXL` - SKOS eXtension for Labels (SKOSXL)
84+
- `RDF::V` - RDF data vocabulary (V)
85+
- `RDF::VCARD` - Ontology for vCards (VCARD)
86+
- `RDF::VMD` - Data-Vocabulary.org (VMD)
87+
- `RDF::VOID` - Vocabulary of Interlinked Datasets (VOID)
88+
- `RDF::VS` - SemWeb Vocab Status ontology (VS)
89+
- `RDF::WDRS` - Protocol for Web Description Resources (WDRS)
90+
- `RDF::WOT` - Web of Trust (WOT)
91+
- `RDF::XHTML` - Extensible HyperText Markup Language (XHTML)
92+
- `RDF::XHV` - XHTML Vocabulary (XHV)

Gemfile

Lines changed: 10 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -3,40 +3,31 @@ source "https://rubygems.org"
33
gemspec
44

55
group :develop do
6-
gem "rdf-spec", git: "git://github.com/ruby-rdf/rdf-spec.git", branch: "develop"
7-
gem "rdf-vocab", git: "git://github.com/ruby-rdf/rdf-vocab.git", branch: "develop"
8-
gem 'linkeddata', git: "git://github.com/ruby-rdf/linkeddata.git", branch: "develop"
9-
gem 'rdf-aggregate-repo', git: "git://github.com/ruby-rdf/rdf-aggregate-repo.git", branch: "develop"
10-
gem 'rdf-isomorphic', git: "git://github.com/ruby-rdf/rdf-isomorphic.git", branch: "develop"
11-
gem 'rdf-n3', git: "git://github.com/ruby-rdf/rdf-n3.git", branch: "develop"
12-
gem "rdf-rdfxml", git: "git://github.com/ruby-rdf/rdf-rdfxml.git", branch: "develop"
13-
gem 'rdf-rdfa', git: "git://github.com/ruby-rdf/rdf-rdfa.git", branch: "develop"
14-
gem 'rdf-trig', git: "git://github.com/ruby-rdf/rdf-trig.git", branch: "develop"
15-
gem 'rdf-turtle', git: "git://github.com/ruby-rdf/rdf-turtle.git", branch: "develop"
16-
gem 'rdf-microdata', git: "git://github.com/ruby-rdf/rdf-microdata.git", branch: "develop"
17-
gem "rdf-xsd", git: "git://github.com/ruby-rdf/rdf-xsd.git", branch: "develop"
18-
gem 'json-ld', git: "git://github.com/ruby-rdf/json-ld.git", branch: "develop"
19-
gem 'sparql', git: "git://github.com/ruby-rdf/sparql.git", branch: "develop"
20-
gem 'sparql-client', git: "git://github.com/ruby-rdf/sparql-client.git", branch: "develop"
21-
gem 'sxp', git: "git://github.com/gkellogg/sxp-ruby.git"
6+
gem 'rdf-isomorphic', github: "ruby-rdf/rdf-isomorphic", branch: "develop"
7+
gem "rdf-reasoner", github: "ruby-rdf/rdf-reasoner", branch: "develop"
8+
gem "rdf-spec", github: "ruby-rdf/rdf-spec", branch: "develop"
9+
gem "rdf-vocab", github: "ruby-rdf/rdf-vocab", branch: "develop"
10+
gem "rdf-xsd", github: "ruby-rdf/rdf-xsd", branch: "develop"
11+
2212
gem 'rest-client-components'
13+
gem 'benchmark-ips'
2314
end
2415

2516
group :debug do
2617
gem 'psych', platforms: [:mri, :rbx]
2718
gem "wirble"
2819
gem "redcarpet", platforms: :ruby
29-
gem "debugger", platforms: :mri_19
3020
gem "byebug", platforms: :mri
31-
gem "ruby-debug", platforms: :jruby
32-
gem "pry", platforms: :rbx
3321
gem 'guard-rspec'
3422
end
3523

3624
group :test do
3725
gem "rake"
3826
gem "equivalent-xml"
3927
gem 'fasterer'
28+
gem 'simplecov', require: false, platform: :mri
29+
gem 'coveralls', require: false, platform: :mri
30+
gem "codeclimate-test-reporter", require: false
4031
end
4132

4233
platforms :rbx do

README.md

Lines changed: 9 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ This is a pure-Ruby library for working with [Resource Description Framework
1111

1212
[![Gem Version](https://badge.fury.io/rb/rdf.png)](http://badge.fury.io/rb/rdf)
1313
[![Build Status](https://travis-ci.org/ruby-rdf/rdf.png?branch=master)](http://travis-ci.org/ruby-rdf/rdf)
14+
[![Code Climate](https://codeclimate.com/github/ruby-rdf/rdf/badges/gpa.svg)](https://codeclimate.com/github/ruby-rdf/rdf)
15+
[![Coverage Status](https://coveralls.io/repos/ruby-rdf/rdf/badge.svg)](https://coveralls.io/r/ruby-rdf/rdf)
1416
[![Join the chat at https://gitter.im/ruby-rdf/rdf](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/ruby-rdf/rdf?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
1517

1618
## Features
@@ -28,8 +30,7 @@ This is a pure-Ruby library for working with [Resource Description Framework
2830
not modify any of Ruby's core classes or standard library.
2931
* Based entirely on Ruby's autoloading, meaning that you can generally make
3032
use of any one part of the library without needing to load up the rest.
31-
* Compatible with Ruby Ruby 1.9.2, Ruby 2.0, Rubinius and JRuby 1.7+.
32-
* Compatible with older Ruby versions with the help of the [Backports][] gem.
33+
* Compatible with Ruby Ruby 2.x, Rubinius and JRuby 1.7+ (in Ruby 2.0 mode).
3334
* Performs auto-detection of input to select appropriate Reader class if one
3435
cannot be determined from file characteristics.
3536

@@ -50,12 +51,12 @@ the 1.1 release of RDF.rb:
5051
* Introduces {RDF::IRI}, as a synonym for {RDF::URI} either {RDF::IRI} or {RDF::URI} can be used interchangeably. Versions of RDF.rb prior to the 1.1 release were already compatible with IRIs. Internationalized Resource Identifiers (see [RFC3987][]) are a super-set of URIs (see [RFC3986][]) which allow for characters other than standard US-ASCII.
5152
* {RDF::URI} no longer uses the `Addressable` gem. As URIs typically don't need to be parsed, this provides a substantial performance improvement when enumerating or querying graphs and repositories.
5253
* {RDF::List} no longer emits a `rdf:List` type. However, it will now recognize any subjects that are {RDF::Node} instances as being list elements, as long as they have both `rdf:first` and `rdf:rest` predicates.
53-
* {RDF::Graph} adding a `context` to a graph may only be done when the underlying storage model supports contexts (the default {RDF::Repository} does). The notion of `context` in RDF.rb is treated equivalently to [Named Graphs](http://www.w3.org/TR/rdf11-concepts/#dfn-named-graph) within an RDF Dataset, and graphs on their own are not named.
54+
* {RDF::Graph} adding a `graph_name` to a graph may only be done when the underlying storage model supports graph_names (the default {RDF::Repository} does). The notion of `graph_name` in RDF.rb is treated equivalently to [Named Graphs](http://www.w3.org/TR/rdf11-concepts/#dfn-named-graph) within an RDF Dataset, and graphs on their own are not named.
5455
* {RDF::Graph}, {RDF::Statement} and {RDF::List} now include {RDF::Value}, and not {RDF::Resource}. Made it clear that using {RDF::Graph} does not mean that it may be used within an {RDF::Statement}, for this see {RDF::Term}.
5556
* {RDF::Statement} now is stricter about checking that all elements are valid when validating.
5657
* {RDF::NTriples::Writer} and {RDF::NQuads::Writer} now default to validate output, only allowing valid statements to be emitted. This may disabled by setting the `:validate` option to `false`.
5758
* {RDF::Dataset} is introduced as a class alias of {RDF::Repository}. This allows closer alignment to the RDF concept of [Dataset](http://www.w3.org/TR/rdf11-concepts/#dfn-dataset).
58-
* The `context` (or `name`) of a named graph within a Dataset or Repository may be either an {RDF::IRI} or {RDF::Node}. Implementations of repositories may restrict this to being only {RDF::IRI}.
59+
* The `graph_name` of a graph within a Dataset or Repository may be either an {RDF::IRI} or {RDF::Node}. Implementations of repositories may restrict this to being only {RDF::IRI}.
5960
* There are substantial and somewhat incompatible changes to {RDF::Literal}. In [RDF 1.1][], all literals are typed, including plain literals and language tagged literals. Internally, plain literals are given the `xsd:string` datatype and language tagged literals are given the `rdf:langString` datatype. Creating a plain literal, without a datatype or language, will automatically provide the `xsd:string` datatype; similar for language tagged literals. Note that most serialization formats will remove this datatype. Code which depends on a literal having the `xsd:string` datatype being different from a plain literal (formally, without a datatype) may break. However note that the `#has\_datatype?` will continue to return `false` for plain or language-tagged literals.
6061
* {RDF::Query#execute} now accepts a block and returns {RDF::Query::Solutions}. This allows `enumerable.query(query)` to behave like `query.execute(enumerable)` and either return an enumerable or yield each solution.
6162
* {RDF::Queryable#query} now returns {RDF::Query::Solutions} instead of an Enumerator if it's argument is an {RDF::Query}.
@@ -146,15 +147,15 @@ appropriate writer to use.
146147

147148
RDF::Writer.open("hello.nq", format: :nquads) do |writer|
148149
writer << RDF::Repository.new do |repo|
149-
repo << RDF::Statement.new(:hello, RDF::RDFS.label, "Hello, world!", context: RDF::URI("context"))
150+
repo << RDF::Statement.new(:hello, RDF::RDFS.label, "Hello, world!", graph_name: RDF::URI("http://example/graph_name"))
150151
end
151152
end
152153

153154
A specific sub-type of Writer can also be invoked directly:
154155

155156
require 'rdf/nquads'
156157

157-
repo = RDF::Repository.new << RDF::Statement.new(:hello, RDF::RDFS.label, "Hello, world!", context: RDF::URI("context"))
158+
repo = RDF::Repository.new << RDF::Statement.new(:hello, RDF::RDFS.label, "Hello, world!", graph_name: RDF::URI("http://example/graph_name"))
158159
File.open("hello.nq", "w") {|f| f << repo.dump(:nquads)}
159160

160161
## Reader/Writer convenience methods
@@ -298,7 +299,6 @@ from BNode identity (i.e., they each entail the other)
298299
* {RDF::Countable}
299300
* {RDF::Enumerable}
300301
* {RDF::Indexable}
301-
* {RDF::Inferable}
302302
* {RDF::Queryable}
303303
* {RDF::Mutable}
304304
* {RDF::Durable}
@@ -327,44 +327,10 @@ from BNode identity (i.e., they each entail the other)
327327
* {RDF::RDFV} - RDF Vocabulary (RDFV)
328328
* {RDF::XSD} - XML Schema (XSD)
329329

330-
#### Deprecated Vocabularies
331-
332-
The following vocabularies will be deprecated in RDF.rb 2.0 and moved to the rdf-vocab gem.
333-
334-
* {RDF::CC} - Creative Commons (CC)
335-
* {RDF::CERT} - W3 Authentication Certificate (CERT)
336-
* {RDF::DC} - Dublin Core (DC)
337-
* {RDF::DC11} - Dublin Core 1.1 (DC11) _deprecated_
338-
* {RDF::DOAP} - Description of a Project (DOAP)
339-
* {RDF::EXIF} - Exchangeable Image File Format (EXIF)
340-
* {RDF::FOAF} - Friend of a Friend (FOAF)
341-
* {RDF::GEO} - WGS84 Geo Positioning (GEO)
342-
* {RDF::GR} - GoodRelations (GR)
343-
* {RDF::HT} - Hypertext Transfer Protocol (HT)
344-
* {RDF::ICAL} - RDF Calendar Workspace (ICAL)
345-
* {RDF::MA} - Media Resources (MA)
346-
* {RDF::MO} - Music Ontology (MO)
347-
* {RDF::OG} - Open Graph protocol (OG)
348-
* {RDF::PROV} - Provenance on the web (PROV)
349-
* {RDF::RSA} - W3 RSA Keys (RSA)
350-
* {RDF::RSS} - RDF Site Summary (RSS)
351-
* {RDF::SCHEMA} - Schema.org (SCHEMA)
352-
* {RDF::SIOC} - Semantically-Interlinked Online Communities (SIOC)
353-
* {RDF::SKOS} - Simple Knowledge Organization System (SKOS)
354-
* {RDF::SKOSXL} - SKOS eXtension for Labels (SKOSXL)
355-
* {RDF::V} - RDF data vocabulary (V)
356-
* {RDF::VCARD} - Ontology for vCards (VCARD)
357-
* {RDF::VMD} - Data-Vocabulary.org (VMD)
358-
* {RDF::VOID} - Vocabulary of Interlinked Datasets (VOID)
359-
* {RDF::VS} - SemWeb Vocab Status ontology (VS)
360-
* {RDF::WDRS} - Protocol for Web Description Resources (WDRS)
361-
* {RDF::WOT} - Web of Trust (WOT)
362-
* {RDF::XHTML} - Extensible HyperText Markup Language (XHTML)
363-
* {RDF::XHV} - XHTML Vocabulary (XHV)
364330

365331
## Dependencies
366332

367-
* [Ruby](http://ruby-lang.org/) (>= 1.9.2)
333+
* [Ruby](http://ruby-lang.org/) (>= 2.0)
368334
* [LinkHeader][] (>= 0.0.8)
369335
* Soft dependency on [RestClient][] (>= 1.7)
370336

@@ -373,7 +339,7 @@ The following vocabularies will be deprecated in RDF.rb 2.0 and moved to the rdf
373339
The recommended installation method is via [RubyGems](http://rubygems.org/).
374340
To install the latest official release of RDF.rb, do:
375341

376-
% [sudo] gem install rdf # Ruby 1.9.2+
342+
% [sudo] gem install rdf # Ruby 2+
377343

378344
## Download
379345

@@ -452,7 +418,6 @@ see <http://unlicense.org/> or the accompanying {file:UNLICENSE} file.
452418
[YARD]: http://yardoc.org/
453419
[YARD-GS]: http://rubydoc.info/docs/yard/file/docs/GettingStarted.md
454420
[PDD]: http://lists.w3.org/Archives/Public/public-rdf-ruby/2010May/0013.html
455-
[Backports]: http://rubygems.org/gems/backports
456421
[JSONLD doc]: http://rubydoc.info/github/ruby-rdf/json-ld/frames
457422
[LinkedData doc]: http://rubydoc.info/github/datagraph/linkeddata/master/frames
458423
[Microdata doc]: http://rubydoc.info/github/ruby-rdf/rdf-microdata/frames

Rakefile

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -40,24 +40,7 @@ require 'rdf/cli/vocab-loader'
4040

4141
desc "Generate Vocabularies"
4242
vocab_sources = {
43-
cc: {uri: "http://creativecommons.org/ns#"},
44-
cert: {uri: "http://www.w3.org/ns/auth/cert#"},
45-
dc: {uri: "http://purl.org/dc/terms/"},
46-
dc11: {uri: "http://purl.org/dc/elements/1.1/"},
47-
dcat: {uri: "http://www.w3.org/ns/dcat#"},
48-
doap: {uri: "http://usefulinc.com/ns/doap#"},
49-
exif: {uri: "http://www.w3.org/2003/12/exif/ns#"},
50-
foaf: {uri: "http://xmlns.com/foaf/0.1/"},
51-
geo: {uri: "http://www.w3.org/2003/01/geo/wgs84_pos#"},
52-
gr: {uri: "http://purl.org/goodrelations/v1#", source: "http://www.heppnetz.de/ontologies/goodrelations/v1.owl"},
53-
ht: {uri: "http://www.w3.org/2011/http#"},
54-
ical: {uri: "http://www.w3.org/2002/12/cal/icaltzd#"},
55-
ma: {uri: "http://www.w3.org/ns/ma-ont#", source: "http://www.w3.org/ns/ma-ont.rdf"},
56-
mo: {uri: "http://purl.org/ontology/mo/"},
57-
og: {uri: "http://ogp.me/ns#"},
58-
ogc: {uri: "http://ogp.me/ns/class#", source: "http://ogp.me/ns"},
5943
owl: {uri: "http://www.w3.org/2002/07/owl#"},
60-
prov: {uri: "http://www.w3.org/ns/prov#"},
6144
rdfs: {uri: "http://www.w3.org/2000/01/rdf-schema#"},
6245
# Result requires manual editing
6346
#rdfv: {uri: "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
@@ -79,21 +62,6 @@ vocab_sources = {
7962
# Statement: {comment: "RDF/XML reification Statement"},
8063
# subject: {comment: "RDF/XML reification subject"},
8164
# }},
82-
rsa: {uri: "http://www.w3.org/ns/auth/rsa#"},
83-
rss: {uri: "http://purl.org/rss/1.0/", source: "http://purl.org/rss/1.0/schema.rdf"},
84-
schema: {uri: "http://schema.org/", source: "http://schema.org/docs/schema_org_rdfa.html"},
85-
sioc: {uri: "http://rdfs.org/sioc/ns#"},
86-
skos: {uri: "http://www.w3.org/2004/02/skos/core#"},
87-
skosxl: {uri: "http://www.w3.org/2008/05/skos-xl#", source: "http://www.w3.org/TR/skos-reference/skos-xl.rdf"},
88-
v: {uri: "http://rdf.data-vocabulary.org/#", source: "etc/rdf.data-vocab.ttl"},
89-
vmd: {uri: "http://data-vocabulary.org/", source: "etc/data-vocab.ttl"},
90-
vcard: {uri: "http://www.w3.org/2006/vcard/ns#"},
91-
void: {uri: "http://rdfs.org/ns/void#", source: "http://vocab.deri.ie/void.rdf"},
92-
vs: {uri: "http://www.w3.org/2003/06/sw-vocab-status/ns#"},
93-
wdrs: {uri: "http://www.w3.org/2007/05/powder-s#"},
94-
wot: {uri: "http://xmlns.com/wot/0.1/", source: "http://xmlns.com/wot/0.1/index.rdf"},
95-
xhtml: {uri: "http://www.w3.org/1999/xhtml#", strict: false},
96-
xhv: {uri: "http://www.w3.org/1999/xhtml/vocab#", strict: false},
9765
xsd: {uri: "http://www.w3.org/2001/XMLSchema#",
9866
source: "etc/xsd.ttl",
9967
strict: false},

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.99.0
1+
2.0.0.beta1

bin/rdf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ require 'rdf/cli'
55

66
options = RDF::CLI.options do
77
self.on('-v', '--verbose', 'Enable verbose output. May be given more than once.') do
8-
$VERBOSE = true
8+
self.options[:logger].level = Logger::INFO
99
end
1010

1111
self.on('-V', '--version', 'Display the RDF.rb version and exit.') do

0 commit comments

Comments
 (0)