mobylette 1.4.2 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.rdoc +7 -7
- data/lib/mobylette.rb +3 -3
- data/lib/mobylette/helmet.rb +2 -2
- data/lib/mobylette/version.rb +1 -1
- data/spec/dummy/log/test.log +126 -66
- data/spec/spec_helper.rb +1 -0
- metadata +9 -9
data/README.rdoc
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
http://tscolari.github.com/mobylette/mobylette_images/mobylette.jpg
|
2
2
|
|
3
|
+
Note: At next version (1.6) only ruby >= 1.9 will be supported.
|
4
|
+
|
3
5
|
= Mobylette http://travis-ci.org/tscolari/mobylette.png
|
4
6
|
|
5
7
|
This gem works by adding the 'mobile' format to your rails application. Whenever a request come from a mobile device, if you have your controller mobile enabled, it shall render the view.mobile.erb instead of the view.html.erb (or haml, or whatever).
|
@@ -47,10 +49,6 @@ There is a difference between is_mobile_view? and is_mobile_request?. You may ha
|
|
47
49
|
|
48
50
|
Same as mobylette_stylesheet_link_tag, but for javascript files and javascript_include_tag
|
49
51
|
|
50
|
-
== Mobile View Path
|
51
|
-
|
52
|
-
This was a terrible idea I introduced in version 1.3.0, and completely removed in 1.4.0. I'm really sorry for that.
|
53
|
-
|
54
52
|
== Fall Backs
|
55
53
|
|
56
54
|
By default, when the mobile format is not found, mobylette will fall back to the request original format. For example, if a cell phone makes a request by html, and there is no mobile view, it will render the html. You may force it always to fall back to a especific format, by passing the :fall_back parameter to the respond_to_mobile_requests method:
|
@@ -96,23 +94,25 @@ This will disable any override (default).
|
|
96
94
|
|
97
95
|
http://tscolari.github.com/mobylette/mobylette_images/helmet.jpg
|
98
96
|
|
99
|
-
Don't drive your mobylette without your Helmet! It's
|
97
|
+
Don't drive your mobylette without your Helmet! It's safer to do tests!
|
100
98
|
|
101
99
|
For testing, include the Mobylette::Helmet module to your test/test_helpers.rb:
|
102
100
|
|
101
|
+
require 'mobylette/helmet'
|
103
102
|
include Mobylette::Helmet
|
104
103
|
|
105
104
|
For RSpec: add to your spec/spec_helpers.rb or create a spec/support/mobylette.rb with the following:
|
106
105
|
|
106
|
+
require 'mobylette/helmet'
|
107
107
|
RSpec.configure do |config|
|
108
108
|
config.include Mobylette::Helmet, :type => :controller
|
109
109
|
end
|
110
110
|
|
111
111
|
This will add 2 methods to your test scope:
|
112
112
|
|
113
|
-
force_mobile_request_agent
|
113
|
+
force_mobile_request_agent
|
114
114
|
|
115
|
-
this one will force
|
115
|
+
this one will force a mobile user_agent, allowing you to test mobile requests.
|
116
116
|
|
117
117
|
reset_test_request_agent
|
118
118
|
|
data/lib/mobylette.rb
CHANGED
@@ -2,12 +2,12 @@
|
|
2
2
|
# Rails automatic mobile request support
|
3
3
|
module Mobylette
|
4
4
|
module Controllers
|
5
|
-
|
6
|
-
|
5
|
+
require "mobylette/controllers/respond_to_mobile_requests"
|
6
|
+
require "mobylette/controllers/helpers"
|
7
7
|
end
|
8
8
|
|
9
9
|
# TestHelpers
|
10
|
-
|
10
|
+
# require "mobylette/helmet"
|
11
11
|
|
12
12
|
require 'mobylette/railtie'
|
13
13
|
end
|
data/lib/mobylette/helmet.rb
CHANGED
@@ -6,8 +6,8 @@ module Mobylette
|
|
6
6
|
# documentation about how to make this test wide.
|
7
7
|
module Helmet
|
8
8
|
extend ActiveSupport::Concern
|
9
|
-
|
10
|
-
|
9
|
+
require "mobylette/helmet/helpers"
|
10
|
+
require "mobylette/helmet/faker"
|
11
11
|
|
12
12
|
# Force the request for the user_agent
|
13
13
|
#
|
data/lib/mobylette/version.rb
CHANGED
data/spec/dummy/log/test.log
CHANGED
@@ -1,56 +1,116 @@
|
|
1
1
|
Processing by DefaultFallbackController#index as HTML
|
2
|
-
Completed 200 OK in
|
2
|
+
Completed 200 OK in 140ms (Views: 138.8ms)
|
3
3
|
Processing by DefaultFallbackController#index as HTML
|
4
4
|
Completed 200 OK in 3ms (Views: 3.2ms)
|
5
5
|
Processing by DefaultFallbackController#test as HTML
|
6
|
-
Completed 200 OK in 3ms (Views: 2.
|
6
|
+
Completed 200 OK in 3ms (Views: 2.5ms)
|
7
7
|
Processing by DefaultFallbackController#test as JS
|
8
|
-
Completed 200 OK in
|
8
|
+
Completed 200 OK in 48ms (Views: 47.7ms)
|
9
9
|
Processing by ForceFallbackController#index as HTML
|
10
|
-
Completed 200 OK in
|
10
|
+
Completed 200 OK in 7ms (Views: 6.4ms)
|
11
11
|
Processing by ForceFallbackController#index as HTML
|
12
|
-
Completed 200 OK in 3ms (Views:
|
12
|
+
Completed 200 OK in 3ms (Views: 2.5ms)
|
13
|
+
Processing by ForceFallbackController#test as HTML
|
14
|
+
Completed 200 OK in 2ms (Views: 1.9ms)
|
13
15
|
Processing by ForceFallbackController#test as HTML
|
16
|
+
Completed 200 OK in 1ms (Views: 0.9ms)
|
17
|
+
Processing by ForceFallbackController#test as JS
|
18
|
+
Completed 200 OK in 1ms (Views: 0.9ms)
|
19
|
+
Processing by HomeController#index as HTML
|
20
|
+
Completed 200 OK in 7ms (Views: 6.1ms)
|
21
|
+
Processing by HomeController#index as HTML
|
22
|
+
Completed 200 OK in 2ms (Views: 1.8ms)
|
23
|
+
Processing by HomeController#index as HTML
|
24
|
+
Completed 200 OK in 3ms (Views: 3.1ms)
|
25
|
+
Processing by HomeController#index as HTML
|
26
|
+
Completed 200 OK in 2ms (Views: 1.6ms)
|
27
|
+
Processing by HomeController#index as HTML
|
28
|
+
Completed 200 OK in 2ms (Views: 1.8ms)
|
29
|
+
Processing by HomeController#index as HTML
|
30
|
+
Completed 200 OK in 2ms (Views: 1.6ms)
|
31
|
+
Processing by HomeController#index as HTML
|
14
32
|
Completed 200 OK in 2ms (Views: 1.8ms)
|
33
|
+
Processing by HomeController#index as HTML
|
34
|
+
Completed 200 OK in 2ms (Views: 1.5ms)
|
35
|
+
Processing by HomeController#index as HTML
|
36
|
+
Completed 200 OK in 2ms (Views: 1.8ms)
|
37
|
+
Processing by HomeController#respond_to_test as HTML
|
38
|
+
Completed 200 OK in 3ms (Views: 2.9ms)
|
39
|
+
Processing by HomeController#respond_to_test as HTML
|
40
|
+
Completed 200 OK in 3ms (Views: 2.6ms)
|
41
|
+
Processing by HomeController#respond_to_test as MOBILE
|
42
|
+
Completed 200 OK in 2ms (Views: 1.4ms)
|
43
|
+
Processing by HomeController#index as JS
|
44
|
+
Completed 200 OK in 51ms (Views: 51.1ms)
|
45
|
+
Processing by HomeController#index as HTML
|
46
|
+
Completed 200 OK in 2ms (Views: 1.6ms)
|
47
|
+
Processing by HomeController#index as HTML
|
48
|
+
Completed 200 OK in 2ms (Views: 1.8ms)
|
49
|
+
Processing by NoFallbackController#index as HTML
|
50
|
+
Completed 200 OK in 7ms (Views: 6.0ms)
|
51
|
+
Processing by NoFallbackController#index as HTML
|
52
|
+
Completed 200 OK in 3ms (Views: 2.5ms)
|
53
|
+
Processing by NoFallbackController#test as HTML
|
54
|
+
Completed 500 Internal Server Error in 2ms
|
55
|
+
Processing by NoFallbackController#test as HTML
|
56
|
+
Completed 500 Internal Server Error in 1ms
|
57
|
+
Processing by NoFallbackController#test as HTML
|
58
|
+
Completed 500 Internal Server Error in 1ms
|
59
|
+
Processing by SkipXhrRequestController#index as JS
|
60
|
+
Completed 200 OK in 8ms (Views: 7.8ms)
|
61
|
+
Processing by DefaultFallbackController#index as HTML
|
62
|
+
Completed 200 OK in 41ms (Views: 40.7ms)
|
63
|
+
Processing by DefaultFallbackController#index as HTML
|
64
|
+
Completed 200 OK in 3ms (Views: 3.1ms)
|
65
|
+
Processing by DefaultFallbackController#test as HTML
|
66
|
+
Completed 200 OK in 3ms (Views: 2.4ms)
|
67
|
+
Processing by DefaultFallbackController#test as JS
|
68
|
+
Completed 200 OK in 44ms (Views: 44.0ms)
|
69
|
+
Processing by ForceFallbackController#index as HTML
|
70
|
+
Completed 200 OK in 5ms (Views: 4.9ms)
|
71
|
+
Processing by ForceFallbackController#index as HTML
|
72
|
+
Completed 200 OK in 3ms (Views: 2.7ms)
|
15
73
|
Processing by ForceFallbackController#test as HTML
|
16
|
-
Completed 200 OK in
|
74
|
+
Completed 200 OK in 2ms (Views: 1.9ms)
|
75
|
+
Processing by ForceFallbackController#test as HTML
|
76
|
+
Completed 200 OK in 1ms (Views: 0.9ms)
|
17
77
|
Processing by ForceFallbackController#test as JS
|
18
78
|
Completed 200 OK in 1ms (Views: 0.8ms)
|
19
79
|
Processing by HomeController#index as HTML
|
20
|
-
Completed 200 OK in
|
80
|
+
Completed 200 OK in 6ms (Views: 5.6ms)
|
21
81
|
Processing by HomeController#index as HTML
|
22
|
-
Completed 200 OK in 2ms (Views: 1.
|
82
|
+
Completed 200 OK in 2ms (Views: 1.9ms)
|
23
83
|
Processing by HomeController#index as HTML
|
24
|
-
Completed 200 OK in 3ms (Views:
|
84
|
+
Completed 200 OK in 3ms (Views: 2.9ms)
|
25
85
|
Processing by HomeController#index as HTML
|
26
86
|
Completed 200 OK in 2ms (Views: 1.4ms)
|
27
87
|
Processing by HomeController#index as HTML
|
28
|
-
Completed 200 OK in 2ms (Views: 1.
|
88
|
+
Completed 200 OK in 2ms (Views: 1.5ms)
|
29
89
|
Processing by HomeController#index as HTML
|
30
90
|
Completed 200 OK in 2ms (Views: 1.5ms)
|
31
91
|
Processing by HomeController#index as HTML
|
32
|
-
Completed 200 OK in 2ms (Views: 1.
|
92
|
+
Completed 200 OK in 2ms (Views: 1.5ms)
|
33
93
|
Processing by HomeController#index as HTML
|
34
94
|
Completed 200 OK in 2ms (Views: 1.4ms)
|
35
95
|
Processing by HomeController#index as HTML
|
36
|
-
Completed 200 OK in 2ms (Views: 1.
|
96
|
+
Completed 200 OK in 2ms (Views: 1.4ms)
|
37
97
|
Processing by HomeController#respond_to_test as HTML
|
38
98
|
Completed 200 OK in 3ms (Views: 2.4ms)
|
39
99
|
Processing by HomeController#respond_to_test as HTML
|
40
|
-
Completed 200 OK in 3ms (Views: 2.
|
100
|
+
Completed 200 OK in 3ms (Views: 2.5ms)
|
41
101
|
Processing by HomeController#respond_to_test as MOBILE
|
42
102
|
Completed 200 OK in 2ms (Views: 1.2ms)
|
43
103
|
Processing by HomeController#index as JS
|
44
|
-
Completed 200 OK in
|
104
|
+
Completed 200 OK in 7ms (Views: 6.4ms)
|
45
105
|
Processing by HomeController#index as HTML
|
46
106
|
Completed 200 OK in 2ms (Views: 1.5ms)
|
47
107
|
Processing by HomeController#index as HTML
|
48
|
-
Completed 200 OK in 2ms (Views: 1.
|
108
|
+
Completed 200 OK in 2ms (Views: 1.7ms)
|
49
109
|
Processing by HomeController#index as HTML
|
50
110
|
Parameters: {"skip_mobile"=>"true"}
|
51
|
-
Completed 200 OK in 2ms (Views: 1.
|
111
|
+
Completed 200 OK in 2ms (Views: 1.4ms)
|
52
112
|
Processing by NoFallbackController#index as HTML
|
53
|
-
Completed 200 OK in 5ms (Views: 4.
|
113
|
+
Completed 200 OK in 5ms (Views: 4.8ms)
|
54
114
|
Processing by NoFallbackController#index as HTML
|
55
115
|
Completed 200 OK in 3ms (Views: 2.5ms)
|
56
116
|
Processing by NoFallbackController#test as HTML
|
@@ -60,62 +120,62 @@ Completed 500 Internal Server Error in 1ms
|
|
60
120
|
Processing by NoFallbackController#test as HTML
|
61
121
|
Completed 500 Internal Server Error in 1ms
|
62
122
|
Processing by SkipXhrRequestController#index as JS
|
63
|
-
Completed 200 OK in
|
123
|
+
Completed 200 OK in 6ms (Views: 5.6ms)
|
64
124
|
Processing by DefaultFallbackController#index as HTML
|
65
|
-
Completed 200 OK in
|
125
|
+
Completed 200 OK in 19ms (Views: 18.7ms)
|
66
126
|
Processing by DefaultFallbackController#index as HTML
|
67
|
-
Completed 200 OK in
|
127
|
+
Completed 200 OK in 3ms (Views: 3.2ms)
|
68
128
|
Processing by DefaultFallbackController#test as HTML
|
69
|
-
Completed 200 OK in 3ms (Views: 2.
|
129
|
+
Completed 200 OK in 3ms (Views: 2.3ms)
|
70
130
|
Processing by DefaultFallbackController#test as JS
|
71
|
-
Completed 200 OK in
|
131
|
+
Completed 200 OK in 42ms (Views: 41.3ms)
|
72
132
|
Processing by ForceFallbackController#index as HTML
|
73
|
-
Completed 200 OK in
|
133
|
+
Completed 200 OK in 6ms (Views: 5.4ms)
|
74
134
|
Processing by ForceFallbackController#index as HTML
|
75
135
|
Completed 200 OK in 3ms (Views: 2.5ms)
|
76
136
|
Processing by ForceFallbackController#test as HTML
|
77
|
-
Completed 200 OK in
|
137
|
+
Completed 200 OK in 2ms (Views: 1.9ms)
|
78
138
|
Processing by ForceFallbackController#test as HTML
|
79
|
-
Completed 200 OK in 1ms (Views: 0.
|
139
|
+
Completed 200 OK in 1ms (Views: 0.9ms)
|
80
140
|
Processing by ForceFallbackController#test as JS
|
81
|
-
Completed 200 OK in
|
141
|
+
Completed 200 OK in 2ms (Views: 2.1ms)
|
82
142
|
Processing by HomeController#index as HTML
|
83
|
-
Completed 200 OK in 6ms (Views: 5.
|
143
|
+
Completed 200 OK in 6ms (Views: 5.3ms)
|
84
144
|
Processing by HomeController#index as HTML
|
85
145
|
Completed 200 OK in 2ms (Views: 1.4ms)
|
86
146
|
Processing by HomeController#index as HTML
|
87
|
-
Completed 200 OK in
|
147
|
+
Completed 200 OK in 3ms (Views: 3.1ms)
|
88
148
|
Processing by HomeController#index as HTML
|
89
|
-
Completed 200 OK in 2ms (Views: 1.
|
149
|
+
Completed 200 OK in 2ms (Views: 1.5ms)
|
90
150
|
Processing by HomeController#index as HTML
|
91
151
|
Completed 200 OK in 2ms (Views: 1.4ms)
|
92
152
|
Processing by HomeController#index as HTML
|
93
|
-
Completed 200 OK in 2ms (Views: 1.
|
153
|
+
Completed 200 OK in 2ms (Views: 1.7ms)
|
94
154
|
Processing by HomeController#index as HTML
|
95
|
-
Completed 200 OK in 2ms (Views: 1.
|
155
|
+
Completed 200 OK in 2ms (Views: 1.5ms)
|
96
156
|
Processing by HomeController#index as HTML
|
97
157
|
Completed 200 OK in 2ms (Views: 1.4ms)
|
98
158
|
Processing by HomeController#index as HTML
|
99
|
-
Completed 200 OK in 2ms (Views: 1.
|
159
|
+
Completed 200 OK in 2ms (Views: 1.6ms)
|
100
160
|
Processing by HomeController#respond_to_test as HTML
|
101
|
-
Completed 200 OK in 3ms (Views: 2.
|
161
|
+
Completed 200 OK in 3ms (Views: 2.2ms)
|
102
162
|
Processing by HomeController#respond_to_test as HTML
|
103
|
-
Completed 200 OK in 3ms (Views: 2.
|
163
|
+
Completed 200 OK in 3ms (Views: 2.8ms)
|
104
164
|
Processing by HomeController#respond_to_test as MOBILE
|
105
|
-
Completed 200 OK in 2ms (Views: 1.
|
165
|
+
Completed 200 OK in 2ms (Views: 1.3ms)
|
106
166
|
Processing by HomeController#index as JS
|
107
|
-
Completed 200 OK in
|
167
|
+
Completed 200 OK in 6ms (Views: 5.7ms)
|
108
168
|
Processing by HomeController#index as HTML
|
109
|
-
Completed 200 OK in 2ms (Views: 1.
|
169
|
+
Completed 200 OK in 2ms (Views: 1.7ms)
|
110
170
|
Processing by HomeController#index as HTML
|
111
171
|
Completed 200 OK in 2ms (Views: 1.4ms)
|
112
172
|
Processing by HomeController#index as HTML
|
113
173
|
Parameters: {"skip_mobile"=>"true"}
|
114
|
-
Completed 200 OK in 2ms (Views: 1.
|
174
|
+
Completed 200 OK in 2ms (Views: 1.4ms)
|
115
175
|
Processing by NoFallbackController#index as HTML
|
116
176
|
Completed 200 OK in 5ms (Views: 4.4ms)
|
117
177
|
Processing by NoFallbackController#index as HTML
|
118
|
-
Completed 200 OK in
|
178
|
+
Completed 200 OK in 3ms (Views: 2.5ms)
|
119
179
|
Processing by NoFallbackController#test as HTML
|
120
180
|
Completed 500 Internal Server Error in 2ms
|
121
181
|
Processing by NoFallbackController#test as HTML
|
@@ -123,62 +183,62 @@ Completed 500 Internal Server Error in 1ms
|
|
123
183
|
Processing by NoFallbackController#test as HTML
|
124
184
|
Completed 500 Internal Server Error in 1ms
|
125
185
|
Processing by SkipXhrRequestController#index as JS
|
126
|
-
Completed 200 OK in
|
186
|
+
Completed 200 OK in 5ms (Views: 4.8ms)
|
127
187
|
Processing by DefaultFallbackController#index as HTML
|
128
|
-
Completed 200 OK in
|
188
|
+
Completed 200 OK in 17ms (Views: 16.4ms)
|
129
189
|
Processing by DefaultFallbackController#index as HTML
|
130
190
|
Completed 200 OK in 3ms (Views: 3.1ms)
|
131
191
|
Processing by DefaultFallbackController#test as HTML
|
132
|
-
Completed 200 OK in 3ms (Views: 2.
|
192
|
+
Completed 200 OK in 3ms (Views: 2.5ms)
|
133
193
|
Processing by DefaultFallbackController#test as JS
|
134
|
-
Completed 200 OK in
|
194
|
+
Completed 200 OK in 43ms (Views: 42.5ms)
|
135
195
|
Processing by ForceFallbackController#index as HTML
|
136
|
-
Completed 200 OK in 6ms (Views: 5.
|
196
|
+
Completed 200 OK in 6ms (Views: 5.2ms)
|
137
197
|
Processing by ForceFallbackController#index as HTML
|
138
|
-
Completed 200 OK in 3ms (Views: 2.
|
198
|
+
Completed 200 OK in 3ms (Views: 2.4ms)
|
139
199
|
Processing by ForceFallbackController#test as HTML
|
140
|
-
Completed 200 OK in
|
200
|
+
Completed 200 OK in 3ms (Views: 2.0ms)
|
141
201
|
Processing by ForceFallbackController#test as HTML
|
142
|
-
Completed 200 OK in 5ms (Views: 4.1ms)
|
143
|
-
Processing by ForceFallbackController#test as JS
|
144
202
|
Completed 200 OK in 1ms (Views: 0.8ms)
|
203
|
+
Processing by ForceFallbackController#test as JS
|
204
|
+
Completed 200 OK in 1ms (Views: 0.9ms)
|
145
205
|
Processing by HomeController#index as HTML
|
146
|
-
Completed 200 OK in 5ms (Views: 4.
|
206
|
+
Completed 200 OK in 5ms (Views: 4.6ms)
|
147
207
|
Processing by HomeController#index as HTML
|
148
|
-
Completed 200 OK in 2ms (Views:
|
208
|
+
Completed 200 OK in 2ms (Views: 2.1ms)
|
149
209
|
Processing by HomeController#index as HTML
|
150
|
-
Completed 200 OK in 3ms (Views:
|
210
|
+
Completed 200 OK in 3ms (Views: 3.1ms)
|
151
211
|
Processing by HomeController#index as HTML
|
152
|
-
Completed 200 OK in 2ms (Views: 1.
|
212
|
+
Completed 200 OK in 2ms (Views: 1.6ms)
|
153
213
|
Processing by HomeController#index as HTML
|
154
|
-
Completed 200 OK in
|
214
|
+
Completed 200 OK in 3ms (Views: 2.4ms)
|
155
215
|
Processing by HomeController#index as HTML
|
156
|
-
Completed 200 OK in 2ms (Views: 1.
|
216
|
+
Completed 200 OK in 2ms (Views: 1.6ms)
|
157
217
|
Processing by HomeController#index as HTML
|
158
|
-
Completed 200 OK in 2ms (Views: 1.
|
218
|
+
Completed 200 OK in 2ms (Views: 1.5ms)
|
159
219
|
Processing by HomeController#index as HTML
|
160
|
-
Completed 200 OK in 2ms (Views: 1.
|
220
|
+
Completed 200 OK in 2ms (Views: 1.5ms)
|
161
221
|
Processing by HomeController#index as HTML
|
162
|
-
Completed 200 OK in
|
222
|
+
Completed 200 OK in 2ms (Views: 1.5ms)
|
163
223
|
Processing by HomeController#respond_to_test as HTML
|
164
224
|
Completed 200 OK in 3ms (Views: 2.2ms)
|
165
225
|
Processing by HomeController#respond_to_test as HTML
|
166
|
-
Completed 200 OK in 3ms (Views: 2.
|
226
|
+
Completed 200 OK in 3ms (Views: 2.6ms)
|
167
227
|
Processing by HomeController#respond_to_test as MOBILE
|
168
|
-
Completed 200 OK in 2ms (Views: 1.
|
228
|
+
Completed 200 OK in 2ms (Views: 1.2ms)
|
169
229
|
Processing by HomeController#index as JS
|
170
|
-
Completed 200 OK in
|
230
|
+
Completed 200 OK in 6ms (Views: 5.9ms)
|
171
231
|
Processing by HomeController#index as HTML
|
172
|
-
Completed 200 OK in 2ms (Views: 1.
|
232
|
+
Completed 200 OK in 2ms (Views: 1.5ms)
|
173
233
|
Processing by HomeController#index as HTML
|
174
|
-
Completed 200 OK in 2ms (Views: 1.
|
234
|
+
Completed 200 OK in 2ms (Views: 1.5ms)
|
175
235
|
Processing by HomeController#index as HTML
|
176
236
|
Parameters: {"skip_mobile"=>"true"}
|
177
|
-
Completed 200 OK in 2ms (Views: 1.
|
237
|
+
Completed 200 OK in 2ms (Views: 1.5ms)
|
178
238
|
Processing by NoFallbackController#index as HTML
|
179
|
-
Completed 200 OK in 5ms (Views: 4.
|
239
|
+
Completed 200 OK in 5ms (Views: 4.5ms)
|
180
240
|
Processing by NoFallbackController#index as HTML
|
181
|
-
Completed 200 OK in 3ms (Views:
|
241
|
+
Completed 200 OK in 3ms (Views: 2.7ms)
|
182
242
|
Processing by NoFallbackController#test as HTML
|
183
243
|
Completed 500 Internal Server Error in 2ms
|
184
244
|
Processing by NoFallbackController#test as HTML
|
@@ -186,4 +246,4 @@ Completed 500 Internal Server Error in 1ms
|
|
186
246
|
Processing by NoFallbackController#test as HTML
|
187
247
|
Completed 500 Internal Server Error in 1ms
|
188
248
|
Processing by SkipXhrRequestController#index as JS
|
189
|
-
Completed 200 OK in
|
249
|
+
Completed 200 OK in 5ms (Views: 4.7ms)
|
data/spec/spec_helper.rb
CHANGED
@@ -4,6 +4,7 @@ ENV["RAILS_ENV"] = "test"
|
|
4
4
|
require File.expand_path("../dummy/config/environment.rb", __FILE__)
|
5
5
|
require "rails/test_help"
|
6
6
|
require "rspec/rails"
|
7
|
+
require 'mobylette/helmet'
|
7
8
|
|
8
9
|
ActionMailer::Base.delivery_method = :test
|
9
10
|
ActionMailer::Base.perform_deliveries = true
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mobylette
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.5.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2011-
|
12
|
+
date: 2011-12-20 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
|
-
name:
|
16
|
-
requirement: &
|
15
|
+
name: actionpack
|
16
|
+
requirement: &70287703922740 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '3.0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70287703922740
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: rspec
|
27
|
-
requirement: &
|
27
|
+
requirement: &70287703922220 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,7 +32,7 @@ dependencies:
|
|
32
32
|
version: '0'
|
33
33
|
type: :development
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70287703922220
|
36
36
|
description: Adds the mobile format for rendering views for mobile device.
|
37
37
|
email:
|
38
38
|
- tscolari@gmail.com
|
@@ -177,7 +177,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
177
177
|
version: '0'
|
178
178
|
segments:
|
179
179
|
- 0
|
180
|
-
hash:
|
180
|
+
hash: -33292724756088779
|
181
181
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
182
182
|
none: false
|
183
183
|
requirements:
|
@@ -186,7 +186,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
186
186
|
version: '0'
|
187
187
|
segments:
|
188
188
|
- 0
|
189
|
-
hash:
|
189
|
+
hash: -33292724756088779
|
190
190
|
requirements: []
|
191
191
|
rubyforge_project:
|
192
192
|
rubygems_version: 1.8.10
|