rails_apps_composer 2.6.12 → 2.6.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/recipes/tests4.rb +5 -5
- data/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0c944674c8e117cac3dc626b1e948ee9b35f94ab
|
4
|
+
data.tar.gz: 7d54a255d09d104e19cc6e6ce102b30f0e0f4b32
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c582481440000fb07ee293dff418a4227903442c5dc5b347974d17688c1173e93643dc1a6c9f69668adbf0d76d1950f188454a0273f44fe14479686ac3160979
|
7
|
+
data.tar.gz: 86f03488560e65a0b10ace979bfc51fe87510f57304827eb073243fa0d6953e30c92d90a875fd0843298a281d8cbbff023ec7742e064a1fd4e4770f541dc5c75
|
data/recipes/tests4.rb
CHANGED
@@ -3,20 +3,17 @@
|
|
3
3
|
|
4
4
|
after_bundler do
|
5
5
|
say_wizard "recipe running after 'bundle install'"
|
6
|
-
### RSPEC ###
|
7
6
|
if prefer :tests, 'rspec'
|
8
7
|
say_wizard "recipe installing RSpec"
|
9
8
|
generate 'testing:configure rspec -f'
|
10
9
|
end
|
11
|
-
### GUARD ###
|
12
10
|
if prefer :continuous_testing, 'guard'
|
13
11
|
say_wizard "recipe initializing Guard"
|
14
12
|
run 'bundle exec guard init'
|
15
13
|
end
|
16
|
-
### GIT ###
|
17
14
|
git :add => '-A' if prefer :git, true
|
18
15
|
git :commit => '-qm "rails_apps_composer: testing framework"' if prefer :git, true
|
19
|
-
end
|
16
|
+
end
|
20
17
|
|
21
18
|
after_everything do
|
22
19
|
say_wizard "recipe running after everything"
|
@@ -26,7 +23,10 @@ after_everything do
|
|
26
23
|
if (prefer :authentication, 'omniauth') && (prefer :tests, 'rspec')
|
27
24
|
generate 'testing:configure omniauth -f'
|
28
25
|
end
|
29
|
-
|
26
|
+
if (prefer :authorization, 'pundit') && (prefer :tests, 'rspec')
|
27
|
+
generate 'testing:configure pundit -f'
|
28
|
+
end
|
29
|
+
end
|
30
30
|
|
31
31
|
__END__
|
32
32
|
|
data/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails_apps_composer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.6.
|
4
|
+
version: 2.6.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Kehoe
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-06-
|
11
|
+
date: 2014-06-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: i18n
|