just_crawl 1.1.8 → 1.1.9

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: 97e1b466ee0a52002c3e35a3f5ed622e5fa7208761dd831fe695c9b3104ed7db
4
- data.tar.gz: 4ded6f28ab8e36e144969fba44f7d017fd0405fa2bece4efeb45f67e9b5985d5
3
+ metadata.gz: ed8550612bd77048fd2286689a0c5eb8dc4e710f9025d4c0eb2d4e6712fbabc1
4
+ data.tar.gz: b2d0e9ad4d9aac8e660854f648bef9ad7bc4b3c3dc6dd98a5f741f6d6f8f7047
5
5
  SHA512:
6
- metadata.gz: b0f0ea51add4876a3b397abb74c0b6a0d4c21585eae7ecdf58069178f38396c6ec9022f96af42dbc69ecb50755d7237d9a533c42777cc6cf9debd977e9362c1e
7
- data.tar.gz: 16a5673b5aa8d7d727de7f4cfbdedb05abbd9dab576738f1bf53ed04494a842626f04a86e0ff59d8515879dbe7225938479fd0b3a7927991964f853d4f5bebba
6
+ metadata.gz: 6ae508a0e225558f7b0ee849b666878746954489eb95afd50b33f2235c4bba79f8169dad8c89160f08695143be17c01d76a39b16e0e64abc75a4a8ad02bed525
7
+ data.tar.gz: b1f0d366fe0ba1e71119c12619ae8d4ead94885b7adda988cfdbb54974908e21e6a23cc4001e002f9116f65e1cf7289409c17ef7c3ed3fdfea93c63ab60eb062
data/README.md CHANGED
@@ -1,3 +1,5 @@
1
+ [![Maintainability](https://api.codeclimate.com/v1/badges/b80b16674ad2bbc4e8d9/maintainability)](https://codeclimate.com/github/nisevi/just_crawl/maintainability) [![Test Coverage](https://api.codeclimate.com/v1/badges/b80b16674ad2bbc4e8d9/test_coverage)](https://codeclimate.com/github/nisevi/just_crawl/test_coverage) [![Build Status](https://semaphoreci.com/api/v1/nisevi/just_crawl/branches/master/shields_badge.svg)](https://semaphoreci.com/nisevi/just_crawl)
2
+
1
3
  # JustCrawl
2
4
 
3
5
  JustCrawl crawls pages within a domain, reporting any page that returns a bad response code
data/Rakefile CHANGED
@@ -1,2 +1,4 @@
1
1
  #!/usr/bin/env rake
2
- require "bundler/gem_tasks"
2
+ # frozen_string_literal: true
3
+
4
+ require 'bundler/gem_tasks'
data/bin/just_crawl CHANGED
@@ -1,4 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
2
4
  require 'optparse'
3
5
  require_relative '../lib/just_crawl.rb'
4
6
 
data/just_crawl.gemspec CHANGED
@@ -1,4 +1,6 @@
1
- require File.expand_path('../lib/just_crawl/version', __FILE__)
1
+ # frozen_string_literal: true
2
+
3
+ require File.expand_path('lib/just_crawl/version', __dir__)
2
4
 
3
5
  Gem::Specification.new do |gem|
4
6
  gem.authors = ['Nicolas Sebastian Vidal']
data/lib/just_crawl.rb CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'nokogiri'
2
4
  require 'rest_client'
3
5
  require 'eventmachine'
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  class JustCrawl::Engine
2
4
  DEFAULT_OPTIONS = {
3
5
  domain: '',
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  class JustCrawl::Failure
2
4
  attr_reader :link, :code, :from
3
5
 
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'uri'
2
4
 
3
5
  class Page
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  class JustCrawl::Register
2
4
 
3
5
  Result = Struct.new(:url, :object)
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  class String
2
4
  def word_wrap(line_width = 80)
3
5
  split("\n").collect do |line|
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module JustCrawl
2
- VERSION = '1.1.8'.freeze
4
+ VERSION = '1.1.9'
3
5
  end
@@ -3,6 +3,6 @@ require_relative '../../../lib/just_crawl/version'
3
3
 
4
4
  RSpec.describe 'Gem version' do
5
5
  it 'should match the current gem version' do
6
- expect(JustCrawl::VERSION).to eq '1.1.8'
6
+ expect(JustCrawl::VERSION).to eq '1.1.9'
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: just_crawl
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.8
4
+ version: 1.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nicolas Sebastian Vidal
@@ -168,7 +168,6 @@ files:
168
168
  - README.md
169
169
  - Rakefile
170
170
  - bin/just_crawl
171
- - circle.yml
172
171
  - just_crawl.gemspec
173
172
  - lib/just_crawl.rb
174
173
  - lib/just_crawl/engine.rb
data/circle.yml DELETED
@@ -1,3 +0,0 @@
1
- test:
2
- override:
3
- - RAILS_ENV=test bundle exec rspec -r rspec_junit_formatter --format RspecJunitFormatter -o $CIRCLE_TEST_REPORTS/rspec/junit.xml