jabe 0.5.2 → 0.5.3

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -16,7 +16,6 @@ group :development, :test do
16
16
  gem 'autotest-fsevent' if RUBY_PLATFORM =~ /darwin/
17
17
  gem 'autotest-growl' if RUBY_PLATFORM =~ /darwin/
18
18
  gem 'capybara'
19
- gem 'csv-mapper'
20
19
  gem 'cucumber'
21
20
  gem 'cucumber-rails'
22
21
  gem 'database_cleaner', '>= 0.6.0'
data/Gemfile.lock CHANGED
@@ -53,8 +53,6 @@ GEM
53
53
  ffi (~> 0.6.3)
54
54
  columnize (0.3.2)
55
55
  configuration (1.2.0)
56
- csv-mapper (0.5.1)
57
- fastercsv
58
56
  cucumber (0.10.0)
59
57
  builder (>= 2.1.2)
60
58
  diff-lcs (~> 1.1.2)
@@ -73,7 +71,6 @@ GEM
73
71
  abstract (>= 1.0.0)
74
72
  faker (0.9.2)
75
73
  i18n (~> 0.4)
76
- fastercsv (1.5.3)
77
74
  ffi (0.6.3)
78
75
  rake (>= 0.8.7)
79
76
  formtastic (1.2.3.beta)
@@ -189,7 +186,6 @@ DEPENDENCIES
189
186
  autotest-fsevent
190
187
  autotest-growl
191
188
  capybara
192
- csv-mapper
193
189
  cucumber
194
190
  cucumber-rails
195
191
  database_cleaner (>= 0.6.0)
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.5.2
1
+ 0.5.3
data/lib/jabe.rb CHANGED
@@ -6,8 +6,13 @@ module Jabe
6
6
  class Engine < Rails::Engine
7
7
  require File.join(JABE_DIR, 'app/helpers/jabe_helper.rb')
8
8
 
9
+ initializer "static assets" do |app|
10
+ if app.config.serve_static_assets
11
+ app.middleware.insert 0, ::ActionDispatch::Static, "#{root}/public"
12
+ end
13
+ end
14
+
9
15
  initializer "jabe setup" do |app|
10
- app.middleware.use ::ActionDispatch::Static, "#{root}/public"
11
16
  ::ActionController::Base.send(:helper, :jabe)
12
17
  end
13
18
 
@@ -29,7 +29,7 @@ Dummy::Application.configure do
29
29
 
30
30
  # Disable Rails's static asset server
31
31
  # In production, Apache or nginx will already do this
32
- config.serve_static_assets = false
32
+ config.serve_static_assets = true
33
33
 
34
34
  # Enable serving of images, stylesheets, and javascripts from an asset server
35
35
  # config.action_controller.asset_host = "http://assets.example.com"
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jabe
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15
4
+ hash: 13
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 5
9
- - 2
10
- version: 0.5.2
9
+ - 3
10
+ version: 0.5.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Michael Moen a.k.a. UnderpantsGnome
@@ -233,7 +233,7 @@ dependencies:
233
233
  - !ruby/object:Gem::Dependency
234
234
  prerelease: false
235
235
  type: :development
236
- name: csv-mapper
236
+ name: cucumber
237
237
  version_requirements: &id015 !ruby/object:Gem::Requirement
238
238
  none: false
239
239
  requirements:
@@ -247,7 +247,7 @@ dependencies:
247
247
  - !ruby/object:Gem::Dependency
248
248
  prerelease: false
249
249
  type: :development
250
- name: cucumber
250
+ name: cucumber-rails
251
251
  version_requirements: &id016 !ruby/object:Gem::Requirement
252
252
  none: false
253
253
  requirements:
@@ -258,25 +258,11 @@ dependencies:
258
258
  - 0
259
259
  version: "0"
260
260
  requirement: *id016
261
- - !ruby/object:Gem::Dependency
262
- prerelease: false
263
- type: :development
264
- name: cucumber-rails
265
- version_requirements: &id017 !ruby/object:Gem::Requirement
266
- none: false
267
- requirements:
268
- - - ">="
269
- - !ruby/object:Gem::Version
270
- hash: 3
271
- segments:
272
- - 0
273
- version: "0"
274
- requirement: *id017
275
261
  - !ruby/object:Gem::Dependency
276
262
  prerelease: false
277
263
  type: :development
278
264
  name: database_cleaner
279
- version_requirements: &id018 !ruby/object:Gem::Requirement
265
+ version_requirements: &id017 !ruby/object:Gem::Requirement
280
266
  none: false
281
267
  requirements:
282
268
  - - ">="
@@ -287,12 +273,12 @@ dependencies:
287
273
  - 6
288
274
  - 0
289
275
  version: 0.6.0
290
- requirement: *id018
276
+ requirement: *id017
291
277
  - !ruby/object:Gem::Dependency
292
278
  prerelease: false
293
279
  type: :development
294
280
  name: faker
295
- version_requirements: &id019 !ruby/object:Gem::Requirement
281
+ version_requirements: &id018 !ruby/object:Gem::Requirement
296
282
  none: false
297
283
  requirements:
298
284
  - - ">="
@@ -301,12 +287,12 @@ dependencies:
301
287
  segments:
302
288
  - 0
303
289
  version: "0"
304
- requirement: *id019
290
+ requirement: *id018
305
291
  - !ruby/object:Gem::Dependency
306
292
  prerelease: false
307
293
  type: :development
308
294
  name: jeweler
309
- version_requirements: &id020 !ruby/object:Gem::Requirement
295
+ version_requirements: &id019 !ruby/object:Gem::Requirement
310
296
  none: false
311
297
  requirements:
312
298
  - - ">="
@@ -315,12 +301,12 @@ dependencies:
315
301
  segments:
316
302
  - 0
317
303
  version: "0"
318
- requirement: *id020
304
+ requirement: *id019
319
305
  - !ruby/object:Gem::Dependency
320
306
  prerelease: false
321
307
  type: :development
322
308
  name: launchy
323
- version_requirements: &id021 !ruby/object:Gem::Requirement
309
+ version_requirements: &id020 !ruby/object:Gem::Requirement
324
310
  none: false
325
311
  requirements:
326
312
  - - ">="
@@ -329,12 +315,12 @@ dependencies:
329
315
  segments:
330
316
  - 0
331
317
  version: "0"
332
- requirement: *id021
318
+ requirement: *id020
333
319
  - !ruby/object:Gem::Dependency
334
320
  prerelease: false
335
321
  type: :development
336
322
  name: machinist
337
- version_requirements: &id022 !ruby/object:Gem::Requirement
323
+ version_requirements: &id021 !ruby/object:Gem::Requirement
338
324
  none: false
339
325
  requirements:
340
326
  - - ">="
@@ -346,12 +332,12 @@ dependencies:
346
332
  - 0
347
333
  - beta2
348
334
  version: 2.0.0.beta2
349
- requirement: *id022
335
+ requirement: *id021
350
336
  - !ruby/object:Gem::Dependency
351
337
  prerelease: false
352
338
  type: :development
353
339
  name: mysql
354
- version_requirements: &id023 !ruby/object:Gem::Requirement
340
+ version_requirements: &id022 !ruby/object:Gem::Requirement
355
341
  none: false
356
342
  requirements:
357
343
  - - ">="
@@ -360,12 +346,12 @@ dependencies:
360
346
  segments:
361
347
  - 0
362
348
  version: "0"
363
- requirement: *id023
349
+ requirement: *id022
364
350
  - !ruby/object:Gem::Dependency
365
351
  prerelease: false
366
352
  type: :development
367
353
  name: pickle
368
- version_requirements: &id024 !ruby/object:Gem::Requirement
354
+ version_requirements: &id023 !ruby/object:Gem::Requirement
369
355
  none: false
370
356
  requirements:
371
357
  - - ">="
@@ -374,12 +360,12 @@ dependencies:
374
360
  segments:
375
361
  - 0
376
362
  version: "0"
377
- requirement: *id024
363
+ requirement: *id023
378
364
  - !ruby/object:Gem::Dependency
379
365
  prerelease: false
380
366
  type: :development
381
367
  name: rcov
382
- version_requirements: &id025 !ruby/object:Gem::Requirement
368
+ version_requirements: &id024 !ruby/object:Gem::Requirement
383
369
  none: false
384
370
  requirements:
385
371
  - - ">="
@@ -388,12 +374,12 @@ dependencies:
388
374
  segments:
389
375
  - 0
390
376
  version: "0"
391
- requirement: *id025
377
+ requirement: *id024
392
378
  - !ruby/object:Gem::Dependency
393
379
  prerelease: false
394
380
  type: :development
395
381
  name: redgreen
396
- version_requirements: &id026 !ruby/object:Gem::Requirement
382
+ version_requirements: &id025 !ruby/object:Gem::Requirement
397
383
  none: false
398
384
  requirements:
399
385
  - - ">="
@@ -402,12 +388,12 @@ dependencies:
402
388
  segments:
403
389
  - 0
404
390
  version: "0"
405
- requirement: *id026
391
+ requirement: *id025
406
392
  - !ruby/object:Gem::Dependency
407
393
  prerelease: false
408
394
  type: :development
409
395
  name: rspec-rails
410
- version_requirements: &id027 !ruby/object:Gem::Requirement
396
+ version_requirements: &id026 !ruby/object:Gem::Requirement
411
397
  none: false
412
398
  requirements:
413
399
  - - "="
@@ -418,12 +404,12 @@ dependencies:
418
404
  - 0
419
405
  - 1
420
406
  version: 2.0.1
421
- requirement: *id027
407
+ requirement: *id026
422
408
  - !ruby/object:Gem::Dependency
423
409
  prerelease: false
424
410
  type: :development
425
411
  name: ruby-debug
426
- version_requirements: &id028 !ruby/object:Gem::Requirement
412
+ version_requirements: &id027 !ruby/object:Gem::Requirement
427
413
  none: false
428
414
  requirements:
429
415
  - - ">="
@@ -432,12 +418,12 @@ dependencies:
432
418
  segments:
433
419
  - 0
434
420
  version: "0"
435
- requirement: *id028
421
+ requirement: *id027
436
422
  - !ruby/object:Gem::Dependency
437
423
  prerelease: false
438
424
  type: :development
439
425
  name: wirble
440
- version_requirements: &id029 !ruby/object:Gem::Requirement
426
+ version_requirements: &id028 !ruby/object:Gem::Requirement
441
427
  none: false
442
428
  requirements:
443
429
  - - ">="
@@ -446,7 +432,7 @@ dependencies:
446
432
  segments:
447
433
  - 0
448
434
  version: "0"
449
- requirement: *id029
435
+ requirement: *id028
450
436
  description: Blog engine for Rails 3+
451
437
  email: michael@pixels-and-bits.com
452
438
  executables: []