draper 1.3.1 → 1.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1f81b7399dc00d41ae63b326f39168c4eee62fd2
4
- data.tar.gz: e7551c20a72398d534bbf9b172f126e0f6d2f992
3
+ metadata.gz: 0428f7f8a199d096e21e3a2360cc9fa789a43c76
4
+ data.tar.gz: b9c2a83ba56167358887fa6a85b2ab72012321fb
5
5
  SHA512:
6
- metadata.gz: 5e77c1b9609806a7cd011978203dac1d8554898f65787e403e866c704ac1ccd7e383c512e0134b1151ad290abaca0b0d286ef88457104f282b68812b1ff7ef8a
7
- data.tar.gz: 6bb88ce4a64ea56510a76e45211f79faab6e4fc464ec836b181b8c35970ed4b2abc162ff705dd61f2cc3042bff4a5790166f727dcffb8cf41690ceb289c0728b
6
+ metadata.gz: cfed7af68400a775675bee042b8f174cf141ccee503960ee11ccc8405e4ba980992cd96e0e79be25ceecaa91b05a2672246b2800d2b0f7b0d7296a5a874a3f6a
7
+ data.tar.gz: 68e0855942cb62a4960b1960353930e16e3e683fb40fcbbf4f216d5fe4ff60ea3e08e7b8fe687e4b72b8c89c3cba5ea3bd1f0991171050ad371d917504f3be62
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Draper: View Models for Rails
2
2
 
3
- [![TravisCI Build Status](https://secure.travis-ci.org/drapergem/draper.png?branch=master)](http://travis-ci.org/drapergem/draper)
3
+ [![TravisCI Build Status](https://travis-ci.org/drapergem/draper.svg?branch=master)](http://travis-ci.org/drapergem/draper)
4
4
  [![Code Climate](https://codeclimate.com/github/drapergem/draper.png)](https://codeclimate.com/github/drapergem/draper)
5
5
 
6
6
  Draper adds an object-oriented layer of presentation logic to your Rails
@@ -19,7 +19,7 @@ Gem::Specification.new do |s|
19
19
 
20
20
  s.add_dependency 'activesupport', '>= 3.0'
21
21
  s.add_dependency 'actionpack', '>= 3.0'
22
- s.add_dependency 'request_store', '~> 1.0.3'
22
+ s.add_dependency 'request_store', '~> 1.0'
23
23
  s.add_dependency 'activemodel', '>= 3.0'
24
24
 
25
25
  s.add_development_dependency 'ammeter'
@@ -1,3 +1,3 @@
1
1
  module Draper
2
- VERSION = "1.3.1"
2
+ VERSION = "1.4.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: draper
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.1
4
+ version: 1.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeff Casimir
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-06-17 00:00:00.000000000 Z
12
+ date: 2014-09-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport
@@ -45,14 +45,14 @@ dependencies:
45
45
  requirements:
46
46
  - - "~>"
47
47
  - !ruby/object:Gem::Version
48
- version: 1.0.3
48
+ version: '1.0'
49
49
  type: :runtime
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
53
  - - "~>"
54
54
  - !ruby/object:Gem::Version
55
- version: 1.0.3
55
+ version: '1.0'
56
56
  - !ruby/object:Gem::Dependency
57
57
  name: activemodel
58
58
  requirement: !ruby/object:Gem::Requirement
@@ -356,4 +356,96 @@ rubygems_version: 2.2.2
356
356
  signing_key:
357
357
  specification_version: 4
358
358
  summary: View Models for Rails
359
- test_files: []
359
+ test_files:
360
+ - spec/draper/collection_decorator_spec.rb
361
+ - spec/draper/decoratable/equality_spec.rb
362
+ - spec/draper/decoratable_spec.rb
363
+ - spec/draper/decorated_association_spec.rb
364
+ - spec/draper/decorates_assigned_spec.rb
365
+ - spec/draper/decorator_spec.rb
366
+ - spec/draper/factory_spec.rb
367
+ - spec/draper/finders_spec.rb
368
+ - spec/draper/helper_proxy_spec.rb
369
+ - spec/draper/lazy_helpers_spec.rb
370
+ - spec/draper/undecorate_spec.rb
371
+ - spec/draper/view_context/build_strategy_spec.rb
372
+ - spec/draper/view_context_spec.rb
373
+ - spec/draper/view_helpers_spec.rb
374
+ - spec/dummy/.rspec
375
+ - spec/dummy/Rakefile
376
+ - spec/dummy/app/controllers/application_controller.rb
377
+ - spec/dummy/app/controllers/localized_urls.rb
378
+ - spec/dummy/app/controllers/posts_controller.rb
379
+ - spec/dummy/app/decorators/mongoid_post_decorator.rb
380
+ - spec/dummy/app/decorators/post_decorator.rb
381
+ - spec/dummy/app/helpers/application_helper.rb
382
+ - spec/dummy/app/mailers/application_mailer.rb
383
+ - spec/dummy/app/mailers/post_mailer.rb
384
+ - spec/dummy/app/models/admin.rb
385
+ - spec/dummy/app/models/mongoid_post.rb
386
+ - spec/dummy/app/models/post.rb
387
+ - spec/dummy/app/models/user.rb
388
+ - spec/dummy/app/views/layouts/application.html.erb
389
+ - spec/dummy/app/views/post_mailer/decorated_email.html.erb
390
+ - spec/dummy/app/views/posts/_post.html.erb
391
+ - spec/dummy/app/views/posts/show.html.erb
392
+ - spec/dummy/bin/rails
393
+ - spec/dummy/config.ru
394
+ - spec/dummy/config/application.rb
395
+ - spec/dummy/config/boot.rb
396
+ - spec/dummy/config/database.yml
397
+ - spec/dummy/config/environment.rb
398
+ - spec/dummy/config/environments/development.rb
399
+ - spec/dummy/config/environments/production.rb
400
+ - spec/dummy/config/environments/test.rb
401
+ - spec/dummy/config/initializers/backtrace_silencers.rb
402
+ - spec/dummy/config/initializers/inflections.rb
403
+ - spec/dummy/config/initializers/mime_types.rb
404
+ - spec/dummy/config/initializers/secret_token.rb
405
+ - spec/dummy/config/initializers/session_store.rb
406
+ - spec/dummy/config/locales/en.yml
407
+ - spec/dummy/config/mongoid.yml
408
+ - spec/dummy/config/routes.rb
409
+ - spec/dummy/db/migrate/20121019115657_create_posts.rb
410
+ - spec/dummy/db/schema.rb
411
+ - spec/dummy/db/seeds.rb
412
+ - spec/dummy/fast_spec/post_decorator_spec.rb
413
+ - spec/dummy/lib/tasks/test.rake
414
+ - spec/dummy/log/.gitkeep
415
+ - spec/dummy/public/404.html
416
+ - spec/dummy/public/422.html
417
+ - spec/dummy/public/500.html
418
+ - spec/dummy/public/favicon.ico
419
+ - spec/dummy/script/rails
420
+ - spec/dummy/spec/decorators/active_model_serializers_spec.rb
421
+ - spec/dummy/spec/decorators/devise_spec.rb
422
+ - spec/dummy/spec/decorators/helpers_spec.rb
423
+ - spec/dummy/spec/decorators/post_decorator_spec.rb
424
+ - spec/dummy/spec/decorators/spec_type_spec.rb
425
+ - spec/dummy/spec/decorators/view_context_spec.rb
426
+ - spec/dummy/spec/mailers/post_mailer_spec.rb
427
+ - spec/dummy/spec/models/mongoid_post_spec.rb
428
+ - spec/dummy/spec/models/post_spec.rb
429
+ - spec/dummy/spec/shared_examples/decoratable.rb
430
+ - spec/dummy/spec/spec_helper.rb
431
+ - spec/dummy/test/decorators/minitest/devise_test.rb
432
+ - spec/dummy/test/decorators/minitest/helpers_test.rb
433
+ - spec/dummy/test/decorators/minitest/spec_type_test.rb
434
+ - spec/dummy/test/decorators/minitest/view_context_test.rb
435
+ - spec/dummy/test/decorators/test_unit/devise_test.rb
436
+ - spec/dummy/test/decorators/test_unit/helpers_test.rb
437
+ - spec/dummy/test/decorators/test_unit/view_context_test.rb
438
+ - spec/dummy/test/minitest_helper.rb
439
+ - spec/dummy/test/test_helper.rb
440
+ - spec/generators/controller/controller_generator_spec.rb
441
+ - spec/generators/decorator/decorator_generator_spec.rb
442
+ - spec/integration/integration_spec.rb
443
+ - spec/performance/active_record.rb
444
+ - spec/performance/benchmark.rb
445
+ - spec/performance/decorators.rb
446
+ - spec/performance/models.rb
447
+ - spec/spec_helper.rb
448
+ - spec/support/dummy_app.rb
449
+ - spec/support/matchers/have_text.rb
450
+ - spec/support/shared_examples/decoratable_equality.rb
451
+ - spec/support/shared_examples/view_helpers.rb