brauser 3.2.0 → 3.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. checksums.yaml +7 -0
  2. data/.travis-gemfile +1 -1
  3. data/Gemfile +1 -1
  4. data/README.md +1 -1
  5. data/Rakefile +1 -1
  6. data/brauser.gemspec +2 -2
  7. data/doc/Brauser.html +4 -4
  8. data/doc/Brauser/Browser.html +16 -16
  9. data/doc/Brauser/BrowserMethods.html +3 -3
  10. data/doc/Brauser/BrowserMethods/Attributes.html +3 -3
  11. data/doc/Brauser/BrowserMethods/General.html +3 -3
  12. data/doc/Brauser/BrowserMethods/General/ClassMethods.html +3 -3
  13. data/doc/Brauser/BrowserMethods/Parsing.html +3 -3
  14. data/doc/Brauser/BrowserMethods/PartialQuerying.html +3 -3
  15. data/doc/Brauser/BrowserMethods/Querying.html +3 -3
  16. data/doc/Brauser/BrowserMethods/Register.html +3 -3
  17. data/doc/Brauser/BrowserMethods/Register/ClassMethods.html +3 -3
  18. data/doc/Brauser/Chainers.html +3 -3
  19. data/doc/Brauser/Definition.html +7 -7
  20. data/doc/Brauser/Hooks.html +3 -3
  21. data/doc/Brauser/Hooks/RubyOnRails.html +3 -3
  22. data/doc/Brauser/Queries.html +3 -3
  23. data/doc/Brauser/Query.html +5 -5
  24. data/doc/Brauser/Version.html +4 -4
  25. data/doc/_index.html +4 -4
  26. data/doc/file.README.html +14 -14
  27. data/doc/frames.html +1 -1
  28. data/doc/index.html +14 -14
  29. data/doc/top-level-namespace.html +3 -3
  30. data/lib/brauser.rb +1 -1
  31. data/lib/brauser/browser.rb +1 -1
  32. data/lib/brauser/definition.rb +1 -1
  33. data/lib/brauser/hooks.rb +1 -1
  34. data/lib/brauser/query.rb +1 -1
  35. data/lib/brauser/version.rb +2 -2
  36. data/spec/brauser/browser_spec.rb +1 -1
  37. data/spec/brauser/definition_spec.rb +1 -1
  38. data/spec/brauser/hooks_spec.rb +1 -1
  39. data/spec/brauser/query_spec.rb +1 -1
  40. data/spec/coverage_helper.rb +3 -3
  41. data/spec/spec_helper.rb +1 -1
  42. metadata +8 -15
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: f8176421815b3e1b650c42fd1b02b4379f65925f
4
+ data.tar.gz: d3869af1f3d2c0effc795caec2735b9f872cebb2
5
+ SHA512:
6
+ metadata.gz: ac75eb86f42070904445bfd7951826ca4df8bd131e69ae71992d8784d06f52eb68d12d6106fa14385c20833612eca40adf0d9601fa8e6fe22859c0dacbdc672a
7
+ data.tar.gz: 39fcd66d0c8cb271b97f2a28cf906c8692f1159f538a792b391485426a4d4ee727f33bf4387ad2d030a2f4ddd61113a18f6d7412f886caa9cafbbbb644eb93c6
data/.travis-gemfile CHANGED
@@ -1,6 +1,6 @@
1
1
  # encoding: utf-8
2
2
  #
3
- # This file is part of the brauser gem. Copyright (C) 2013 and above Shogun <shogun_panda@me.com>.
3
+ # This file is part of the brauser gem. Copyright (C) 2013 and above Shogun <shogun_panda@cowtech.it>.
4
4
  # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
5
5
  #
6
6
 
data/Gemfile CHANGED
@@ -1,6 +1,6 @@
1
1
  # encoding: utf-8
2
2
  #
3
- # This file is part of the brauser gem. Copyright (C) 2013 and above Shogun <shogun_panda@me.com>.
3
+ # This file is part of the brauser gem. Copyright (C) 2013 and above Shogun <shogun_panda@cowtech.it>.
4
4
  # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
5
5
  #
6
6
 
data/README.md CHANGED
@@ -198,6 +198,6 @@ Brauser::Browsers.add(:languages, ::Brauser::Definition.new(:it, "Italian"))
198
198
 
199
199
  ## Copyright
200
200
 
201
- Copyright (C) 2013 and above Shogun (shogun_panda@me.com).
201
+ Copyright (C) 2013 and above Shogun (shogun_panda@cowtech.it).
202
202
 
203
203
  Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
data/Rakefile CHANGED
@@ -1,6 +1,6 @@
1
1
  # encoding: utf-8
2
2
  #
3
- # This file is part of the brauser gem. Copyright (C) 2013 and above Shogun <shogun_panda@me.com>.
3
+ # This file is part of the brauser gem. Copyright (C) 2013 and above Shogun <shogun_panda@cowtech.it>.
4
4
  # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
5
5
  #
6
6
 
data/brauser.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  # encoding: utf-8
2
2
  #
3
- # This file is part of the brauser gem. Copyright (C) 2013 and above Shogun <shogun_panda@me.com>.
3
+ # This file is part of the brauser gem. Copyright (C) 2013 and above Shogun <shogun_panda@cowtech.it>.
4
4
  # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
5
5
  #
6
6
 
@@ -15,7 +15,7 @@ Gem::Specification.new do |gem|
15
15
  gem.rubyforge_project = "brauser"
16
16
 
17
17
  gem.authors = ["Shogun"]
18
- gem.email = ["shogun_panda@me.com"]
18
+ gem.email = ["shogun_panda@cowtech.it"]
19
19
 
20
20
  gem.files = `git ls-files`.split($\)
21
21
  gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
data/doc/Brauser.html CHANGED
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Module: Brauser
8
8
 
9
- &mdash; Documentation by YARD 0.8.6.2
9
+ &mdash; Documentation by YARD 0.8.7
10
10
 
11
11
  </title>
12
12
 
@@ -88,7 +88,7 @@
88
88
 
89
89
  <h2>Overview</h2><div class="docstring">
90
90
  <div class="discussion">
91
- <p>This file is part of the brauser gem. Copyright (C) 2013 and above Shogun &lt;shogun_panda@me.com&gt;.
91
+ <p>This file is part of the brauser gem. Copyright (C) 2013 and above Shogun &lt;shogun_panda@cowtech.it&gt;.
92
92
  Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.</p>
93
93
 
94
94
 
@@ -121,9 +121,9 @@ Licensed under the MIT license, which can be found at http://www.opensource.org/
121
121
  </div>
122
122
 
123
123
  <div id="footer">
124
- Generated on Sat Jul 20 13:28:02 2013 by
124
+ Generated on Sat Aug 17 12:40:12 2013 by
125
125
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
126
- 0.8.6.2 (ruby-1.9.3).
126
+ 0.8.7 (ruby-2.0.0).
127
127
  </div>
128
128
 
129
129
  </body>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: Brauser::Browser
8
8
 
9
- &mdash; Documentation by YARD 0.8.6.2
9
+ &mdash; Documentation by YARD 0.8.7
10
10
 
11
11
  </title>
12
12
 
@@ -548,7 +548,7 @@ browser.is_msie_v_gt_4_1_on_windows?
548
548
  #=&gt; true
549
549
  </code></p>
550
550
 
551
- <p>If you don&#8217;t provide a trailing <code>?</code>, you will get a Brauser::Query.</p>
551
+ <p>If you dont provide a trailing <code>?</code>, you will get a Brauser::Query.</p>
552
552
 
553
553
  <p>If the syntax is invalid, a <code>NoMethodError</code> exception will be raised.</p>
554
554
 
@@ -675,7 +675,7 @@ browser.is_msie_v_gt_4_1_on_windows?
675
675
 
676
676
  </h3><div class="docstring">
677
677
  <div class="discussion">
678
- <p>The raw Accept-Language HTTP header.</p>
678
+ <p>Returns The raw Accept-Language HTTP header.</p>
679
679
 
680
680
 
681
681
  </div>
@@ -880,7 +880,7 @@ browser.is_msie_v_gt_4_1_on_windows?
880
880
  </span> <span class='comment'># #=&gt; true
881
881
  </span> <span class='comment'># ```
882
882
  </span> <span class='comment'>#
883
- </span> <span class='comment'># If you don't provide a trailing `?`, you will get a Brauser::Query.
883
+ </span> <span class='comment'># If you don&#39;t provide a trailing `?`, you will get a Brauser::Query.
884
884
  </span> <span class='comment'>#
885
885
  </span> <span class='comment'># If the syntax is invalid, a `NoMethodError` exception will be raised.
886
886
  </span> <span class='comment'>#
@@ -984,7 +984,7 @@ browser.is_msie_v_gt_4_1_on_windows?
984
984
 
985
985
  </h3><div class="docstring">
986
986
  <div class="discussion">
987
- <p>The raw User-Agent HTTP header.</p>
987
+ <p>Returns The raw User-Agent HTTP header.</p>
988
988
 
989
989
 
990
990
  </div>
@@ -1189,7 +1189,7 @@ browser.is_msie_v_gt_4_1_on_windows?
1189
1189
  </span> <span class='comment'># #=&gt; true
1190
1190
  </span> <span class='comment'># ```
1191
1191
  </span> <span class='comment'>#
1192
- </span> <span class='comment'># If you don't provide a trailing `?`, you will get a Brauser::Query.
1192
+ </span> <span class='comment'># If you don&#39;t provide a trailing `?`, you will get a Brauser::Query.
1193
1193
  </span> <span class='comment'>#
1194
1194
  </span> <span class='comment'># If the syntax is invalid, a `NoMethodError` exception will be raised.
1195
1195
  </span> <span class='comment'>#
@@ -1289,7 +1289,7 @@ browser.is_msie_v_gt_4_1_on_windows?
1289
1289
 
1290
1290
  </h3><div class="docstring">
1291
1291
  <div class="discussion">
1292
- <p>The accepted languages.</p>
1292
+ <p>Returns The accepted languages.</p>
1293
1293
 
1294
1294
 
1295
1295
  </div>
@@ -1494,7 +1494,7 @@ browser.is_msie_v_gt_4_1_on_windows?
1494
1494
  </span> <span class='comment'># #=&gt; true
1495
1495
  </span> <span class='comment'># ```
1496
1496
  </span> <span class='comment'>#
1497
- </span> <span class='comment'># If you don't provide a trailing `?`, you will get a Brauser::Query.
1497
+ </span> <span class='comment'># If you don&#39;t provide a trailing `?`, you will get a Brauser::Query.
1498
1498
  </span> <span class='comment'>#
1499
1499
  </span> <span class='comment'># If the syntax is invalid, a `NoMethodError` exception will be raised.
1500
1500
  </span> <span class='comment'>#
@@ -1594,7 +1594,7 @@ browser.is_msie_v_gt_4_1_on_windows?
1594
1594
 
1595
1595
  </h3><div class="docstring">
1596
1596
  <div class="discussion">
1597
- <p>The current browser name.</p>
1597
+ <p>Returns The current browser name.</p>
1598
1598
 
1599
1599
 
1600
1600
  </div>
@@ -1799,7 +1799,7 @@ browser.is_msie_v_gt_4_1_on_windows?
1799
1799
  </span> <span class='comment'># #=&gt; true
1800
1800
  </span> <span class='comment'># ```
1801
1801
  </span> <span class='comment'>#
1802
- </span> <span class='comment'># If you don't provide a trailing `?`, you will get a Brauser::Query.
1802
+ </span> <span class='comment'># If you don&#39;t provide a trailing `?`, you will get a Brauser::Query.
1803
1803
  </span> <span class='comment'>#
1804
1804
  </span> <span class='comment'># If the syntax is invalid, a `NoMethodError` exception will be raised.
1805
1805
  </span> <span class='comment'>#
@@ -1899,7 +1899,7 @@ browser.is_msie_v_gt_4_1_on_windows?
1899
1899
 
1900
1900
  </h3><div class="docstring">
1901
1901
  <div class="discussion">
1902
- <p>The current browser platform.</p>
1902
+ <p>Returns The current browser platform.</p>
1903
1903
 
1904
1904
 
1905
1905
  </div>
@@ -2104,7 +2104,7 @@ browser.is_msie_v_gt_4_1_on_windows?
2104
2104
  </span> <span class='comment'># #=&gt; true
2105
2105
  </span> <span class='comment'># ```
2106
2106
  </span> <span class='comment'>#
2107
- </span> <span class='comment'># If you don't provide a trailing `?`, you will get a Brauser::Query.
2107
+ </span> <span class='comment'># If you don&#39;t provide a trailing `?`, you will get a Brauser::Query.
2108
2108
  </span> <span class='comment'>#
2109
2109
  </span> <span class='comment'># If the syntax is invalid, a `NoMethodError` exception will be raised.
2110
2110
  </span> <span class='comment'>#
@@ -2204,7 +2204,7 @@ browser.is_msie_v_gt_4_1_on_windows?
2204
2204
 
2205
2205
  </h3><div class="docstring">
2206
2206
  <div class="discussion">
2207
- <p>The current browser version.</p>
2207
+ <p>Returns The current browser version.</p>
2208
2208
 
2209
2209
 
2210
2210
  </div>
@@ -2409,7 +2409,7 @@ browser.is_msie_v_gt_4_1_on_windows?
2409
2409
  </span> <span class='comment'># #=&gt; true
2410
2410
  </span> <span class='comment'># ```
2411
2411
  </span> <span class='comment'>#
2412
- </span> <span class='comment'># If you don't provide a trailing `?`, you will get a Brauser::Query.
2412
+ </span> <span class='comment'># If you don&#39;t provide a trailing `?`, you will get a Brauser::Query.
2413
2413
  </span> <span class='comment'>#
2414
2414
  </span> <span class='comment'># If the syntax is invalid, a `NoMethodError` exception will be raised.
2415
2415
  </span> <span class='comment'>#
@@ -2572,9 +2572,9 @@ browser.is_msie_v_gt_4_1_on_windows?
2572
2572
  </div>
2573
2573
 
2574
2574
  <div id="footer">
2575
- Generated on Sat Jul 20 13:28:04 2013 by
2575
+ Generated on Sat Aug 17 12:40:13 2013 by
2576
2576
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
2577
- 0.8.6.2 (ruby-1.9.3).
2577
+ 0.8.7 (ruby-2.0.0).
2578
2578
  </div>
2579
2579
 
2580
2580
  </body>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Module: Brauser::BrowserMethods
8
8
 
9
- &mdash; Documentation by YARD 0.8.6.2
9
+ &mdash; Documentation by YARD 0.8.7
10
10
 
11
11
  </title>
12
12
 
@@ -116,9 +116,9 @@
116
116
  </div>
117
117
 
118
118
  <div id="footer">
119
- Generated on Sat Jul 20 13:28:02 2013 by
119
+ Generated on Sat Aug 17 12:40:12 2013 by
120
120
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
121
- 0.8.6.2 (ruby-1.9.3).
121
+ 0.8.7 (ruby-2.0.0).
122
122
  </div>
123
123
 
124
124
  </body>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Module: Brauser::BrowserMethods::Attributes
8
8
 
9
- &mdash; Documentation by YARD 0.8.6.2
9
+ &mdash; Documentation by YARD 0.8.7
10
10
 
11
11
  </title>
12
12
 
@@ -476,9 +476,9 @@
476
476
  </div>
477
477
 
478
478
  <div id="footer">
479
- Generated on Sat Jul 20 13:28:03 2013 by
479
+ Generated on Sat Aug 17 12:40:12 2013 by
480
480
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
481
- 0.8.6.2 (ruby-1.9.3).
481
+ 0.8.7 (ruby-2.0.0).
482
482
  </div>
483
483
 
484
484
  </body>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Module: Brauser::BrowserMethods::General
8
8
 
9
- &mdash; Documentation by YARD 0.8.6.2
9
+ &mdash; Documentation by YARD 0.8.7
10
10
 
11
11
  </title>
12
12
 
@@ -125,9 +125,9 @@
125
125
  </div>
126
126
 
127
127
  <div id="footer">
128
- Generated on Sat Jul 20 13:28:03 2013 by
128
+ Generated on Sat Aug 17 12:40:12 2013 by
129
129
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
130
- 0.8.6.2 (ruby-1.9.3).
130
+ 0.8.7 (ruby-2.0.0).
131
131
  </div>
132
132
 
133
133
  </body>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Module: Brauser::BrowserMethods::General::ClassMethods
8
8
 
9
- &mdash; Documentation by YARD 0.8.6.2
9
+ &mdash; Documentation by YARD 0.8.7
10
10
 
11
11
  </title>
12
12
 
@@ -520,9 +520,9 @@
520
520
  </div>
521
521
 
522
522
  <div id="footer">
523
- Generated on Sat Jul 20 13:28:03 2013 by
523
+ Generated on Sat Aug 17 12:40:12 2013 by
524
524
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
525
- 0.8.6.2 (ruby-1.9.3).
525
+ 0.8.7 (ruby-2.0.0).
526
526
  </div>
527
527
 
528
528
  </body>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Module: Brauser::BrowserMethods::Parsing
8
8
 
9
- &mdash; Documentation by YARD 0.8.6.2
9
+ &mdash; Documentation by YARD 0.8.7
10
10
 
11
11
  </title>
12
12
 
@@ -341,9 +341,9 @@
341
341
  </div>
342
342
 
343
343
  <div id="footer">
344
- Generated on Sat Jul 20 13:28:03 2013 by
344
+ Generated on Sat Aug 17 12:40:12 2013 by
345
345
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
346
- 0.8.6.2 (ruby-1.9.3).
346
+ 0.8.7 (ruby-2.0.0).
347
347
  </div>
348
348
 
349
349
  </body>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Module: Brauser::BrowserMethods::PartialQuerying
8
8
 
9
- &mdash; Documentation by YARD 0.8.6.2
9
+ &mdash; Documentation by YARD 0.8.7
10
10
 
11
11
  </title>
12
12
 
@@ -608,9 +608,9 @@
608
608
  </div>
609
609
 
610
610
  <div id="footer">
611
- Generated on Sat Jul 20 13:28:03 2013 by
611
+ Generated on Sat Aug 17 12:40:13 2013 by
612
612
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
613
- 0.8.6.2 (ruby-1.9.3).
613
+ 0.8.7 (ruby-2.0.0).
614
614
  </div>
615
615
 
616
616
  </body>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Module: Brauser::BrowserMethods::Querying
8
8
 
9
- &mdash; Documentation by YARD 0.8.6.2
9
+ &mdash; Documentation by YARD 0.8.7
10
10
 
11
11
  </title>
12
12
 
@@ -574,9 +574,9 @@
574
574
  </div>
575
575
 
576
576
  <div id="footer">
577
- Generated on Sat Jul 20 13:28:03 2013 by
577
+ Generated on Sat Aug 17 12:40:13 2013 by
578
578
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
579
- 0.8.6.2 (ruby-1.9.3).
579
+ 0.8.7 (ruby-2.0.0).
580
580
  </div>
581
581
 
582
582
  </body>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Module: Brauser::BrowserMethods::Register
8
8
 
9
- &mdash; Documentation by YARD 0.8.6.2
9
+ &mdash; Documentation by YARD 0.8.7
10
10
 
11
11
  </title>
12
12
 
@@ -125,9 +125,9 @@
125
125
  </div>
126
126
 
127
127
  <div id="footer">
128
- Generated on Sat Jul 20 13:28:02 2013 by
128
+ Generated on Sat Aug 17 12:40:12 2013 by
129
129
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
130
- 0.8.6.2 (ruby-1.9.3).
130
+ 0.8.7 (ruby-2.0.0).
131
131
  </div>
132
132
 
133
133
  </body>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Module: Brauser::BrowserMethods::Register::ClassMethods
8
8
 
9
- &mdash; Documentation by YARD 0.8.6.2
9
+ &mdash; Documentation by YARD 0.8.7
10
10
 
11
11
  </title>
12
12
 
@@ -761,9 +761,9 @@
761
761
  </div>
762
762
 
763
763
  <div id="footer">
764
- Generated on Sat Jul 20 13:28:02 2013 by
764
+ Generated on Sat Aug 17 12:40:12 2013 by
765
765
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
766
- 0.8.6.2 (ruby-1.9.3).
766
+ 0.8.7 (ruby-2.0.0).
767
767
  </div>
768
768
 
769
769
  </body>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Module: Brauser::Chainers
8
8
 
9
- &mdash; Documentation by YARD 0.8.6.2
9
+ &mdash; Documentation by YARD 0.8.7
10
10
 
11
11
  </title>
12
12
 
@@ -582,9 +582,9 @@
582
582
  </div>
583
583
 
584
584
  <div id="footer">
585
- Generated on Sat Jul 20 13:28:02 2013 by
585
+ Generated on Sat Aug 17 12:40:12 2013 by
586
586
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
587
- 0.8.6.2 (ruby-1.9.3).
587
+ 0.8.7 (ruby-2.0.0).
588
588
  </div>
589
589
 
590
590
  </body>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: Brauser::Definition
8
8
 
9
- &mdash; Documentation by YARD 0.8.6.2
9
+ &mdash; Documentation by YARD 0.8.7
10
10
 
11
11
  </title>
12
12
 
@@ -424,7 +424,7 @@ This class represents a detection of the current user browser.</p>
424
424
 
425
425
  </h3><div class="docstring">
426
426
  <div class="discussion">
427
- <p>A human readable label for this definition.</p>
427
+ <p>Returns A human readable label for this definition.</p>
428
428
 
429
429
 
430
430
  </div>
@@ -547,7 +547,7 @@ This class represents a detection of the current user browser.</p>
547
547
 
548
548
  </h3><div class="docstring">
549
549
  <div class="discussion">
550
- <p>The primary matcher of this definition. Used to match browser engine, platform name and language.</p>
550
+ <p>Returns The primary matcher of this definition. Used to match browser engine, platform name and language.</p>
551
551
 
552
552
 
553
553
  </div>
@@ -670,7 +670,7 @@ This class represents a detection of the current user browser.</p>
670
670
 
671
671
  </h3><div class="docstring">
672
672
  <div class="discussion">
673
- <p>The secondary matcher of this definition. Used to match browser version.</p>
673
+ <p>Returns The secondary matcher of this definition. Used to match browser version.</p>
674
674
 
675
675
 
676
676
  </div>
@@ -793,7 +793,7 @@ This class represents a detection of the current user browser.</p>
793
793
 
794
794
  </h3><div class="docstring">
795
795
  <div class="discussion">
796
- <p>An identifier for this definition.</p>
796
+ <p>Returns An identifier for this definition.</p>
797
797
 
798
798
 
799
799
  </div>
@@ -1026,9 +1026,9 @@ This class represents a detection of the current user browser.</p>
1026
1026
  </div>
1027
1027
 
1028
1028
  <div id="footer">
1029
- Generated on Sat Jul 20 13:28:04 2013 by
1029
+ Generated on Sat Aug 17 12:40:13 2013 by
1030
1030
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1031
- 0.8.6.2 (ruby-1.9.3).
1031
+ 0.8.7 (ruby-2.0.0).
1032
1032
  </div>
1033
1033
 
1034
1034
  </body>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Module: Brauser::Hooks
8
8
 
9
- &mdash; Documentation by YARD 0.8.6.2
9
+ &mdash; Documentation by YARD 0.8.7
10
10
 
11
11
  </title>
12
12
 
@@ -116,9 +116,9 @@
116
116
  </div>
117
117
 
118
118
  <div id="footer">
119
- Generated on Sat Jul 20 13:28:02 2013 by
119
+ Generated on Sat Aug 17 12:40:12 2013 by
120
120
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
121
- 0.8.6.2 (ruby-1.9.3).
121
+ 0.8.7 (ruby-2.0.0).
122
122
  </div>
123
123
 
124
124
  </body>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Module: Brauser::Hooks::RubyOnRails
8
8
 
9
- &mdash; Documentation by YARD 0.8.6.2
9
+ &mdash; Documentation by YARD 0.8.7
10
10
 
11
11
  </title>
12
12
 
@@ -323,9 +323,9 @@
323
323
  </div>
324
324
 
325
325
  <div id="footer">
326
- Generated on Sat Jul 20 13:28:02 2013 by
326
+ Generated on Sat Aug 17 12:40:12 2013 by
327
327
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
328
- 0.8.6.2 (ruby-1.9.3).
328
+ 0.8.7 (ruby-2.0.0).
329
329
  </div>
330
330
 
331
331
  </body>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Module: Brauser::Queries
8
8
 
9
- &mdash; Documentation by YARD 0.8.6.2
9
+ &mdash; Documentation by YARD 0.8.7
10
10
 
11
11
  </title>
12
12
 
@@ -582,9 +582,9 @@
582
582
  </div>
583
583
 
584
584
  <div id="footer">
585
- Generated on Sat Jul 20 13:28:02 2013 by
585
+ Generated on Sat Aug 17 12:40:12 2013 by
586
586
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
587
- 0.8.6.2 (ruby-1.9.3).
587
+ 0.8.7 (ruby-2.0.0).
588
588
  </div>
589
589
 
590
590
  </body>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: Brauser::Query
8
8
 
9
- &mdash; Documentation by YARD 0.8.6.2
9
+ &mdash; Documentation by YARD 0.8.7
10
10
 
11
11
  </title>
12
12
 
@@ -340,7 +340,7 @@ Brauser::Browser.new.is(:msie).v("&gt;= 7").on?(:windows)
340
340
 
341
341
  </h3><div class="docstring">
342
342
  <div class="discussion">
343
- <p>The current result.</p>
343
+ <p>Returns The current result.</p>
344
344
 
345
345
 
346
346
  </div>
@@ -425,7 +425,7 @@ Brauser::Browser.new.is(:msie).v("&gt;= 7").on?(:windows)
425
425
 
426
426
  </h3><div class="docstring">
427
427
  <div class="discussion">
428
- <p>The current browser.</p>
428
+ <p>Returns The current browser.</p>
429
429
 
430
430
 
431
431
  </div>
@@ -503,9 +503,9 @@ Brauser::Browser.new.is(:msie).v("&gt;= 7").on?(:windows)
503
503
  </div>
504
504
 
505
505
  <div id="footer">
506
- Generated on Sat Jul 20 13:28:03 2013 by
506
+ Generated on Sat Aug 17 12:40:13 2013 by
507
507
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
508
- 0.8.6.2 (ruby-1.9.3).
508
+ 0.8.7 (ruby-2.0.0).
509
509
  </div>
510
510
 
511
511
  </body>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Module: Brauser::Version
8
8
 
9
- &mdash; Documentation by YARD 0.8.6.2
9
+ &mdash; Documentation by YARD 0.8.7
10
10
 
11
11
  </title>
12
12
 
@@ -149,7 +149,7 @@
149
149
 
150
150
  </div>
151
151
  </dt>
152
- <dd><pre class="code"><span class='int'>0</span></pre></dd>
152
+ <dd><pre class="code"><span class='int'>1</span></pre></dd>
153
153
 
154
154
  <dt id="STRING-constant" class="">STRING =
155
155
  <div class="docstring">
@@ -180,9 +180,9 @@
180
180
  </div>
181
181
 
182
182
  <div id="footer">
183
- Generated on Sat Jul 20 13:28:03 2013 by
183
+ Generated on Sat Aug 17 12:40:13 2013 by
184
184
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
185
- 0.8.6.2 (ruby-1.9.3).
185
+ 0.8.7 (ruby-2.0.0).
186
186
  </div>
187
187
 
188
188
  </body>
data/doc/_index.html CHANGED
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
6
  <title>
7
- Documentation by YARD 0.8.6.2
7
+ Documentation by YARD 0.8.7
8
8
 
9
9
  </title>
10
10
 
@@ -56,7 +56,7 @@
56
56
 
57
57
  <iframe id="search_frame"></iframe>
58
58
 
59
- <div id="content"><h1 class="noborder title">Documentation by YARD 0.8.6.2</h1>
59
+ <div id="content"><h1 class="noborder title">Documentation by YARD 0.8.7</h1>
60
60
  <div id="listing">
61
61
  <h1 class="alphaindex">Alphabetic Index</h1>
62
62
 
@@ -295,9 +295,9 @@
295
295
  </div>
296
296
 
297
297
  <div id="footer">
298
- Generated on Sat Jul 20 13:28:02 2013 by
298
+ Generated on Sat Aug 17 12:40:12 2013 by
299
299
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
300
- 0.8.6.2 (ruby-1.9.3).
300
+ 0.8.7 (ruby-2.0.0).
301
301
  </div>
302
302
 
303
303
  </body>
data/doc/file.README.html CHANGED
@@ -2,11 +2,11 @@
2
2
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
3
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
4
  <head>
5
- <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII" />
5
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
6
6
  <title>
7
7
  File: README
8
8
 
9
- &mdash; Documentation by YARD 0.8.6.2
9
+ &mdash; Documentation by YARD 0.8.7
10
10
 
11
11
  </title>
12
12
 
@@ -89,7 +89,7 @@ gem "brauser"
89
89
 
90
90
  <p>Once done that, every controller in your application will have a <code>browser</code> method (also extended to views/layout via <code>helper_method</code>).</p>
91
91
 
92
- <p>If you don&#8217;t use Rails, you can instantiate a new browser by including the gem in your code and by doing something like this:</p>
92
+ <p>If you dont use Rails, you can instantiate a new browser by including the gem in your code and by doing something like this:</p>
93
93
 
94
94
  <p><code>ruby
95
95
  browser = Brauser::Browser.new(USER_AGENT_HEADER, ACCEPT_LANGUAGE_HEADER)
@@ -97,7 +97,7 @@ browser = Brauser::Browser.new(USER_AGENT_HEADER, ACCEPT_LANGUAGE_HEADER)
97
97
 
98
98
  <p>where the first argument is the HTTP header <code>User-Agent</code>, and the second is the HTTP header <code>Accept-Language</code>.</p>
99
99
 
100
- <p>For the rest of this document, let&#8217;s assume you use Chrome 1.2.3 on Mac OS X.</p>
100
+ <p>For the rest of this document, lets assume you use Chrome 1.2.3 on Mac OS X.</p>
101
101
 
102
102
  <h3 id="getting-browser-information">Getting browser information</h3>
103
103
 
@@ -179,11 +179,11 @@ browser.accepts?(["de", "es"])
179
179
  # =&gt; false
180
180
  </code></p>
181
181
 
182
- <p>Every query method exists in two forms: the concatenation one (the method name doesn&#8217;t end with a <code>?</code>.</p>
182
+ <p>Every query method exists in two forms: the concatenation one (the method name doesnt end with a <code>?</code>.</p>
183
183
 
184
184
  <p>The former return a <code>Query</code> object, which supports the same query method of the browser and thus enables concatenation.</p>
185
185
 
186
- <p>The latter return a boolean object, and it&#8217;s equivalent to calling <code>result</code> on the query after concatenation.</p>
186
+ <p>The latter return a boolean object, and its equivalent to calling <code>result</code> on the query after concatenation.</p>
187
187
 
188
188
  <p>Ideally, you should use the <code>?</code> version to end the query and fetch the result.</p>
189
189
 
@@ -205,11 +205,11 @@ browser.is(:chrome).v({lt: "2"}).on(:osx).result
205
205
 
206
206
  <p>```ruby
207
207
  # These expressions are equivalent.
208
- browser.is(:chrome).v(&#8220;&lt; 2 &amp;&amp; &gt; 1.2&#8221;).on(:osx).result
208
+ browser.is(:chrome).v(“&lt; 2 &amp;&amp; &gt; 1.2).on(:osx).result
209
209
  browser.is_chrome_v_lt_2_and_gt_1_2_on_osx.result</p>
210
210
 
211
211
  <h1 id="these-expressions-are-equivalent">These expressions are equivalent.</h1>
212
- <p>browser.is(:chrome).v(&#8220;&lt; 2 &amp;&amp; &gt; 1.2&#8221;).on?(:osx)
212
+ <p>browser.is(:chrome).v(“&lt; 2 &amp;&amp; &gt; 1.2).on?(:osx)
213
213
  browser.is_chrome_v_lt_2_and_gt_1_2_on_osx?
214
214
  ```</p>
215
215
 
@@ -252,26 +252,26 @@ Brauser::Browsers.add(:languages, ::Brauser::Definition.new(:it, "Italian"))
252
252
  <h2 id="contributing-to-brauser">Contributing to brauser</h2>
253
253
 
254
254
  <ul>
255
- <li>Check out the latest master to make sure the feature hasn&#8217;t been implemented or the bug hasn&#8217;t been fixed yet.</li>
256
- <li>Check out the issue tracker to make sure someone already hasn&#8217;t requested it and/or contributed it.</li>
255
+ <li>Check out the latest master to make sure the feature hasnt been implemented or the bug hasnt been fixed yet.</li>
256
+ <li>Check out the issue tracker to make sure someone already hasnt requested it and/or contributed it.</li>
257
257
  <li>Fork the project.</li>
258
258
  <li>Start a feature/bugfix branch.</li>
259
259
  <li>Commit and push until you are happy with your contribution.</li>
260
- <li>Make sure to add tests for it. This is important so I don&#8217;t break it in a future version unintentionally.</li>
260
+ <li>Make sure to add tests for it. This is important so I dont break it in a future version unintentionally.</li>
261
261
  <li>Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.</li>
262
262
  </ul>
263
263
 
264
264
  <h2 id="copyright">Copyright</h2>
265
265
 
266
- <p>Copyright (C) 2013 and above Shogun (shogun_panda@me.com).</p>
266
+ <p>Copyright (C) 2013 and above Shogun (shogun_panda@cowtech.it).</p>
267
267
 
268
268
  <p>Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.</p>
269
269
  </div></div>
270
270
 
271
271
  <div id="footer">
272
- Generated on Sat Jul 20 13:28:02 2013 by
272
+ Generated on Sat Aug 17 12:40:12 2013 by
273
273
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
274
- 0.8.6.2 (ruby-1.9.3).
274
+ 0.8.7 (ruby-2.0.0).
275
275
  </div>
276
276
 
277
277
  </body>
data/doc/frames.html CHANGED
@@ -4,7 +4,7 @@
4
4
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
5
  <head>
6
6
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
7
- <title>Documentation by YARD 0.8.6.2</title>
7
+ <title>Documentation by YARD 0.8.7</title>
8
8
  </head>
9
9
  <script type="text/javascript" charset="utf-8">
10
10
  window.onload = function() {
data/doc/index.html CHANGED
@@ -2,11 +2,11 @@
2
2
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
3
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
4
  <head>
5
- <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII" />
5
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
6
6
  <title>
7
7
  File: README
8
8
 
9
- &mdash; Documentation by YARD 0.8.6.2
9
+ &mdash; Documentation by YARD 0.8.7
10
10
 
11
11
  </title>
12
12
 
@@ -89,7 +89,7 @@ gem "brauser"
89
89
 
90
90
  <p>Once done that, every controller in your application will have a <code>browser</code> method (also extended to views/layout via <code>helper_method</code>).</p>
91
91
 
92
- <p>If you don&#8217;t use Rails, you can instantiate a new browser by including the gem in your code and by doing something like this:</p>
92
+ <p>If you dont use Rails, you can instantiate a new browser by including the gem in your code and by doing something like this:</p>
93
93
 
94
94
  <p><code>ruby
95
95
  browser = Brauser::Browser.new(USER_AGENT_HEADER, ACCEPT_LANGUAGE_HEADER)
@@ -97,7 +97,7 @@ browser = Brauser::Browser.new(USER_AGENT_HEADER, ACCEPT_LANGUAGE_HEADER)
97
97
 
98
98
  <p>where the first argument is the HTTP header <code>User-Agent</code>, and the second is the HTTP header <code>Accept-Language</code>.</p>
99
99
 
100
- <p>For the rest of this document, let&#8217;s assume you use Chrome 1.2.3 on Mac OS X.</p>
100
+ <p>For the rest of this document, lets assume you use Chrome 1.2.3 on Mac OS X.</p>
101
101
 
102
102
  <h3 id="getting-browser-information">Getting browser information</h3>
103
103
 
@@ -179,11 +179,11 @@ browser.accepts?(["de", "es"])
179
179
  # =&gt; false
180
180
  </code></p>
181
181
 
182
- <p>Every query method exists in two forms: the concatenation one (the method name doesn&#8217;t end with a <code>?</code>.</p>
182
+ <p>Every query method exists in two forms: the concatenation one (the method name doesnt end with a <code>?</code>.</p>
183
183
 
184
184
  <p>The former return a <code>Query</code> object, which supports the same query method of the browser and thus enables concatenation.</p>
185
185
 
186
- <p>The latter return a boolean object, and it&#8217;s equivalent to calling <code>result</code> on the query after concatenation.</p>
186
+ <p>The latter return a boolean object, and its equivalent to calling <code>result</code> on the query after concatenation.</p>
187
187
 
188
188
  <p>Ideally, you should use the <code>?</code> version to end the query and fetch the result.</p>
189
189
 
@@ -205,11 +205,11 @@ browser.is(:chrome).v({lt: "2"}).on(:osx).result
205
205
 
206
206
  <p>```ruby
207
207
  # These expressions are equivalent.
208
- browser.is(:chrome).v(&#8220;&lt; 2 &amp;&amp; &gt; 1.2&#8221;).on(:osx).result
208
+ browser.is(:chrome).v(“&lt; 2 &amp;&amp; &gt; 1.2).on(:osx).result
209
209
  browser.is_chrome_v_lt_2_and_gt_1_2_on_osx.result</p>
210
210
 
211
211
  <h1 id="these-expressions-are-equivalent">These expressions are equivalent.</h1>
212
- <p>browser.is(:chrome).v(&#8220;&lt; 2 &amp;&amp; &gt; 1.2&#8221;).on?(:osx)
212
+ <p>browser.is(:chrome).v(“&lt; 2 &amp;&amp; &gt; 1.2).on?(:osx)
213
213
  browser.is_chrome_v_lt_2_and_gt_1_2_on_osx?
214
214
  ```</p>
215
215
 
@@ -252,26 +252,26 @@ Brauser::Browsers.add(:languages, ::Brauser::Definition.new(:it, "Italian"))
252
252
  <h2 id="contributing-to-brauser">Contributing to brauser</h2>
253
253
 
254
254
  <ul>
255
- <li>Check out the latest master to make sure the feature hasn&#8217;t been implemented or the bug hasn&#8217;t been fixed yet.</li>
256
- <li>Check out the issue tracker to make sure someone already hasn&#8217;t requested it and/or contributed it.</li>
255
+ <li>Check out the latest master to make sure the feature hasnt been implemented or the bug hasnt been fixed yet.</li>
256
+ <li>Check out the issue tracker to make sure someone already hasnt requested it and/or contributed it.</li>
257
257
  <li>Fork the project.</li>
258
258
  <li>Start a feature/bugfix branch.</li>
259
259
  <li>Commit and push until you are happy with your contribution.</li>
260
- <li>Make sure to add tests for it. This is important so I don&#8217;t break it in a future version unintentionally.</li>
260
+ <li>Make sure to add tests for it. This is important so I dont break it in a future version unintentionally.</li>
261
261
  <li>Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.</li>
262
262
  </ul>
263
263
 
264
264
  <h2 id="copyright">Copyright</h2>
265
265
 
266
- <p>Copyright (C) 2013 and above Shogun (shogun_panda@me.com).</p>
266
+ <p>Copyright (C) 2013 and above Shogun (shogun_panda@cowtech.it).</p>
267
267
 
268
268
  <p>Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.</p>
269
269
  </div></div>
270
270
 
271
271
  <div id="footer">
272
- Generated on Sat Jul 20 13:28:02 2013 by
272
+ Generated on Sat Aug 17 12:40:12 2013 by
273
273
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
274
- 0.8.6.2 (ruby-1.9.3).
274
+ 0.8.7 (ruby-2.0.0).
275
275
  </div>
276
276
 
277
277
  </body>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Top Level Namespace
8
8
 
9
- &mdash; Documentation by YARD 0.8.6.2
9
+ &mdash; Documentation by YARD 0.8.7
10
10
 
11
11
  </title>
12
12
 
@@ -103,9 +103,9 @@
103
103
  </div>
104
104
 
105
105
  <div id="footer">
106
- Generated on Sat Jul 20 13:28:02 2013 by
106
+ Generated on Sat Aug 17 12:40:12 2013 by
107
107
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
108
- 0.8.6.2 (ruby-1.9.3).
108
+ 0.8.7 (ruby-2.0.0).
109
109
  </div>
110
110
 
111
111
  </body>
data/lib/brauser.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  # encoding: utf-8
2
2
  #
3
- # This file is part of the brauser gem. Copyright (C) 2013 and above Shogun <shogun_panda@me.com>.
3
+ # This file is part of the brauser gem. Copyright (C) 2013 and above Shogun <shogun_panda@cowtech.it>.
4
4
  # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
5
5
  #
6
6
 
@@ -1,6 +1,6 @@
1
1
  # encoding: utf-8
2
2
  #
3
- # This file is part of the brauser gem. Copyright (C) 2013 and above Shogun <shogun_panda@me.com>.
3
+ # This file is part of the brauser gem. Copyright (C) 2013 and above Shogun <shogun_panda@cowtech.it>.
4
4
  # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
5
5
  #
6
6
 
@@ -1,6 +1,6 @@
1
1
  # encoding: utf-8
2
2
  #
3
- # This file is part of the brauser gem. Copyright (C) 2013 and above Shogun <shogun_panda@me.com>.
3
+ # This file is part of the brauser gem. Copyright (C) 2013 and above Shogun <shogun_panda@cowtech.it>.
4
4
  # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
5
5
  #
6
6
 
data/lib/brauser/hooks.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  # encoding: utf-8
2
2
  #
3
- # This file is part of the brauser gem. Copyright (C) 2013 and above Shogun <shogun_panda@me.com>.
3
+ # This file is part of the brauser gem. Copyright (C) 2013 and above Shogun <shogun_panda@cowtech.it>.
4
4
  # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
5
5
  #
6
6
 
data/lib/brauser/query.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  # encoding: utf-8
2
2
  #
3
- # This file is part of the brauser gem. Copyright (C) 2013 and above Shogun <shogun_panda@me.com>.
3
+ # This file is part of the brauser gem. Copyright (C) 2013 and above Shogun <shogun_panda@cowtech.it>.
4
4
  # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
5
5
  #
6
6
 
@@ -1,6 +1,6 @@
1
1
  # encoding: utf-8
2
2
  #
3
- # This file is part of the brauser gem. Copyright (C) 2013 and above Shogun <shogun_panda@me.com>.
3
+ # This file is part of the brauser gem. Copyright (C) 2013 and above Shogun <shogun_panda@cowtech.it>.
4
4
  # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
5
5
  #
6
6
 
@@ -16,7 +16,7 @@ module Brauser
16
16
  MINOR = 2
17
17
 
18
18
  # The patch version.
19
- PATCH = 0
19
+ PATCH = 1
20
20
 
21
21
  # The current version of brauser.
22
22
  STRING = [MAJOR, MINOR, PATCH].compact.join(".")
@@ -1,6 +1,6 @@
1
1
  # encoding: utf-8
2
2
  #
3
- # This file is part of the brauser gem. Copyright (C) 2013 and above Shogun <shogun_panda@me.com>.
3
+ # This file is part of the brauser gem. Copyright (C) 2013 and above Shogun <shogun_panda@cowtech.it>.
4
4
  # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
5
5
  #
6
6
 
@@ -1,6 +1,6 @@
1
1
  # encoding: utf-8
2
2
  #
3
- # This file is part of the brauser gem. Copyright (C) 2013 and above Shogun <shogun_panda@me.com>.
3
+ # This file is part of the brauser gem. Copyright (C) 2013 and above Shogun <shogun_panda@cowtech.it>.
4
4
  # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
5
5
  #
6
6
 
@@ -1,6 +1,6 @@
1
1
  # encoding: utf-8
2
2
  #
3
- # This file is part of the brauser gem. Copyright (C) 2013 and above Shogun <shogun_panda@me.com>.
3
+ # This file is part of the brauser gem. Copyright (C) 2013 and above Shogun <shogun_panda@cowtech.it>.
4
4
  # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
5
5
  #
6
6
 
@@ -1,6 +1,6 @@
1
1
  # encoding: utf-8
2
2
  #
3
- # This file is part of the brauser gem. Copyright (C) 2013 and above Shogun <shogun_panda@me.com>.
3
+ # This file is part of the brauser gem. Copyright (C) 2013 and above Shogun <shogun_panda@cowtech.it>.
4
4
  # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
5
5
  #
6
6
 
@@ -1,6 +1,6 @@
1
1
  # encoding: utf-8
2
2
  #
3
- # This file is part of the brauser gem. Copyright (C) 2013 and above Shogun <shogun_panda@me.com>.
3
+ # This file is part of the brauser gem. Copyright (C) 2013 and above Shogun <shogun_panda@cowtech.it>.
4
4
  # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
5
5
  #
6
6
 
@@ -8,7 +8,7 @@ require "pathname"
8
8
  require "simplecov"
9
9
  require "coveralls"
10
10
 
11
- Coveralls.wear!
11
+ Coveralls.wear! if ENV["CI"] || ENV["JENKINS_URL"]
12
12
 
13
13
  SimpleCov.start do
14
14
  root = Pathname.new(File.dirname(__FILE__)) + ".."
@@ -17,4 +17,4 @@ SimpleCov.start do
17
17
  path = Pathname.new(src_file.filename).relative_path_from(root).to_s
18
18
  path !~ /^lib/
19
19
  end
20
- end
20
+ end
data/spec/spec_helper.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  # encoding: utf-8
2
2
  #
3
- # This file is part of the brauser gem. Copyright (C) 2013 and above Shogun <shogun_panda@me.com>.
3
+ # This file is part of the brauser gem. Copyright (C) 2013 and above Shogun <shogun_panda@cowtech.it>.
4
4
  # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
5
5
  #
6
6
 
metadata CHANGED
@@ -1,20 +1,18 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: brauser
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.0
5
- prerelease:
4
+ version: 3.2.1
6
5
  platform: ruby
7
6
  authors:
8
7
  - Shogun
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-07-20 00:00:00.000000000 Z
11
+ date: 2013-08-17 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: lazier
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
17
  - - ~>
20
18
  - !ruby/object:Gem::Version
@@ -22,14 +20,13 @@ dependencies:
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
24
  - - ~>
28
25
  - !ruby/object:Gem::Version
29
26
  version: 3.3.1
30
27
  description: A framework agnostic browser detection and querying helper.
31
28
  email:
32
- - shogun_panda@me.com
29
+ - shogun_panda@cowtech.it
33
30
  executables: []
34
31
  extensions: []
35
32
  extra_rdoc_files: []
@@ -88,30 +85,26 @@ files:
88
85
  - spec/spec_helper.rb
89
86
  homepage: http://sw.cow.tc/brauser
90
87
  licenses: []
88
+ metadata: {}
91
89
  post_install_message:
92
90
  rdoc_options: []
93
91
  require_paths:
94
92
  - lib
95
93
  required_ruby_version: !ruby/object:Gem::Requirement
96
- none: false
97
94
  requirements:
98
- - - ! '>='
95
+ - - '>='
99
96
  - !ruby/object:Gem::Version
100
97
  version: 1.9.3
101
98
  required_rubygems_version: !ruby/object:Gem::Requirement
102
- none: false
103
99
  requirements:
104
- - - ! '>='
100
+ - - '>='
105
101
  - !ruby/object:Gem::Version
106
102
  version: '0'
107
- segments:
108
- - 0
109
- hash: 1036577330368772816
110
103
  requirements: []
111
104
  rubyforge_project: brauser
112
- rubygems_version: 1.8.25
105
+ rubygems_version: 2.0.6
113
106
  signing_key:
114
- specification_version: 3
107
+ specification_version: 4
115
108
  summary: A framework agnostic browser detection and querying helper.
116
109
  test_files:
117
110
  - spec/brauser/browser_spec.rb