metainspector 5.11.2 → 5.12.0

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
  SHA256:
3
- metadata.gz: 8508f38adaf43e789f0ec8f966384749fc9e372dc98f0a4ee4f20f5b1abbbd71
4
- data.tar.gz: a97d211784760153c28826b7f4a5c7f3f57d55746aa53680553a50bbeb388c07
3
+ metadata.gz: 7fc7d7579a1cd396d05264acebeeff759d80011a9fdb51f595b1cecccf47ac75
4
+ data.tar.gz: a1ec58df5849aed74d135b7385228545620a503d3f06ba4931316df73744b076
5
5
  SHA512:
6
- metadata.gz: ed7c4c4103648c7debedc89cdf8c34dcbfaff369308133ea04895971cf948aa55086767c224bf1b0f8ded7aa7139ad363898c166585089be0f180e7ae132a78c
7
- data.tar.gz: e5ec04d99b161701187b1296a78e7d940d8b4c725cbf3e58c59a9c2e5d10d993a3ed95d24b09b180b10043314cce7ae07541102899660027a104a3672b80dab7
6
+ metadata.gz: 1b84ee3ff7c2d17c486ac539ed70f90788537a887737e30908bf5182cbc305e329e3df0bcca8b40e50a38def7c98f3c14dd8463169676ac2ab9dfd319168c245
7
+ data.tar.gz: c9609707ff754adb358a3da22d3ae1f9b01ef33742f062633fe7313b46df49633a59d323a6a2aa030b19a7b263281c47a1fddbdb6b4bc1898f9c52f85be05c26
@@ -0,0 +1,38 @@
1
+ version: 2.1
2
+ orbs:
3
+ ruby: circleci/ruby@1.0.4
4
+ jobs:
5
+ test_2_6:
6
+ docker:
7
+ - image: cimg/ruby:2.6.9
8
+ steps:
9
+ - checkout
10
+ - ruby/install-deps
11
+ - run:
12
+ name: Run tests
13
+ command: bundle exec rake
14
+ test_2_7:
15
+ docker:
16
+ - image: cimg/ruby:2.7.5
17
+ steps:
18
+ - checkout
19
+ - ruby/install-deps
20
+ - run:
21
+ name: Run tests
22
+ command: bundle exec rake
23
+ test_3_0:
24
+ docker:
25
+ - image: cimg/ruby:3.0.3
26
+ steps:
27
+ - checkout
28
+ - ruby/install-deps
29
+ - run:
30
+ name: Run tests
31
+ command: bundle exec rake
32
+ workflows:
33
+ version: 2
34
+ deploy:
35
+ jobs:
36
+ - test_2_6
37
+ - test_2_7
38
+ - test_3_0
@@ -0,0 +1,7 @@
1
+ version: 2
2
+ updates:
3
+ # bundler
4
+ - package-ecosystem: "bundler"
5
+ directory: "/"
6
+ schedule:
7
+ interval: "daily"
data/.gitignore CHANGED
@@ -4,9 +4,8 @@
4
4
  .ruby-version
5
5
  .ruby-gemset
6
6
  .rspec
7
- Gemfile.lock
8
7
  pkg/*
9
8
  .idea/
10
9
  .rubocop_todo.yml
11
10
  .rubocop.yml
12
- .tool-versions
11
+ .tool-versions
data/Gemfile.lock ADDED
@@ -0,0 +1,131 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ metainspector (5.11.2)
5
+ addressable (~> 2.7)
6
+ faraday (>= 1.4, < 3.0)
7
+ faraday-cookie_jar (~> 0.0)
8
+ faraday-encoding (~> 0.0)
9
+ faraday-http-cache (~> 2.2)
10
+ faraday_middleware (~> 1.0)
11
+ fastimage (~> 2.2)
12
+ nesty (~> 1.0)
13
+ nokogiri (~> 1.11)
14
+
15
+ GEM
16
+ remote: http://rubygems.org/
17
+ specs:
18
+ addressable (2.8.0)
19
+ public_suffix (>= 2.0.2, < 5.0)
20
+ ast (2.4.2)
21
+ awesome_print (1.9.2)
22
+ coderay (1.1.3)
23
+ crack (0.4.5)
24
+ rexml
25
+ diff-lcs (1.5.0)
26
+ domain_name (0.5.20190701)
27
+ unf (>= 0.0.5, < 1.0.0)
28
+ faraday (1.10.0)
29
+ faraday-em_http (~> 1.0)
30
+ faraday-em_synchrony (~> 1.0)
31
+ faraday-excon (~> 1.1)
32
+ faraday-httpclient (~> 1.0)
33
+ faraday-multipart (~> 1.0)
34
+ faraday-net_http (~> 1.0)
35
+ faraday-net_http_persistent (~> 1.0)
36
+ faraday-patron (~> 1.0)
37
+ faraday-rack (~> 1.0)
38
+ faraday-retry (~> 1.0)
39
+ ruby2_keywords (>= 0.0.4)
40
+ faraday-cookie_jar (0.0.7)
41
+ faraday (>= 0.8.0)
42
+ http-cookie (~> 1.0.0)
43
+ faraday-em_http (1.0.0)
44
+ faraday-em_synchrony (1.0.0)
45
+ faraday-encoding (0.0.5)
46
+ faraday
47
+ faraday-excon (1.1.0)
48
+ faraday-http-cache (2.2.0)
49
+ faraday (>= 0.8)
50
+ faraday-httpclient (1.0.1)
51
+ faraday-multipart (1.0.3)
52
+ multipart-post (>= 1.2, < 3)
53
+ faraday-net_http (1.0.1)
54
+ faraday-net_http_persistent (1.2.0)
55
+ faraday-patron (1.0.0)
56
+ faraday-rack (1.0.0)
57
+ faraday-retry (1.0.3)
58
+ faraday_middleware (1.2.0)
59
+ faraday (~> 1.0)
60
+ fastimage (2.2.6)
61
+ hashdiff (1.0.1)
62
+ http-cookie (1.0.4)
63
+ domain_name (~> 0.5)
64
+ method_source (1.0.0)
65
+ mini_portile2 (2.8.0)
66
+ multipart-post (2.1.1)
67
+ nesty (1.0.2)
68
+ nokogiri (1.13.3)
69
+ mini_portile2 (~> 2.8.0)
70
+ racc (~> 1.4)
71
+ parallel (1.22.1)
72
+ parser (3.1.1.0)
73
+ ast (~> 2.4.1)
74
+ pry (0.14.1)
75
+ coderay (~> 1.1)
76
+ method_source (~> 1.0)
77
+ public_suffix (4.0.6)
78
+ racc (1.6.0)
79
+ rainbow (3.1.1)
80
+ rake (13.0.6)
81
+ regexp_parser (2.2.1)
82
+ rexml (3.2.5)
83
+ rspec (3.11.0)
84
+ rspec-core (~> 3.11.0)
85
+ rspec-expectations (~> 3.11.0)
86
+ rspec-mocks (~> 3.11.0)
87
+ rspec-core (3.11.0)
88
+ rspec-support (~> 3.11.0)
89
+ rspec-expectations (3.11.0)
90
+ diff-lcs (>= 1.2.0, < 2.0)
91
+ rspec-support (~> 3.11.0)
92
+ rspec-mocks (3.11.0)
93
+ diff-lcs (>= 1.2.0, < 2.0)
94
+ rspec-support (~> 3.11.0)
95
+ rspec-support (3.11.0)
96
+ rubocop (1.26.1)
97
+ parallel (~> 1.10)
98
+ parser (>= 3.1.0.0)
99
+ rainbow (>= 2.2.2, < 4.0)
100
+ regexp_parser (>= 1.8, < 3.0)
101
+ rexml
102
+ rubocop-ast (>= 1.16.0, < 2.0)
103
+ ruby-progressbar (~> 1.7)
104
+ unicode-display_width (>= 1.4.0, < 3.0)
105
+ rubocop-ast (1.16.0)
106
+ parser (>= 3.1.1.0)
107
+ ruby-progressbar (1.11.0)
108
+ ruby2_keywords (0.0.5)
109
+ unf (0.1.4)
110
+ unf_ext
111
+ unf_ext (0.0.8.1)
112
+ unicode-display_width (2.1.0)
113
+ webmock (3.14.0)
114
+ addressable (>= 2.8.0)
115
+ crack (>= 0.3.2)
116
+ hashdiff (>= 0.4.0, < 2.0.0)
117
+
118
+ PLATFORMS
119
+ ruby
120
+
121
+ DEPENDENCIES
122
+ awesome_print (~> 1.9)
123
+ metainspector!
124
+ pry (~> 0.14)
125
+ rake (~> 13.0)
126
+ rspec (~> 3.10)
127
+ rubocop (~> 1.16)
128
+ webmock (~> 3.13)
129
+
130
+ BUNDLED WITH
131
+ 2.2.32
data/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
  # MetaInspector
2
- [![Gem Version](https://badge.fury.io/rb/metainspector.svg)](http://badge.fury.io/rb/metainspector) [![Build Status](https://secure.travis-ci.org/jaimeiniesta/metainspector.png)](http://travis-ci.org/jaimeiniesta/metainspector) [![SemVer](https://api.dependabot.com/badges/compatibility_score?dependency-name=metainspector&package-manager=bundler&version-scheme=semver)](https://dependabot.com/compatibility-score.html?dependency-name=metainspector&package-manager=bundler&version-scheme=semver) [![Code Climate](https://codeclimate.com/github/jaimeiniesta/metainspector/badges/gpa.svg)](https://codeclimate.com/github/jaimeiniesta/metainspector) [![Mentioned in Awesome Ruby](https://awesome.re/mentioned-badge.svg)](https://github.com/markets/awesome-ruby)
2
+ [![Gem Version](https://badge.fury.io/rb/metainspector.svg)](http://badge.fury.io/rb/metainspector) [![CircleCI](https://circleci.com/gh/metainspector/metainspector.svg?style=svg)](https://circleci.com/gh/metainspector/metainspector) [![Code Climate](https://codeclimate.com/github/jaimeiniesta/metainspector/badges/gpa.svg)](https://codeclimate.com/github/jaimeiniesta/metainspector) [![Mentioned in Awesome Ruby](https://awesome.re/mentioned-badge.svg)](https://github.com/markets/awesome-ruby)
3
3
 
4
4
  MetaInspector is a gem for web scraping purposes.
5
5
 
@@ -70,7 +70,7 @@ module MetaInspector
70
70
 
71
71
  if @faraday_http_cache.is_a?(Hash)
72
72
  @faraday_http_cache[:serializer] ||= Marshal
73
- faraday.use Faraday::HttpCache, @faraday_http_cache
73
+ faraday.use Faraday::HttpCache, **@faraday_http_cache
74
74
  end
75
75
 
76
76
  faraday.headers.merge!(@headers || {})
@@ -1,3 +1,3 @@
1
1
  module MetaInspector
2
- VERSION = '5.11.2'
2
+ VERSION = '5.12.0'
3
3
  end
@@ -15,7 +15,7 @@ Gem::Specification.new do |gem|
15
15
  gem.version = MetaInspector::VERSION
16
16
 
17
17
  gem.add_dependency 'nokogiri', '~> 1.11'
18
- gem.add_dependency 'faraday', '~> 1.4'
18
+ gem.add_dependency 'faraday', '>= 1.4', '< 3.0'
19
19
  gem.add_dependency 'faraday_middleware', '~> 1.0'
20
20
  gem.add_dependency 'faraday-cookie_jar', '~> 0.0'
21
21
  gem.add_dependency 'faraday-http-cache', '~> 2.2'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metainspector
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.11.2
4
+ version: 5.12.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jaime Iniesta
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-07-13 00:00:00.000000000 Z
11
+ date: 2022-04-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri
@@ -28,16 +28,22 @@ dependencies:
28
28
  name: faraday
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '1.4'
34
+ - - "<"
35
+ - !ruby/object:Gem::Version
36
+ version: '3.0'
34
37
  type: :runtime
35
38
  prerelease: false
36
39
  version_requirements: !ruby/object:Gem::Requirement
37
40
  requirements:
38
- - - "~>"
41
+ - - ">="
39
42
  - !ruby/object:Gem::Version
40
43
  version: '1.4'
44
+ - - "<"
45
+ - !ruby/object:Gem::Version
46
+ version: '3.0'
41
47
  - !ruby/object:Gem::Dependency
42
48
  name: faraday_middleware
43
49
  requirement: !ruby/object:Gem::Requirement
@@ -227,13 +233,15 @@ executables: []
227
233
  extensions: []
228
234
  extra_rdoc_files: []
229
235
  files:
236
+ - ".circleci/config.yml"
230
237
  - ".github/FUNDING.yml"
238
+ - ".github/dependabot.yml"
231
239
  - ".gitignore"
232
240
  - ".rspec.example"
233
241
  - ".rubocop.yml.example"
234
- - ".travis.yml"
235
242
  - CHANGELOG.md
236
243
  - Gemfile
244
+ - Gemfile.lock
237
245
  - MIT-LICENSE
238
246
  - README.md
239
247
  - Rakefile
@@ -352,7 +360,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
352
360
  - !ruby/object:Gem::Version
353
361
  version: '0'
354
362
  requirements: []
355
- rubygems_version: 3.2.15
363
+ rubygems_version: 3.2.32
356
364
  signing_key:
357
365
  specification_version: 4
358
366
  summary: MetaInspector is a ruby gem for web scraping purposes, that returns metadata
data/.travis.yml DELETED
@@ -1,5 +0,0 @@
1
- script: "bundle exec rspec -b"
2
- rvm:
3
- - 2.5.8
4
- - 2.6.6
5
- - 2.7.1