user_agent_randomizer 0.1.0 → 0.1.1

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
  SHA1:
3
- metadata.gz: e53f295bf18f538dd10b977114e4b4c6c7e33277
4
- data.tar.gz: 0410fa39098c99c586ccf05877b46c387d5b7812
3
+ metadata.gz: 13e2aa3c79f26a0d8a62d82199fe74b9c5142946
4
+ data.tar.gz: ef7c620e62057a11659ada3cefe5af283de78ffb
5
5
  SHA512:
6
- metadata.gz: d948ddd3423a0a90e7997dca87933fd6596fd1e20e5f432cb8fe7ac43c547bb7e93b086a8e65b6181e74d26be1ba4e92de8c5d670cc0cf61e4cd7c53ac04c562
7
- data.tar.gz: a3eedb8c1a78e9316c56d1918e0c726306b62cb92c3e806922d1807e9c763fc8c79e091f3b923a92be71a9d7b9bc22cc2e9775a22e13b4e03b6c7d1bc1781b4a
6
+ metadata.gz: 95e3aa9a4c3cb6a7b1d8588b4b7d027bed10e6105ac3ab9ec5e7c1cff3e1d6a4a69829a44b1cb28aaeb9c85f25ae41ac48685e1a8f6c2e1da5d1b427809d8efa
7
+ data.tar.gz: 6c79874ebd3c022b723c78ae916f31df557129599e6a294191913b62c233207079ccabf3de1a458adb9152765f260354bd7feaf8fd99b38f48c3265e70ca54bd
data/.travis.yml CHANGED
@@ -1,13 +1,8 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 1.8.6
4
- - 1.8.7
5
- - 1.9.1
6
3
  - 1.9.2
7
4
  - 1.9.3
8
5
  - 2.0.0
9
6
  - 2.1.1
10
7
  - 2.1.2
11
- - jruby-1.6.8
12
8
  - jruby-1.7.12
13
-
data/README.md CHANGED
@@ -1,8 +1,10 @@
1
1
  # UserAgentRandomizer
2
2
 
3
- [![Build Status](https://travis-ci.org/asconix/user_agent_randomizer.png?branch=master)](https://travis-ci.org/asconix/user_agent_randomizer)
4
-
5
- [![Code Climate](https://codeclimate.com/github/asconix/user_agent_randomizer.png)](https://codeclimate.com/github/asconix/user_agent_randomizer)
3
+ [![Gem Version][GV img]][Gem Version]
4
+ [![Build Status][BS img]][Build Status]
5
+ [![Dependency Status][DS img]][Dependency Status]
6
+ [![Code Climate][CC img]][Code Climate]
7
+ [![Coverage Status][CS img]][Coverage Status]
6
8
 
7
9
  There exist few use cases where random HTTP User-Agent strings are required. This is the reason why the `user_agent_randomizer` gem exists. Currently the gem provides roundabout 10.700 different User-Agent strings. You can choose a random HTTP User-Agent string from the entire pool as well as fetch a user agent by category.
8
10
 
@@ -61,3 +63,16 @@ UserAgent.new("desktop_browser")
61
63
  5. Create a new Pull Request
62
64
 
63
65
  Copyright © 2014 Christoph Pilka, released under the MIT license
66
+
67
+ [Gem Version]: https://rubygems.org/gems/user_agent_randomizer
68
+ [Build Status]: https://travis-ci.org/asconix/user_agent_randomizer
69
+ [travis pull requests]: https://travis-ci.org/asconix/user_agent_randomizer/pull_requests
70
+ [Dependency Status]: https://gemnasium.com/asconix/user_agent_randomizer
71
+ [Code Climate]: https://codeclimate.com/github/asconix/user_agent_randomizer
72
+ [Coverage Status]: https://coveralls.io/r/asconix/user_agent_randomizer
73
+
74
+ [GV img]: https://badge.fury.io/rb/user_agent_randomizer.png
75
+ [BS img]: https://travis-ci.org/asconix/user_agent_randomizer.png?branch=master
76
+ [DS img]: https://gemnasium.com/asconix/user_agent_randomizer.png
77
+ [CC img]: https://codeclimate.com/github/asconix/user_agent_randomizer.png
78
+ [CS img]: https://coveralls.io/repos/asconix/user_agent_randomizer/badge.png?branch=master
@@ -1,4 +1,4 @@
1
1
  module UserAgentRandomizer
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
4
4
 
data/spec/spec_helper.rb CHANGED
@@ -1 +1,10 @@
1
+ require 'simplecov'
2
+ require 'coveralls'
3
+
4
+ SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
5
+ SimpleCov::Formatter::HTMLFormatter,
6
+ Coveralls::SimpleCov::Formatter
7
+ ]
8
+ SimpleCov.start
9
+
1
10
  require File.expand_path('../../lib/user_agent', __FILE__)
@@ -23,4 +23,6 @@ Gem::Specification.new do |spec|
23
23
  spec.add_development_dependency "rake", "~> 10.3"
24
24
  spec.add_development_dependency "rspec", "~> 3.0"
25
25
  spec.add_development_dependency "nokogiri", "~> 1.6"
26
+ spec.add_development_dependency "simplecov", "~> 0.8"
27
+ spec.add_development_dependency "coveralls", "~> 0.7"
26
28
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: user_agent_randomizer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christoph Pilka
@@ -66,6 +66,34 @@ dependencies:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: '1.6'
69
+ - !ruby/object:Gem::Dependency
70
+ name: simplecov
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '0.8'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '0.8'
83
+ - !ruby/object:Gem::Dependency
84
+ name: coveralls
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '0.7'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '0.7'
69
97
  description: In few cases random HTTP User-Agent strings are required that are generated
70
98
  by this gem.
71
99
  email: