From d2271746c783e3e5d6a27ef88ba168766342d184 Mon Sep 17 00:00:00 2001 From: Gregg Kellogg Date: Thu, 24 Mar 2016 16:20:49 -0700 Subject: [PATCH 1/4] Add CONTRIBUTING.md. --- CONTRIBUTING.md | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 CONTRIBUTING.md diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000..41ee57f --- /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 mange 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 for on the [Github Repository](http://github.com/ruby-rdf/rdf-trig/issues) +* Fork and clone the repo: + `git clone git@github.com:your-username/rdf-trig.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/rdf-trig/compare/ From 48f750a587a34dd0bbfe79e9cc0796b8507743b3 Mon Sep 17 00:00:00 2001 From: Gregg Kellogg Date: Tue, 29 Mar 2016 11:55:59 -0700 Subject: [PATCH 2/4] Fix CONTRIBUTING typos. --- CONTRIBUTING.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 41ee57f..a3f3fcd 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -4,9 +4,9 @@ Community contributions are essential for keeping Ruby RDF great. We want to kee ## Development -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. +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 for on the [Github Repository](http://github.com/ruby-rdf/rdf-trig/issues) +* create or respond to an issue on the [Github Repository](http://github.com/ruby-rdf/rdf-trig/issues) * Fork and clone the repo: `git clone git@github.com:your-username/rdf-trig.git` * Install bundle: From 3129cebac8ad47e36a25393190ea2cf1d18c6b67 Mon Sep 17 00:00:00 2001 From: Gregg Kellogg Date: Sun, 10 Apr 2016 12:47:36 -0700 Subject: [PATCH 3/4] Updates for release 2.0.0. --- VERSION | 2 +- rdf-trig.gemspec | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/VERSION b/VERSION index fcd0328..227cea2 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.0.0.beta1 +2.0.0 diff --git a/rdf-trig.gemspec b/rdf-trig.gemspec index d00db62..7fd6431 100755 --- a/rdf-trig.gemspec +++ b/rdf-trig.gemspec @@ -26,15 +26,15 @@ 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 'ebnf', '~> 1.0', '>= 1.0.1.beta' - gem.add_runtime_dependency 'rdf-turtle', '>= 2.0.0.beta', '< 3' - gem.add_development_dependency 'json-ld', '>= 2.0.0.beta', '< 3' + gem.add_runtime_dependency 'rdf', '~> 2.0' + gem.add_runtime_dependency 'ebnf', '~> 1.0', '>= 1.0.1' + gem.add_runtime_dependency 'rdf-turtle', '~> 2.0' + gem.add_development_dependency 'json-ld', '~> 2.0' gem.add_development_dependency 'rspec', '~> 3.2' gem.add_development_dependency 'rspec-its', '~> 1.0' - gem.add_development_dependency 'rdf-isomorphic', '>= 2.0.0.beta', '< 3' + gem.add_development_dependency 'rdf-isomorphic', '~> 2.0' gem.add_development_dependency 'yard' , '~> 0.8' - gem.add_development_dependency 'rdf-spec', '>= 2.0.0.beta', '< 3' + gem.add_development_dependency 'rdf-spec', '~> 2.0' gem.add_development_dependency 'rake', '~> 10' gem.post_install_message = nil From 899ba32f7e3b117d04addf541eb553e3d030f519 Mon Sep 17 00:00:00 2001 From: Gregg Kellogg Date: Sun, 10 Apr 2016 13:30:38 -0700 Subject: [PATCH 4/4] Update Gemfile dependencies. --- Gemfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Gemfile b/Gemfile index 7cfec4b..cf5f8c8 100644 --- a/Gemfile +++ b/Gemfile @@ -8,8 +8,8 @@ gem 'ebnf', github: "gkellogg/ebnf", branch: "develop" group :development do gem "wirble" - gem "byebug", platforms: :mri - gem 'psych', platforms: [:mri, :rbx] + gem "byebug", platforms: :mri + gem 'psych', platforms: [:mri, :rbx] end group :development, :test do @@ -17,7 +17,7 @@ group :development, :test do gem 'rdf-spec', github: "ruby-rdf/rdf-spec", branch: "develop" gem 'rdf-isomorphic', github: "ruby-rdf/rdf-isomorphic", branch: "develop" gem 'rdf-vocab', github: "ruby-rdf/rdf-vocab", branch: "develop" - gem 'sxp', github: "gkellogg/sxp-ruby" + gem 'sxp', github: "gkellogg/sxp-ruby", branch: "develop" gem "redcarpet", platform: :ruby gem 'simplecov', require: false, platform: :mri gem 'coveralls', require: false, platform: :mri