diff --git a/.coveralls.yml b/.coveralls.yml new file mode 100644 index 0000000..6e64999 --- /dev/null +++ b/.coveralls.yml @@ -0,0 +1 @@ +service_name: travis-ci \ No newline at end of file diff --git a/README.md b/README.md index 1e08bfb..28d871a 100644 --- a/README.md +++ b/README.md @@ -3,10 +3,10 @@ LD4L FOAF RDF provides tools for modeling person triples based on the FOAF ontology and persisting to a triplestore. [![Build Status](https://travis-ci.org/ld4l/foaf_rdf.png?branch=master)](https://travis-ci.org/ld4l/foaf_rdf) -[![Test Coverage](https://img.shields.io/coveralls/ld4l/foaf_rdf.svg?branch=master)](https://coveralls.io/r/ld4l/foaf_rdf) +[![Coverage Status](https://coveralls.io/repos/ld4l/foaf_rdf/badge.png?branch=master)](https://coveralls.io/r/ld4l/foaf_rdf?branch=master) [![Gem Version](https://badge.fury.io/rb/ld4l-foaf_rdf.svg)](http://badge.fury.io/rb/ld4l-foaf_rdf) [![Dependency Status](https://www.versioneye.com/ruby/ld4l-foaf_rdf/0.0.4/badge.svg)](https://www.versioneye.com/ruby/ld4l-foaf_rdf/0.0.4) - + ## Installation @@ -14,19 +14,16 @@ Temporary get the gem from github until the gem is released publicly. Add this line to your application's Gemfile: - - gem 'ld4l-foaf_rdf', '~> 0.0.3', :git => 'git@github.com:ld4l/foaf_rdf.git' + gem 'ld4l-foaf_rdf' - And then execute: $ bundle install - ## Usage diff --git a/ld4l-foaf_rdf.gemspec b/ld4l-foaf_rdf.gemspec index db34d9f..9aea0e7 100644 --- a/ld4l-foaf_rdf.gemspec +++ b/ld4l-foaf_rdf.gemspec @@ -20,17 +20,18 @@ Gem::Specification.new do |spec| # spec.test_files = `git ls-files -- {spec}/*`.split("\n") # FROM ActiveTriples gemspec file # spec.require_paths = ["lib"] # NOT IN ActiveTriples gemspec file -# spec.add_dependency('ffi', '~> 1.9.5') + # spec.add_dependency('ffi', '~> 1.9.5') spec.add_dependency('rdf', '~> 1.1') spec.add_dependency('active-triples', '~> 0.5') spec.add_dependency('active_triples-local_name', '~> 0.1') spec.add_development_dependency('pry') -# spec.add_development_dependency('pry-byebug') # Works with ruby > 2 -# spec.add_development_dependency('pry-debugger') # Works with ruby < 2 + # spec.add_development_dependency('pry-byebug') # Works with ruby > 2 + # spec.add_development_dependency('pry-debugger') # Works with ruby < 2 spec.add_development_dependency('rdoc') spec.add_development_dependency('rspec') + spec.add_development_dependency('coveralls') spec.add_development_dependency('guard-rspec') spec.add_development_dependency('webmock') diff --git a/lib/ld4l/foaf_rdf/version.rb b/lib/ld4l/foaf_rdf/version.rb index b39b5a0..e9b0b78 100644 --- a/lib/ld4l/foaf_rdf/version.rb +++ b/lib/ld4l/foaf_rdf/version.rb @@ -1,5 +1,5 @@ module LD4L module FoafRDF - VERSION = "0.0.5" + VERSION = "0.0.6" end end diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 5238146..512cc63 100755 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,3 +1,6 @@ +require 'coveralls' +Coveralls.wear! + require 'bundler/setup' Bundler.setup