browser_detector 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +5 -0
- data/VERSION +1 -1
- data/browser_detector.gemspec +2 -2
- data/lib/browser_detector.rb +1 -1
- data/lib/browser_detector/detector.rb +8 -0
- metadata +2 -2
data/History.txt
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.1
|
data/browser_detector.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{browser_detector}
|
8
|
-
s.version = "1.0.
|
8
|
+
s.version = "1.0.1"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["C. Jason Harrelson (midas)"]
|
12
|
-
s.date = %q{2010-02-
|
12
|
+
s.date = %q{2010-02-04}
|
13
13
|
s.description = %q{Determines the name and version of the browser currently making a request.}
|
14
14
|
s.email = %q{jason@lookforwardenterprises.com}
|
15
15
|
s.extra_rdoc_files = [
|
data/lib/browser_detector.rb
CHANGED
@@ -214,6 +214,10 @@ module BrowserDetector
|
|
214
214
|
end
|
215
215
|
end
|
216
216
|
|
217
|
+
def resolve_version_for_unknown
|
218
|
+
'0'
|
219
|
+
end
|
220
|
+
|
217
221
|
def browser_full_name_for_ie
|
218
222
|
"Internet Explorer #{browser_version}"
|
219
223
|
end
|
@@ -229,5 +233,9 @@ module BrowserDetector
|
|
229
233
|
def browser_full_name_for_safari
|
230
234
|
"Safari #{browser_version}"
|
231
235
|
end
|
236
|
+
|
237
|
+
def browser_full_name_for_unknown
|
238
|
+
""
|
239
|
+
end
|
232
240
|
end
|
233
241
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: browser_detector
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- C. Jason Harrelson (midas)
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2010-02-
|
12
|
+
date: 2010-02-04 00:00:00 -06:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|