brauser 4.1.2 → 4.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/.rubocop.yml +6 -1
- data/.travis-gemfile +2 -2
- data/.travis.yml +5 -3
- data/.yardopts +1 -1
- data/Gemfile +1 -1
- data/LICENSE.md +21 -0
- data/README.md +20 -22
- data/Rakefile +1 -1
- data/brauser.gemspec +2 -2
- data/default_definitions/browsers.rb +1 -1
- data/default_definitions/languages.rb +1 -1
- data/default_definitions/platforms.rb +1 -1
- data/{doc → docs}/Brauser.html +1 -1
- data/docs/Brauser/Browser.html +5542 -0
- data/{doc → docs}/Brauser/Definitions.html +23 -27
- data/{doc → docs}/Brauser/Definitions/Base.html +14 -16
- data/docs/Brauser/Definitions/Browser.html +1031 -0
- data/{doc → docs}/Brauser/Definitions/Language.html +35 -38
- data/{doc → docs}/Brauser/Definitions/Platform.html +67 -71
- data/{doc → docs}/Brauser/Hooks.html +1 -1
- data/{doc → docs}/Brauser/Hooks/RubyOnRails.html +8 -10
- data/{doc → docs}/Brauser/Parser.html +22 -25
- data/{doc → docs}/Brauser/Value.html +38 -42
- data/{doc → docs}/Brauser/Version.html +5 -9
- data/{doc → docs}/_index.html +1 -1
- data/{doc → docs}/class_list.html +0 -0
- data/{doc → docs}/css/common.css +0 -0
- data/{doc → docs}/css/full_list.css +0 -0
- data/{doc → docs}/css/style.css +0 -0
- data/{doc → docs}/file.README.html +9 -7
- data/{doc → docs}/file_list.html +0 -0
- data/{doc → docs}/frames.html +0 -0
- data/{doc → docs}/index.html +9 -7
- data/{doc → docs}/js/app.js +0 -0
- data/{doc → docs}/js/full_list.js +0 -0
- data/{doc → docs}/js/jquery.js +0 -0
- data/{doc → docs}/method_list.html +0 -0
- data/{doc → docs}/top-level-namespace.html +1 -1
- data/lib/brauser.rb +1 -1
- data/lib/brauser/browser.rb +1 -1
- data/lib/brauser/definitions/base.rb +1 -1
- data/lib/brauser/definitions/browser.rb +1 -1
- data/lib/brauser/definitions/language.rb +1 -1
- data/lib/brauser/definitions/platform.rb +1 -1
- data/lib/brauser/hooks.rb +1 -1
- data/lib/brauser/parser.rb +1 -1
- data/lib/brauser/value.rb +1 -1
- data/lib/brauser/version.rb +2 -2
- data/spec/brauser/browser_spec.rb +1 -1
- data/spec/brauser/default_definitions_spec.rb +1 -1
- data/spec/brauser/definitions/base_spec.rb +1 -1
- data/spec/brauser/definitions/browser_spec.rb +1 -1
- data/spec/brauser/definitions/language_spec.rb +1 -1
- data/spec/brauser/definitions/platform_spec.rb +1 -1
- data/spec/brauser/hooks_spec.rb +1 -1
- data/spec/brauser/parser_spec.rb +1 -1
- data/spec/brauser/value_spec.rb +1 -1
- data/spec/coverage_helper.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +30 -46
- data/doc/Brauser/Browseable.html +0 -127
- data/doc/Brauser/Browseable/Attributes.html +0 -489
- data/doc/Brauser/Browseable/DefaultDefinitions.html +0 -389
- data/doc/Brauser/Browseable/General.html +0 -134
- data/doc/Brauser/Browseable/General/ClassMethods.html +0 -529
- data/doc/Brauser/Browseable/Parsing.html +0 -350
- data/doc/Brauser/Browseable/PartialQuerying.html +0 -625
- data/doc/Brauser/Browseable/Querying.html +0 -694
- data/doc/Brauser/Browseable/Register.html +0 -134
- data/doc/Brauser/Browseable/Register/ClassMethods.html +0 -516
- data/doc/Brauser/Browser.html +0 -5557
- data/doc/Brauser/Definition.html +0 -1235
- data/doc/Brauser/Definitions/Browser.html +0 -1036
- data/doc/Brauser/Query.html +0 -512
- data/doc/Brauser/Queryable.html +0 -127
- data/doc/Brauser/Queryable/Chainers.html +0 -598
- data/doc/Brauser/Queryable/Queries.html +0 -598
@@ -119,8 +119,7 @@
|
|
119
119
|
|
120
120
|
</div>
|
121
121
|
</dt>
|
122
|
-
<dd><pre class="code"><span class='
|
123
|
-
</pre></dd>
|
122
|
+
<dd><pre class="code"><span class='int'>4</span></pre></dd>
|
124
123
|
|
125
124
|
<dt id="MINOR-constant" class="">MINOR =
|
126
125
|
<div class="docstring">
|
@@ -135,8 +134,7 @@
|
|
135
134
|
|
136
135
|
</div>
|
137
136
|
</dt>
|
138
|
-
<dd><pre class="code"><span class='
|
139
|
-
</pre></dd>
|
137
|
+
<dd><pre class="code"><span class='int'>1</span></pre></dd>
|
140
138
|
|
141
139
|
<dt id="PATCH-constant" class="">PATCH =
|
142
140
|
<div class="docstring">
|
@@ -151,8 +149,7 @@
|
|
151
149
|
|
152
150
|
</div>
|
153
151
|
</dt>
|
154
|
-
<dd><pre class="code"><span class='
|
155
|
-
</pre></dd>
|
152
|
+
<dd><pre class="code"><span class='int'>2</span></pre></dd>
|
156
153
|
|
157
154
|
<dt id="STRING-constant" class="">STRING =
|
158
155
|
<div class="docstring">
|
@@ -167,8 +164,7 @@
|
|
167
164
|
|
168
165
|
</div>
|
169
166
|
</dt>
|
170
|
-
<dd><pre class="code"><span class='
|
171
|
-
</pre></dd>
|
167
|
+
<dd><pre class="code"><span class='lbracket'>[</span><span class='const'>MAJOR</span><span class='comma'>,</span> <span class='const'>MINOR</span><span class='comma'>,</span> <span class='const'>PATCH</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_compact'>compact</span><span class='period'>.</span><span class='id identifier rubyid_join'>join</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>.</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span></pre></dd>
|
172
168
|
|
173
169
|
</dl>
|
174
170
|
|
@@ -184,7 +180,7 @@
|
|
184
180
|
</div>
|
185
181
|
|
186
182
|
<div id="footer">
|
187
|
-
Generated on
|
183
|
+
Generated on Thu Aug 18 15:49:54 2016 by
|
188
184
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
189
185
|
0.8.7.6 (ruby-2.3.0).
|
190
186
|
</div>
|
data/{doc → docs}/_index.html
RENAMED
@@ -226,7 +226,7 @@
|
|
226
226
|
</div>
|
227
227
|
|
228
228
|
<div id="footer">
|
229
|
-
Generated on
|
229
|
+
Generated on Thu Aug 18 15:49:54 2016 by
|
230
230
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
231
231
|
0.8.7.6 (ruby-2.3.0).
|
232
232
|
</div>
|
File without changes
|
data/{doc → docs}/css/common.css
RENAMED
File without changes
|
File without changes
|
data/{doc → docs}/css/style.css
RENAMED
File without changes
|
@@ -67,13 +67,11 @@
|
|
67
67
|
<a href="https://gemnasium.com/ShogunPanda/brauser"><img src="https://gemnasium.com/ShogunPanda/brauser.png?travis" alt="Dependency Status" /></a>
|
68
68
|
<a href="http://travis-ci.org/ShogunPanda/brauser"><img src="https://secure.travis-ci.org/ShogunPanda/brauser.png?branch=master" alt="Build Status" /></a>
|
69
69
|
<a href="https://codeclimate.com/github/ShogunPanda/brauser"><img src="https://codeclimate.com/github/ShogunPanda/brauser.png" alt="Code Climate" /></a>
|
70
|
-
<a href="https://coveralls.io/
|
70
|
+
<a href="https://coveralls.io/github/ShogunPanda/brauser?branch=master"><img src="https://coveralls.io/repos/github/ShogunPanda/brauser/badge.svg?branch=master" alt="Coverage Status" /></a></p>
|
71
71
|
|
72
72
|
<p>A framework agnostic browser detection and querying helper.</p>
|
73
73
|
|
74
|
-
<p>
|
75
|
-
|
76
|
-
<p>http://rdoc.info/gems/brauser</p>
|
74
|
+
<p>https://sw.cowtech.it/brauser</p>
|
77
75
|
|
78
76
|
<h2 id="description">Description</h2>
|
79
77
|
|
@@ -168,7 +166,7 @@ browser.is?(name: :chrome, version: ">= 4", platform: [:osx, :windows], langu
|
|
168
166
|
# => false
|
169
167
|
```
|
170
168
|
|
171
|
-
Name, platform and languages can be either symbols or array of symbols. Version must be a query in the form is `OPERATOR VALUE && ..`,
|
169
|
+
Name, platform and languages can be either symbols or array of symbols. Version must be a query in the form is `OPERATOR VALUE && ..`,
|
172
170
|
where `OPERATOR` is one of `["<", "<=", "=", "==", ">=", ">"]` and value specifies the version.
|
173
171
|
|
174
172
|
### Prevent old browsers to access the Rails application.
|
@@ -213,8 +211,12 @@ For example, for Google Chrome the call should be:
|
|
213
211
|
Brauser::Definitions.register(:browsers, :chrome, "Chrome", /((chrome)|(chromium))/i, /(.+Chrom[a-z]+\/)([a-z0-9.]+)/i)
|
214
212
|
```
|
215
213
|
|
214
|
+
## API Documentation
|
215
|
+
|
216
|
+
The API documentation can be found [here](https://sw.cowtech.it/brauser/docs).
|
217
|
+
|
216
218
|
## Contributing to brauser
|
217
|
-
|
219
|
+
|
218
220
|
* Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.
|
219
221
|
* Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it.
|
220
222
|
* Fork the project.
|
@@ -232,7 +234,7 @@ Licensed under the MIT license, which can be found at http://www.opensource.org/
|
|
232
234
|
</div></div>
|
233
235
|
|
234
236
|
<div id="footer">
|
235
|
-
Generated on
|
237
|
+
Generated on Thu Aug 18 15:49:54 2016 by
|
236
238
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
237
239
|
0.8.7.6 (ruby-2.3.0).
|
238
240
|
</div>
|
data/{doc → docs}/file_list.html
RENAMED
File without changes
|
data/{doc → docs}/frames.html
RENAMED
File without changes
|
data/{doc → docs}/index.html
RENAMED
@@ -67,13 +67,11 @@
|
|
67
67
|
<a href="https://gemnasium.com/ShogunPanda/brauser"><img src="https://gemnasium.com/ShogunPanda/brauser.png?travis" alt="Dependency Status" /></a>
|
68
68
|
<a href="http://travis-ci.org/ShogunPanda/brauser"><img src="https://secure.travis-ci.org/ShogunPanda/brauser.png?branch=master" alt="Build Status" /></a>
|
69
69
|
<a href="https://codeclimate.com/github/ShogunPanda/brauser"><img src="https://codeclimate.com/github/ShogunPanda/brauser.png" alt="Code Climate" /></a>
|
70
|
-
<a href="https://coveralls.io/
|
70
|
+
<a href="https://coveralls.io/github/ShogunPanda/brauser?branch=master"><img src="https://coveralls.io/repos/github/ShogunPanda/brauser/badge.svg?branch=master" alt="Coverage Status" /></a></p>
|
71
71
|
|
72
72
|
<p>A framework agnostic browser detection and querying helper.</p>
|
73
73
|
|
74
|
-
<p>
|
75
|
-
|
76
|
-
<p>http://rdoc.info/gems/brauser</p>
|
74
|
+
<p>https://sw.cowtech.it/brauser</p>
|
77
75
|
|
78
76
|
<h2 id="description">Description</h2>
|
79
77
|
|
@@ -168,7 +166,7 @@ browser.is?(name: :chrome, version: ">= 4", platform: [:osx, :windows], langu
|
|
168
166
|
# => false
|
169
167
|
```
|
170
168
|
|
171
|
-
Name, platform and languages can be either symbols or array of symbols. Version must be a query in the form is `OPERATOR VALUE && ..`,
|
169
|
+
Name, platform and languages can be either symbols or array of symbols. Version must be a query in the form is `OPERATOR VALUE && ..`,
|
172
170
|
where `OPERATOR` is one of `["<", "<=", "=", "==", ">=", ">"]` and value specifies the version.
|
173
171
|
|
174
172
|
### Prevent old browsers to access the Rails application.
|
@@ -213,8 +211,12 @@ For example, for Google Chrome the call should be:
|
|
213
211
|
Brauser::Definitions.register(:browsers, :chrome, "Chrome", /((chrome)|(chromium))/i, /(.+Chrom[a-z]+\/)([a-z0-9.]+)/i)
|
214
212
|
```
|
215
213
|
|
214
|
+
## API Documentation
|
215
|
+
|
216
|
+
The API documentation can be found [here](https://sw.cowtech.it/brauser/docs).
|
217
|
+
|
216
218
|
## Contributing to brauser
|
217
|
-
|
219
|
+
|
218
220
|
* Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.
|
219
221
|
* Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it.
|
220
222
|
* Fork the project.
|
@@ -232,7 +234,7 @@ Licensed under the MIT license, which can be found at http://www.opensource.org/
|
|
232
234
|
</div></div>
|
233
235
|
|
234
236
|
<div id="footer">
|
235
|
-
Generated on
|
237
|
+
Generated on Thu Aug 18 15:49:54 2016 by
|
236
238
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
237
239
|
0.8.7.6 (ruby-2.3.0).
|
238
240
|
</div>
|
data/{doc → docs}/js/app.js
RENAMED
File without changes
|
File without changes
|
data/{doc → docs}/js/jquery.js
RENAMED
File without changes
|
File without changes
|
@@ -103,7 +103,7 @@
|
|
103
103
|
</div>
|
104
104
|
|
105
105
|
<div id="footer">
|
106
|
-
Generated on
|
106
|
+
Generated on Thu Aug 18 15:49:54 2016 by
|
107
107
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
108
108
|
0.8.7.6 (ruby-2.3.0).
|
109
109
|
</div>
|
data/lib/brauser.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
#
|
2
2
|
# This file is part of the brauser gem. Copyright (C) 2013 and above Shogun <shogun@cowtech.it>.
|
3
|
-
# Licensed under the MIT license, which can be found at
|
3
|
+
# Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
|
4
4
|
#
|
5
5
|
|
6
6
|
require "lazier"
|
data/lib/brauser/browser.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
#
|
2
2
|
# This file is part of the brauser gem. Copyright (C) 2013 and above Shogun <shogun@cowtech.it>.
|
3
|
-
# Licensed under the MIT license, which can be found at
|
3
|
+
# Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
|
4
4
|
#
|
5
5
|
|
6
6
|
# A framework agnostic browser detection and querying helper.
|
@@ -1,6 +1,6 @@
|
|
1
1
|
#
|
2
2
|
# This file is part of the brauser gem. Copyright (C) 2013 and above Shogun <shogun@cowtech.it>.
|
3
|
-
# Licensed under the MIT license, which can be found at
|
3
|
+
# Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
|
4
4
|
#
|
5
5
|
|
6
6
|
module Brauser
|
@@ -1,6 +1,6 @@
|
|
1
1
|
#
|
2
2
|
# This file is part of the brauser gem. Copyright (C) 2013 and above Shogun <shogun@cowtech.it>.
|
3
|
-
# Licensed under the MIT license, which can be found at
|
3
|
+
# Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
|
4
4
|
#
|
5
5
|
|
6
6
|
module Brauser
|
@@ -1,6 +1,6 @@
|
|
1
1
|
#
|
2
2
|
# This file is part of the brauser gem. Copyright (C) 2013 and above Shogun <shogun@cowtech.it>.
|
3
|
-
# Licensed under the MIT license, which can be found at
|
3
|
+
# Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
|
4
4
|
#
|
5
5
|
|
6
6
|
module Brauser
|
@@ -1,6 +1,6 @@
|
|
1
1
|
#
|
2
2
|
# This file is part of the brauser gem. Copyright (C) 2013 and above Shogun <shogun@cowtech.it>.
|
3
|
-
# Licensed under the MIT license, which can be found at
|
3
|
+
# Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
|
4
4
|
#
|
5
5
|
|
6
6
|
module Brauser
|
data/lib/brauser/hooks.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
#
|
2
2
|
# This file is part of the brauser gem. Copyright (C) 2013 and above Shogun <shogun@cowtech.it>.
|
3
|
-
# Licensed under the MIT license, which can be found at
|
3
|
+
# Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
|
4
4
|
#
|
5
5
|
|
6
6
|
module Brauser
|
data/lib/brauser/parser.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
#
|
2
2
|
# This file is part of the brauser gem. Copyright (C) 2013 and above Shogun <shogun@cowtech.it>.
|
3
|
-
# Licensed under the MIT license, which can be found at
|
3
|
+
# Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
|
4
4
|
#
|
5
5
|
|
6
6
|
module Brauser
|
data/lib/brauser/value.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
#
|
2
2
|
# This file is part of the brauser gem. Copyright (C) 2013 and above Shogun <shogun@cowtech.it>.
|
3
|
-
# Licensed under the MIT license, which can be found at
|
3
|
+
# Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
|
4
4
|
#
|
5
5
|
|
6
6
|
module Brauser
|
data/lib/brauser/version.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
#
|
2
2
|
# This file is part of the brauser gem. Copyright (C) 2013 and above Shogun <shogun@cowtech.it>.
|
3
|
-
# Licensed under the MIT license, which can be found at
|
3
|
+
# Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
|
4
4
|
#
|
5
5
|
|
6
6
|
# A framework agnostic browser detection and querying helper.
|
@@ -16,7 +16,7 @@ module Brauser
|
|
16
16
|
MINOR = 1
|
17
17
|
|
18
18
|
# The patch version.
|
19
|
-
PATCH =
|
19
|
+
PATCH = 3
|
20
20
|
|
21
21
|
# The current version of brauser.
|
22
22
|
STRING = [MAJOR, MINOR, PATCH].compact.join(".")
|
@@ -1,6 +1,6 @@
|
|
1
1
|
#
|
2
2
|
# This file is part of the brauser gem. Copyright (C) 2013 and above Shogun <shogun@cowtech.it>.
|
3
|
-
# Licensed under the MIT license, which can be found at
|
3
|
+
# Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
|
4
4
|
#
|
5
5
|
|
6
6
|
require "spec_helper"
|
@@ -1,6 +1,6 @@
|
|
1
1
|
#
|
2
2
|
# This file is part of the brauser gem. Copyright (C) 2013 and above Shogun <shogun@cowtech.it>.
|
3
|
-
# Licensed under the MIT license, which can be found at
|
3
|
+
# Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
|
4
4
|
#
|
5
5
|
|
6
6
|
require "spec_helper"
|
@@ -1,6 +1,6 @@
|
|
1
1
|
#
|
2
2
|
# This file is part of the brauser gem. Copyright (C) 2013 and above Shogun <shogun@cowtech.it>.
|
3
|
-
# Licensed under the MIT license, which can be found at
|
3
|
+
# Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
|
4
4
|
#
|
5
5
|
|
6
6
|
require "spec_helper"
|
@@ -1,6 +1,6 @@
|
|
1
1
|
#
|
2
2
|
# This file is part of the brauser gem. Copyright (C) 2013 and above Shogun <shogun@cowtech.it>.
|
3
|
-
# Licensed under the MIT license, which can be found at
|
3
|
+
# Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
|
4
4
|
#
|
5
5
|
|
6
6
|
require "spec_helper"
|
@@ -1,6 +1,6 @@
|
|
1
1
|
#
|
2
2
|
# This file is part of the brauser gem. Copyright (C) 2013 and above Shogun <shogun@cowtech.it>.
|
3
|
-
# Licensed under the MIT license, which can be found at
|
3
|
+
# Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
|
4
4
|
#
|
5
5
|
|
6
6
|
require "spec_helper"
|
@@ -1,6 +1,6 @@
|
|
1
1
|
#
|
2
2
|
# This file is part of the brauser gem. Copyright (C) 2013 and above Shogun <shogun@cowtech.it>.
|
3
|
-
# Licensed under the MIT license, which can be found at
|
3
|
+
# Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
|
4
4
|
#
|
5
5
|
|
6
6
|
require "spec_helper"
|
data/spec/brauser/hooks_spec.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
#
|
2
2
|
# This file is part of the brauser gem. Copyright (C) 2013 and above Shogun <shogun@cowtech.it>.
|
3
|
-
# Licensed under the MIT license, which can be found at
|
3
|
+
# Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
|
4
4
|
#
|
5
5
|
|
6
6
|
require "spec_helper"
|
data/spec/brauser/parser_spec.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
#
|
2
2
|
# This file is part of the brauser gem. Copyright (C) 2013 and above Shogun <shogun@cowtech.it>.
|
3
|
-
# Licensed under the MIT license, which can be found at
|
3
|
+
# Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
|
4
4
|
#
|
5
5
|
|
6
6
|
require "spec_helper"
|
data/spec/brauser/value_spec.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
#
|
2
2
|
# This file is part of the brauser gem. Copyright (C) 2013 and above Shogun <shogun@cowtech.it>.
|
3
|
-
# Licensed under the MIT license, which can be found at
|
3
|
+
# Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
|
4
4
|
#
|
5
5
|
|
6
6
|
require "spec_helper"
|
data/spec/coverage_helper.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
#
|
2
2
|
# This file is part of the brauser gem. Copyright (C) 2013 and above Shogun <shogun@cowtech.it>.
|
3
|
-
# Licensed under the MIT license, which can be found at
|
3
|
+
# Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
|
4
4
|
#
|
5
5
|
|
6
6
|
require "pathname"
|
data/spec/spec_helper.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
#
|
2
2
|
# This file is part of the brauser gem. Copyright (C) 2013 and above Shogun <shogun@cowtech.it>.
|
3
|
-
# Licensed under the MIT license, which can be found at
|
3
|
+
# Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.
|
4
4
|
#
|
5
5
|
|
6
6
|
require "bundler/setup"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: brauser
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.1.
|
4
|
+
version: 4.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shogun
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-12-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: lazier
|
@@ -52,53 +52,39 @@ files:
|
|
52
52
|
- ".yardopts"
|
53
53
|
- CHANGELOG.md
|
54
54
|
- Gemfile
|
55
|
+
- LICENSE.md
|
55
56
|
- README.md
|
56
57
|
- Rakefile
|
57
58
|
- brauser.gemspec
|
58
59
|
- default_definitions/browsers.rb
|
59
60
|
- default_definitions/languages.rb
|
60
61
|
- default_definitions/platforms.rb
|
61
|
-
-
|
62
|
-
-
|
63
|
-
-
|
64
|
-
-
|
65
|
-
-
|
66
|
-
-
|
67
|
-
-
|
68
|
-
-
|
69
|
-
-
|
70
|
-
-
|
71
|
-
-
|
72
|
-
-
|
73
|
-
-
|
74
|
-
-
|
75
|
-
-
|
76
|
-
-
|
77
|
-
-
|
78
|
-
-
|
79
|
-
-
|
80
|
-
-
|
81
|
-
-
|
82
|
-
-
|
83
|
-
-
|
84
|
-
-
|
85
|
-
-
|
86
|
-
-
|
87
|
-
- doc/Brauser/Version.html
|
88
|
-
- doc/_index.html
|
89
|
-
- doc/class_list.html
|
90
|
-
- doc/css/common.css
|
91
|
-
- doc/css/full_list.css
|
92
|
-
- doc/css/style.css
|
93
|
-
- doc/file.README.html
|
94
|
-
- doc/file_list.html
|
95
|
-
- doc/frames.html
|
96
|
-
- doc/index.html
|
97
|
-
- doc/js/app.js
|
98
|
-
- doc/js/full_list.js
|
99
|
-
- doc/js/jquery.js
|
100
|
-
- doc/method_list.html
|
101
|
-
- doc/top-level-namespace.html
|
62
|
+
- docs/Brauser.html
|
63
|
+
- docs/Brauser/Browser.html
|
64
|
+
- docs/Brauser/Definitions.html
|
65
|
+
- docs/Brauser/Definitions/Base.html
|
66
|
+
- docs/Brauser/Definitions/Browser.html
|
67
|
+
- docs/Brauser/Definitions/Language.html
|
68
|
+
- docs/Brauser/Definitions/Platform.html
|
69
|
+
- docs/Brauser/Hooks.html
|
70
|
+
- docs/Brauser/Hooks/RubyOnRails.html
|
71
|
+
- docs/Brauser/Parser.html
|
72
|
+
- docs/Brauser/Value.html
|
73
|
+
- docs/Brauser/Version.html
|
74
|
+
- docs/_index.html
|
75
|
+
- docs/class_list.html
|
76
|
+
- docs/css/common.css
|
77
|
+
- docs/css/full_list.css
|
78
|
+
- docs/css/style.css
|
79
|
+
- docs/file.README.html
|
80
|
+
- docs/file_list.html
|
81
|
+
- docs/frames.html
|
82
|
+
- docs/index.html
|
83
|
+
- docs/js/app.js
|
84
|
+
- docs/js/full_list.js
|
85
|
+
- docs/js/jquery.js
|
86
|
+
- docs/method_list.html
|
87
|
+
- docs/top-level-namespace.html
|
102
88
|
- lib/brauser.rb
|
103
89
|
- lib/brauser/browser.rb
|
104
90
|
- lib/brauser/definitions/base.rb
|
@@ -140,8 +126,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
140
126
|
- !ruby/object:Gem::Version
|
141
127
|
version: '0'
|
142
128
|
requirements: []
|
143
|
-
|
144
|
-
rubygems_version: 2.5.1
|
129
|
+
rubygems_version: 3.0.3
|
145
130
|
signing_key:
|
146
131
|
specification_version: 4
|
147
132
|
summary: A framework agnostic browser detection and querying helper.
|
@@ -158,4 +143,3 @@ test_files:
|
|
158
143
|
- spec/coverage_helper.rb
|
159
144
|
- spec/spec_helper.rb
|
160
145
|
- spec/supported.yml
|
161
|
-
has_rdoc:
|