make_it_so 0.3.6 → 0.3.7
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 92f2d126f14ae04ea599f4b6546931caa8995714
|
4
|
+
data.tar.gz: 0c46ad51239dd794558d13552c964e0087aadc1a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6424abdf838af71ab9917e0f77478faf8415e5b59d0cf893cd1ef840eea70378f64beef0c67cbd4377253fd9cae3147f17adf61937805766289039d8a35a37b1
|
7
|
+
data.tar.gz: 5837fdae03041a6c735c326b60dd25a329d9fa76b247e6fc039757d30c22fec5050813744fd884b891ab91b065ef290747a9be241e40f939f29bd234941f96d5
|
@@ -213,12 +213,8 @@ module MakeItSo
|
|
213
213
|
group: [:development, :test],
|
214
214
|
require: false
|
215
215
|
after_bundle do
|
216
|
-
inside 'spec' do
|
217
|
-
|
218
|
-
after: rails_helper_insertion_hook do
|
219
|
-
|
220
|
-
"require 'shoulda-matchers'\n"
|
221
|
-
end
|
216
|
+
inside 'spec/support' do
|
217
|
+
template 'shoulda.rb'
|
222
218
|
end
|
223
219
|
end
|
224
220
|
end
|
data/lib/make_it_so/version.rb
CHANGED
@@ -126,9 +126,8 @@ feature 'user generates rails app' do
|
|
126
126
|
expect(File.read(gemfile_path)).to include('shoulda-matchers')
|
127
127
|
end
|
128
128
|
|
129
|
-
it '
|
130
|
-
expect(
|
131
|
-
to include("require 'shoulda-matchers'")
|
129
|
+
it 'includes a shoulda file in the support directory' do
|
130
|
+
expect(FileTest.exists?(join_paths(app_path, 'spec/support/shoulda.rb')))
|
132
131
|
end
|
133
132
|
end
|
134
133
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: make_it_so
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dan Pickett
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-05-
|
11
|
+
date: 2018-05-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|
@@ -201,6 +201,7 @@ files:
|
|
201
201
|
- templates/rails/spec/support/database_cleaner.rb
|
202
202
|
- templates/rails/spec/support/devise_controller_spec.rb
|
203
203
|
- templates/rails/spec/support/factory_bot.rb
|
204
|
+
- templates/rails/spec/support/shoulda.rb
|
204
205
|
- templates/rails/spec/support/valid_attribute.rb
|
205
206
|
- templates/sinatra/.gitignore
|
206
207
|
- templates/sinatra/.rspec
|