From b3e657b4406a4a0bbb36e5830206959de95d4d4e Mon Sep 17 00:00:00 2001 From: Gregg Kellogg Date: Thu, 24 Mar 2016 16:18:51 -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..d2af243 --- /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-rdfxml/issues) +* Fork and clone the repo: + `git clone git@github.com:your-username/rdf-rdfxml.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-rdfxml/compare/ From a58ef185753c73ea3fc7a5d7c770aad4594d6a32 Mon Sep 17 00:00:00 2001 From: Gregg Kellogg Date: Tue, 29 Mar 2016 11:55:27 -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 d2af243..1c373dd 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-rdfxml/issues) +* create or respond to an issue on the [Github Repository](http://github.com/ruby-rdf/rdf-rdfxml/issues) * Fork and clone the repo: `git clone git@github.com:your-username/rdf-rdfxml.git` * Install bundle: From e0519c5618940595f8c38aa45003519043f36566 Mon Sep 17 00:00:00 2001 From: Gregg Kellogg Date: Sun, 10 Apr 2016 12:45:34 -0700 Subject: [PATCH 3/4] Updates for 2.0.0 release. --- VERSION | 2 +- rdf-rdfxml.gemspec | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 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-rdfxml.gemspec b/rdf-rdfxml.gemspec index 836afd8..adce721 100755 --- a/rdf-rdfxml.gemspec +++ b/rdf-rdfxml.gemspec @@ -23,22 +23,22 @@ 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-rdfa', '>= 2.0.0.beta', '< 3' - gem.add_runtime_dependency 'rdf-xsd', '>= 2.0.0.beta', '< 3' + gem.add_runtime_dependency 'rdf', '~> 2.0' + gem.add_runtime_dependency 'rdf-rdfa', '~> 2.0' + gem.add_runtime_dependency 'rdf-xsd', '~> 2.0' gem.add_runtime_dependency 'htmlentities', '~> 4.3' #gem.add_development_dependency 'nokogiri' , '>= 1.6.1' # conditionally done in Gemfile #gem.add_development_dependency 'equivalent-xml' , '~> 0.2' # conditionally done in Gemfile gem.add_development_dependency 'open-uri-cached', '~> 0.0', '>= 0.0.5' gem.add_development_dependency 'spira', '= 0.0.12' - gem.add_development_dependency 'json-ld', '>= 2.0.0.beta', '< 3' + gem.add_development_dependency 'json-ld', '~> 2.0' gem.add_development_dependency 'rspec', '~> 3.4' gem.add_development_dependency 'rspec-its', '~> 1.2' - gem.add_development_dependency 'rdf-isomorphic', '>= 2.0.0.beta', '< 3' - gem.add_development_dependency 'rdf-turtle', '>= 2.0.0.beta', '< 3' - gem.add_development_dependency 'rdf-spec', '>= 2.0.0.beta', '< 3' - gem.add_development_dependency 'rdf-vocab', '>= 2.0.0.beta', '< 3' + gem.add_development_dependency 'rdf-isomorphic', '~> 2.0' + gem.add_development_dependency 'rdf-turtle', '~> 2.0' + gem.add_development_dependency 'rdf-spec', '~> 2.0' + gem.add_development_dependency 'rdf-vocab', '~> 2.0' gem.add_development_dependency 'yard' , '~> 0.8' # Rubinius has it's own dependencies From 3e66e21bae3fb55f9bf80cac25c78a9f69b0d383 Mon Sep 17 00:00:00 2001 From: Gregg Kellogg Date: Sun, 10 Apr 2016 13:22:33 -0700 Subject: [PATCH 4/4] Update gemfile depdendencies. --- Gemfile | 2 +- Gemfile-pure | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Gemfile b/Gemfile index 5b9db7e..b28da4d 100644 --- a/Gemfile +++ b/Gemfile @@ -15,7 +15,7 @@ group :development do gem 'rdf-turtle', github: "ruby-rdf/rdf-turtle", branch: "develop" gem 'rdf-vocab', github: "ruby-rdf/rdf-vocab", branch: "develop" gem "rdf-xsd", github: "ruby-rdf/rdf-xsd", branch: "develop" - gem 'sxp', github: "gkellogg/sxp-ruby" + gem 'sxp', github: "gkellogg/sxp-ruby", branch: "develop" gem "equivalent-xml" end diff --git a/Gemfile-pure b/Gemfile-pure index 5b1cb59..1f8f25a 100644 --- a/Gemfile-pure +++ b/Gemfile-pure @@ -15,7 +15,7 @@ group :development do gem 'rdf-turtle', github: "ruby-rdf/rdf-turtle", branch: "develop" gem 'rdf-vocab', github: "ruby-rdf/rdf-vocab", branch: "develop" gem "rdf-xsd", github: "ruby-rdf/rdf-xsd", branch: "develop" - gem 'sxp', github: "gkellogg/sxp-ruby" + gem 'sxp', github: "gkellogg/sxp-ruby", branch: "develop" gem "equivalent-xml" end