Skip to content

Commit

Permalink
Start release 0.2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
gkellogg committed Aug 26, 2012
1 parent 604c667 commit 157eaef
Show file tree
Hide file tree
Showing 7 changed files with 36 additions and 7 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Original file line Diff line number Diff line change
@@ -1,3 +1,4 @@
/.yardoc/ /.yardoc/
/doc/ /doc/
/pkg/ /pkg/
/.rbx/
13 changes: 13 additions & 0 deletions .travis.yml
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,13 @@
language: ruby
bundler_args: --without development
script: "bundle exec rake spec"
env:
- CI=true
rvm:
- ree
- 1.8.7
- 1.9.3
# - jruby-18mode # JRuby in 1.8 mode
# - jruby-19mode # JRuby in 1.9 mode
- rbx-18mode
- rbx-19mode
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ source "http://rubygems.org"


gemspec :name => "" gemspec :name => ""


group :development do group :debug do
gem "wirble" gem "wirble"
end end
10 changes: 6 additions & 4 deletions Gemfile.lock
Original file line number Original file line Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH PATH
remote: . remote: .
specs: specs:
rdf-microdata (0.2.3.1) rdf-microdata (0.2.4)
htmlentities (>= 4.3.0) htmlentities (>= 4.3.0)
json (>= 1.6.1) json (>= 1.6.1)
rdf (>= 0.3.4) rdf (>= 0.3.4)
Expand All @@ -11,12 +11,13 @@ GEM
remote: http://rubygems.org/ remote: http://rubygems.org/
specs: specs:
addressable (2.2.7) addressable (2.2.7)
backports (2.6.2)
diff-lcs (1.1.3) diff-lcs (1.1.3)
equivalent-xml (0.2.9) equivalent-xml (0.2.9)
nokogiri (>= 1.4.3) nokogiri (>= 1.4.3)
htmlentities (4.3.1) htmlentities (4.3.1)
json (1.6.5) json (1.7.3)
json (1.6.5-java) json (1.7.3-java)
nokogiri (1.5.2) nokogiri (1.5.2)
nokogiri (1.5.2-java) nokogiri (1.5.2-java)
promise (0.3.0) promise (0.3.0)
Expand All @@ -28,7 +29,8 @@ GEM
rspec (>= 2.8.0) rspec (>= 2.8.0)
rdf-turtle (0.1.1) rdf-turtle (0.1.1)
rdf (>= 0.3.4) rdf (>= 0.3.4)
rdf-xsd (0.3.5) rdf-xsd (0.3.7)
backports
nokogiri (>= 1.5.0) nokogiri (>= 1.5.0)
rdf (>= 0.3.4) rdf (>= 0.3.4)
rspec (2.8.0) rspec (2.8.0)
Expand Down
9 changes: 9 additions & 0 deletions History.md
Original file line number Original file line Diff line number Diff line change
@@ -1,3 +1,12 @@
### 0.2.5
* If RDFa is loaded, don't assert text/html and :html content-type/extension, as RDFa will call out based on presence of @itemscope

### 0.2.4
* Update contextual case based on LC spec change to use current_name instead of current_type when creating a predicate URI in contextual.
* Add hCard and hCalendar vocabulary definitions.
* Make sure registry_uri is processed for each invocation, allowing it to be passed as a parameter.
* Add --registry argument to script/parse to allow it to be specified.

### 0.2.3 ### 0.2.3
* Update to latest processing rules, including the use of a registry. * Update to latest processing rules, including the use of a registry.
* Updated microdata namespace. * Updated microdata namespace.
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Original file line Diff line number Diff line change
@@ -1 +1 @@
0.2.4 0.2.5
6 changes: 5 additions & 1 deletion lib/rdf/microdata/format.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -15,7 +15,11 @@ module RDF::Microdata
# @see http://www.w3.org/TR/rdf-testcases/#ntriples # @see http://www.w3.org/TR/rdf-testcases/#ntriples
class Format < RDF::Format class Format < RDF::Format
content_encoding 'utf-8' content_encoding 'utf-8'
content_type 'text/html', :extension => :html
# Only define content type if RDFa is not available.
# The Microdata processor will be launched from there
# otherwise.
content_type 'text/html', :extension => :html unless RDF::Format.for(:rdfa)
reader { RDF::Microdata::Reader } reader { RDF::Microdata::Reader }


## ##
Expand Down

0 comments on commit 157eaef

Please sign in to comment.