link_scout 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 8a5385d9f9549c8b8781318a881af58d531c4d3d
4
+ data.tar.gz: 14467356a96a98f2abd51a2cddaec3cfcc327e42
5
+ SHA512:
6
+ metadata.gz: 98b5ceaaad56e63c6f3487b36221fe016fb5b0e0afda9ae73c548342eb7cd9788976f7b2dde664603ff7afbad03239e081060f370e6393e69b4dcf1ae58da271
7
+ data.tar.gz: 7c0a4c89890112826b999330ddd05a2ce168483e561607b57a92220c733bfff41a73c8423e41c45b2f4e650e2462edfe813f12c1596fa21d6eb9189b0a943570
data/.gitignore ADDED
@@ -0,0 +1,13 @@
1
+ .DS_Store
2
+
3
+ /.bundle/
4
+ /.yardoc
5
+ /_yardoc/
6
+ /coverage/
7
+ /doc/
8
+ /pkg/
9
+ /spec/reports/
10
+ /tmp/
11
+
12
+ # rspec failure tracking
13
+ .rspec_status
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/.travis.yml ADDED
@@ -0,0 +1,5 @@
1
+ sudo: false
2
+ language: ruby
3
+ rvm:
4
+ - 2.4.1
5
+ before_install: gem install bundler -v 1.16.1
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at mike.peuerboeck@savings-united.com. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [http://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: http://contributor-covenant.org
74
+ [version]: http://contributor-covenant.org/version/1/4/
data/Gemfile ADDED
@@ -0,0 +1,10 @@
1
+ source "https://rubygems.org"
2
+
3
+ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
+
5
+ # Specify your gem's dependencies in link_scout.gemspec
6
+ gemspec
7
+
8
+ group :development, :test do
9
+ gem 'pry', '~> 0.11'
10
+ end
data/Gemfile.lock ADDED
@@ -0,0 +1,55 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ link_scout (0.0.1)
5
+ rack (~> 2.0)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ addressable (2.5.2)
11
+ public_suffix (>= 2.0.2, < 4.0)
12
+ coderay (1.1.2)
13
+ crack (0.4.3)
14
+ safe_yaml (~> 1.0.0)
15
+ diff-lcs (1.3)
16
+ hashdiff (0.3.7)
17
+ method_source (0.9.0)
18
+ pry (0.11.3)
19
+ coderay (~> 1.1.0)
20
+ method_source (~> 0.9.0)
21
+ public_suffix (3.0.2)
22
+ rack (2.0.4)
23
+ rake (10.5.0)
24
+ rspec (3.7.0)
25
+ rspec-core (~> 3.7.0)
26
+ rspec-expectations (~> 3.7.0)
27
+ rspec-mocks (~> 3.7.0)
28
+ rspec-core (3.7.1)
29
+ rspec-support (~> 3.7.0)
30
+ rspec-expectations (3.7.0)
31
+ diff-lcs (>= 1.2.0, < 2.0)
32
+ rspec-support (~> 3.7.0)
33
+ rspec-mocks (3.7.0)
34
+ diff-lcs (>= 1.2.0, < 2.0)
35
+ rspec-support (~> 3.7.0)
36
+ rspec-support (3.7.1)
37
+ safe_yaml (1.0.4)
38
+ webmock (3.3.0)
39
+ addressable (>= 2.3.6)
40
+ crack (>= 0.3.2)
41
+ hashdiff
42
+
43
+ PLATFORMS
44
+ ruby
45
+
46
+ DEPENDENCIES
47
+ bundler (~> 1.16)
48
+ link_scout!
49
+ pry (~> 0.11)
50
+ rake (~> 10.0)
51
+ rspec (~> 3.0)
52
+ webmock (~> 3.3)
53
+
54
+ BUNDLED WITH
55
+ 1.16.1
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2018 Mike Peuerböck
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,73 @@
1
+ # LinkScout
2
+
3
+ Welcome to LinkScout gem!
4
+
5
+ LinkScout helps users to find broken links by analysing response code or body.
6
+
7
+ It can take single or multiple URLs as input making it easy to handle link checking in larger batches.
8
+ It can also follow links through redirect chains making sure links eventually work for your users.
9
+
10
+ ## Installation
11
+
12
+ Add this line to your application's Gemfile:
13
+
14
+ ```ruby
15
+ gem 'link_scout'
16
+ ```
17
+
18
+ And then execute:
19
+
20
+ $ bundle
21
+
22
+ Or install it yourself as:
23
+
24
+ $ gem install link_scout
25
+
26
+ ## Usage
27
+ ```ruby
28
+ options = {
29
+ success: 200,
30
+ follow: true,
31
+ limit: 1,
32
+ target: 'http://target.com',
33
+ deeplink_param: 'deeplink',
34
+ pattern: /abc/i,
35
+ antipattern: /cde/i,
36
+ }
37
+ ```
38
+ ### Single URLS
39
+ ```ruby
40
+ LinkScout::run(url, options)
41
+ ```
42
+
43
+ ```ruby
44
+ LinkScout::run(url: url, option: value)
45
+ ```
46
+
47
+ ### Multiple with shared options
48
+ ```ruby
49
+ LinkScout::run([url, url1, url2], options)
50
+ ```
51
+
52
+ ### Multiple with individual options
53
+ ```ruby
54
+ LinkScout::run([{ url: url }, { url: url1, option: value }])
55
+ ```
56
+
57
+ ## Development
58
+
59
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
60
+
61
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
62
+
63
+ ## Contributing
64
+
65
+ Bug reports and pull requests are welcome on GitHub at https://github.com/pcvg/link_scout. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
66
+
67
+ ## License
68
+
69
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
70
+
71
+ ## Code of Conduct
72
+
73
+ Everyone interacting in the LinkScout project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/pcvg/link_scout/blob/master/CODE_OF_CONDUCT.md).
data/Rakefile ADDED
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "link_scout"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start(__FILE__)
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
data/lib/link_scout.rb ADDED
@@ -0,0 +1,25 @@
1
+ require 'net/http'
2
+ require 'uri'
3
+
4
+ require "link_scout/runner"
5
+ require "link_scout/version"
6
+ require "link_scout/errors"
7
+
8
+ module LinkScout
9
+ # takes URLs and options as input and returns a boolean when URL leads to a successful response (true) or not (false).
10
+ # If an array of URLs is provided LinkScout returns the result as an Array like [[url, boolean],[url, boolena]]
11
+ #
12
+ # Expects options with the following keys:
13
+ # - url | URL - The URL to be checked ( only needed when multiple URLS with different options should be checked)
14
+ # - success | String, Array - (Default: 200) - Array of HTTP Status Codes that are considered as successfull, eg. 200,202
15
+ # - follow | Boolean (Default: true) - Follow all redirects and return checks only if the last response is successfull or not
16
+ # - limit | Integer (Default: 10) - Max. number of redirects to follow
17
+ # - target | URL - If provided check if the final response ended at the target url
18
+ # - deeplink_param | String - a param in the url that is considered to be the deeplink, if deeplink_param is found deeplink option is set automatically
19
+ # - pattern | Regex - Return "success" if a given pattern can be found on the response.body, e.g. /^my-pattern/ig
20
+ # - antipattern | Regex - Return "fail" if a given pattern can be found on the response.body, e.g. /^my-anti-pattern/ig
21
+ def self.run(*args)
22
+ LinkScout::Runner.new(args).run
23
+ end
24
+ end
25
+
@@ -0,0 +1,7 @@
1
+ module LinkScout
2
+ # Raised whenever the given params dont match the expected input.
3
+ class InvalidUsageError < RuntimeError; end
4
+
5
+ # Raised on Redirect Loops
6
+ class RedirectLoopError < ArgumentError; end
7
+ end
@@ -0,0 +1,193 @@
1
+ module LinkScout
2
+ class Runner
3
+ DEFAULT_OPTIONS = {
4
+ success: 200,
5
+ limit: 10,
6
+ follow: true
7
+ }
8
+
9
+ def initialize(args)
10
+ @args = args
11
+ end
12
+
13
+ def run
14
+ case
15
+ when single?(@args)
16
+ @options = merge_defaults(@args[1])
17
+ @options[:url] = @args[0]
18
+ run_single
19
+ when single_hash?(@args)
20
+ @options = merge_defaults(@args[0])
21
+ run_single
22
+ when multiple_shared?(@args)
23
+ @options = merge_defaults(@args[1])
24
+ run_multiple_shared(@args[0])
25
+ when multiple_individual?(@args)
26
+ run_multiple(@args[0])
27
+ else
28
+ raise InvalidUsageError, 'Invalid usage of LinkScout::run. Please consult the README for help'
29
+ end
30
+ end
31
+
32
+ private
33
+
34
+ def merge_defaults(options)
35
+ return DEFAULT_OPTIONS unless options.is_a?(Hash)
36
+
37
+ DEFAULT_OPTIONS.merge(options)
38
+ end
39
+
40
+ # Fetches uri_str and tries limit times in case of redirections.
41
+ # @return response
42
+ def fetch(uri_str, limit=nil)
43
+ # set starting limit if limit is not set
44
+ limit ||= @options[:limit].to_i
45
+ retry_count ||= 2
46
+
47
+ # keeps track of previous url in case redirects are done
48
+ @final_uri ||= nil
49
+
50
+ raise RedirectLoopError, 'HTTP redirect too deep for ' + uri_str if limit == 0
51
+
52
+ #uri_str = response['location']
53
+ url = URI.parse(sanitize_uri(uri_str))
54
+ req = Net::HTTP::Get.new(url, user_agent: 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36')
55
+ response = Net::HTTP.start(url.host, url.port, use_ssl: url.scheme == 'https', read_timeout: 30) { |http| http.request(req) }
56
+
57
+ @final_uri = uri_str
58
+
59
+ case response
60
+ when Net::HTTPRedirection
61
+ return response unless follow_redirects?
62
+ fetch(response['location'], limit - 1)
63
+ else
64
+ response
65
+ end
66
+
67
+ rescue Errno::ETIMEDOUT
68
+ [response, true]
69
+ rescue Net::ReadTimeout => e
70
+ retry_count -= 1
71
+ p "Net::ReadTimeout - retry #{retry_count} fetch url " + uri_str and retry if retry_count > 0
72
+
73
+ [response, true]
74
+ rescue NoMethodError => e
75
+ [response, true]
76
+ rescue SocketError
77
+ retry_count -= 1
78
+ p "SocketError - retry #{retry_count} fetch url " + uri_str and retry if retry_count > 0
79
+
80
+ [response, true]
81
+ rescue URI::InvalidURIError
82
+ [response, true]
83
+ end
84
+
85
+ def sanitize_uri(uri_str)
86
+ return scheme_and_domain(@final_uri) if ['/', '//'].include? uri_str
87
+ return scheme_and_domain(@final_uri) + uri_str if uri_str.start_with?('/')
88
+ return scheme_and_domain(@final_uri) + uri_str if uri_str.start_with?('?')
89
+
90
+ uri_str
91
+ end
92
+
93
+ def scheme_and_domain(uri_str)
94
+ uri = URI.parse(uri_str)
95
+ uri.path = ''
96
+ uri.query = nil
97
+
98
+ # ensure that multiple relative redirects still know their domain
99
+ if uri.to_s == ''
100
+ return @last_scheme_and_domain
101
+ end
102
+
103
+ @last_scheme_and_domain = uri.to_s
104
+ end
105
+
106
+ def successfull_response?(response, invalid=false)
107
+ !invalid && \
108
+ status_code_success?(response) && \
109
+ pattern_success?(response, :pattern) && \
110
+ pattern_success?(response, :antipattern) && \
111
+ target_success? && \
112
+ deeplink_success?
113
+ end
114
+
115
+ def follow_redirects?
116
+ @options[:follow] == true
117
+ end
118
+
119
+ def status_code_success?(response)
120
+ [*@options[:success]].map(&:to_s).include?(response.code)
121
+ end
122
+
123
+ def target_success?
124
+ return true if @options[:target].nil?
125
+ @final_uri == @options[:target]
126
+ end
127
+
128
+ def deeplink_success?
129
+ return true if @options[:deeplink_param].nil?
130
+ uri = URI.parse(@options[:url])
131
+ params = Rack::Utils.parse_nested_query(uri.query)
132
+ @final_uri == params[@options[:deeplink_param]]
133
+ end
134
+
135
+ # checks response body against given pattern options:
136
+ # - in any case its a success if the pattern type is not set
137
+ # - in case of :pattern its a success if the content does match
138
+ # - in case of :antipattern its a success if the content does NOT match.
139
+ #
140
+ # @params response, type
141
+ # @return Bool
142
+ def pattern_success?(response, type)
143
+ return true if @options[type].nil?
144
+ success = @options[type].match?(response.body)
145
+
146
+ return !success if type == :antipattern
147
+ success
148
+ end
149
+
150
+ # Usage:
151
+ # LinkScout::run(url, options)
152
+ def single?(args)
153
+ args[0].is_a?(String)
154
+ end
155
+
156
+ # Usage:
157
+ # LinkScout::run(url: url)
158
+ def single_hash?(args)
159
+ args[0].is_a?(Hash) && !args[0][:url].nil?
160
+ end
161
+
162
+ # Usage:
163
+ # LinkScout::run([url: url, url: url1], options)
164
+ def multiple_individual?(args)
165
+ args[0].is_a?(Array) && args[0][0].is_a?(Hash)
166
+ end
167
+
168
+ # Usage:
169
+ # LinkScout::run([url, url1], options)
170
+ def multiple_shared?(args)
171
+ args[0].is_a?(Array) && args[0].first.is_a?(String)
172
+ end
173
+
174
+ def run_single
175
+ successfull_response?(*fetch(@options[:url]))
176
+ end
177
+
178
+ def run_multiple(sets)
179
+ sets.map do |set|
180
+ @options = merge_defaults(set)
181
+ [set[:url], run_single]
182
+ end
183
+ end
184
+
185
+ def run_multiple_shared(urls)
186
+ urls.map do |url|
187
+ @options[:url] = url
188
+
189
+ [url, run_single]
190
+ end
191
+ end
192
+ end
193
+ end
@@ -0,0 +1,3 @@
1
+ module LinkScout
2
+ VERSION = "0.0.2"
3
+ end
@@ -0,0 +1,11 @@
1
+ namespace :link_scout do
2
+ # Rake task to run LinkScout on a single URL
3
+ desc "Run LinkScout"
4
+ task :single do
5
+
6
+ end
7
+
8
+ # Rake task to run LinkScout on multiple URL's
9
+ task :multiple do
10
+ end
11
+ end
@@ -0,0 +1,30 @@
1
+
2
+ lib = File.expand_path("../lib", __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require "link_scout/version"
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "link_scout"
8
+ spec.version = LinkScout::VERSION
9
+ spec.authors = ["Mike Peuerböck", "Ain Tohvri"]
10
+ spec.email = ["mike.peuerboeck@savings-united.com", "ain.tohvri@savings-united.com"]
11
+ spec.summary = %q{LinkScout helps users to find broken links by analysing response code or body.}
12
+ spec.homepage = "https://github.com/pcvg/link_scout"
13
+ spec.license = "MIT"
14
+ spec.description = <<description
15
+ LinkScout helps users to find broken links by analysing response code or body.
16
+ description
17
+
18
+
19
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
20
+ f.match(%r{^(test|spec|features)/})
21
+ end
22
+ spec.require_paths = ["lib"]
23
+
24
+ spec.add_dependency "rack", "~> 2.0"
25
+
26
+ spec.add_development_dependency "bundler", "~> 1.16"
27
+ spec.add_development_dependency "rake", "~> 10.0"
28
+ spec.add_development_dependency "rspec", "~> 3.0"
29
+ spec.add_development_dependency "webmock", "~> 3.3"
30
+ end
metadata ADDED
@@ -0,0 +1,135 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: link_scout
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.2
5
+ platform: ruby
6
+ authors:
7
+ - Mike Peuerböck
8
+ - Ain Tohvri
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2018-04-11 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rack
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - "~>"
19
+ - !ruby/object:Gem::Version
20
+ version: '2.0'
21
+ type: :runtime
22
+ prerelease: false
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - "~>"
26
+ - !ruby/object:Gem::Version
27
+ version: '2.0'
28
+ - !ruby/object:Gem::Dependency
29
+ name: bundler
30
+ requirement: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - "~>"
33
+ - !ruby/object:Gem::Version
34
+ version: '1.16'
35
+ type: :development
36
+ prerelease: false
37
+ version_requirements: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - "~>"
40
+ - !ruby/object:Gem::Version
41
+ version: '1.16'
42
+ - !ruby/object:Gem::Dependency
43
+ name: rake
44
+ requirement: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - "~>"
47
+ - !ruby/object:Gem::Version
48
+ version: '10.0'
49
+ type: :development
50
+ prerelease: false
51
+ version_requirements: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - "~>"
54
+ - !ruby/object:Gem::Version
55
+ version: '10.0'
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.0'
63
+ type: :development
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - "~>"
68
+ - !ruby/object:Gem::Version
69
+ version: '3.0'
70
+ - !ruby/object:Gem::Dependency
71
+ name: webmock
72
+ requirement: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - "~>"
75
+ - !ruby/object:Gem::Version
76
+ version: '3.3'
77
+ type: :development
78
+ prerelease: false
79
+ version_requirements: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - "~>"
82
+ - !ruby/object:Gem::Version
83
+ version: '3.3'
84
+ description: " LinkScout helps users to find broken links by analysing response
85
+ code or body.\n"
86
+ email:
87
+ - mike.peuerboeck@savings-united.com
88
+ - ain.tohvri@savings-united.com
89
+ executables: []
90
+ extensions: []
91
+ extra_rdoc_files: []
92
+ files:
93
+ - ".gitignore"
94
+ - ".rspec"
95
+ - ".travis.yml"
96
+ - CODE_OF_CONDUCT.md
97
+ - Gemfile
98
+ - Gemfile.lock
99
+ - LICENSE.txt
100
+ - README.md
101
+ - Rakefile
102
+ - bin/console
103
+ - bin/setup
104
+ - lib/link_scout.rb
105
+ - lib/link_scout/errors.rb
106
+ - lib/link_scout/runner.rb
107
+ - lib/link_scout/version.rb
108
+ - lib/tasks/link_scout_tasks.rake
109
+ - link_scout.gemspec
110
+ homepage: https://github.com/pcvg/link_scout
111
+ licenses:
112
+ - MIT
113
+ metadata: {}
114
+ post_install_message:
115
+ rdoc_options: []
116
+ require_paths:
117
+ - lib
118
+ required_ruby_version: !ruby/object:Gem::Requirement
119
+ requirements:
120
+ - - ">="
121
+ - !ruby/object:Gem::Version
122
+ version: '0'
123
+ required_rubygems_version: !ruby/object:Gem::Requirement
124
+ requirements:
125
+ - - ">="
126
+ - !ruby/object:Gem::Version
127
+ version: '0'
128
+ requirements: []
129
+ rubyforge_project:
130
+ rubygems_version: 2.6.12
131
+ signing_key:
132
+ specification_version: 4
133
+ summary: LinkScout helps users to find broken links by analysing response code or
134
+ body.
135
+ test_files: []