rails_static_record 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (75) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.md +28 -0
  4. data/Rakefile +34 -0
  5. data/lib/static_record/active_record.rb +13 -0
  6. data/lib/static_record/base.rb +79 -0
  7. data/lib/static_record/errors.rb +17 -0
  8. data/lib/static_record/gateway_model.rb +28 -0
  9. data/lib/static_record/loader_file.rb +45 -0
  10. data/lib/static_record/version.rb +3 -0
  11. data/lib/static_record.rb +15 -0
  12. data/lib/tasks/static_record_tasks.rake +4 -0
  13. data/spec/dummy/Rakefile +6 -0
  14. data/spec/dummy/app/assets/config/manifest.js +4 -0
  15. data/spec/dummy/app/assets/javascripts/application.js +13 -0
  16. data/spec/dummy/app/assets/javascripts/cable.js +13 -0
  17. data/spec/dummy/app/assets/stylesheets/application.css +15 -0
  18. data/spec/dummy/app/channels/application_cable/channel.rb +4 -0
  19. data/spec/dummy/app/channels/application_cable/connection.rb +4 -0
  20. data/spec/dummy/app/controllers/application_controller.rb +3 -0
  21. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  22. data/spec/dummy/app/jobs/application_job.rb +2 -0
  23. data/spec/dummy/app/mailers/application_mailer.rb +4 -0
  24. data/spec/dummy/app/models/application_record.rb +3 -0
  25. data/spec/dummy/app/models/category.rb +2 -0
  26. data/spec/dummy/app/models/test.rb +2 -0
  27. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  28. data/spec/dummy/app/views/layouts/mailer.html.erb +13 -0
  29. data/spec/dummy/app/views/layouts/mailer.text.erb +1 -0
  30. data/spec/dummy/bin/bundle +3 -0
  31. data/spec/dummy/bin/rails +4 -0
  32. data/spec/dummy/bin/rake +4 -0
  33. data/spec/dummy/bin/setup +34 -0
  34. data/spec/dummy/bin/update +29 -0
  35. data/spec/dummy/config/application.rb +15 -0
  36. data/spec/dummy/config/boot.rb +5 -0
  37. data/spec/dummy/config/cable.yml +9 -0
  38. data/spec/dummy/config/database.yml +25 -0
  39. data/spec/dummy/config/environment.rb +5 -0
  40. data/spec/dummy/config/environments/development.rb +54 -0
  41. data/spec/dummy/config/environments/production.rb +86 -0
  42. data/spec/dummy/config/environments/test.rb +42 -0
  43. data/spec/dummy/config/initializers/application_controller_renderer.rb +6 -0
  44. data/spec/dummy/config/initializers/assets.rb +11 -0
  45. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  46. data/spec/dummy/config/initializers/cookies_serializer.rb +5 -0
  47. data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  48. data/spec/dummy/config/initializers/inflections.rb +16 -0
  49. data/spec/dummy/config/initializers/mime_types.rb +4 -0
  50. data/spec/dummy/config/initializers/new_framework_defaults.rb +24 -0
  51. data/spec/dummy/config/initializers/session_store.rb +3 -0
  52. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  53. data/spec/dummy/config/locales/en.yml +23 -0
  54. data/spec/dummy/config/puma.rb +47 -0
  55. data/spec/dummy/config/routes.rb +3 -0
  56. data/spec/dummy/config/secrets.yml +22 -0
  57. data/spec/dummy/config/spring.rb +6 -0
  58. data/spec/dummy/config.ru +5 -0
  59. data/spec/dummy/db/development.sqlite3 +0 -0
  60. data/spec/dummy/db/migrate/20161016220221_create_tests.rb +9 -0
  61. data/spec/dummy/db/schema.rb +21 -0
  62. data/spec/dummy/db/static/categories.yml +79 -0
  63. data/spec/dummy/log/development.log +23 -0
  64. data/spec/dummy/public/404.html +67 -0
  65. data/spec/dummy/public/422.html +67 -0
  66. data/spec/dummy/public/500.html +66 -0
  67. data/spec/dummy/public/apple-touch-icon-precomposed.png +0 -0
  68. data/spec/dummy/public/apple-touch-icon.png +0 -0
  69. data/spec/dummy/public/favicon.ico +0 -0
  70. data/spec/dummy/spec/factories/tests.rb +5 -0
  71. data/spec/dummy/spec/models/test_spec.rb +5 -0
  72. data/spec/rails_helper.rb +59 -0
  73. data/spec/spec_helper.rb +99 -0
  74. data/spec/static_record_spec.rb +21 -0
  75. metadata +246 -0
@@ -0,0 +1,66 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>We're sorry, but something went wrong (500)</title>
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ <style>
7
+ body {
8
+ background-color: #EFEFEF;
9
+ color: #2E2F30;
10
+ text-align: center;
11
+ font-family: arial, sans-serif;
12
+ margin: 0;
13
+ }
14
+
15
+ div.dialog {
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ div.dialog > div {
22
+ border: 1px solid #CCC;
23
+ border-right-color: #999;
24
+ border-left-color: #999;
25
+ border-bottom-color: #BBB;
26
+ border-top: #B00100 solid 4px;
27
+ border-top-left-radius: 9px;
28
+ border-top-right-radius: 9px;
29
+ background-color: white;
30
+ padding: 7px 12% 0;
31
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
+ }
33
+
34
+ h1 {
35
+ font-size: 100%;
36
+ color: #730E15;
37
+ line-height: 1.5em;
38
+ }
39
+
40
+ div.dialog > p {
41
+ margin: 0 0 1em;
42
+ padding: 1em;
43
+ background-color: #F7F7F7;
44
+ border: 1px solid #CCC;
45
+ border-right-color: #999;
46
+ border-left-color: #999;
47
+ border-bottom-color: #999;
48
+ border-bottom-left-radius: 4px;
49
+ border-bottom-right-radius: 4px;
50
+ border-top-color: #DADADA;
51
+ color: #666;
52
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
+ }
54
+ </style>
55
+ </head>
56
+
57
+ <body>
58
+ <!-- This file lives in public/500.html -->
59
+ <div class="dialog">
60
+ <div>
61
+ <h1>We're sorry, but something went wrong.</h1>
62
+ </div>
63
+ <p>If you are the application owner check the logs for more information.</p>
64
+ </div>
65
+ </body>
66
+ </html>
File without changes
File without changes
@@ -0,0 +1,5 @@
1
+ FactoryGirl.define do
2
+ factory :test do
3
+ a "MyString"
4
+ end
5
+ end
@@ -0,0 +1,5 @@
1
+ require 'rails_helper'
2
+
3
+ RSpec.describe Test, type: :model do
4
+ pending "add some examples to (or delete) #{__FILE__}"
5
+ end
@@ -0,0 +1,59 @@
1
+ # This file is copied to spec/ when you run 'rails generate rspec:install'
2
+ ENV['RAILS_ENV'] ||= 'test'
3
+ require File.expand_path('../../spec/dummy/config/environment', __FILE__)
4
+ require File.expand_path('../../lib/static_record', __FILE__)
5
+ # Prevent database truncation if the environment is production
6
+ abort("The Rails environment is running in production mode!") if Rails.env.production?
7
+ require 'spec_helper'
8
+ require 'rspec/rails'
9
+ # Add additional requires below this line. Rails is not loaded until this point!
10
+
11
+ # Requires supporting ruby files with custom matchers and macros, etc, in
12
+ # spec/support/ and its subdirectories. Files matching `spec/**/*_spec.rb` are
13
+ # run as spec files by default. This means that files in spec/support that end
14
+ # in _spec.rb will both be required and run as specs, causing the specs to be
15
+ # run twice. It is recommended that you do not name files matching this glob to
16
+ # end with _spec.rb. You can configure this pattern with the --pattern
17
+ # option on the command line or in ~/.rspec, .rspec or `.rspec-local`.
18
+ #
19
+ # The following line is provided for convenience purposes. It has the downside
20
+ # of increasing the boot-up time by auto-requiring all files in the support
21
+ # directory. Alternatively, in the individual `*_spec.rb` files, manually
22
+ # require only the support files necessary.
23
+ #
24
+ # Dir[Rails.root.join('spec/support/**/*.rb')].each { |f| require f }
25
+
26
+ # Checks for pending migration and applies them before tests are run.
27
+ # If you are not using ActiveRecord, you can remove this line.
28
+ ActiveRecord::Migration.maintain_test_schema!
29
+
30
+ RSpec.configure do |config|
31
+ # Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
32
+ config.fixture_path = "#{::Rails.root}/spec/fixtures"
33
+ config.file_fixture_path = "spec/fixtures/files"
34
+
35
+ # If you're not using ActiveRecord, or you'd prefer not to run each of your
36
+ # examples within a transaction, remove the following line or assign false
37
+ # instead of true.
38
+ config.use_transactional_fixtures = true
39
+
40
+ # RSpec Rails can automatically mix in different behaviours to your tests
41
+ # based on their file location, for example enabling you to call `get` and
42
+ # `post` in specs under `spec/controllers`.
43
+ #
44
+ # You can disable this behaviour by removing the line below, and instead
45
+ # explicitly tag your specs with their type, e.g.:
46
+ #
47
+ # RSpec.describe UsersController, :type => :controller do
48
+ # # ...
49
+ # end
50
+ #
51
+ # The different available types are documented in the features, such as in
52
+ # https://relishapp.com/rspec/rspec-rails/docs
53
+ config.infer_spec_type_from_file_location!
54
+
55
+ # Filter lines from Rails gems in backtraces.
56
+ config.filter_rails_from_backtrace!
57
+ # arbitrary gems may also be filtered via:
58
+ # config.filter_gems_from_backtrace("gem name")
59
+ end
@@ -0,0 +1,99 @@
1
+ # This file was generated by the `rails generate rspec:install` command. Conventionally, all
2
+ # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
3
+ # The generated `.rspec` file contains `--require spec_helper` which will cause
4
+ # this file to always be loaded, without a need to explicitly require it in any
5
+ # files.
6
+ #
7
+ # Given that it is always loaded, you are encouraged to keep this file as
8
+ # light-weight as possible. Requiring heavyweight dependencies from this file
9
+ # will add to the boot time of your test suite on EVERY test run, even for an
10
+ # individual file that may not need all of that loaded. Instead, consider making
11
+ # a separate helper file that requires the additional dependencies and performs
12
+ # the additional setup, and require it from the spec files that actually need
13
+ # it.
14
+ #
15
+ # The `.rspec` file also contains a few flags that are not defaults but that
16
+ # users commonly want.
17
+ #
18
+ # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
19
+ RSpec.configure do |config|
20
+ # rspec-expectations config goes here. You can use an alternate
21
+ # assertion/expectation library such as wrong or the stdlib/minitest
22
+ # assertions if you prefer.
23
+ config.expect_with :rspec do |expectations|
24
+ # This option will default to `true` in RSpec 4. It makes the `description`
25
+ # and `failure_message` of custom matchers include text for helper methods
26
+ # defined using `chain`, e.g.:
27
+ # be_bigger_than(2).and_smaller_than(4).description
28
+ # # => "be bigger than 2 and smaller than 4"
29
+ # ...rather than:
30
+ # # => "be bigger than 2"
31
+ expectations.include_chain_clauses_in_custom_matcher_descriptions = true
32
+ end
33
+
34
+ # rspec-mocks config goes here. You can use an alternate test double
35
+ # library (such as bogus or mocha) by changing the `mock_with` option here.
36
+ config.mock_with :rspec do |mocks|
37
+ # Prevents you from mocking or stubbing a method that does not exist on
38
+ # a real object. This is generally recommended, and will default to
39
+ # `true` in RSpec 4.
40
+ mocks.verify_partial_doubles = true
41
+ end
42
+
43
+ # This option will default to `:apply_to_host_groups` in RSpec 4 (and will
44
+ # have no way to turn it off -- the option exists only for backwards
45
+ # compatibility in RSpec 3). It causes shared context metadata to be
46
+ # inherited by the metadata hash of host groups and examples, rather than
47
+ # triggering implicit auto-inclusion in groups with matching metadata.
48
+ config.shared_context_metadata_behavior = :apply_to_host_groups
49
+
50
+ # The settings below are suggested to provide a good initial experience
51
+ # with RSpec, but feel free to customize to your heart's content.
52
+ =begin
53
+ # This allows you to limit a spec run to individual examples or groups
54
+ # you care about by tagging them with `:focus` metadata. When nothing
55
+ # is tagged with `:focus`, all examples get run. RSpec also provides
56
+ # aliases for `it`, `describe`, and `context` that include `:focus`
57
+ # metadata: `fit`, `fdescribe` and `fcontext`, respectively.
58
+ config.filter_run_when_matching :focus
59
+
60
+ # Allows RSpec to persist some state between runs in order to support
61
+ # the `--only-failures` and `--next-failure` CLI options. We recommend
62
+ # you configure your source control system to ignore this file.
63
+ config.example_status_persistence_file_path = "spec/examples.txt"
64
+
65
+ # Limits the available syntax to the non-monkey patched syntax that is
66
+ # recommended. For more details, see:
67
+ # - http://rspec.info/blog/2012/06/rspecs-new-expectation-syntax/
68
+ # - http://www.teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
69
+ # - http://rspec.info/blog/2014/05/notable-changes-in-rspec-3/#zero-monkey-patching-mode
70
+ config.disable_monkey_patching!
71
+
72
+ # Many RSpec users commonly either run the entire suite or an individual
73
+ # file, and it's useful to allow more verbose output when running an
74
+ # individual spec file.
75
+ if config.files_to_run.one?
76
+ # Use the documentation formatter for detailed output,
77
+ # unless a formatter has already been configured
78
+ # (e.g. via a command-line flag).
79
+ config.default_formatter = 'doc'
80
+ end
81
+
82
+ # Print the 10 slowest examples and example groups at the
83
+ # end of the spec run, to help surface which specs are running
84
+ # particularly slow.
85
+ config.profile_examples = 10
86
+
87
+ # Run specs in random order to surface order dependencies. If you find an
88
+ # order dependency and want to debug it, you can fix the order by providing
89
+ # the seed, which is printed after each run.
90
+ # --seed 1234
91
+ config.order = :random
92
+
93
+ # Seed global randomization in this process using the `--seed` CLI option.
94
+ # Setting this allows you to use `--seed` to deterministically reproduce
95
+ # test failures related to randomization by passing the same `--seed` value
96
+ # as the one that triggered the failure.
97
+ Kernel.srand config.seed
98
+ =end
99
+ end
@@ -0,0 +1,21 @@
1
+ require 'rails_helper'
2
+
3
+ describe StaticRecord do
4
+ subject(:base) { StaticRecord::Base.new }
5
+
6
+ describe 'configuration and first instance' do
7
+ it 'should get the default path for static db' do
8
+ expect(StaticRecord::Base.file_path).to eq("db/static")
9
+ end
10
+
11
+ it 'should do set a custom path for static db' do
12
+ StaticRecord::Base.file_path = "foo/bar"
13
+
14
+ expect(StaticRecord::Base.file_path).to eq('foo/bar')
15
+ end
16
+
17
+ it 'should load yaml test file' do
18
+ expect(StaticRecord::Base.load).to eq('hello')
19
+ end
20
+ end
21
+ end
metadata ADDED
@@ -0,0 +1,246 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rails_static_record
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Mateo Olaya Bernal
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2016-10-17 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rails
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 5.0.0
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: 5.0.0
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - "~>"
28
+ - !ruby/object:Gem::Version
29
+ version: 5.0.0
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: 5.0.0
33
+ - !ruby/object:Gem::Dependency
34
+ name: sqlite3
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - ">="
38
+ - !ruby/object:Gem::Version
39
+ version: '0'
40
+ type: :development
41
+ prerelease: false
42
+ version_requirements: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - ">="
45
+ - !ruby/object:Gem::Version
46
+ version: '0'
47
+ - !ruby/object:Gem::Dependency
48
+ name: rspec-rails
49
+ requirement: !ruby/object:Gem::Requirement
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
+ requirements:
58
+ - - ">="
59
+ - !ruby/object:Gem::Version
60
+ version: '0'
61
+ - !ruby/object:Gem::Dependency
62
+ name: factory_girl_rails
63
+ requirement: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - ">="
66
+ - !ruby/object:Gem::Version
67
+ version: '0'
68
+ type: :development
69
+ prerelease: false
70
+ version_requirements: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - ">="
73
+ - !ruby/object:Gem::Version
74
+ version: '0'
75
+ description: |-
76
+ Create models with static data provided by YAML file stored
77
+ locally, is useful for models like categories to store data
78
+ without have to access to database. Is based on ActiveRecord
79
+ and it permits relations with native models.
80
+ email:
81
+ - dev.mateo.olaya@gmail.com
82
+ executables: []
83
+ extensions: []
84
+ extra_rdoc_files: []
85
+ files:
86
+ - MIT-LICENSE
87
+ - README.md
88
+ - Rakefile
89
+ - lib/static_record.rb
90
+ - lib/static_record/active_record.rb
91
+ - lib/static_record/base.rb
92
+ - lib/static_record/errors.rb
93
+ - lib/static_record/gateway_model.rb
94
+ - lib/static_record/loader_file.rb
95
+ - lib/static_record/version.rb
96
+ - lib/tasks/static_record_tasks.rake
97
+ - spec/dummy/Rakefile
98
+ - spec/dummy/app/assets/config/manifest.js
99
+ - spec/dummy/app/assets/javascripts/application.js
100
+ - spec/dummy/app/assets/javascripts/cable.js
101
+ - spec/dummy/app/assets/stylesheets/application.css
102
+ - spec/dummy/app/channels/application_cable/channel.rb
103
+ - spec/dummy/app/channels/application_cable/connection.rb
104
+ - spec/dummy/app/controllers/application_controller.rb
105
+ - spec/dummy/app/helpers/application_helper.rb
106
+ - spec/dummy/app/jobs/application_job.rb
107
+ - spec/dummy/app/mailers/application_mailer.rb
108
+ - spec/dummy/app/models/application_record.rb
109
+ - spec/dummy/app/models/category.rb
110
+ - spec/dummy/app/models/test.rb
111
+ - spec/dummy/app/views/layouts/application.html.erb
112
+ - spec/dummy/app/views/layouts/mailer.html.erb
113
+ - spec/dummy/app/views/layouts/mailer.text.erb
114
+ - spec/dummy/bin/bundle
115
+ - spec/dummy/bin/rails
116
+ - spec/dummy/bin/rake
117
+ - spec/dummy/bin/setup
118
+ - spec/dummy/bin/update
119
+ - spec/dummy/config.ru
120
+ - spec/dummy/config/application.rb
121
+ - spec/dummy/config/boot.rb
122
+ - spec/dummy/config/cable.yml
123
+ - spec/dummy/config/database.yml
124
+ - spec/dummy/config/environment.rb
125
+ - spec/dummy/config/environments/development.rb
126
+ - spec/dummy/config/environments/production.rb
127
+ - spec/dummy/config/environments/test.rb
128
+ - spec/dummy/config/initializers/application_controller_renderer.rb
129
+ - spec/dummy/config/initializers/assets.rb
130
+ - spec/dummy/config/initializers/backtrace_silencers.rb
131
+ - spec/dummy/config/initializers/cookies_serializer.rb
132
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
133
+ - spec/dummy/config/initializers/inflections.rb
134
+ - spec/dummy/config/initializers/mime_types.rb
135
+ - spec/dummy/config/initializers/new_framework_defaults.rb
136
+ - spec/dummy/config/initializers/session_store.rb
137
+ - spec/dummy/config/initializers/wrap_parameters.rb
138
+ - spec/dummy/config/locales/en.yml
139
+ - spec/dummy/config/puma.rb
140
+ - spec/dummy/config/routes.rb
141
+ - spec/dummy/config/secrets.yml
142
+ - spec/dummy/config/spring.rb
143
+ - spec/dummy/db/development.sqlite3
144
+ - spec/dummy/db/migrate/20161016220221_create_tests.rb
145
+ - spec/dummy/db/schema.rb
146
+ - spec/dummy/db/static/categories.yml
147
+ - spec/dummy/log/development.log
148
+ - spec/dummy/public/404.html
149
+ - spec/dummy/public/422.html
150
+ - spec/dummy/public/500.html
151
+ - spec/dummy/public/apple-touch-icon-precomposed.png
152
+ - spec/dummy/public/apple-touch-icon.png
153
+ - spec/dummy/public/favicon.ico
154
+ - spec/dummy/spec/factories/tests.rb
155
+ - spec/dummy/spec/models/test_spec.rb
156
+ - spec/rails_helper.rb
157
+ - spec/spec_helper.rb
158
+ - spec/static_record_spec.rb
159
+ homepage: https://github.com/molayab/StaticRecord
160
+ licenses:
161
+ - MIT
162
+ metadata: {}
163
+ post_install_message:
164
+ rdoc_options: []
165
+ require_paths:
166
+ - lib
167
+ required_ruby_version: !ruby/object:Gem::Requirement
168
+ requirements:
169
+ - - ">="
170
+ - !ruby/object:Gem::Version
171
+ version: '0'
172
+ required_rubygems_version: !ruby/object:Gem::Requirement
173
+ requirements:
174
+ - - ">="
175
+ - !ruby/object:Gem::Version
176
+ version: '0'
177
+ requirements: []
178
+ rubyforge_project:
179
+ rubygems_version: 2.5.1
180
+ signing_key:
181
+ specification_version: 4
182
+ summary: ActiveRecord add functionalities for reading model data form a static YAML
183
+ file.
184
+ test_files:
185
+ - spec/dummy/app/assets/config/manifest.js
186
+ - spec/dummy/app/assets/javascripts/application.js
187
+ - spec/dummy/app/assets/javascripts/cable.js
188
+ - spec/dummy/app/assets/stylesheets/application.css
189
+ - spec/dummy/app/channels/application_cable/channel.rb
190
+ - spec/dummy/app/channels/application_cable/connection.rb
191
+ - spec/dummy/app/controllers/application_controller.rb
192
+ - spec/dummy/app/helpers/application_helper.rb
193
+ - spec/dummy/app/jobs/application_job.rb
194
+ - spec/dummy/app/mailers/application_mailer.rb
195
+ - spec/dummy/app/models/application_record.rb
196
+ - spec/dummy/app/models/category.rb
197
+ - spec/dummy/app/models/test.rb
198
+ - spec/dummy/app/views/layouts/application.html.erb
199
+ - spec/dummy/app/views/layouts/mailer.html.erb
200
+ - spec/dummy/app/views/layouts/mailer.text.erb
201
+ - spec/dummy/bin/bundle
202
+ - spec/dummy/bin/rails
203
+ - spec/dummy/bin/rake
204
+ - spec/dummy/bin/setup
205
+ - spec/dummy/bin/update
206
+ - spec/dummy/config/application.rb
207
+ - spec/dummy/config/boot.rb
208
+ - spec/dummy/config/cable.yml
209
+ - spec/dummy/config/database.yml
210
+ - spec/dummy/config/environment.rb
211
+ - spec/dummy/config/environments/development.rb
212
+ - spec/dummy/config/environments/production.rb
213
+ - spec/dummy/config/environments/test.rb
214
+ - spec/dummy/config/initializers/application_controller_renderer.rb
215
+ - spec/dummy/config/initializers/assets.rb
216
+ - spec/dummy/config/initializers/backtrace_silencers.rb
217
+ - spec/dummy/config/initializers/cookies_serializer.rb
218
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
219
+ - spec/dummy/config/initializers/inflections.rb
220
+ - spec/dummy/config/initializers/mime_types.rb
221
+ - spec/dummy/config/initializers/new_framework_defaults.rb
222
+ - spec/dummy/config/initializers/session_store.rb
223
+ - spec/dummy/config/initializers/wrap_parameters.rb
224
+ - spec/dummy/config/locales/en.yml
225
+ - spec/dummy/config/puma.rb
226
+ - spec/dummy/config/routes.rb
227
+ - spec/dummy/config/secrets.yml
228
+ - spec/dummy/config/spring.rb
229
+ - spec/dummy/config.ru
230
+ - spec/dummy/db/development.sqlite3
231
+ - spec/dummy/db/migrate/20161016220221_create_tests.rb
232
+ - spec/dummy/db/schema.rb
233
+ - spec/dummy/db/static/categories.yml
234
+ - spec/dummy/log/development.log
235
+ - spec/dummy/public/404.html
236
+ - spec/dummy/public/422.html
237
+ - spec/dummy/public/500.html
238
+ - spec/dummy/public/apple-touch-icon-precomposed.png
239
+ - spec/dummy/public/apple-touch-icon.png
240
+ - spec/dummy/public/favicon.ico
241
+ - spec/dummy/Rakefile
242
+ - spec/dummy/spec/factories/tests.rb
243
+ - spec/dummy/spec/models/test_spec.rb
244
+ - spec/rails_helper.rb
245
+ - spec/spec_helper.rb
246
+ - spec/static_record_spec.rb