dungeon_master 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.3
1
+ 0.0.4
@@ -4,14 +4,14 @@
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
- s.name = %q{dungeon_master}
8
- s.version = "0.0.3"
7
+ s.name = "dungeon_master"
8
+ s.version = "0.0.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["James Golick"]
12
- s.date = %q{2011-08-26}
13
- s.description = %q{Fuck gem descriptions.}
14
- s.email = %q{jamesgolick@gmail.com}
12
+ s.date = "2011-12-08"
13
+ s.description = "Fuck gem descriptions."
14
+ s.email = "jamesgolick@gmail.com"
15
15
  s.extra_rdoc_files = [
16
16
  "LICENSE.txt",
17
17
  "README.rdoc"
@@ -30,11 +30,11 @@ Gem::Specification.new do |s|
30
30
  "spec/dungeon_master_spec.rb",
31
31
  "spec/spec_helper.rb"
32
32
  ]
33
- s.homepage = %q{http://github.com/jamesgolick/dungeon_master}
33
+ s.homepage = "http://github.com/jamesgolick/dungeon_master"
34
34
  s.licenses = ["MIT"]
35
35
  s.require_paths = ["lib"]
36
- s.rubygems_version = %q{1.5.2}
37
- s.summary = %q{Fuck gem summaries.}
36
+ s.rubygems_version = "1.3.9.3"
37
+ s.summary = "Fuck gem summaries."
38
38
  s.test_files = [
39
39
  "spec/dungeon_master_spec.rb",
40
40
  "spec/spec_helper.rb"
@@ -17,7 +17,7 @@ module DungeonMaster
17
17
  def active?(user_agent, group = "main")
18
18
  current_browser = UserAgent.parse(user_agent)
19
19
  supported_browsers(group).any? do |browser|
20
- current_browser >= browser
20
+ current_browser >= browser && !current_browser.mobile?
21
21
  end
22
22
  end
23
23
 
@@ -10,5 +10,9 @@ describe "DungeonMaster::Decider" do
10
10
  @decider.activate("Chrome", "13.0.782.215")
11
11
  @decider.should be_active("Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.215 Safari/535.1")
12
12
  @decider.should_not be_active("Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.213 Safari/535.1")
13
+
14
+ @decider.activate("Safari", "4.0.0")
15
+ @decider.should be_active("Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_6; en-us) AppleWebKit/528.16 (KHTML, like Gecko) Version/4.0 Safari/528.16")
16
+ @decider.should_not be_active("Mozilla/5.0 (iPod; U; CPU iPhone OS 4_3_3 like Mac OS X; ja-jp) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8J2 Safari/6533.18.5")
13
17
  end
14
18
  end
metadata CHANGED
@@ -1,13 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dungeon_master
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 23
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 3
10
- version: 0.0.3
9
+ - 4
10
+ segments_generated: true
11
+ version: 0.0.4
11
12
  platform: ruby
12
13
  authors:
13
14
  - James Golick
@@ -15,12 +16,10 @@ autorequire:
15
16
  bindir: bin
16
17
  cert_chain: []
17
18
 
18
- date: 2011-08-26 00:00:00 -07:00
19
+ date: 2011-12-08 00:00:00 -08:00
19
20
  default_executable:
20
21
  dependencies:
21
22
  - !ruby/object:Gem::Dependency
22
- prerelease: false
23
- type: :runtime
24
23
  requirement: &id001 !ruby/object:Gem::Requirement
25
24
  none: false
26
25
  requirements:
@@ -31,12 +30,13 @@ dependencies:
31
30
  - 0
32
31
  - 4
33
32
  - 3
33
+ segments_generated: true
34
34
  version: 0.4.3
35
- name: useragent-fl
36
- version_requirements: *id001
37
- - !ruby/object:Gem::Dependency
38
35
  prerelease: false
39
36
  type: :runtime
37
+ version_requirements: *id001
38
+ name: useragent-fl
39
+ - !ruby/object:Gem::Dependency
40
40
  requirement: &id002 !ruby/object:Gem::Requirement
41
41
  none: false
42
42
  requirements:
@@ -47,12 +47,13 @@ dependencies:
47
47
  - 2
48
48
  - 2
49
49
  - 0
50
+ segments_generated: true
50
51
  version: 2.2.0
51
- name: redis
52
- version_requirements: *id002
53
- - !ruby/object:Gem::Dependency
54
52
  prerelease: false
55
53
  type: :runtime
54
+ version_requirements: *id002
55
+ name: redis
56
+ - !ruby/object:Gem::Dependency
56
57
  requirement: &id003 !ruby/object:Gem::Requirement
57
58
  none: false
58
59
  requirements:
@@ -63,12 +64,13 @@ dependencies:
63
64
  - 0
64
65
  - 8
65
66
  - 3
67
+ segments_generated: true
66
68
  version: 0.8.3
67
- name: yajl-ruby
69
+ prerelease: false
70
+ type: :runtime
68
71
  version_requirements: *id003
72
+ name: yajl-ruby
69
73
  - !ruby/object:Gem::Dependency
70
- prerelease: false
71
- type: :development
72
74
  requirement: &id004 !ruby/object:Gem::Requirement
73
75
  none: false
74
76
  requirements:
@@ -79,12 +81,13 @@ dependencies:
79
81
  - 2
80
82
  - 3
81
83
  - 0
84
+ segments_generated: true
82
85
  version: 2.3.0
83
- name: rspec
84
- version_requirements: *id004
85
- - !ruby/object:Gem::Dependency
86
86
  prerelease: false
87
87
  type: :development
88
+ version_requirements: *id004
89
+ name: rspec
90
+ - !ruby/object:Gem::Dependency
88
91
  requirement: &id005 !ruby/object:Gem::Requirement
89
92
  none: false
90
93
  requirements:
@@ -95,12 +98,13 @@ dependencies:
95
98
  - 1
96
99
  - 0
97
100
  - 0
101
+ segments_generated: true
98
102
  version: 1.0.0
99
- name: bundler
100
- version_requirements: *id005
101
- - !ruby/object:Gem::Dependency
102
103
  prerelease: false
103
104
  type: :development
105
+ version_requirements: *id005
106
+ name: bundler
107
+ - !ruby/object:Gem::Dependency
104
108
  requirement: &id006 !ruby/object:Gem::Requirement
105
109
  none: false
106
110
  requirements:
@@ -111,12 +115,13 @@ dependencies:
111
115
  - 1
112
116
  - 5
113
117
  - 2
118
+ segments_generated: true
114
119
  version: 1.5.2
115
- name: jeweler
116
- version_requirements: *id006
117
- - !ruby/object:Gem::Dependency
118
120
  prerelease: false
119
121
  type: :development
122
+ version_requirements: *id006
123
+ name: jeweler
124
+ - !ruby/object:Gem::Dependency
120
125
  requirement: &id007 !ruby/object:Gem::Requirement
121
126
  none: false
122
127
  requirements:
@@ -125,12 +130,13 @@ dependencies:
125
130
  hash: 3
126
131
  segments:
127
132
  - 0
133
+ segments_generated: true
128
134
  version: "0"
129
- name: rcov
135
+ prerelease: false
136
+ type: :development
130
137
  version_requirements: *id007
138
+ name: rcov
131
139
  - !ruby/object:Gem::Dependency
132
- prerelease: false
133
- type: :runtime
134
140
  requirement: &id008 !ruby/object:Gem::Requirement
135
141
  none: false
136
142
  requirements:
@@ -141,12 +147,13 @@ dependencies:
141
147
  - 0
142
148
  - 4
143
149
  - 3
150
+ segments_generated: true
144
151
  version: 0.4.3
145
- name: useragent-fl
146
- version_requirements: *id008
147
- - !ruby/object:Gem::Dependency
148
152
  prerelease: false
149
153
  type: :runtime
154
+ version_requirements: *id008
155
+ name: useragent-fl
156
+ - !ruby/object:Gem::Dependency
150
157
  requirement: &id009 !ruby/object:Gem::Requirement
151
158
  none: false
152
159
  requirements:
@@ -157,12 +164,13 @@ dependencies:
157
164
  - 2
158
165
  - 2
159
166
  - 0
167
+ segments_generated: true
160
168
  version: 2.2.0
161
- name: redis
162
- version_requirements: *id009
163
- - !ruby/object:Gem::Dependency
164
169
  prerelease: false
165
170
  type: :runtime
171
+ version_requirements: *id009
172
+ name: redis
173
+ - !ruby/object:Gem::Dependency
166
174
  requirement: &id010 !ruby/object:Gem::Requirement
167
175
  none: false
168
176
  requirements:
@@ -173,9 +181,12 @@ dependencies:
173
181
  - 0
174
182
  - 8
175
183
  - 3
184
+ segments_generated: true
176
185
  version: 0.8.3
177
- name: yajl-ruby
186
+ prerelease: false
187
+ type: :runtime
178
188
  version_requirements: *id010
189
+ name: yajl-ruby
179
190
  description: Fuck gem descriptions.
180
191
  email: jamesgolick@gmail.com
181
192
  executables: []
@@ -215,6 +226,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
215
226
  hash: 3
216
227
  segments:
217
228
  - 0
229
+ segments_generated: true
218
230
  version: "0"
219
231
  required_rubygems_version: !ruby/object:Gem::Requirement
220
232
  none: false
@@ -224,11 +236,12 @@ required_rubygems_version: !ruby/object:Gem::Requirement
224
236
  hash: 3
225
237
  segments:
226
238
  - 0
239
+ segments_generated: true
227
240
  version: "0"
228
241
  requirements: []
229
242
 
230
243
  rubyforge_project:
231
- rubygems_version: 1.5.2
244
+ rubygems_version: 1.3.9.3
232
245
  signing_key:
233
246
  specification_version: 3
234
247
  summary: Fuck gem summaries.