spob_browser_detector 1.0.4 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.0
1
+ 1.1.1
@@ -192,6 +192,11 @@ module SpobBrowserDetector
192
192
  return match.nil? ? '0' : match[1]
193
193
  end
194
194
 
195
+ def resolve_version_for_ie_ce
196
+ match = /.*msie (.*); windows nt 5.1/.match( @ua )
197
+ return match.nil? ? '0' : match[1]
198
+ end
199
+
195
200
  def resolve_version_for_firefox
196
201
  match = /.*\((.*); u;.*firefox\/(.*) \(.net.*/.match( @ua )
197
202
  if match.nil?
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spob_browser_detector
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
4
+ hash: 17
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
- - 0
9
- - 4
10
- version: 1.0.4
8
+ - 1
9
+ - 1
10
+ version: 1.1.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - C. Jason Harrelson (midas)
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-07-24 00:00:00 -04:00
18
+ date: 2011-01-01 00:00:00 -05:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -45,7 +45,6 @@ extra_rdoc_files:
45
45
  - README.rdoc
46
46
  files:
47
47
  - .document
48
- - .gitignore
49
48
  - History.txt
50
49
  - LICENSE
51
50
  - README.rdoc
@@ -64,8 +63,8 @@ homepage: http://github.com/midas/browser_detector
64
63
  licenses: []
65
64
 
66
65
  post_install_message:
67
- rdoc_options:
68
- - --charset=UTF-8
66
+ rdoc_options: []
67
+
69
68
  require_paths:
70
69
  - lib
71
70
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -94,7 +93,7 @@ signing_key:
94
93
  specification_version: 3
95
94
  summary: Determines the name and version of the browser currently making a request.
96
95
  test_files:
97
- - test/test_helper.rb
98
- - test/browser_detector_test.rb
99
- - test/browser_detector/rails/view_helpers_test.rb
100
96
  - test/browser_detector/detector_test.rb
97
+ - test/browser_detector/rails/view_helpers_test.rb
98
+ - test/browser_detector_test.rb
99
+ - test/test_helper.rb
data/.gitignore DELETED
@@ -1,8 +0,0 @@
1
- *.sw?
2
- .DS_Store
3
- coverage
4
- rdoc
5
- pkg
6
- .idea
7
- *.gemspec
8
- *.gem