browserino 2.10.1 → 2.10.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- MDNmNDhiM2MxODA2NDI2YmY0MTQ5MjEyMTIwMjJmNzRmMDAxNGNkMQ==
5
- data.tar.gz: !binary |-
6
- MmRiNzkyNDFjNzVhYzNhODYyMjNjY2Q4NmM0NDQ1N2NlZjY3NDYzOQ==
2
+ SHA1:
3
+ metadata.gz: 9b450f52134a8b38a690979d39d74d29b888e5bf
4
+ data.tar.gz: d77c652e1021e692c30e4a50ef53b3a57aaf85aa
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- MGIxNzU0ZjQ0MGEwNTFlNzdiMzNkNDEwY2JlNjc5NTA5ZTBkNWEzYTczY2U3
10
- NjhiMGIxYWE2MDNhYmY5Y2VhZjA5ZTM3MGI5MjhjNjEyYWZmYzNmMDlhZDBl
11
- N2I5NmM1MmY3YzhkNzFjZjFhYzY0ZTI3OGE4ZDBmY2ExOWYxZjc=
12
- data.tar.gz: !binary |-
13
- YjBmODBiZmVhMjI3NTNmNDkxZmFiNThhZjY3YzU5ZjNjOTBmNTg1NDQ1N2M2
14
- YzM2YTRkY2I3NjE2MDQ5Mzk0MzlmY2E1NDQyZGY4MWVhZjlhNTFkYjcyYjMy
15
- ZjlmMjNmOTRiZTExMTEzZWVjNGY5YTIxMDI3MTIxYjc4Yjg1N2E=
6
+ metadata.gz: 6f935e1dfda1c9e34c9056d3007329a9a27ed44ba6573ea3941fc739f782d3bda0be7b22b36ca76c4dd692345c1dad1eb5962d40fb258daa128b56560e95262e
7
+ data.tar.gz: 02996cad78bb74266e5c3d2b881fea386ffeb2c8be8ab3665e92498ddb7620253fa85f080cd7b4115ce90f4e5d5c7f6f1822c546070784a2094305964efb1353
data/.travis.yml CHANGED
@@ -1,6 +1,7 @@
1
1
  language: ruby
2
2
  cache: bundler
3
3
  rvm:
4
+ - 2.3.1
4
5
  - 2.3.0
5
6
  - 2.2.1
6
7
  - 2.1.0
data/CHANGELOG.md CHANGED
@@ -1,6 +1,25 @@
1
1
  ## CHANGELOG
2
2
  _dates are in dd-mm-yyyy format_
3
3
 
4
+ #### 29-05-2016 VERSION 2.9.0
5
+
6
+ - Stricter checking for:
7
+ * `social_media?`
8
+ * `bot?`
9
+ * `browser?`
10
+ * `platform?`
11
+
12
+ These methods used to be callable with unrelated symbols
13
+ (e.g `agent.platform?(:firefox) # => true`), they will now correctly return false.
14
+ - Added support for consoles
15
+ * Added `console?` method
16
+ * Added `wii?`, `playstation?`, `xbox?` and `nintendo_ds?` methods
17
+ - Added general `name` method to store any browser / bot / search engine / social media agent
18
+ - `social_media_name`, `search_engine_name` and `bot_name` are now aliasses of `name`
19
+ - removed `:bot_name` from data structure (now stored in a general `name` property)
20
+ - removed `:browser_name` from data structure (now stored in a general `name` property)
21
+ - Added `console_name` method to get the name of a console
22
+
4
23
  #### 27-05-2016 VERSION 2.8.2
5
24
 
6
25
  - Removed Guard gem dependency
data/README.md CHANGED
@@ -1,6 +1,7 @@
1
1
  # Browserino
2
2
 
3
- A UserAgent sniffer with Rails >= 3.2.0 integration
3
+ A UserAgent sniffer with Rails >= 3.2.0 integration.
4
+ The sniffer can currently identify 22 bots (of which 6 social media and 5 search engines), 14 browsers, 9 operating systems, 6 programming language UA's and 4 consoles.
4
5
 
5
6
  ## Status
6
7
 
@@ -21,6 +22,12 @@ Useragent references:
21
22
  _dates are in dd-mm-yyyy format_
22
23
  _older changes can be found in the [CHANGELOG.md](/CHANGELOG.md)_
23
24
 
25
+ #### 19-10-2016 VERSION 2.10.1.1
26
+
27
+ - Test on ruby 2.3.1
28
+ - Fix missing questionmarks on method names in the README.
29
+ - Change gem homepage to io domain
30
+
24
31
  #### 25-08-2016 VERSION 2.10.1
25
32
 
26
33
  - Replaced `require` with `require_relative` where possible
@@ -36,28 +43,9 @@ _older changes can be found in the [CHANGELOG.md](/CHANGELOG.md)_
36
43
  - Added `php?` method
37
44
  - Added `perl?` method
38
45
  - Added `python?` method
39
- - Added `java` method
40
- - Added `curl` method
41
- - Added `pycurl` method
42
-
43
- #### 29-05-2016 VERSION 2.9.0
44
-
45
- - Stricter checking for:
46
- * `social_media?`
47
- * `bot?`
48
- * `browser?`
49
- * `platform?`
50
-
51
- These methods used to be callable with unrelated symbols
52
- (e.g `agent.platform?(:firefox) # => true`), they will now correctly return false.
53
- - Added support for consoles
54
- * Added `console?` method
55
- * Added `wii?`, `playstation?`, `xbox?` and `nintendo_ds?` methods
56
- - Added general `name` method to store any browser / bot / search engine / social media agent
57
- - `social_media_name`, `search_engine_name` and `bot_name` are now aliasses of `name`
58
- - removed `:bot_name` from data structure (now stored in a general `name` property)
59
- - removed `:browser_name` from data structure (now stored in a general `name` property)
60
- - Added `console_name` method to get the name of a console
46
+ - Added `java?` method
47
+ - Added `curl?` method
48
+ - Added `pycurl?` method
61
49
 
62
50
  ## Installation
63
51
 
@@ -86,6 +74,7 @@ Browserino is tested with the following ruby versions
86
74
  * 2.1.0
87
75
  * 2.2.1
88
76
  * 2.3.0
77
+ * 2.3.1
89
78
 
90
79
  ## Usage
91
80
 
data/browserino.gemspec CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
10
10
  spec.email = ["sidneyliebrand@gmail.com"]
11
11
 
12
12
  spec.summary = %q{A browser identification gem with command line and Rails (>= 3.2.0) integration}
13
- spec.homepage = "https://github.com/SidOfc/browserino"
13
+ spec.homepage = "http://sidofc.github.io/browserino/"
14
14
  spec.license = "MIT"
15
15
 
16
16
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
@@ -1,3 +1,3 @@
1
1
  module Browserino
2
- VERSION = '2.10.1'.freeze
2
+ VERSION = '2.10.1.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,69 +1,69 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: browserino
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.10.1
4
+ version: 2.10.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sidney Liebrand
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-08-25 00:00:00.000000000 Z
11
+ date: 2016-10-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - <=
17
+ - - "<="
18
18
  - !ruby/object:Gem::Version
19
19
  version: 1.8.3
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - <=
24
+ - - "<="
25
25
  - !ruby/object:Gem::Version
26
26
  version: 1.8.3
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ~>
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
33
  version: '1.10'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ~>
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '1.10'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rake
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ~>
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
47
  version: '10.0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ~>
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '10.0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rspec
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ! '>='
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ! '>='
66
+ - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  - !ruby/object:Gem::Dependency
@@ -84,28 +84,28 @@ dependencies:
84
84
  name: coveralls
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ! '>='
87
+ - - ">="
88
88
  - !ruby/object:Gem::Version
89
89
  version: '0'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - ! '>='
94
+ - - ">="
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: pry
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - ! '>='
101
+ - - ">="
102
102
  - !ruby/object:Gem::Version
103
103
  version: '0'
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - ! '>='
108
+ - - ">="
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
111
  description:
@@ -116,11 +116,11 @@ executables:
116
116
  extensions: []
117
117
  extra_rdoc_files: []
118
118
  files:
119
- - .coveralls.yml
120
- - .gitignore
121
- - .rspec
122
- - .rubocop.yml
123
- - .travis.yml
119
+ - ".coveralls.yml"
120
+ - ".gitignore"
121
+ - ".rspec"
122
+ - ".rubocop.yml"
123
+ - ".travis.yml"
124
124
  - CHANGELOG.md
125
125
  - CODE_OF_CONDUCT.md
126
126
  - Gemfile
@@ -157,7 +157,7 @@ files:
157
157
  - lib/browserino/operating_system.rb
158
158
  - lib/browserino/unknown.rb
159
159
  - lib/browserino/version.rb
160
- homepage: https://github.com/SidOfc/browserino
160
+ homepage: http://sidofc.github.io/browserino/
161
161
  licenses:
162
162
  - MIT
163
163
  metadata: {}
@@ -167,17 +167,17 @@ require_paths:
167
167
  - lib
168
168
  required_ruby_version: !ruby/object:Gem::Requirement
169
169
  requirements:
170
- - - ! '>='
170
+ - - ">="
171
171
  - !ruby/object:Gem::Version
172
172
  version: '0'
173
173
  required_rubygems_version: !ruby/object:Gem::Requirement
174
174
  requirements:
175
- - - ! '>='
175
+ - - ">="
176
176
  - !ruby/object:Gem::Version
177
177
  version: '0'
178
178
  requirements: []
179
179
  rubyforge_project:
180
- rubygems_version: 2.4.8
180
+ rubygems_version: 2.5.1
181
181
  signing_key:
182
182
  specification_version: 4
183
183
  summary: A browser identification gem with command line and Rails (>= 3.2.0) integration