onotole 1.1.12 → 1.1.13
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.
- checksums.yaml +4 -4
- data/README.md +3 -0
- data/lib/onotole/version.rb +1 -1
- data/templates/dotfiles/.rspec +1 -1
- data/templates/rails_helper.rb +1 -0
- data/templates/spec_helper.rb.erb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1903611a6ac8fc546d2dd0096648355bac2c5612
|
|
4
|
+
data.tar.gz: 342953bf85c91dc761edf66ae248b4d8b9fac660
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 51a9e4ee9915a2e2eac232c131414f133a4beb18d0068455f8924b081dda7e506f31a19f0265c4c7ae2e9cfa01117fe7f16d00db5087cb1b8c2859f867b51764
|
|
7
|
+
data.tar.gz: 880b24c2a5b710f32bdf04d3b467e56980d9691abb7af2bcdf49aef7d2f49c4928c97523ad097fd49f6f3344d3f4a7f255a668eced603c5201008030dfd456b3
|
data/README.md
CHANGED
|
@@ -314,6 +314,9 @@ selected for pretty view from the box
|
|
|
314
314
|
* Added autoload fonts from `app/assets/fonts/**/*`
|
|
315
315
|
* Patch for no error work, if `Mailcatcher` is not loaded. In this case
|
|
316
316
|
`delivery_method = :file`. It checks on the `rails server` starts.
|
|
317
|
+
* No need to add `rails_helper` or `spec_helper` in specs.
|
|
318
|
+
* In `.env` just switch on `#{app_name}_COVERAGE` to true and get your test
|
|
319
|
+
coverage.
|
|
317
320
|
|
|
318
321
|
## Heroku
|
|
319
322
|
|
data/lib/onotole/version.rb
CHANGED
data/templates/dotfiles/.rspec
CHANGED
data/templates/rails_helper.rb
CHANGED
|
@@ -5,6 +5,7 @@ require File.expand_path('../../config/environment', __FILE__)
|
|
|
5
5
|
abort('DATABASE_URL environment variable is set') if ENV['DATABASE_URL']
|
|
6
6
|
|
|
7
7
|
require 'rspec/rails'
|
|
8
|
+
require 'spec_helper'
|
|
8
9
|
|
|
9
10
|
Dir[Rails.root.join('spec/support/**/*.rb')].sort.each { |file| require file }
|
|
10
11
|
|