browserino 2.13.0 → 2.13.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -683
- data/browserino.gemspec +1 -1
- data/lib/browserino/version.rb +1 -1
- metadata +3 -9
- data/CHANGELOG.md +0 -206
- data/index.html +0 -719
- data/params.json +0 -6
- data/stylesheets/github-light.css +0 -124
- data/stylesheets/normalize.css +0 -424
- data/stylesheets/stylesheet.css +0 -245
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: browserino
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.13.
|
4
|
+
version: 2.13.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-12-
|
11
|
+
date: 2016-12-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|
@@ -135,7 +135,6 @@ files:
|
|
135
135
|
- ".rspec"
|
136
136
|
- ".rubocop.yml"
|
137
137
|
- ".travis.yml"
|
138
|
-
- CHANGELOG.md
|
139
138
|
- CODE_OF_CONDUCT.md
|
140
139
|
- Gemfile
|
141
140
|
- LICENSE.txt
|
@@ -145,7 +144,6 @@ files:
|
|
145
144
|
- bin/console
|
146
145
|
- bin/setup
|
147
146
|
- browserino.gemspec
|
148
|
-
- index.html
|
149
147
|
- lib/browserino.rb
|
150
148
|
- lib/browserino/agent.rb
|
151
149
|
- lib/browserino/browser.rb
|
@@ -163,11 +161,7 @@ files:
|
|
163
161
|
- lib/browserino/operating_system.rb
|
164
162
|
- lib/browserino/unknown.rb
|
165
163
|
- lib/browserino/version.rb
|
166
|
-
|
167
|
-
- stylesheets/github-light.css
|
168
|
-
- stylesheets/normalize.css
|
169
|
-
- stylesheets/stylesheet.css
|
170
|
-
homepage: http://sidofc.github.io/browserino/
|
164
|
+
homepage: https://sidofc.github.io/projects/browserino/
|
171
165
|
licenses:
|
172
166
|
- MIT
|
173
167
|
metadata: {}
|
data/CHANGELOG.md
DELETED
@@ -1,206 +0,0 @@
|
|
1
|
-
## CHANGELOG
|
2
|
-
_dates are in dd-mm-yyyy format_
|
3
|
-
|
4
|
-
#### 19-10-2016 VERSION 2.10.1.1
|
5
|
-
|
6
|
-
- Test on ruby 2.3.1
|
7
|
-
- Fix missing questionmarks on method names in the README.
|
8
|
-
- Change gem homepage to io domain
|
9
|
-
|
10
|
-
#### 25-08-2016 VERSION 2.10.1
|
11
|
-
|
12
|
-
- Replaced `require` with `require_relative` where possible
|
13
|
-
- Fixed cli not loading due to failing `require`
|
14
|
-
|
15
|
-
#### 24-07-2016 VERSION 2.10.0
|
16
|
-
|
17
|
-
- Added support for the servo browser:
|
18
|
-
- Added `servo?` method
|
19
|
-
|
20
|
-
- Added detection for various programming languages:
|
21
|
-
- Added `library?` method
|
22
|
-
- Added `php?` method
|
23
|
-
- Added `perl?` method
|
24
|
-
- Added `python?` method
|
25
|
-
- Added `java?` method
|
26
|
-
- Added `curl?` method
|
27
|
-
- Added `pycurl?` method
|
28
|
-
|
29
|
-
#### 29-05-2016 VERSION 2.9.0
|
30
|
-
|
31
|
-
- Stricter checking for:
|
32
|
-
* `social_media?`
|
33
|
-
* `bot?`
|
34
|
-
* `browser?`
|
35
|
-
* `platform?`
|
36
|
-
|
37
|
-
These methods used to be callable with unrelated symbols
|
38
|
-
(e.g `agent.platform?(:firefox) # => true`), they will now correctly return false.
|
39
|
-
- Added support for consoles
|
40
|
-
* Added `console?` method
|
41
|
-
* Added `wii?`, `playstation?`, `xbox?` and `nintendo_ds?` methods
|
42
|
-
- Added general `name` method to store any browser / bot / search engine / social media agent
|
43
|
-
- `social_media_name`, `search_engine_name` and `bot_name` are now aliasses of `name`
|
44
|
-
- removed `:bot_name` from data structure (now stored in a general `name` property)
|
45
|
-
- removed `:browser_name` from data structure (now stored in a general `name` property)
|
46
|
-
- Added `console_name` method to get the name of a console
|
47
|
-
|
48
|
-
#### 27-05-2016 VERSION 2.8.2
|
49
|
-
|
50
|
-
- Removed Guard gem dependency
|
51
|
-
|
52
|
-
#### 26-05-2016 VERSION 2.8.0
|
53
|
-
|
54
|
-
- Added `search_engine?` method
|
55
|
-
- Added `holmes?` method
|
56
|
-
- Added `ask?` method
|
57
|
-
- Added `duckduckgo?` and alias `ddg?` methods
|
58
|
-
- Fixed `respond_to?` method signature
|
59
|
-
- Added executable for parsing useragents in terminal
|
60
|
-
|
61
|
-
#### 02-03-2016 VERSION 2.7.0
|
62
|
-
|
63
|
-
- Added `solaris?` method
|
64
|
-
|
65
|
-
#### 22-01-2016 VERSION 2.6.0
|
66
|
-
|
67
|
-
- Fixed `to_a` method
|
68
|
-
- Fixed `to_s` method
|
69
|
-
- Removed **bot** suffixes from every bot name
|
70
|
-
- Replaced `googlebot?` with `google?`
|
71
|
-
- Replaced `msnbot?` with `msn?`
|
72
|
-
- Replaced `bingbot?` with `bing?`
|
73
|
-
- Replaced `yandexbot?` with `yandex?`
|
74
|
-
- Replaced `exabot?` with `exa?`
|
75
|
-
- Added `platform?` method
|
76
|
-
- Added `browser?` method
|
77
|
-
- Added `social_media?` method
|
78
|
-
- Added `facebook?` and `fb?` methods
|
79
|
-
- Added `twitter?` method
|
80
|
-
- Added `linkedin?` method
|
81
|
-
- Added `instagram?` method
|
82
|
-
- Added `pinterest?` method
|
83
|
-
- Added `tumblr?` method
|
84
|
-
- Added support for the Brave browser and the `brave?` method
|
85
|
-
- Added `ff?` method
|
86
|
-
|
87
|
-
#### 20-01-2016 VERSION 2.5.4
|
88
|
-
|
89
|
-
- formatted / refactored code with rubocop
|
90
|
-
- iOS `system_name full: true` returns the version no. of iOS if found
|
91
|
-
|
92
|
-
#### 19-01-2016 VERSION 2.5.3
|
93
|
-
|
94
|
-
- Minor refactoring of code
|
95
|
-
|
96
|
-
#### 15-01-2016 VERSION 2.5.2
|
97
|
-
|
98
|
-
- **DEPRECATE** Custom return values (passed through `Browserino.parse`) will no longer alter the output of the agent object
|
99
|
-
- Added support for windows phone detection
|
100
|
-
- Added `windows_phone?` method
|
101
|
-
|
102
|
-
#### 12-01-2016 VERSION 2.5.1
|
103
|
-
|
104
|
-
- Patched blackberry mapping, this used to be done by model number instead but is now corrected
|
105
|
-
|
106
|
-
#### 12-01-2016 VERSION 2.5.0
|
107
|
-
|
108
|
-
- Added support for the Vivaldi browser
|
109
|
-
- New method `#vivaldi?`
|
110
|
-
- Added support for the bsd family of operating systems
|
111
|
-
- New method `#bsd?`
|
112
|
-
- Fixed using symbols for system version identification (e.g. `:vista` or `:el_capitan`) without a version number
|
113
|
-
|
114
|
-
#### 11-01-2016 VERSION 2.4.1(.1)
|
115
|
-
|
116
|
-
- Caching the agent object in Rails
|
117
|
-
- **DEPRECATE** Using a custom return value for when a property isn't found
|
118
|
-
|
119
|
-
#### 10-01-2016 VERSION 2.4.0
|
120
|
-
|
121
|
-
- Added rails integration
|
122
|
-
|
123
|
-
#### 06-01-2016 VERSION 2.3.0
|
124
|
-
|
125
|
-
- Added `#compat?` method to test if IE is in compatibility mode
|
126
|
-
- Extended `#browser_version` to now also take an argument
|
127
|
-
- Added `#locale` method
|
128
|
-
- Empty UA's are identified as bots through `#bot?`
|
129
|
-
|
130
|
-
#### 04-01-2016 VERSION 2.2.0
|
131
|
-
|
132
|
-
- Added more bots
|
133
|
-
- `#bot?` method can now take a bot name as argument to check for an exact bot
|
134
|
-
|
135
|
-
#### 04-01-2016 VERSION 2.1.0
|
136
|
-
|
137
|
-
- Small restructuring of test suite
|
138
|
-
- Added bot detection
|
139
|
-
- Added `#bot?` method
|
140
|
-
- Added dynamic method support for bots
|
141
|
-
- Added support for the seamonkey browser
|
142
|
-
|
143
|
-
#### 03-01-2016 VERSION 2.0.0
|
144
|
-
|
145
|
-
- **IMPORTANT** Changed behaviour of all dynamic methods to include version as an argument rather than in the method name.
|
146
|
-
- **IMPORTANT** Changed the behaviour of version checking to be more strict
|
147
|
-
- Changed tests to reflect new behaviour
|
148
|
-
- Added convenience methods `#win?`, `#osx?` and `#bb?`
|
149
|
-
|
150
|
-
#### 03-01-2016 VERSION 1.6.0
|
151
|
-
|
152
|
-
- Added more tests
|
153
|
-
- Added more browsers to check: *(bolt, opera mini and ucbrowser)*
|
154
|
-
- Added `#known?` method to check if the agent is known
|
155
|
-
- Added a `#ua` method to return the User Agent string as given to `Browserino.parse()`
|
156
|
-
- Added `#x64?` and `#x32?` convenience methods to check system architecture
|
157
|
-
- Added `#mobile?` to check wether or not a user agent is mobile
|
158
|
-
- Moved older changelogs to its own [CHANGELOG.md](https://github.com/SidOfc/browserino/blob/master/CHANGELOG.md) file
|
159
|
-
- Changed `#to_s` to add dashes (`-`) between browser names if they have a space
|
160
|
-
- `#to_s` now has an optional (`sep = ''`) parameter that allows info and version numbers to be seperated
|
161
|
-
|
162
|
-
#### 31-12-2015 VERSION 1.5.3
|
163
|
-
|
164
|
-
- Added blackberry support
|
165
|
-
- Added tests for blackberry user agent strings
|
166
|
-
|
167
|
-
#### 31-12-2015 VERSION 1.5.2
|
168
|
-
|
169
|
-
- Added user agents
|
170
|
-
- Patterns could falsely identify a 64bit system, made the pattern more strict
|
171
|
-
- using `X11` in a user agent as a synonym to a `#linux?` system
|
172
|
-
|
173
|
-
#### 23-12-2015 VERSION 1.5.1.1
|
174
|
-
|
175
|
-
- Removed print statements from method
|
176
|
-
- Builds are now executed for Ruby 1.9.3 as well as 2.2.1
|
177
|
-
|
178
|
-
#### 20-12-2015 VERSION 1.5.1
|
179
|
-
|
180
|
-
- Fixed `respond_to?` method which would first return inverted results (e.g. false when it should be true)
|
181
|
-
|
182
|
-
#### 19-12-2015 VERSION 1.5.0
|
183
|
-
|
184
|
-
- Implemented to_s to return a concatenated string of property values
|
185
|
-
- Implemented to_a to return an array with arrays containing property name-value pairs
|
186
|
-
- Implemented to_h to return a hash containing property name-value pairs
|
187
|
-
- Removed unused code
|
188
|
-
|
189
|
-
#### 19-12-2015 VERSION 1.4.0
|
190
|
-
|
191
|
-
- Added not method to invert questions about browser / system
|
192
|
-
- Added random test cases to verify that all inverted answers are correct
|
193
|
-
|
194
|
-
#### 17-12-2015 VERSION 1.3.0
|
195
|
-
|
196
|
-
- Added Edge detection
|
197
|
-
- For supported browsers, it is now possible to check name and version through `method_missing?`
|
198
|
-
|
199
|
-
#### 16-12-2015 VERSION 1.2.0
|
200
|
-
|
201
|
-
- Opera tests didn't run before
|
202
|
-
- For supported systems, it is possible to check OS and version through `method_missing?`
|
203
|
-
|
204
|
-
#### 15-12-2015 VERSION 1.1.2
|
205
|
-
|
206
|
-
- User definable 'unknown' return value
|