hypermicrodata 0.2.0 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bc45691f143d5cfcd20199463e9b549565c04b69
4
- data.tar.gz: 2f0c44acf87fa98cc606bf3f292d3c940a2cbf57
3
+ metadata.gz: fbc492deed225506585584389f75bb5a74f0d60d
4
+ data.tar.gz: d364d4ced028fdb68eee32fa2e4d73cd970ac1f7
5
5
  SHA512:
6
- metadata.gz: 2c3b43e8c4ca94990f23827ccd3cb4111e7f98143c5291bb166a4bb3c621dc65065184e826caac6d792ec5b504d0f141dbc5cf6cb9956a90314ad5deb625c824
7
- data.tar.gz: 71df574ab4d757fed7e67e39f3d6e88afdf76a4f416955ebce4c4884d7ca271e4c9cd6f713d5072bad004c154121116034efa1514bed3f7236ce4f42eae02e2a
6
+ metadata.gz: 47420f303ab2b4920e2534dc02e68d8242b44377e790c9829416acb9c0d5cad5b7c0bd8102f69a1cbeb3b80a9bcb2987b29d665a89619f6e28a710079b28a0e4
7
+ data.tar.gz: 8721fa4b9a5650e9bb016fbf93e7cc28179ca44b29a82550d28e73ce14e11845e8a92dfc6f7d34ce051c0014a560633b15f7f6c45a3d7bb35943f081ab75e332
data/README.md CHANGED
@@ -1,17 +1,15 @@
1
1
  # Hypermicrodata
2
2
 
3
- Ruby library for extracting HTML5 Microdata with Hypermedia
3
+ Ruby library for extracting HTML5 Microdata with Hypermedia and converting them into various JSON format.
4
4
 
5
5
  [![Build Status](https://travis-ci.org/tkawa/hypermicrodata.png)](https://travis-ci.org/tkawa/hypermicrodata)
6
6
 
7
- ## Story
7
+ ## Story (from original 'microdata' gem)
8
8
 
9
- Most of the code here was extracted from [Mida](https://github.com/LawrenceWoodman/mida) by Lawrence Woodman. This was done in order to have a simpler, more generic Microdata parser without all the vocabulary awareness and other features. This gem is also tested under Ruby 1.9.3 and Ruby 2.0.0, though it could be better tested.
9
+ > Most of the code here was extracted from [Mida](https://github.com/LawrenceWoodman/mida) by Lawrence Woodman. This was done in order to have a simpler, more generic Microdata parser without all the vocabulary awareness and other features. This gem is also tested under Ruby 1.9.3 and Ruby 2.0.0, though it could be better tested.
10
10
 
11
11
  ## Installation
12
12
 
13
- This library has not been released to RubyGems.org yet, but when it is the intention is to have it install with the following.
14
-
15
13
  Add this line to your application's Gemfile:
16
14
 
17
15
  gem 'hypermicrodata'
@@ -54,7 +52,6 @@ Mime::Type.register 'application/hal+json', :haljson
54
52
 
55
53
  ```
56
54
  class PeopleController < ApplicationController
57
- before_action :set_message, only: %i(show edit update destroy)
58
55
  include Hypermicrodata::Rails::HtmlBasedJsonRenderer
59
56
  ...
60
57
  end
@@ -1,3 +1,3 @@
1
1
  module Hypermicrodata
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.2"
3
3
  end
@@ -1,5 +1,7 @@
1
1
  require "hypermicrodata/version"
2
2
  require "uberous/uber"
3
+ require "forwardable"
4
+ require "halibut"
3
5
  require "nokogiri"
4
6
  require "mechanize"
5
7
  require "hypermicrodata/item"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hypermicrodata
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason Ronallo
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-01-12 00:00:00.000000000 Z
12
+ date: 2015-01-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: nokogiri