README.md in rdf-open_annotation-0.0.4 vs README.md in rdf-open_annotation-0.1.0
- old
+ new
@@ -1,5 +1,9 @@
+# DEPRECATED
+
+This gem is deprecated; rdf-vocab gem (https://github.com/ruby-rdf/rdf-vocab, included in the linkeddata gem) now contains RDF::Vocab::OA, RDF::Vocab::DCMIType and RDF::Vocab::CNT.
+
# rdf-open_annotation
[![Dependency Status](https://gemnasium.com/sul-dlss/rdf-open_annotation.svg)](https://gemnasium.com/sul-dlss/rdf-open_annotation) [![Gem Version](https://badge.fury.io/rb/rdf-open_annotation.svg)](http://badge.fury.io/rb/rdf-open_annotation)
Contains vocabularies to be used by RDF ruby gem https://github.com/ruby-rdf/rdf/ to simplify coding when using OpenAnnotation data.
@@ -7,32 +11,28 @@
## Installation
Add this line to your application's Gemfile:
```ruby
-gem 'rdf-open_annotation'
+gem 'rdf-vocab' # (was rdf-open_annotation)
```
And then execute:
$ bundle
Or install it yourself as:
- $ gem install rdf-open_annotation
+ $ gem install rdf-vocab # (was rdf-open_annotation)
## Usage
- require 'rdf/open_annotation'
-
- RDF::OpenAnnotation.Annotation #=> RDF::URI("http://www.w3.org/ns/oa#Annotation")
- RDF::OpenAnnotation.hasBody #=> RDF::URI("http://www.w3.org/ns/oa#hasBody")
- RDF::Content.chars #=> RDF::URI("http://www.w3.org/2011/content#chars")
- RDF::DCMIType.Text #=> RDF::URI("http://purl.org/dc/dcmitype/Text")
+ require 'rdf/vocab'
-## Contributing
+ RDF::Vocab::OA.Annotation #=> RDF::URI("http://www.w3.org/ns/oa#Annotation")
+ RDF::Vocab::OA.hasBody #=> RDF::URI("http://www.w3.org/ns/oa#hasBody")
+ RDF::Vocab::CNT.chars #=> RDF::URI("http://www.w3.org/2011/content#chars")
+ RDF::Vocab::DCMIType.Text #=> RDF::URI("http://purl.org/dc/dcmitype/Text")
-1. Fork it ( https://github.com/[my-github-username]/rdf-open_annotation/fork )
-2. Create your feature branch (`git checkout -b my-new-feature`)
-3. Commit your changes (`git commit -am 'Add some feature'`)
-4. Push to the branch (`git push origin my-new-feature`)
-5. Create a new Pull Request
+# DEPRECATED
+
+This gem is deprecated; rdf-vocab gem (https://github.com/ruby-rdf/rdf-vocab, included in the linkeddata gem) now contains RDF::Vocab::OA, RDF::Vocab::DCMIType and RDF::Vocab::CNT.