open_graphy 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +14 -0
- data/.rspec +2 -0
- data/.ruby-version +1 -0
- data/.travis.yml +6 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +68 -0
- data/Rakefile +12 -0
- data/lib/open_graphy/configuration.rb +11 -0
- data/lib/open_graphy/fetcher.rb +67 -0
- data/lib/open_graphy/meta_tag.rb +31 -0
- data/lib/open_graphy/meta_tags.rb +88 -0
- data/lib/open_graphy/tag_namespace.rb +40 -0
- data/lib/open_graphy/uri.rb +18 -0
- data/lib/open_graphy/url.rb +40 -0
- data/lib/open_graphy/url_validator.rb +11 -0
- data/lib/open_graphy/version.rb +3 -0
- data/lib/open_graphy.rb +26 -0
- data/open_graphy.gemspec +26 -0
- data/spec/cassettes/google/404.yml +117 -0
- data/spec/cassettes/imdb/tt2084970.yml +4297 -0
- data/spec/cassettes/onthebeach/deals.yml +1783 -0
- data/spec/cassettes/pinterest/pin.yml +19844 -0
- data/spec/cassettes/tripadvisor/hotel.yml +7695 -0
- data/spec/lib/open_graphy/configuration_spec.rb +22 -0
- data/spec/lib/open_graphy/fetcher_spec.rb +48 -0
- data/spec/lib/open_graphy/meta_tag_spec.rb +51 -0
- data/spec/lib/open_graphy/meta_tags_spec.rb +63 -0
- data/spec/lib/open_graphy/tag_namespace_spec.rb +55 -0
- data/spec/lib/open_graphy/uri_spec.rb +21 -0
- data/spec/lib/open_graphy/url_spec.rb +35 -0
- data/spec/lib/open_graphy/url_validator_spec.rb +22 -0
- data/spec/open_graphy_spec.rb +98 -0
- data/spec/spec_helper.rb +98 -0
- data/spec/support/fixtures/groundhog_day.html +4370 -0
- metadata +181 -0
metadata
ADDED
@@ -0,0 +1,181 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: open_graphy
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Craig Bradley
|
8
|
+
- James Cotterill
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2016-08-05 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: bundler
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
requirements:
|
18
|
+
- - "~>"
|
19
|
+
- !ruby/object:Gem::Version
|
20
|
+
version: '1.7'
|
21
|
+
type: :development
|
22
|
+
prerelease: false
|
23
|
+
version_requirements: !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
25
|
+
- - "~>"
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
version: '1.7'
|
28
|
+
- !ruby/object:Gem::Dependency
|
29
|
+
name: rake
|
30
|
+
requirement: !ruby/object:Gem::Requirement
|
31
|
+
requirements:
|
32
|
+
- - "~>"
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: '10.0'
|
35
|
+
type: :development
|
36
|
+
prerelease: false
|
37
|
+
version_requirements: !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
39
|
+
- - "~>"
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: '10.0'
|
42
|
+
- !ruby/object:Gem::Dependency
|
43
|
+
name: nokogiri
|
44
|
+
requirement: !ruby/object:Gem::Requirement
|
45
|
+
requirements:
|
46
|
+
- - "~>"
|
47
|
+
- !ruby/object:Gem::Version
|
48
|
+
version: '1.6'
|
49
|
+
type: :development
|
50
|
+
prerelease: false
|
51
|
+
version_requirements: !ruby/object:Gem::Requirement
|
52
|
+
requirements:
|
53
|
+
- - "~>"
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: '1.6'
|
56
|
+
- !ruby/object:Gem::Dependency
|
57
|
+
name: rspec
|
58
|
+
requirement: !ruby/object:Gem::Requirement
|
59
|
+
requirements:
|
60
|
+
- - "~>"
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '3.1'
|
63
|
+
type: :development
|
64
|
+
prerelease: false
|
65
|
+
version_requirements: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - "~>"
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '3.1'
|
70
|
+
- !ruby/object:Gem::Dependency
|
71
|
+
name: vcr
|
72
|
+
requirement: !ruby/object:Gem::Requirement
|
73
|
+
requirements:
|
74
|
+
- - "~>"
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: '2.9'
|
77
|
+
type: :development
|
78
|
+
prerelease: false
|
79
|
+
version_requirements: !ruby/object:Gem::Requirement
|
80
|
+
requirements:
|
81
|
+
- - "~>"
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: '2.9'
|
84
|
+
- !ruby/object:Gem::Dependency
|
85
|
+
name: webmock
|
86
|
+
requirement: !ruby/object:Gem::Requirement
|
87
|
+
requirements:
|
88
|
+
- - "~>"
|
89
|
+
- !ruby/object:Gem::Version
|
90
|
+
version: '1.20'
|
91
|
+
type: :development
|
92
|
+
prerelease: false
|
93
|
+
version_requirements: !ruby/object:Gem::Requirement
|
94
|
+
requirements:
|
95
|
+
- - "~>"
|
96
|
+
- !ruby/object:Gem::Version
|
97
|
+
version: '1.20'
|
98
|
+
description: A simple ruby wrapper for the open graph protocol
|
99
|
+
email:
|
100
|
+
- craig.bradley@onthebeach.co.uk
|
101
|
+
- james.cotterill@onthebeach.co.uk
|
102
|
+
executables: []
|
103
|
+
extensions: []
|
104
|
+
extra_rdoc_files: []
|
105
|
+
files:
|
106
|
+
- ".gitignore"
|
107
|
+
- ".rspec"
|
108
|
+
- ".ruby-version"
|
109
|
+
- ".travis.yml"
|
110
|
+
- Gemfile
|
111
|
+
- LICENSE.txt
|
112
|
+
- README.md
|
113
|
+
- Rakefile
|
114
|
+
- lib/open_graphy.rb
|
115
|
+
- lib/open_graphy/configuration.rb
|
116
|
+
- lib/open_graphy/fetcher.rb
|
117
|
+
- lib/open_graphy/meta_tag.rb
|
118
|
+
- lib/open_graphy/meta_tags.rb
|
119
|
+
- lib/open_graphy/tag_namespace.rb
|
120
|
+
- lib/open_graphy/uri.rb
|
121
|
+
- lib/open_graphy/url.rb
|
122
|
+
- lib/open_graphy/url_validator.rb
|
123
|
+
- lib/open_graphy/version.rb
|
124
|
+
- open_graphy.gemspec
|
125
|
+
- spec/cassettes/google/404.yml
|
126
|
+
- spec/cassettes/imdb/tt2084970.yml
|
127
|
+
- spec/cassettes/onthebeach/deals.yml
|
128
|
+
- spec/cassettes/pinterest/pin.yml
|
129
|
+
- spec/cassettes/tripadvisor/hotel.yml
|
130
|
+
- spec/lib/open_graphy/configuration_spec.rb
|
131
|
+
- spec/lib/open_graphy/fetcher_spec.rb
|
132
|
+
- spec/lib/open_graphy/meta_tag_spec.rb
|
133
|
+
- spec/lib/open_graphy/meta_tags_spec.rb
|
134
|
+
- spec/lib/open_graphy/tag_namespace_spec.rb
|
135
|
+
- spec/lib/open_graphy/uri_spec.rb
|
136
|
+
- spec/lib/open_graphy/url_spec.rb
|
137
|
+
- spec/lib/open_graphy/url_validator_spec.rb
|
138
|
+
- spec/open_graphy_spec.rb
|
139
|
+
- spec/spec_helper.rb
|
140
|
+
- spec/support/fixtures/groundhog_day.html
|
141
|
+
homepage:
|
142
|
+
licenses:
|
143
|
+
- MIT
|
144
|
+
metadata: {}
|
145
|
+
post_install_message:
|
146
|
+
rdoc_options: []
|
147
|
+
require_paths:
|
148
|
+
- lib
|
149
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
150
|
+
requirements:
|
151
|
+
- - ">="
|
152
|
+
- !ruby/object:Gem::Version
|
153
|
+
version: '0'
|
154
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
155
|
+
requirements:
|
156
|
+
- - ">="
|
157
|
+
- !ruby/object:Gem::Version
|
158
|
+
version: '0'
|
159
|
+
requirements: []
|
160
|
+
rubyforge_project:
|
161
|
+
rubygems_version: 2.5.1
|
162
|
+
signing_key:
|
163
|
+
specification_version: 4
|
164
|
+
summary: Open Graph Protocol wrapper
|
165
|
+
test_files:
|
166
|
+
- spec/cassettes/google/404.yml
|
167
|
+
- spec/cassettes/imdb/tt2084970.yml
|
168
|
+
- spec/cassettes/onthebeach/deals.yml
|
169
|
+
- spec/cassettes/pinterest/pin.yml
|
170
|
+
- spec/cassettes/tripadvisor/hotel.yml
|
171
|
+
- spec/lib/open_graphy/configuration_spec.rb
|
172
|
+
- spec/lib/open_graphy/fetcher_spec.rb
|
173
|
+
- spec/lib/open_graphy/meta_tag_spec.rb
|
174
|
+
- spec/lib/open_graphy/meta_tags_spec.rb
|
175
|
+
- spec/lib/open_graphy/tag_namespace_spec.rb
|
176
|
+
- spec/lib/open_graphy/uri_spec.rb
|
177
|
+
- spec/lib/open_graphy/url_spec.rb
|
178
|
+
- spec/lib/open_graphy/url_validator_spec.rb
|
179
|
+
- spec/open_graphy_spec.rb
|
180
|
+
- spec/spec_helper.rb
|
181
|
+
- spec/support/fixtures/groundhog_day.html
|