is_crawler 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -1,6 +1,7 @@
1
1
  # IsCrawler
2
+ [![Gem Version](https://badge.fury.io/rb/is_crawler.png)](http://badge.fury.io/rb/is_crawler) [![Code Climate](https://codeclimate.com/github/ccashwell/is_crawler.png)](https://codeclimate.com/github/ccashwell/is_crawler) [![Build Status](https://travis-ci.org/ccashwell/is_crawler.png?branch=master)](https://travis-ci.org/ccashwell/is_crawler)
2
3
 
3
- is\_crawler does exactly what you might think it does: determine if the current request is coming from a crawler or bot.
4
+ is\_crawler does exactly what you might think it does: determine if the supplied string matches a known crawler or bot.
4
5
 
5
6
  ## Installation
6
7
 
data/Rakefile CHANGED
@@ -1 +1,6 @@
1
1
  require "bundler/gem_tasks"
2
+ require 'rspec/core/rake_task'
3
+
4
+ RSpec::Core::RakeTask.new(:test)
5
+
6
+ task default: [:test, :build]
data/is_crawler.gemspec CHANGED
@@ -8,7 +8,7 @@ Gem::Specification.new do |gem|
8
8
  gem.version = IsCrawler::VERSION
9
9
  gem.authors = ["Chris Cashwell"]
10
10
  gem.email = ["ccashwell@gmail.com"]
11
- gem.description = %q{is_crawler does just what you might expect: detect whether the current request is from a crawler.}
11
+ gem.description = %q{is_crawler does exactly what you might think it does: determine if the supplied string matches a known crawler or bot.}
12
12
  gem.summary = %q{Simple, effective crawler and bot detection.}
13
13
  gem.homepage = "http://github.com/ccashwell/is_crawler"
14
14
 
@@ -17,5 +17,6 @@ Gem::Specification.new do |gem|
17
17
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
18
18
  gem.require_paths = ["lib"]
19
19
 
20
+ gem.add_development_dependency "rake"
20
21
  gem.add_development_dependency "rspec"
21
22
  end
@@ -1,3 +1,3 @@
1
1
  module IsCrawler
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: is_crawler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,8 +9,24 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-02-27 00:00:00.000000000 Z
12
+ date: 2013-02-28 00:00:00.000000000 Z
13
13
  dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rake
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
22
+ type: :development
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: '0'
14
30
  - !ruby/object:Gem::Dependency
15
31
  name: rspec
16
32
  requirement: !ruby/object:Gem::Requirement
@@ -27,8 +43,8 @@ dependencies:
27
43
  - - ! '>='
28
44
  - !ruby/object:Gem::Version
29
45
  version: '0'
30
- description: ! 'is_crawler does just what you might expect: detect whether the current
31
- request is from a crawler.'
46
+ description: ! 'is_crawler does exactly what you might think it does: determine if
47
+ the supplied string matches a known crawler or bot.'
32
48
  email:
33
49
  - ccashwell@gmail.com
34
50
  executables: []
@@ -58,12 +74,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
58
74
  - - ! '>='
59
75
  - !ruby/object:Gem::Version
60
76
  version: '0'
77
+ segments:
78
+ - 0
79
+ hash: 839210596183111383
61
80
  required_rubygems_version: !ruby/object:Gem::Requirement
62
81
  none: false
63
82
  requirements:
64
83
  - - ! '>='
65
84
  - !ruby/object:Gem::Version
66
85
  version: '0'
86
+ segments:
87
+ - 0
88
+ hash: 839210596183111383
67
89
  requirements: []
68
90
  rubyforge_project:
69
91
  rubygems_version: 1.8.24