delegated_presenter 0.1.1 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (66) hide show
  1. data/.gitignore +7 -0
  2. data/.rspec +2 -0
  3. data/.travis.yml +7 -0
  4. data/Gemfile +15 -2
  5. data/MIT-LICENSE +20 -0
  6. data/README.md +69 -2
  7. data/README.rdoc +3 -0
  8. data/Rakefile +27 -1
  9. data/delegated_presenter.gemspec +8 -0
  10. data/lib/delegated_presenter/base.rb +122 -10
  11. data/lib/delegated_presenter/error.rb +11 -0
  12. data/lib/delegated_presenter/presents_before_rendering.rb +46 -0
  13. data/lib/delegated_presenter/railtie.rb +6 -0
  14. data/lib/delegated_presenter/version.rb +1 -1
  15. data/lib/delegated_presenter.rb +2 -0
  16. data/lib/generators/templates/presenter.rb.erb +1 -1
  17. data/lib/tasks/delegated_presenter_tasks.rake +4 -0
  18. data/spec/dummy/.rspec +1 -0
  19. data/spec/dummy/README.rdoc +261 -0
  20. data/spec/dummy/Rakefile +7 -0
  21. data/spec/dummy/app/assets/javascripts/application.js +15 -0
  22. data/spec/dummy/app/assets/javascripts/sample_objects.js +2 -0
  23. data/spec/dummy/app/assets/stylesheets/application.css +13 -0
  24. data/spec/dummy/app/assets/stylesheets/sample_objects.css +4 -0
  25. data/spec/dummy/app/controllers/application_controller.rb +3 -0
  26. data/spec/dummy/app/controllers/sample_objects_controller.rb +13 -0
  27. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  28. data/spec/dummy/app/helpers/sample_objects_helper.rb +2 -0
  29. data/spec/dummy/app/mailers/.gitkeep +0 -0
  30. data/spec/dummy/app/models/.gitkeep +0 -0
  31. data/spec/dummy/app/models/inherited_sample_object.rb +3 -0
  32. data/spec/dummy/app/models/sample_object.rb +3 -0
  33. data/spec/dummy/app/presenters/sample_object_presenter.rb +16 -0
  34. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  35. data/spec/dummy/app/views/sample_objects/index.html.erb +0 -0
  36. data/spec/dummy/app/views/sample_objects/show.html.erb +0 -0
  37. data/spec/dummy/config/application.rb +65 -0
  38. data/spec/dummy/config/boot.rb +10 -0
  39. data/spec/dummy/config/database.yml +25 -0
  40. data/spec/dummy/config/environment.rb +5 -0
  41. data/spec/dummy/config/environments/development.rb +37 -0
  42. data/spec/dummy/config/environments/production.rb +67 -0
  43. data/spec/dummy/config/environments/test.rb +37 -0
  44. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  45. data/spec/dummy/config/initializers/inflections.rb +15 -0
  46. data/spec/dummy/config/initializers/mime_types.rb +5 -0
  47. data/spec/dummy/config/initializers/secret_token.rb +7 -0
  48. data/spec/dummy/config/initializers/session_store.rb +8 -0
  49. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  50. data/spec/dummy/config/locales/en.yml +5 -0
  51. data/spec/dummy/config/routes.rb +3 -0
  52. data/spec/dummy/config.ru +4 -0
  53. data/spec/dummy/db/migrate/20121006185000_create_sample_objects.rb +13 -0
  54. data/spec/dummy/db/schema.rb +27 -0
  55. data/spec/dummy/lib/assets/.gitkeep +0 -0
  56. data/spec/dummy/log/.gitkeep +0 -0
  57. data/spec/dummy/public/404.html +26 -0
  58. data/spec/dummy/public/422.html +26 -0
  59. data/spec/dummy/public/500.html +25 -0
  60. data/spec/dummy/public/favicon.ico +0 -0
  61. data/spec/dummy/script/rails +6 -0
  62. data/spec/factories/sample_object.rb +18 -0
  63. data/spec/presenter_spec_spec.rb +17 -0
  64. data/spec/presents_before_rendering_spec.rb +19 -0
  65. data/spec/spec_helper.rb +42 -0
  66. metadata +201 -3
@@ -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,7 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Your secret key for verifying the integrity of signed cookies.
4
+ # If you change this key, all old signed cookies will become invalid!
5
+ # Make sure the secret is at least 30 characters and all random,
6
+ # no regular words or you'll be exposed to dictionary attacks.
7
+ Dummy::Application.config.secret_token = 'c47a06a3fcf2da19af049e07da314dc501bc5eb5d68cab3ed276191cac61ce9985fafa944e664f47b5fd96f313abc4d5c79f7ede34d98fd60ea4e52e10408d5b'
@@ -0,0 +1,8 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ Dummy::Application.config.session_store :cookie_store, key: '_dummy_session'
4
+
5
+ # Use the database for sessions instead of the cookie-based default,
6
+ # which shouldn't be used to store highly confidential information
7
+ # (create the session table with "rails generate session_migration")
8
+ # Dummy::Application.config.session_store :active_record_store
@@ -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]
9
+ end
10
+
11
+ # Disable root element in JSON by default.
12
+ ActiveSupport.on_load(:active_record) do
13
+ self.include_root_in_json = false
14
+ end
@@ -0,0 +1,5 @@
1
+ # Sample localization file for English. Add more files in this directory for other locales.
2
+ # See https://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.
3
+
4
+ en:
5
+ hello: "Hello world"
@@ -0,0 +1,3 @@
1
+ Dummy::Application.routes.draw do
2
+ resources :sample_objects
3
+ end
@@ -0,0 +1,4 @@
1
+ # This file is used by Rack-based servers to start the application.
2
+
3
+ require ::File.expand_path('../config/environment', __FILE__)
4
+ run Dummy::Application
@@ -0,0 +1,13 @@
1
+ class CreateSampleObjects < ActiveRecord::Migration
2
+ def change
3
+ create_table :sample_objects do |t|
4
+ t.string :type
5
+ t.string :prefix
6
+ t.string :first_name
7
+ t.string :middle_name
8
+ t.string :last_name
9
+ t.string :suffix
10
+ t.timestamps
11
+ end
12
+ end
13
+ end
@@ -0,0 +1,27 @@
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 to check this file into your version control system.
13
+
14
+ ActiveRecord::Schema.define(:version => 20121006185000) do
15
+
16
+ create_table "sample_objects", :force => true do |t|
17
+ t.string "type"
18
+ t.string "prefix"
19
+ t.string "first_name"
20
+ t.string "middle_name"
21
+ t.string "last_name"
22
+ t.string "suffix"
23
+ t.datetime "created_at", :null => false
24
+ t.datetime "updated_at", :null => false
25
+ end
26
+
27
+ end
File without changes
File without changes
@@ -0,0 +1,26 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The page you were looking for doesn't exist (404)</title>
5
+ <style type="text/css">
6
+ body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
7
+ div.dialog {
8
+ width: 25em;
9
+ padding: 0 4em;
10
+ margin: 4em auto 0 auto;
11
+ border: 1px solid #ccc;
12
+ border-right-color: #999;
13
+ border-bottom-color: #999;
14
+ }
15
+ h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
16
+ </style>
17
+ </head>
18
+
19
+ <body>
20
+ <!-- This file lives in public/404.html -->
21
+ <div class="dialog">
22
+ <h1>The page you were looking for doesn't exist.</h1>
23
+ <p>You may have mistyped the address or the page may have moved.</p>
24
+ </div>
25
+ </body>
26
+ </html>
@@ -0,0 +1,26 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The change you wanted was rejected (422)</title>
5
+ <style type="text/css">
6
+ body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
7
+ div.dialog {
8
+ width: 25em;
9
+ padding: 0 4em;
10
+ margin: 4em auto 0 auto;
11
+ border: 1px solid #ccc;
12
+ border-right-color: #999;
13
+ border-bottom-color: #999;
14
+ }
15
+ h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
16
+ </style>
17
+ </head>
18
+
19
+ <body>
20
+ <!-- This file lives in public/422.html -->
21
+ <div class="dialog">
22
+ <h1>The change you wanted was rejected.</h1>
23
+ <p>Maybe you tried to change something you didn't have access to.</p>
24
+ </div>
25
+ </body>
26
+ </html>
@@ -0,0 +1,25 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>We're sorry, but something went wrong (500)</title>
5
+ <style type="text/css">
6
+ body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
7
+ div.dialog {
8
+ width: 25em;
9
+ padding: 0 4em;
10
+ margin: 4em auto 0 auto;
11
+ border: 1px solid #ccc;
12
+ border-right-color: #999;
13
+ border-bottom-color: #999;
14
+ }
15
+ h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
16
+ </style>
17
+ </head>
18
+
19
+ <body>
20
+ <!-- This file lives in public/500.html -->
21
+ <div class="dialog">
22
+ <h1>We're sorry, but something went wrong.</h1>
23
+ </div>
24
+ </body>
25
+ </html>
File without changes
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+ # This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
3
+
4
+ APP_PATH = File.expand_path('../../config/application', __FILE__)
5
+ require File.expand_path('../../config/boot', __FILE__)
6
+ require 'rails/commands'
@@ -0,0 +1,18 @@
1
+ FactoryGirl.define do
2
+ factory :sample_object do
3
+ prefix "Dr."
4
+ first_name "John"
5
+ middle_name "Patrick"
6
+ last_name "Doe"
7
+ suffix "M.D."
8
+ end
9
+
10
+ factory :inherited_sample_object do
11
+ prefix "Mrs."
12
+ first_name "Jane"
13
+ middle_name "Marie"
14
+ last_name "Smith"
15
+ suffix "Esq."
16
+ end
17
+
18
+ end
@@ -0,0 +1,17 @@
1
+ require 'spec_helper'
2
+
3
+ describe SampleObjectPresenter do
4
+
5
+ it '.presenter_method (full_name)' do
6
+ object = FactoryGirl.create(:sample_object)
7
+ presented_object = SampleObjectPresenter.new(object)
8
+ expect(presented_object.full_name).to be_present
9
+ end
10
+
11
+ it '.model_instance_method (first_name)' do
12
+ object = FactoryGirl.create(:sample_object)
13
+ presented_object = SampleObjectPresenter.new(object)
14
+ expect(presented_object.first_name).to be_present
15
+ end
16
+
17
+ end
@@ -0,0 +1,19 @@
1
+ require 'spec_helper'
2
+
3
+ describe SampleObjectsController, type: :controller do
4
+
5
+ before do
6
+ 10.times { FactoryGirl.create(:sample_object) }
7
+ end
8
+
9
+ it 'presents @collection' do
10
+ get :index
11
+ expect(assigns(:collection).presenter_class).to eq(SampleObjectPresenter)
12
+ end
13
+
14
+ it 'presents @instance' do
15
+ get :show, { id: 1 }
16
+ expect(assigns(:instance).presenter_class).to eq(SampleObjectPresenter)
17
+ end
18
+
19
+ end
@@ -0,0 +1,42 @@
1
+ # This file is copied to spec/ when you run 'rails generate rspec:install'
2
+ ENV["RAILS_ENV"] ||= 'test'
3
+ require File.expand_path("../dummy/config/environment", __FILE__)
4
+ require 'rspec/rails'
5
+ require 'rspec/autorun'
6
+ require 'factory_girl'
7
+ require 'database_cleaner'
8
+
9
+ # Requires supporting ruby files with custom matchers and macros, etc,
10
+ # in spec/support/ and its subdirectories.
11
+ Dir[Rails.root.join("spec/support/**/*.rb")].each {|f| require f}
12
+
13
+ RSpec.configure do |config|
14
+
15
+ # Factory Girl Definitions
16
+ FactoryGirl.find_definitions
17
+
18
+ # If true, the base class of anonymous controllers will be inferred
19
+ # automatically. This will be the default behavior in future versions of
20
+ # rspec-rails.
21
+ config.infer_base_class_for_anonymous_controllers = false
22
+
23
+ # Run specs in random order to surface order dependencies. If you find an
24
+ # order dependency and want to debug it, you can fix the order by providing
25
+ # the seed, which is printed after each run.
26
+ # --seed 1234
27
+ config.order = "random"
28
+
29
+ config.before(:suite) do
30
+ DatabaseCleaner.strategy = :transaction
31
+ DatabaseCleaner.clean_with(:truncation)
32
+ end
33
+
34
+ config.before(:each) do
35
+ DatabaseCleaner.start
36
+ end
37
+
38
+ config.after(:each) do
39
+ DatabaseCleaner.clean
40
+ end
41
+
42
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: delegated_presenter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 1.0.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-10-03 00:00:00.000000000 Z
12
+ date: 2012-10-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport
@@ -27,6 +27,102 @@ dependencies:
27
27
  - - ! '>='
28
28
  - !ruby/object:Gem::Version
29
29
  version: '0'
30
+ - !ruby/object:Gem::Dependency
31
+ name: rspec
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
38
+ type: :development
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
46
+ - !ruby/object:Gem::Dependency
47
+ name: sqlite3
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ! '>='
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
54
+ type: :development
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ - !ruby/object:Gem::Dependency
63
+ name: rspec-rails
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ! '>='
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
70
+ type: :development
71
+ prerelease: false
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
78
+ - !ruby/object:Gem::Dependency
79
+ name: rails
80
+ requirement: !ruby/object:Gem::Requirement
81
+ none: false
82
+ requirements:
83
+ - - ! '>='
84
+ - !ruby/object:Gem::Version
85
+ version: '0'
86
+ type: :development
87
+ prerelease: false
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ! '>='
92
+ - !ruby/object:Gem::Version
93
+ version: '0'
94
+ - !ruby/object:Gem::Dependency
95
+ name: factory_girl
96
+ requirement: !ruby/object:Gem::Requirement
97
+ none: false
98
+ requirements:
99
+ - - ! '>='
100
+ - !ruby/object:Gem::Version
101
+ version: '0'
102
+ type: :development
103
+ prerelease: false
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ! '>='
108
+ - !ruby/object:Gem::Version
109
+ version: '0'
110
+ - !ruby/object:Gem::Dependency
111
+ name: database_cleaner
112
+ requirement: !ruby/object:Gem::Requirement
113
+ none: false
114
+ requirements:
115
+ - - ! '>='
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ none: false
122
+ requirements:
123
+ - - ! '>='
124
+ - !ruby/object:Gem::Version
125
+ version: '0'
30
126
  description: Simple presenter allows for a simple way for you to present a model to
31
127
  your views without cluttering up the original model.
32
128
  email:
@@ -36,18 +132,72 @@ extensions: []
36
132
  extra_rdoc_files: []
37
133
  files:
38
134
  - .gitignore
135
+ - .rspec
136
+ - .travis.yml
39
137
  - Gemfile
40
138
  - LICENSE.txt
139
+ - MIT-LICENSE
41
140
  - README.md
141
+ - README.rdoc
42
142
  - Rakefile
43
143
  - delegated_presenter.gemspec
44
144
  - lib/delegated_presenter.rb
45
145
  - lib/delegated_presenter/base.rb
46
146
  - lib/delegated_presenter/error.rb
147
+ - lib/delegated_presenter/presents_before_rendering.rb
47
148
  - lib/delegated_presenter/railtie.rb
48
149
  - lib/delegated_presenter/version.rb
49
150
  - lib/generators/delegated_presenter_generator.rb
50
151
  - lib/generators/templates/presenter.rb.erb
152
+ - lib/tasks/delegated_presenter_tasks.rake
153
+ - spec/dummy/.rspec
154
+ - spec/dummy/README.rdoc
155
+ - spec/dummy/Rakefile
156
+ - spec/dummy/app/assets/javascripts/application.js
157
+ - spec/dummy/app/assets/javascripts/sample_objects.js
158
+ - spec/dummy/app/assets/stylesheets/application.css
159
+ - spec/dummy/app/assets/stylesheets/sample_objects.css
160
+ - spec/dummy/app/controllers/application_controller.rb
161
+ - spec/dummy/app/controllers/sample_objects_controller.rb
162
+ - spec/dummy/app/helpers/application_helper.rb
163
+ - spec/dummy/app/helpers/sample_objects_helper.rb
164
+ - spec/dummy/app/mailers/.gitkeep
165
+ - spec/dummy/app/models/.gitkeep
166
+ - spec/dummy/app/models/inherited_sample_object.rb
167
+ - spec/dummy/app/models/sample_object.rb
168
+ - spec/dummy/app/presenters/sample_object_presenter.rb
169
+ - spec/dummy/app/views/layouts/application.html.erb
170
+ - spec/dummy/app/views/sample_objects/index.html.erb
171
+ - spec/dummy/app/views/sample_objects/show.html.erb
172
+ - spec/dummy/config.ru
173
+ - spec/dummy/config/application.rb
174
+ - spec/dummy/config/boot.rb
175
+ - spec/dummy/config/database.yml
176
+ - spec/dummy/config/environment.rb
177
+ - spec/dummy/config/environments/development.rb
178
+ - spec/dummy/config/environments/production.rb
179
+ - spec/dummy/config/environments/test.rb
180
+ - spec/dummy/config/initializers/backtrace_silencers.rb
181
+ - spec/dummy/config/initializers/inflections.rb
182
+ - spec/dummy/config/initializers/mime_types.rb
183
+ - spec/dummy/config/initializers/secret_token.rb
184
+ - spec/dummy/config/initializers/session_store.rb
185
+ - spec/dummy/config/initializers/wrap_parameters.rb
186
+ - spec/dummy/config/locales/en.yml
187
+ - spec/dummy/config/routes.rb
188
+ - spec/dummy/db/migrate/20121006185000_create_sample_objects.rb
189
+ - spec/dummy/db/schema.rb
190
+ - spec/dummy/lib/assets/.gitkeep
191
+ - spec/dummy/log/.gitkeep
192
+ - spec/dummy/public/404.html
193
+ - spec/dummy/public/422.html
194
+ - spec/dummy/public/500.html
195
+ - spec/dummy/public/favicon.ico
196
+ - spec/dummy/script/rails
197
+ - spec/factories/sample_object.rb
198
+ - spec/presenter_spec_spec.rb
199
+ - spec/presents_before_rendering_spec.rb
200
+ - spec/spec_helper.rb
51
201
  homepage: http://github.com/jwaldrip/delegated_presenter
52
202
  licenses: []
53
203
  post_install_message:
@@ -73,5 +223,53 @@ signing_key:
73
223
  specification_version: 3
74
224
  summary: Simple presenter allows for a simple way for you to present a model to your
75
225
  views without cluttering up the original model.
76
- test_files: []
226
+ test_files:
227
+ - spec/dummy/.rspec
228
+ - spec/dummy/README.rdoc
229
+ - spec/dummy/Rakefile
230
+ - spec/dummy/app/assets/javascripts/application.js
231
+ - spec/dummy/app/assets/javascripts/sample_objects.js
232
+ - spec/dummy/app/assets/stylesheets/application.css
233
+ - spec/dummy/app/assets/stylesheets/sample_objects.css
234
+ - spec/dummy/app/controllers/application_controller.rb
235
+ - spec/dummy/app/controllers/sample_objects_controller.rb
236
+ - spec/dummy/app/helpers/application_helper.rb
237
+ - spec/dummy/app/helpers/sample_objects_helper.rb
238
+ - spec/dummy/app/mailers/.gitkeep
239
+ - spec/dummy/app/models/.gitkeep
240
+ - spec/dummy/app/models/inherited_sample_object.rb
241
+ - spec/dummy/app/models/sample_object.rb
242
+ - spec/dummy/app/presenters/sample_object_presenter.rb
243
+ - spec/dummy/app/views/layouts/application.html.erb
244
+ - spec/dummy/app/views/sample_objects/index.html.erb
245
+ - spec/dummy/app/views/sample_objects/show.html.erb
246
+ - spec/dummy/config.ru
247
+ - spec/dummy/config/application.rb
248
+ - spec/dummy/config/boot.rb
249
+ - spec/dummy/config/database.yml
250
+ - spec/dummy/config/environment.rb
251
+ - spec/dummy/config/environments/development.rb
252
+ - spec/dummy/config/environments/production.rb
253
+ - spec/dummy/config/environments/test.rb
254
+ - spec/dummy/config/initializers/backtrace_silencers.rb
255
+ - spec/dummy/config/initializers/inflections.rb
256
+ - spec/dummy/config/initializers/mime_types.rb
257
+ - spec/dummy/config/initializers/secret_token.rb
258
+ - spec/dummy/config/initializers/session_store.rb
259
+ - spec/dummy/config/initializers/wrap_parameters.rb
260
+ - spec/dummy/config/locales/en.yml
261
+ - spec/dummy/config/routes.rb
262
+ - spec/dummy/db/migrate/20121006185000_create_sample_objects.rb
263
+ - spec/dummy/db/schema.rb
264
+ - spec/dummy/lib/assets/.gitkeep
265
+ - spec/dummy/log/.gitkeep
266
+ - spec/dummy/public/404.html
267
+ - spec/dummy/public/422.html
268
+ - spec/dummy/public/500.html
269
+ - spec/dummy/public/favicon.ico
270
+ - spec/dummy/script/rails
271
+ - spec/factories/sample_object.rb
272
+ - spec/presenter_spec_spec.rb
273
+ - spec/presents_before_rendering_spec.rb
274
+ - spec/spec_helper.rb
77
275
  has_rdoc: