open_graph_reader 0.6.2 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -496,4 +496,12 @@ DESCRIPTION
496
496
  expect(object.og.description).to be_nil
497
497
  end
498
498
  end
499
+
500
+ describe "just_other_prefix" do
501
+ it "parses" do
502
+ expect {
503
+ object = OpenGraphReader.parse! fixture_html "real_world/just_other_prefix"
504
+ }.to raise_error OpenGraphReader::NoOpenGraphDataError
505
+ end
506
+ end
499
507
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: open_graph_reader
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.2
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonne Haß
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-02 00:00:00.000000000 Z
11
+ date: 2019-08-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '1.7'
47
+ version: '2.0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '1.7'
54
+ version: '2.0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rake
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -86,14 +86,14 @@ dependencies:
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '2.3'
89
+ version: '3.6'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: '2.3'
96
+ version: '3.6'
97
97
  description: A library to fetch and parse OpenGraph properties from an URL or a given
98
98
  string.
99
99
  email:
@@ -171,6 +171,7 @@ files:
171
171
  - spec/fixtures/real_world/image_path_2.html
172
172
  - spec/fixtures/real_world/invalid_article_author.html
173
173
  - spec/fixtures/real_world/invalid_datetime.html
174
+ - spec/fixtures/real_world/just_other_prefix.html
174
175
  - spec/fixtures/real_world/missing_content.html
175
176
  - spec/fixtures/real_world/missing_image.html
176
177
  - spec/fixtures/real_world/missing_title.html
@@ -209,7 +210,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
209
210
  version: '0'
210
211
  requirements: []
211
212
  rubyforge_project:
212
- rubygems_version: 2.6.8
213
+ rubygems_version: 2.6.14.4
213
214
  signing_key:
214
215
  specification_version: 4
215
216
  summary: OpenGraph protocol parser
@@ -265,6 +266,7 @@ test_files:
265
266
  - spec/fixtures/real_world/image_path_2.html
266
267
  - spec/fixtures/real_world/invalid_article_author.html
267
268
  - spec/fixtures/real_world/invalid_datetime.html
269
+ - spec/fixtures/real_world/just_other_prefix.html
268
270
  - spec/fixtures/real_world/missing_content.html
269
271
  - spec/fixtures/real_world/missing_image.html
270
272
  - spec/fixtures/real_world/missing_title.html