hyphenify 0.0.5

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.
Files changed (48) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.rdoc +17 -0
  4. data/Rakefile +32 -0
  5. data/lib/hyphenify.rb +5 -0
  6. data/lib/hyphenify/rails.rb +7 -0
  7. data/lib/hyphenify/rails/action_view/base.rb +22 -0
  8. data/lib/hyphenify/rails/railtie.rb +16 -0
  9. data/lib/hyphenify/version.rb +5 -0
  10. data/test/dummy/README.rdoc +28 -0
  11. data/test/dummy/Rakefile +6 -0
  12. data/test/dummy/app/assets/javascripts/application.js +13 -0
  13. data/test/dummy/app/assets/stylesheets/application.css +13 -0
  14. data/test/dummy/app/controllers/application_controller.rb +5 -0
  15. data/test/dummy/app/helpers/application_helper.rb +2 -0
  16. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  17. data/test/dummy/bin/bundle +3 -0
  18. data/test/dummy/bin/rails +4 -0
  19. data/test/dummy/bin/rake +4 -0
  20. data/test/dummy/config.ru +4 -0
  21. data/test/dummy/config/application.rb +23 -0
  22. data/test/dummy/config/boot.rb +5 -0
  23. data/test/dummy/config/database.yml +25 -0
  24. data/test/dummy/config/environment.rb +5 -0
  25. data/test/dummy/config/environments/development.rb +29 -0
  26. data/test/dummy/config/environments/production.rb +80 -0
  27. data/test/dummy/config/environments/test.rb +36 -0
  28. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  29. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  30. data/test/dummy/config/initializers/inflections.rb +16 -0
  31. data/test/dummy/config/initializers/mime_types.rb +5 -0
  32. data/test/dummy/config/initializers/secret_token.rb +12 -0
  33. data/test/dummy/config/initializers/session_store.rb +3 -0
  34. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  35. data/test/dummy/config/locales/en.yml +23 -0
  36. data/test/dummy/config/routes.rb +56 -0
  37. data/test/dummy/db/development.sqlite3 +0 -0
  38. data/test/dummy/db/schema.rb +16 -0
  39. data/test/dummy/db/test.sqlite3 +0 -0
  40. data/test/dummy/log/development.log +3 -0
  41. data/test/dummy/log/test.log +817 -0
  42. data/test/dummy/public/404.html +58 -0
  43. data/test/dummy/public/422.html +58 -0
  44. data/test/dummy/public/500.html +57 -0
  45. data/test/dummy/public/favicon.ico +0 -0
  46. data/test/helpers_test.rb +18 -0
  47. data/test/test_helper.rb +18 -0
  48. metadata +155 -0
@@ -0,0 +1,36 @@
1
+ Dummy::Application.configure do
2
+ # Settings specified here will take precedence over those in config/application.rb.
3
+
4
+ # The test environment is used exclusively to run your application's
5
+ # test suite. You never need to work with it otherwise. Remember that
6
+ # your test database is "scratch space" for the test suite and is wiped
7
+ # and recreated between test runs. Don't rely on the data there!
8
+ config.cache_classes = true
9
+
10
+ # Do not eager load code on boot. This avoids loading your whole application
11
+ # just for the purpose of running a single test. If you are using a tool that
12
+ # preloads Rails for running tests, you may have to set it to true.
13
+ config.eager_load = false
14
+
15
+ # Configure static asset server for tests with Cache-Control for performance.
16
+ config.serve_static_assets = true
17
+ config.static_cache_control = "public, max-age=3600"
18
+
19
+ # Show full error reports and disable caching.
20
+ config.consider_all_requests_local = true
21
+ config.action_controller.perform_caching = false
22
+
23
+ # Raise exceptions instead of rendering exception templates.
24
+ config.action_dispatch.show_exceptions = false
25
+
26
+ # Disable request forgery protection in test environment.
27
+ config.action_controller.allow_forgery_protection = false
28
+
29
+ # Tell Action Mailer not to deliver emails to the real world.
30
+ # The :test delivery method accumulates sent emails in the
31
+ # ActionMailer::Base.deliveries array.
32
+ config.action_mailer.delivery_method = :test
33
+
34
+ # Print deprecation notices to the stderr.
35
+ config.active_support.deprecation = :stderr
36
+ end
@@ -0,0 +1,7 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
4
+ # Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
5
+
6
+ # You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
7
+ # Rails.backtrace_cleaner.remove_silencers!
@@ -0,0 +1,4 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Configure sensitive parameters which will be filtered from the log file.
4
+ Rails.application.config.filter_parameters += [:password]
@@ -0,0 +1,16 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Add new inflection rules using the following format. Inflections
4
+ # are locale specific, and you may define rules for as many different
5
+ # locales as you wish. All of these examples are active by default:
6
+ # ActiveSupport::Inflector.inflections(:en) do |inflect|
7
+ # inflect.plural /^(ox)$/i, '\1en'
8
+ # inflect.singular /^(ox)en/i, '\1'
9
+ # inflect.irregular 'person', 'people'
10
+ # inflect.uncountable %w( fish sheep )
11
+ # end
12
+
13
+ # These inflection rules are supported but not enabled by default:
14
+ # ActiveSupport::Inflector.inflections(:en) do |inflect|
15
+ # inflect.acronym 'RESTful'
16
+ # end
@@ -0,0 +1,5 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Add new mime types for use in respond_to blocks:
4
+ # Mime::Type.register "text/richtext", :rtf
5
+ # Mime::Type.register_alias "text/html", :iphone
@@ -0,0 +1,12 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Your secret key is used for verifying the integrity of signed cookies.
4
+ # If you change this key, all old signed cookies will become invalid!
5
+
6
+ # Make sure the secret is at least 30 characters and all random,
7
+ # no regular words or you'll be exposed to dictionary attacks.
8
+ # You can use `rake secret` to generate a secure secret key.
9
+
10
+ # Make sure your secret_key_base is kept private
11
+ # if you're sharing your code publicly.
12
+ Dummy::Application.config.secret_key_base = '70419e2a1d2393b3cbd8413204f2643a4060ff79b981dee9c04060612d455bd2a622c3bec6c017338d48975d560adb81a910d3f55f6b35ba3d67b9216bdd745b'
@@ -0,0 +1,3 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ Dummy::Application.config.session_store :cookie_store, key: '_dummy_session'
@@ -0,0 +1,14 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # This file contains settings for ActionController::ParamsWrapper which
4
+ # is enabled by default.
5
+
6
+ # Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
7
+ ActiveSupport.on_load(:action_controller) do
8
+ wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
9
+ end
10
+
11
+ # To enable root element in JSON for ActiveRecord objects.
12
+ # ActiveSupport.on_load(:active_record) do
13
+ # self.include_root_in_json = true
14
+ # end
@@ -0,0 +1,23 @@
1
+ # Files in the config/locales directory are used for internationalization
2
+ # and are automatically loaded by Rails. If you want to use locales other
3
+ # than English, add the necessary files in this directory.
4
+ #
5
+ # To use the locales, use `I18n.t`:
6
+ #
7
+ # I18n.t 'hello'
8
+ #
9
+ # In views, this is aliased to just `t`:
10
+ #
11
+ # <%= t('hello') %>
12
+ #
13
+ # To use a different locale, set it with `I18n.locale`:
14
+ #
15
+ # I18n.locale = :es
16
+ #
17
+ # This would use the information in config/locales/es.yml.
18
+ #
19
+ # To learn more, please read the Rails Internationalization guide
20
+ # available at http://guides.rubyonrails.org/i18n.html.
21
+
22
+ en:
23
+ hello: "Hello world"
@@ -0,0 +1,56 @@
1
+ Dummy::Application.routes.draw do
2
+ # The priority is based upon order of creation: first created -> highest priority.
3
+ # See how all your routes lay out with "rake routes".
4
+
5
+ # You can have the root of your site routed with "root"
6
+ # root 'welcome#index'
7
+
8
+ # Example of regular route:
9
+ # get 'products/:id' => 'catalog#view'
10
+
11
+ # Example of named route that can be invoked with purchase_url(id: product.id)
12
+ # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
13
+
14
+ # Example resource route (maps HTTP verbs to controller actions automatically):
15
+ # resources :products
16
+
17
+ # Example resource route with options:
18
+ # resources :products do
19
+ # member do
20
+ # get 'short'
21
+ # post 'toggle'
22
+ # end
23
+ #
24
+ # collection do
25
+ # get 'sold'
26
+ # end
27
+ # end
28
+
29
+ # Example resource route with sub-resources:
30
+ # resources :products do
31
+ # resources :comments, :sales
32
+ # resource :seller
33
+ # end
34
+
35
+ # Example resource route with more complex sub-resources:
36
+ # resources :products do
37
+ # resources :comments
38
+ # resources :sales do
39
+ # get 'recent', on: :collection
40
+ # end
41
+ # end
42
+
43
+ # Example resource route with concerns:
44
+ # concern :toggleable do
45
+ # post 'toggle'
46
+ # end
47
+ # resources :posts, concerns: :toggleable
48
+ # resources :photos, concerns: :toggleable
49
+
50
+ # Example resource route within a namespace:
51
+ # namespace :admin do
52
+ # # Directs /admin/products/* to Admin::ProductsController
53
+ # # (app/controllers/admin/products_controller.rb)
54
+ # resources :products
55
+ # end
56
+ end
Binary file
@@ -0,0 +1,16 @@
1
+ # encoding: UTF-8
2
+ # This file is auto-generated from the current state of the database. Instead
3
+ # of editing this file, please use the migrations feature of Active Record to
4
+ # incrementally modify your database, and then regenerate this schema definition.
5
+ #
6
+ # Note that this schema.rb definition is the authoritative source for your
7
+ # database schema. If you need to create the application database on another
8
+ # system, you should be using db:schema:load, not running all the migrations
9
+ # from scratch. The latter is a flawed and unsustainable approach (the more migrations
10
+ # you'll amass, the slower it'll run and the greater likelihood for issues).
11
+ #
12
+ # It's strongly recommended that you check this file into your version control system.
13
+
14
+ ActiveRecord::Schema.define(version: 0) do
15
+
16
+ end
File without changes
@@ -0,0 +1,3 @@
1
+  (50.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
2
+  (3.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
3
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
@@ -0,0 +1,817 @@
1
+  (0.3ms) begin transaction
2
+ ---------------------------------------------------------
3
+ HelpersTest: test_should_return_id_and_class_with_hyphens
4
+ ---------------------------------------------------------
5
+  (0.2ms) rollback transaction
6
+  (0.1ms) begin transaction
7
+ -------------------------
8
+ HyphenifyTest: test_truth
9
+ -------------------------
10
+  (0.1ms) rollback transaction
11
+  (0.2ms) begin transaction
12
+ ---------------------------------------------------------
13
+ HelpersTest: test_should_return_id_and_class_with_hyphens
14
+ ---------------------------------------------------------
15
+  (0.2ms) rollback transaction
16
+  (0.1ms) begin transaction
17
+ -------------------------
18
+ HyphenifyTest: test_truth
19
+ -------------------------
20
+  (0.1ms) rollback transaction
21
+  (0.2ms) begin transaction
22
+ ---------------------------------------------------------
23
+ HelpersTest: test_should_return_id_and_class_with_hyphens
24
+ ---------------------------------------------------------
25
+  (0.2ms) rollback transaction
26
+  (0.1ms) begin transaction
27
+ -------------------------
28
+ HyphenifyTest: test_truth
29
+ -------------------------
30
+  (0.1ms) rollback transaction
31
+  (0.2ms) begin transaction
32
+ ---------------------------------------------------------
33
+ HelpersTest: test_should_return_id_and_class_with_hyphens
34
+ ---------------------------------------------------------
35
+  (0.2ms) rollback transaction
36
+  (0.1ms) begin transaction
37
+ -------------------------
38
+ HyphenifyTest: test_truth
39
+ -------------------------
40
+  (0.1ms) rollback transaction
41
+  (0.2ms) begin transaction
42
+ ---------------------------------------------------------
43
+ HelpersTest: test_should_return_id_and_class_with_hyphens
44
+ ---------------------------------------------------------
45
+  (0.2ms) rollback transaction
46
+  (0.1ms) begin transaction
47
+ -------------------------
48
+ HyphenifyTest: test_truth
49
+ -------------------------
50
+  (0.1ms) rollback transaction
51
+  (0.2ms) begin transaction
52
+ ---------------------------------------------------------
53
+ HelpersTest: test_should_return_id_and_class_with_hyphens
54
+ ---------------------------------------------------------
55
+  (0.2ms) rollback transaction
56
+  (0.1ms) begin transaction
57
+ -------------------------
58
+ HyphenifyTest: test_truth
59
+ -------------------------
60
+  (0.1ms) rollback transaction
61
+  (0.2ms) begin transaction
62
+ ---------------------------------------------------------
63
+ HelpersTest: test_should_return_id_and_class_with_hyphens
64
+ ---------------------------------------------------------
65
+  (0.2ms) rollback transaction
66
+  (0.1ms) begin transaction
67
+ -------------------------
68
+ HyphenifyTest: test_truth
69
+ -------------------------
70
+  (0.1ms) rollback transaction
71
+  (0.3ms) begin transaction
72
+ ---------------------------------------------------------
73
+ HelpersTest: test_should_return_id_and_class_with_hyphens
74
+ ---------------------------------------------------------
75
+  (0.2ms) rollback transaction
76
+  (0.1ms) begin transaction
77
+ -------------------------
78
+ HyphenifyTest: test_truth
79
+ -------------------------
80
+  (0.1ms) rollback transaction
81
+  (0.2ms) begin transaction
82
+ ---------------------------------------------------------
83
+ HelpersTest: test_should_return_id_and_class_with_hyphens
84
+ ---------------------------------------------------------
85
+  (0.2ms) rollback transaction
86
+  (0.1ms) begin transaction
87
+ -------------------------
88
+ HyphenifyTest: test_truth
89
+ -------------------------
90
+  (0.1ms) rollback transaction
91
+  (0.2ms) begin transaction
92
+ ---------------------------------------------------------
93
+ HelpersTest: test_should_return_id_and_class_with_hyphens
94
+ ---------------------------------------------------------
95
+  (0.2ms) rollback transaction
96
+  (0.1ms) begin transaction
97
+ -------------------------
98
+ HyphenifyTest: test_truth
99
+ -------------------------
100
+  (0.1ms) rollback transaction
101
+  (0.2ms) begin transaction
102
+ ---------------------------------------------------------
103
+ HelpersTest: test_should_return_id_and_class_with_hyphens
104
+ ---------------------------------------------------------
105
+  (0.2ms) rollback transaction
106
+  (0.1ms) begin transaction
107
+ -------------------------
108
+ HyphenifyTest: test_truth
109
+ -------------------------
110
+  (0.1ms) rollback transaction
111
+  (0.2ms) begin transaction
112
+ ---------------------------------------------------------
113
+ HelpersTest: test_should_return_id_and_class_with_hyphens
114
+ ---------------------------------------------------------
115
+  (0.2ms) rollback transaction
116
+  (0.1ms) begin transaction
117
+ -------------------------
118
+ HyphenifyTest: test_truth
119
+ -------------------------
120
+  (0.1ms) rollback transaction
121
+  (0.2ms) begin transaction
122
+ ---------------------------------------------------------
123
+ HelpersTest: test_should_return_id_and_class_with_hyphens
124
+ ---------------------------------------------------------
125
+  (0.2ms) rollback transaction
126
+  (0.1ms) begin transaction
127
+ -------------------------
128
+ HyphenifyTest: test_truth
129
+ -------------------------
130
+  (0.1ms) rollback transaction
131
+  (0.2ms) begin transaction
132
+ ---------------------------------------------------------
133
+ HelpersTest: test_should_return_id_and_class_with_hyphens
134
+ ---------------------------------------------------------
135
+  (0.2ms) rollback transaction
136
+  (0.1ms) begin transaction
137
+ -------------------------
138
+ HyphenifyTest: test_truth
139
+ -------------------------
140
+  (0.1ms) rollback transaction
141
+  (0.2ms) begin transaction
142
+ ---------------------------------------------------------
143
+ HelpersTest: test_should_return_id_and_class_with_hyphens
144
+ ---------------------------------------------------------
145
+  (0.2ms) rollback transaction
146
+  (0.1ms) begin transaction
147
+ -------------------------
148
+ HyphenifyTest: test_truth
149
+ -------------------------
150
+  (0.1ms) rollback transaction
151
+  (0.2ms) begin transaction
152
+ ---------------------------------------------------------
153
+ HelpersTest: test_should_return_id_and_class_with_hyphens
154
+ ---------------------------------------------------------
155
+  (0.2ms) rollback transaction
156
+  (0.1ms) begin transaction
157
+ -------------------------
158
+ HyphenifyTest: test_truth
159
+ -------------------------
160
+  (0.1ms) rollback transaction
161
+  (0.2ms) begin transaction
162
+ ---------------------------------------------------------
163
+ HelpersTest: test_should_return_id_and_class_with_hyphens
164
+ ---------------------------------------------------------
165
+  (0.2ms) rollback transaction
166
+  (0.1ms) begin transaction
167
+ -------------------------
168
+ HyphenifyTest: test_truth
169
+ -------------------------
170
+  (0.1ms) rollback transaction
171
+  (0.2ms) begin transaction
172
+ ---------------------------------------------------------
173
+ HelpersTest: test_should_return_id_and_class_with_hyphens
174
+ ---------------------------------------------------------
175
+  (0.3ms) rollback transaction
176
+  (0.1ms) begin transaction
177
+ -------------------------
178
+ HyphenifyTest: test_truth
179
+ -------------------------
180
+  (0.1ms) rollback transaction
181
+
182
+ ***** Debugger requested, but was not available (ensure the debugger gem is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
183
+
184
+  (0.2ms) begin transaction
185
+ ---------------------------------------------------------
186
+ HelpersTest: test_should_return_id_and_class_with_hyphens
187
+ ---------------------------------------------------------
188
+  (0.2ms) rollback transaction
189
+  (0.1ms) begin transaction
190
+ -------------------------
191
+ HyphenifyTest: test_truth
192
+ -------------------------
193
+  (0.0ms) rollback transaction
194
+  (0.2ms) begin transaction
195
+ ---------------------------------------------------------
196
+ HelpersTest: test_should_return_id_and_class_with_hyphens
197
+ ---------------------------------------------------------
198
+  (0.2ms) rollback transaction
199
+  (0.1ms) begin transaction
200
+ -------------------------
201
+ HyphenifyTest: test_truth
202
+ -------------------------
203
+  (0.1ms) rollback transaction
204
+  (0.3ms) begin transaction
205
+ ---------------------------------------------------------
206
+ HelpersTest: test_should_return_id_and_class_with_hyphens
207
+ ---------------------------------------------------------
208
+  (0.2ms) rollback transaction
209
+  (0.1ms) begin transaction
210
+ -------------------------
211
+ HyphenifyTest: test_truth
212
+ -------------------------
213
+  (0.1ms) rollback transaction
214
+  (0.2ms) begin transaction
215
+ ---------------------------------------------------------
216
+ HelpersTest: test_should_return_id_and_class_with_hyphens
217
+ ---------------------------------------------------------
218
+  (0.2ms) rollback transaction
219
+  (0.1ms) begin transaction
220
+ -------------------------
221
+ HyphenifyTest: test_truth
222
+ -------------------------
223
+  (0.1ms) rollback transaction
224
+  (0.2ms) begin transaction
225
+ ---------------------------------------------------------
226
+ HelpersTest: test_should_return_id_and_class_with_hyphens
227
+ ---------------------------------------------------------
228
+  (0.2ms) rollback transaction
229
+  (0.1ms) begin transaction
230
+ -------------------------
231
+ HyphenifyTest: test_truth
232
+ -------------------------
233
+  (0.1ms) rollback transaction
234
+  (0.2ms) begin transaction
235
+ ---------------------------------------------------------
236
+ HelpersTest: test_should_return_id_and_class_with_hyphens
237
+ ---------------------------------------------------------
238
+  (0.2ms) rollback transaction
239
+  (0.1ms) begin transaction
240
+ -------------------------
241
+ HyphenifyTest: test_truth
242
+ -------------------------
243
+  (0.1ms) rollback transaction
244
+  (0.2ms) begin transaction
245
+ ---------------------------------------------------------
246
+ HelpersTest: test_should_return_id_and_class_with_hyphens
247
+ ---------------------------------------------------------
248
+  (0.2ms) rollback transaction
249
+  (0.1ms) begin transaction
250
+ -------------------------
251
+ HyphenifyTest: test_truth
252
+ -------------------------
253
+  (0.1ms) rollback transaction
254
+  (0.2ms) begin transaction
255
+ ---------------------------------------------------------
256
+ HelpersTest: test_should_return_id_and_class_with_hyphens
257
+ ---------------------------------------------------------
258
+  (0.2ms) rollback transaction
259
+  (0.1ms) begin transaction
260
+ -------------------------
261
+ HyphenifyTest: test_truth
262
+ -------------------------
263
+  (0.1ms) rollback transaction
264
+  (0.2ms) begin transaction
265
+ ---------------------------------------------------------
266
+ HelpersTest: test_should_return_id_and_class_with_hyphens
267
+ ---------------------------------------------------------
268
+  (0.2ms) rollback transaction
269
+  (0.1ms) begin transaction
270
+ -------------------------
271
+ HyphenifyTest: test_truth
272
+ -------------------------
273
+  (0.1ms) rollback transaction
274
+  (0.2ms) begin transaction
275
+ ---------------------------------------------------------
276
+ HelpersTest: test_should_return_id_and_class_with_hyphens
277
+ ---------------------------------------------------------
278
+  (0.2ms) rollback transaction
279
+  (0.1ms) begin transaction
280
+ -------------------------
281
+ HyphenifyTest: test_truth
282
+ -------------------------
283
+  (0.1ms) rollback transaction
284
+  (0.2ms) begin transaction
285
+ ---------------------------------------------------------
286
+ HelpersTest: test_should_return_id_and_class_with_hyphens
287
+ ---------------------------------------------------------
288
+  (0.2ms) rollback transaction
289
+  (0.1ms) begin transaction
290
+ -------------------------
291
+ HyphenifyTest: test_truth
292
+ -------------------------
293
+  (0.1ms) rollback transaction
294
+  (0.2ms) begin transaction
295
+ ---------------------------------------------------------
296
+ HelpersTest: test_should_return_id_and_class_with_hyphens
297
+ ---------------------------------------------------------
298
+  (0.2ms) rollback transaction
299
+  (0.1ms) begin transaction
300
+ -------------------------
301
+ HyphenifyTest: test_truth
302
+ -------------------------
303
+  (0.1ms) rollback transaction
304
+  (0.2ms) begin transaction
305
+ ---------------------------------------------------------
306
+ HelpersTest: test_should_return_id_and_class_with_hyphens
307
+ ---------------------------------------------------------
308
+  (0.2ms) rollback transaction
309
+  (0.1ms) begin transaction
310
+ -------------------------
311
+ HyphenifyTest: test_truth
312
+ -------------------------
313
+  (0.1ms) rollback transaction
314
+  (0.2ms) begin transaction
315
+ ---------------------------------------------------------
316
+ HelpersTest: test_should_return_id_and_class_with_hyphens
317
+ ---------------------------------------------------------
318
+  (0.2ms) rollback transaction
319
+  (0.1ms) begin transaction
320
+ -------------------------
321
+ HyphenifyTest: test_truth
322
+ -------------------------
323
+  (0.1ms) rollback transaction
324
+  (0.2ms) begin transaction
325
+ ---------------------------------------------------------
326
+ HelpersTest: test_should_return_id_and_class_with_hyphens
327
+ ---------------------------------------------------------
328
+  (0.2ms) rollback transaction
329
+  (0.1ms) begin transaction
330
+ -------------------------
331
+ HyphenifyTest: test_truth
332
+ -------------------------
333
+  (0.1ms) rollback transaction
334
+  (0.2ms) begin transaction
335
+ ---------------------------------------------------------
336
+ HelpersTest: test_should_return_id_and_class_with_hyphens
337
+ ---------------------------------------------------------
338
+  (0.2ms) rollback transaction
339
+  (0.1ms) begin transaction
340
+ -------------------------
341
+ HyphenifyTest: test_truth
342
+ -------------------------
343
+  (0.1ms) rollback transaction
344
+  (0.2ms) begin transaction
345
+ ---------------------------------------------------------
346
+ HelpersTest: test_should_return_id_and_class_with_hyphens
347
+ ---------------------------------------------------------
348
+  (0.2ms) rollback transaction
349
+  (0.1ms) begin transaction
350
+ -------------------------
351
+ HyphenifyTest: test_truth
352
+ -------------------------
353
+  (0.1ms) rollback transaction
354
+  (0.2ms) begin transaction
355
+ ---------------------------------------------------------
356
+ HelpersTest: test_should_return_id_and_class_with_hyphens
357
+ ---------------------------------------------------------
358
+  (0.2ms) rollback transaction
359
+  (0.1ms) begin transaction
360
+ -------------------------
361
+ HyphenifyTest: test_truth
362
+ -------------------------
363
+  (0.1ms) rollback transaction
364
+  (0.2ms) begin transaction
365
+ ---------------------------------------------------------
366
+ HelpersTest: test_should_return_id_and_class_with_hyphens
367
+ ---------------------------------------------------------
368
+  (0.2ms) rollback transaction
369
+  (0.1ms) begin transaction
370
+ -------------------------
371
+ HyphenifyTest: test_truth
372
+ -------------------------
373
+  (0.1ms) rollback transaction
374
+  (0.2ms) begin transaction
375
+ ---------------------------------------------------------
376
+ HelpersTest: test_should_return_id_and_class_with_hyphens
377
+ ---------------------------------------------------------
378
+  (0.2ms) rollback transaction
379
+  (0.1ms) begin transaction
380
+ -------------------------
381
+ HyphenifyTest: test_truth
382
+ -------------------------
383
+  (0.1ms) rollback transaction
384
+  (0.2ms) begin transaction
385
+ ---------------------------------------------------------
386
+ HelpersTest: test_should_return_id_and_class_with_hyphens
387
+ ---------------------------------------------------------
388
+  (0.2ms) rollback transaction
389
+  (0.1ms) begin transaction
390
+ -------------------------
391
+ HyphenifyTest: test_truth
392
+ -------------------------
393
+  (0.1ms) rollback transaction
394
+  (0.2ms) begin transaction
395
+ ---------------------------------------------------------
396
+ HelpersTest: test_should_return_id_and_class_with_hyphens
397
+ ---------------------------------------------------------
398
+  (0.2ms) rollback transaction
399
+  (0.1ms) begin transaction
400
+ -------------------------
401
+ HyphenifyTest: test_truth
402
+ -------------------------
403
+  (0.1ms) rollback transaction
404
+  (0.3ms) begin transaction
405
+ ---------------------------------------------------------
406
+ HelpersTest: test_should_return_id_and_class_with_hyphens
407
+ ---------------------------------------------------------
408
+  (0.1ms) rollback transaction
409
+  (0.0ms) begin transaction
410
+ -------------------------
411
+ HyphenifyTest: test_truth
412
+ -------------------------
413
+  (0.0ms) rollback transaction
414
+  (0.2ms) begin transaction
415
+ ---------------------------------------------------------
416
+ HelpersTest: test_should_return_id_and_class_with_hyphens
417
+ ---------------------------------------------------------
418
+  (0.2ms) rollback transaction
419
+  (0.1ms) begin transaction
420
+ -------------------------
421
+ HyphenifyTest: test_truth
422
+ -------------------------
423
+  (0.1ms) rollback transaction
424
+  (0.2ms) begin transaction
425
+ ---------------------------------------------------------
426
+ HelpersTest: test_should_return_id_and_class_with_hyphens
427
+ ---------------------------------------------------------
428
+  (0.1ms) rollback transaction
429
+  (0.0ms) begin transaction
430
+ -------------------------
431
+ HyphenifyTest: test_truth
432
+ -------------------------
433
+  (0.0ms) rollback transaction
434
+  (0.2ms) begin transaction
435
+ ---------------------------------------------------------
436
+ HelpersTest: test_should_return_id_and_class_with_hyphens
437
+ ---------------------------------------------------------
438
+  (0.1ms) rollback transaction
439
+  (0.0ms) begin transaction
440
+ -------------------------
441
+ HyphenifyTest: test_truth
442
+ -------------------------
443
+  (0.0ms) rollback transaction
444
+  (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
445
+  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
446
+  (0.1ms) SELECT version FROM "schema_migrations"
447
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
448
+  (0.1ms) begin transaction
449
+ ---------------------------------------------------------
450
+ HelpersTest: test_should_return_id_and_class_with_hyphens
451
+ ---------------------------------------------------------
452
+  (0.0ms) rollback transaction
453
+  (0.0ms) begin transaction
454
+ -------------------------
455
+ HyphenifyTest: test_truth
456
+ -------------------------
457
+  (0.0ms) rollback transaction
458
+  (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
459
+  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
460
+  (0.1ms) SELECT version FROM "schema_migrations"
461
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
462
+  (0.1ms) begin transaction
463
+ ---------------------------------------------------------
464
+ HelpersTest: test_should_return_id_and_class_with_hyphens
465
+ ---------------------------------------------------------
466
+  (0.1ms) rollback transaction
467
+  (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
468
+  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
469
+  (0.0ms) SELECT version FROM "schema_migrations"
470
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
471
+  (0.1ms) begin transaction
472
+ ---------------------------------------------------------
473
+ HelpersTest: test_should_return_id_and_class_with_hyphens
474
+ ---------------------------------------------------------
475
+  (0.1ms) rollback transaction
476
+  (0.3ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
477
+  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
478
+  (0.1ms) SELECT version FROM "schema_migrations"
479
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
480
+  (0.1ms) begin transaction
481
+ ---------------------------------------------------------
482
+ HelpersTest: test_should_return_id_and_class_with_hyphens
483
+ ---------------------------------------------------------
484
+  (0.1ms) rollback transaction
485
+  (0.2ms) begin transaction
486
+ ---------------------------------------------------------
487
+ HelpersTest: test_should_return_id_and_class_with_hyphens
488
+ ---------------------------------------------------------
489
+  (0.0ms) rollback transaction
490
+  (0.2ms) begin transaction
491
+ ---------------------------------------------------------
492
+ HelpersTest: test_should_return_id_and_class_with_hyphens
493
+ ---------------------------------------------------------
494
+  (0.0ms) rollback transaction
495
+  (0.2ms) begin transaction
496
+ -----------------------------------------------------------------------
497
+ HelpersTest: test_form_elements_should_return_id_and_class_with_hyphens
498
+ -----------------------------------------------------------------------
499
+  (0.2ms) rollback transaction
500
+  (0.1ms) begin transaction
501
+ -------------------------------------------------------------------------
502
+ HelpersTest: test_simple_elements_should_return_id_and_class_with_hyphens
503
+ -------------------------------------------------------------------------
504
+  (0.1ms) rollback transaction
505
+  (0.2ms) begin transaction
506
+ -----------------------------------------------------------------------
507
+ HelpersTest: test_form_elements_should_return_id_and_class_with_hyphens
508
+ -----------------------------------------------------------------------
509
+  (0.2ms) rollback transaction
510
+  (0.1ms) begin transaction
511
+ -------------------------------------------------------------------------
512
+ HelpersTest: test_simple_elements_should_return_id_and_class_with_hyphens
513
+ -------------------------------------------------------------------------
514
+  (0.1ms) rollback transaction
515
+  (0.2ms) begin transaction
516
+ -----------------------------------------------------------------------
517
+ HelpersTest: test_form_elements_should_return_id_and_class_with_hyphens
518
+ -----------------------------------------------------------------------
519
+  (0.1ms) rollback transaction
520
+  (0.0ms) begin transaction
521
+ -------------------------------------------------------------------------
522
+ HelpersTest: test_simple_elements_should_return_id_and_class_with_hyphens
523
+ -------------------------------------------------------------------------
524
+  (0.1ms) rollback transaction
525
+  (0.2ms) begin transaction
526
+ -----------------------------------------------------------------------
527
+ HelpersTest: test_form_elements_should_return_id_and_class_with_hyphens
528
+ -----------------------------------------------------------------------
529
+  (0.2ms) rollback transaction
530
+  (0.1ms) begin transaction
531
+ -------------------------------------------------------------------------
532
+ HelpersTest: test_simple_elements_should_return_id_and_class_with_hyphens
533
+ -------------------------------------------------------------------------
534
+  (0.1ms) rollback transaction
535
+ Connecting to database specified by database.yml
536
+  (0.1ms) begin transaction
537
+  (0.0ms) rollback transaction
538
+  (0.0ms) begin transaction
539
+  (0.0ms) rollback transaction
540
+ Connecting to database specified by database.yml
541
+  (0.1ms) begin transaction
542
+  (0.0ms) rollback transaction
543
+  (0.0ms) begin transaction
544
+  (0.0ms) rollback transaction
545
+ Connecting to database specified by database.yml
546
+  (0.1ms) begin transaction
547
+  (0.0ms) rollback transaction
548
+  (0.0ms) begin transaction
549
+  (0.0ms) rollback transaction
550
+  (0.0ms) begin transaction
551
+  (0.0ms) rollback transaction
552
+ Connecting to database specified by database.yml
553
+  (0.1ms) begin transaction
554
+  (0.0ms) rollback transaction
555
+  (0.0ms) begin transaction
556
+  (0.0ms) rollback transaction
557
+  (0.0ms) begin transaction
558
+  (0.0ms) rollback transaction
559
+ Connecting to database specified by database.yml
560
+  (0.1ms) begin transaction
561
+  (0.0ms) rollback transaction
562
+  (0.0ms) begin transaction
563
+  (0.0ms) rollback transaction
564
+  (0.0ms) begin transaction
565
+  (0.0ms) rollback transaction
566
+ Connecting to database specified by database.yml
567
+  (0.1ms) begin transaction
568
+  (0.0ms) rollback transaction
569
+  (0.0ms) begin transaction
570
+  (0.0ms) rollback transaction
571
+  (0.0ms) begin transaction
572
+  (0.0ms) rollback transaction
573
+ Connecting to database specified by database.yml
574
+  (0.1ms) begin transaction
575
+  (0.0ms) rollback transaction
576
+  (0.0ms) begin transaction
577
+  (0.0ms) rollback transaction
578
+  (0.0ms) begin transaction
579
+  (0.0ms) rollback transaction
580
+ Connecting to database specified by database.yml
581
+  (0.1ms) begin transaction
582
+  (0.0ms) rollback transaction
583
+  (0.0ms) begin transaction
584
+  (0.0ms) rollback transaction
585
+ Connecting to database specified by database.yml
586
+  (0.1ms) begin transaction
587
+  (0.0ms) rollback transaction
588
+  (0.0ms) begin transaction
589
+  (0.0ms) rollback transaction
590
+
591
+ ***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
592
+
593
+ Connecting to database specified by database.yml
594
+  (0.1ms) begin transaction
595
+  (0.0ms) rollback transaction
596
+  (0.0ms) begin transaction
597
+  (0.0ms) rollback transaction
598
+ Connecting to database specified by database.yml
599
+  (0.1ms) begin transaction
600
+  (0.0ms) rollback transaction
601
+  (0.0ms) begin transaction
602
+  (0.0ms) rollback transaction
603
+ Connecting to database specified by database.yml
604
+  (0.1ms) begin transaction
605
+  (0.0ms) rollback transaction
606
+  (0.0ms) begin transaction
607
+  (0.0ms) rollback transaction
608
+ Connecting to database specified by database.yml
609
+  (0.1ms) begin transaction
610
+  (0.0ms) rollback transaction
611
+  (0.0ms) begin transaction
612
+  (0.0ms) rollback transaction
613
+ Connecting to database specified by database.yml
614
+  (0.1ms) begin transaction
615
+  (0.0ms) rollback transaction
616
+  (0.0ms) begin transaction
617
+  (0.0ms) rollback transaction
618
+ Connecting to database specified by database.yml
619
+  (0.1ms) begin transaction
620
+  (0.0ms) rollback transaction
621
+  (0.0ms) begin transaction
622
+  (0.0ms) rollback transaction
623
+  (0.2ms) begin transaction
624
+ -------------------------------------------------------------------
625
+ HelpersTest: test_form_tags_should_return_id_and_class_with_hyphens
626
+ -------------------------------------------------------------------
627
+  (0.1ms) rollback transaction
628
+  (0.1ms) begin transaction
629
+ ---------------------------------------------------------------------
630
+ HelpersTest: test_simple_tags_should_return_id_and_class_with_hyphens
631
+ ---------------------------------------------------------------------
632
+  (0.1ms) rollback transaction
633
+  (0.2ms) begin transaction
634
+ -------------------------------------------------------------------
635
+ HelpersTest: test_form_tags_should_return_id_and_class_with_hyphens
636
+ -------------------------------------------------------------------
637
+  (0.1ms) rollback transaction
638
+  (0.1ms) begin transaction
639
+ ---------------------------------------------------------------------
640
+ HelpersTest: test_simple_tags_should_return_id_and_class_with_hyphens
641
+ ---------------------------------------------------------------------
642
+  (0.1ms) rollback transaction
643
+  (0.2ms) begin transaction
644
+ -------------------------------------------------------------------
645
+ HelpersTest: test_form_tags_should_return_id_and_class_with_hyphens
646
+ -------------------------------------------------------------------
647
+  (0.1ms) rollback transaction
648
+  (0.1ms) begin transaction
649
+ ---------------------------------------------------------------------
650
+ HelpersTest: test_simple_tags_should_return_id_and_class_with_hyphens
651
+ ---------------------------------------------------------------------
652
+  (0.0ms) rollback transaction
653
+  (0.2ms) begin transaction
654
+ -------------------------------------------------------------------
655
+ HelpersTest: test_form_tags_should_return_id_and_class_with_hyphens
656
+ -------------------------------------------------------------------
657
+  (0.1ms) rollback transaction
658
+  (0.0ms) begin transaction
659
+ ---------------------------------------------------------------------
660
+ HelpersTest: test_simple_tags_should_return_id_and_class_with_hyphens
661
+ ---------------------------------------------------------------------
662
+  (0.1ms) rollback transaction
663
+  (0.2ms) begin transaction
664
+ -------------------------------------------------------------------
665
+ HelpersTest: test_form_tags_should_return_id_and_class_with_hyphens
666
+ -------------------------------------------------------------------
667
+  (0.1ms) rollback transaction
668
+  (0.1ms) begin transaction
669
+ ---------------------------------------------------------------------
670
+ HelpersTest: test_simple_tags_should_return_id_and_class_with_hyphens
671
+ ---------------------------------------------------------------------
672
+  (0.1ms) rollback transaction
673
+  (0.2ms) begin transaction
674
+ -------------------------------------------------------------------
675
+ HelpersTest: test_form_tags_should_return_id_and_class_with_hyphens
676
+ -------------------------------------------------------------------
677
+  (0.1ms) rollback transaction
678
+  (0.1ms) begin transaction
679
+ ---------------------------------------------------------------------
680
+ HelpersTest: test_simple_tags_should_return_id_and_class_with_hyphens
681
+ ---------------------------------------------------------------------
682
+  (0.1ms) rollback transaction
683
+  (0.2ms) begin transaction
684
+ -------------------------------------------------------------------
685
+ HelpersTest: test_form_tags_should_return_id_and_class_with_hyphens
686
+ -------------------------------------------------------------------
687
+  (0.1ms) rollback transaction
688
+  (0.1ms) begin transaction
689
+ ---------------------------------------------------------------------
690
+ HelpersTest: test_simple_tags_should_return_id_and_class_with_hyphens
691
+ ---------------------------------------------------------------------
692
+  (0.1ms) rollback transaction
693
+  (0.2ms) begin transaction
694
+ -------------------------------------------------------------------
695
+ HelpersTest: test_form_tags_should_return_id_and_class_with_hyphens
696
+ -------------------------------------------------------------------
697
+  (0.1ms) rollback transaction
698
+  (0.1ms) begin transaction
699
+ ---------------------------------------------------------------------
700
+ HelpersTest: test_simple_tags_should_return_id_and_class_with_hyphens
701
+ ---------------------------------------------------------------------
702
+  (0.1ms) rollback transaction
703
+  (0.2ms) begin transaction
704
+ -------------------------------------------------------------------
705
+ HelpersTest: test_form_tags_should_return_id_and_class_with_hyphens
706
+ -------------------------------------------------------------------
707
+  (0.1ms) rollback transaction
708
+  (0.1ms) begin transaction
709
+ ---------------------------------------------------------------------
710
+ HelpersTest: test_simple_tags_should_return_id_and_class_with_hyphens
711
+ ---------------------------------------------------------------------
712
+  (0.0ms) rollback transaction
713
+  (0.2ms) begin transaction
714
+ -------------------------------------------------------------------
715
+ HelpersTest: test_form_tags_should_return_id_and_class_with_hyphens
716
+ -------------------------------------------------------------------
717
+  (0.1ms) rollback transaction
718
+  (0.1ms) begin transaction
719
+ ---------------------------------------------------------------------
720
+ HelpersTest: test_simple_tags_should_return_id_and_class_with_hyphens
721
+ ---------------------------------------------------------------------
722
+  (0.1ms) rollback transaction
723
+  (0.2ms) begin transaction
724
+ -------------------------------------------------------------------
725
+ HelpersTest: test_form_tags_should_return_id_and_class_with_hyphens
726
+ -------------------------------------------------------------------
727
+  (0.1ms) rollback transaction
728
+  (0.0ms) begin transaction
729
+ ---------------------------------------------------------------------
730
+ HelpersTest: test_simple_tags_should_return_id_and_class_with_hyphens
731
+ ---------------------------------------------------------------------
732
+  (0.1ms) rollback transaction
733
+  (0.2ms) begin transaction
734
+ -------------------------------------------------------------------
735
+ HelpersTest: test_form_tags_should_return_id_and_class_with_hyphens
736
+ -------------------------------------------------------------------
737
+  (0.1ms) rollback transaction
738
+  (0.0ms) begin transaction
739
+ ---------------------------------------------------------------------
740
+ HelpersTest: test_simple_tags_should_return_id_and_class_with_hyphens
741
+ ---------------------------------------------------------------------
742
+  (0.1ms) rollback transaction
743
+ Connecting to database specified by database.yml
744
+  (0.1ms) begin transaction
745
+  (0.0ms) rollback transaction
746
+  (0.0ms) begin transaction
747
+  (0.0ms) rollback transaction
748
+  (0.2ms) begin transaction
749
+ -------------------------------------------------------------------
750
+ HelpersTest: test_form_tags_should_return_id_and_class_with_hyphens
751
+ -------------------------------------------------------------------
752
+  (0.1ms) rollback transaction
753
+  (0.1ms) begin transaction
754
+ ---------------------------------------------------------------------
755
+ HelpersTest: test_simple_tags_should_return_id_and_class_with_hyphens
756
+ ---------------------------------------------------------------------
757
+  (0.1ms) rollback transaction
758
+  (0.2ms) begin transaction
759
+ -------------------------------------------------------------------
760
+ HelpersTest: test_form_tags_should_return_id_and_class_with_hyphens
761
+ -------------------------------------------------------------------
762
+  (0.1ms) rollback transaction
763
+  (0.1ms) begin transaction
764
+ ---------------------------------------------------------------------
765
+ HelpersTest: test_simple_tags_should_return_id_and_class_with_hyphens
766
+ ---------------------------------------------------------------------
767
+  (0.1ms) rollback transaction
768
+  (0.2ms) begin transaction
769
+ -------------------------------------------------------------------
770
+ HelpersTest: test_form_tags_should_return_id_and_class_with_hyphens
771
+ -------------------------------------------------------------------
772
+  (0.1ms) rollback transaction
773
+  (0.1ms) begin transaction
774
+ ---------------------------------------------------------------------
775
+ HelpersTest: test_simple_tags_should_return_id_and_class_with_hyphens
776
+ ---------------------------------------------------------------------
777
+  (0.1ms) rollback transaction
778
+  (0.2ms) begin transaction
779
+ -------------------------------------------------------------------
780
+ HelpersTest: test_form_tags_should_return_id_and_class_with_hyphens
781
+ -------------------------------------------------------------------
782
+  (0.1ms) rollback transaction
783
+  (0.0ms) begin transaction
784
+ ---------------------------------------------------------------------
785
+ HelpersTest: test_simple_tags_should_return_id_and_class_with_hyphens
786
+ ---------------------------------------------------------------------
787
+  (0.0ms) rollback transaction
788
+  (0.2ms) begin transaction
789
+ -------------------------------------------------------------------
790
+ HelpersTest: test_form_tags_should_return_id_and_class_with_hyphens
791
+ -------------------------------------------------------------------
792
+  (0.1ms) rollback transaction
793
+  (0.1ms) begin transaction
794
+ ---------------------------------------------------------------------
795
+ HelpersTest: test_simple_tags_should_return_id_and_class_with_hyphens
796
+ ---------------------------------------------------------------------
797
+  (0.1ms) rollback transaction
798
+  (0.2ms) begin transaction
799
+ -------------------------------------------------------------------
800
+ HelpersTest: test_form_tags_should_return_id_and_class_with_hyphens
801
+ -------------------------------------------------------------------
802
+  (0.1ms) rollback transaction
803
+  (0.1ms) begin transaction
804
+ ---------------------------------------------------------------------
805
+ HelpersTest: test_simple_tags_should_return_id_and_class_with_hyphens
806
+ ---------------------------------------------------------------------
807
+  (0.1ms) rollback transaction
808
+  (0.2ms) begin transaction
809
+ -------------------------------------------------------------------
810
+ HelpersTest: test_form_tags_should_return_id_and_class_with_hyphens
811
+ -------------------------------------------------------------------
812
+  (0.1ms) rollback transaction
813
+  (0.1ms) begin transaction
814
+ ---------------------------------------------------------------------
815
+ HelpersTest: test_simple_tags_should_return_id_and_class_with_hyphens
816
+ ---------------------------------------------------------------------
817
+  (0.1ms) rollback transaction