Skip to content

Commit

Permalink
Release 0.1.4
Browse files Browse the repository at this point in the history
* Skip a found metadata file if it does not reference the URL (link, file- and directory- only).
* Relax column matching when not validating.
* Titles are coompatibile on language tag as a prefix.
* Make minimum/maxium/... value constraints native to the appropriate datatype (from base).
* Change validation for minimum/maximum/... as well as length/... constraints to `#validate!`.
* Unify checking value constraints.
* Check length constraints on cell values, not cell string values.
* Support primary and foreign key checks on data.
  • Loading branch information
gkellogg committed Jun 19, 2015
2 parents c7e50d2 + e715781 commit 6f54943
Show file tree
Hide file tree
Showing 29 changed files with 34,772 additions and 471 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ cache: bundler
matrix:
allow_failures:
- rvm: jruby
- rvm: rbx-2

5 changes: 4 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ gemspec
gem 'rdf', git: "git://github.com/ruby-rdf/rdf.git", branch: "develop"
gem 'rdf-spec', git: "git://github.com/ruby-rdf/rdf-spec.git", branch: "develop"
gem 'rdf-xsd', git: "git://github.com/ruby-rdf/rdf-xsd.git", branch: "develop"
gem 'rdf-turtle', git: "git://github.com/ruby-rdf/rdf-turtle.git", branch: "develop"
gem 'json-ld', git: "git://github.com/ruby-rdf/json-ld.git", branch: "develop"

group :development do
Expand All @@ -16,7 +17,9 @@ group :debug do
end

group :development, :test do
gem 'simplecov', require: false
gem 'simplecov', require: false
gem 'coveralls', require: false
gem 'psych', platforms: [:mri, :rbx]
end

platforms :rbx do
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

[![Gem Version](https://badge.fury.io/rb/rdf-tabular.png)](http://badge.fury.io/rb/rdf-tabular)
[![Build Status](https://secure.travis-ci.org/ruby-rdf/rdf-tabular.png?branch=master)](http://travis-ci.org/ruby-rdf/rdf-tabular)
[![Coverage Status](https://coveralls.io/repos/ruby-rdf/rdf-tabular/badge.svg)](https://coveralls.io/r/ruby-rdf/rdf-tabular)

## Features

Expand Down
9 changes: 9 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,12 @@ task :doap do
RDF::NTriples::Writer.open("etc/doap.nt") {|w| w <<g }
RDF::Turtle::Writer.open("etc/doap.ttl", standard_prefixes: true) {|w| w <<g }
end
desc "Generate etc/earl.html from etc/earl.ttl and etc/doap.ttl"
task :earl => "etc/earl.html"
file "etc/earl.jsonld" => %w(etc/earl.ttl etc/doap.ttl) do
%x{cd etc; earl-report --format json -o earl.jsonld earl.ttl}
end
file "etc/earl.html" => "etc/earl.jsonld" do
%x{cd etc; earl-report --format json -o earl.jsonld earl.ttl}
end
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1.3.1
0.1.4
Empty file added earl.jsonld
Empty file.
8 changes: 8 additions & 0 deletions etc/.earl
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
:format: :json
:manifest:
- http://www.w3.org/2013/csvw/tests/manifest-json.jsonld
- http://www.w3.org/2013/csvw/tests/manifest-rdf.jsonld
- http://www.w3.org/2013/csvw/tests/manifest-validation.jsonld
:bibRef: ! '[[tabular-metadata]]'
:name: CSV on the Web
4 changes: 4 additions & 0 deletions etc/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
EARL results for rdf-tabular.

earl-report --format json -o earl.jsonld earl.ttl
earl-report --json --format html --template template.haml -o earl.html earl.jsonld
2 changes: 1 addition & 1 deletion etc/csvw.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"byte": "xsd:byte",
"date": "xsd:date",
"dateTime": "xsd:dateTime",
"dateTimeDuration": "xsd:dateTimeDuration",
"dayTimeDuration": "xsd:dayTimeDuration",
"dateTimeStamp": "xsd:dateTimeStamp",
"decimal": "xsd:decimal",
"double": "xsd:double",
Expand Down

0 comments on commit 6f54943

Please sign in to comment.