wurfl 1.1.1 → 1.1.2

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.1
1
+ 1.1.2
@@ -123,6 +123,10 @@ class Wurfl::Command::Inspector < Wurfl::Command
123
123
 
124
124
  if handset
125
125
  handset = insp.get_handset(handset)
126
+ unless handset
127
+ puts "No handset found"
128
+ exit 1
129
+ end
126
130
  puts "Handset user agent: #{handset.user_agent}"
127
131
  if query
128
132
  puts "Result of handset query: #{query}"
data/wurfl.gemspec CHANGED
@@ -2,11 +2,11 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{wurfl}
5
- s.version = "1.1.1"
5
+ s.version = "1.1.2"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Paul McMahon", "Zev Blut"]
9
- s.date = %q{2009-07-11}
9
+ s.date = %q{2009-07-13}
10
10
  s.default_executable = %q{wurfltools.rb}
11
11
  s.description = %q{TODO}
12
12
  s.email = %q{info@mobalean.com}
@@ -47,9 +47,9 @@ Gem::Specification.new do |s|
47
47
  s.rubygems_version = %q{1.3.1}
48
48
  s.summary = %q{Library and tools for manipulating the WURFL}
49
49
  s.test_files = [
50
- "test/utils_test.rb",
51
- "test/loader_test.rb",
52
- "test/handset_test.rb"
50
+ "test/loader_test.rb",
51
+ "test/handset_test.rb",
52
+ "test/utils_test.rb"
53
53
  ]
54
54
 
55
55
  if s.respond_to? :specification_version then
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wurfl
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul McMahon
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2009-07-11 00:00:00 +09:00
13
+ date: 2009-07-13 00:00:00 +09:00
14
14
  default_executable: wurfltools.rb
15
15
  dependencies: []
16
16
 
@@ -73,6 +73,6 @@ signing_key:
73
73
  specification_version: 2
74
74
  summary: Library and tools for manipulating the WURFL
75
75
  test_files:
76
- - test/utils_test.rb
77
76
  - test/loader_test.rb
78
77
  - test/handset_test.rb
78
+ - test/utils_test.rb