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 +4 -4
- data/README.md +3 -6
- data/lib/hypermicrodata/version.rb +1 -1
- data/lib/hypermicrodata.rb +2 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fbc492deed225506585584389f75bb5a74f0d60d
|
4
|
+
data.tar.gz: d364d4ced028fdb68eee32fa2e4d73cd970ac1f7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
data/lib/hypermicrodata.rb
CHANGED
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.
|
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
|
+
date: 2015-01-20 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: nokogiri
|