diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 00000000..0917dacb --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,36 @@ +# How to contribute + +Community contributions are essential for keeping Ruby RDF great. We want to keep it as easy as possible to contribute changes that get things working in your environment. There are a few guidelines that we need contributors to follow so that we can have a chance of keeping on top of things. + +## Development + +This repository uses [Git Flow](https://github.com/nvie/gitflow) to manage development and release activity. All submissions _must_ be on a feature branch based on the _develop_ branch to ease staging and integration. + +* create or respond to an issue on the [Github Repository](http://github.com/ruby-rdf/sparql/issues) +* Fork and clone the repo: + `git clone git@github.com:your-username/sparql.git` +* Install bundle: + `bundle install` +* Create tests in RSpec and make sure you achieve at least 90% code coverage for the feature your adding or behavior being modified. +* Push to your fork and [submit a pull request][pr]. + +## Do's and Dont's +* Do your best to adhere to the existing coding conventions and idioms. +* Don't use hard tabs, and don't leave trailing whitespace on any line. + Before committing, run `git diff --check` to make sure of this. +* Do document every method you add using [YARD][] annotations. Read the + [tutorial][YARD-GS] or just look at the existing code for examples. +* Don't touch the `.gemspec` or `VERSION` files. If you need to change them, + do so on your private branch only. +* Do feel free to add yourself to the `CREDITS` file and the + corresponding list in the the `README`. Alphabetical order applies. +* Don't touch the `AUTHORS` file. If your contributions are significant + enough, be assured we will eventually add you in there. +* Do note that in order for us to merge any non-trivial changes (as a rule + of thumb, additions larger than about 15 lines of code), we need an + explicit [public domain dedication][PDD] on record from you. + +[YARD]: http://yardoc.org/ +[YARD-GS]: http://rubydoc.info/docs/yard/file/docs/GettingStarted.md +[PDD]: http://lists.w3.org/Archives/Public/public-rdf-ruby/2010May/0013.html +[pr]: https://github.com/ruby-rdf/sparql/compare/ diff --git a/Gemfile b/Gemfile index c5c1fa2c..f8e45ced 100644 --- a/Gemfile +++ b/Gemfile @@ -7,7 +7,7 @@ gem 'rdf', github: "ruby-rdf/rdf", branch: "devel gem 'rdf-aggregate-repo', github: "ruby-rdf/rdf-aggregate-repo", branch: "develop" gem "rdf-xsd", github: "ruby-rdf/rdf-xsd", branch: "develop" gem 'sparql-client', github: "ruby-rdf/sparql-client", branch: "develop" -gem 'sxp', github: "gkellogg/sxp-ruby" +gem 'sxp', github: "gkellogg/sxp-ruby", branch: "develop" group :development do gem 'json-ld', github: "ruby-rdf/json-ld", branch: "develop" @@ -25,6 +25,7 @@ group :development do gem 'rdf-trix', github: "ruby-rdf/rdf-trix", branch: "develop" gem 'rdf-turtle', github: "ruby-rdf/rdf-turtle", branch: "develop" gem 'rdf-vocab', github: "ruby-rdf/rdf-vocab", branch: "develop" + gem 'ld-patch', github: "gkellogg/ld-patch", branch: "develop" gem "equivalent-xml", '>= 0.2.8' gem 'psych', platforms: [:mri, :rbx] gem 'simplecov', require: false diff --git a/VERSION b/VERSION index 28bcf805..227cea21 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.0.0.beta2 +2.0.0 diff --git a/sparql.gemspec b/sparql.gemspec index 5162c616..5b00a244 100755 --- a/sparql.gemspec +++ b/sparql.gemspec @@ -35,19 +35,19 @@ Gem::Specification.new do |gem| gem.required_ruby_version = '>= 2.0' gem.requirements = [] - gem.add_runtime_dependency 'rdf', '>= 2.0.0.beta', '< 3' - gem.add_runtime_dependency 'rdf-aggregate-repo', '>= 2.0.0.beta', '< 3' - gem.add_runtime_dependency 'ebnf', '~> 1.0', '>= 1.0.1.beta' + gem.add_runtime_dependency 'rdf', '~> 2.0' + gem.add_runtime_dependency 'rdf-aggregate-repo', '~> 2.0' + gem.add_runtime_dependency 'ebnf', '~> 1.0', '>= 1.0.1' gem.add_runtime_dependency 'builder', '~> 3.2' - gem.add_runtime_dependency 'sxp', '>= 1.0.0.beta', '< 2' - gem.add_runtime_dependency 'sparql-client', '>= 2.0.0.beta', '< 3' - gem.add_runtime_dependency 'rdf-xsd', '>= 2.0.0.beta', '< 3' + gem.add_runtime_dependency 'sxp', '~> 1.0' + gem.add_runtime_dependency 'sparql-client', '~> 2.0' + gem.add_runtime_dependency 'rdf-xsd', '~> 2.0' gem.add_development_dependency 'sinatra', '~> 1.4', '>= 1.4.6' gem.add_development_dependency 'rack', '~> 1.6' gem.add_development_dependency 'rack-test', '~> 0.6' gem.add_development_dependency 'linkeddata', '>= 1.99', '< 3' - gem.add_development_dependency 'rdf-spec', '>= 2.0.0.beta', '< 3' + gem.add_development_dependency 'rdf-spec', '~> 2.0' gem.add_development_dependency 'open-uri-cached', '~> 0.0', '>= 0.0.5' gem.add_development_dependency 'rspec', '~> 3.2' gem.add_development_dependency 'rspec-its', '~> 1.2'