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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/recipes/tests4.rb +5 -5
  3. data/version.rb +1 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8e12b36591400571119eb233414f14d5d8b6e8f5
4
- data.tar.gz: 88a7e55ec8af74fc70bec47f1a4a4108d4d62a8d
3
+ metadata.gz: 0c944674c8e117cac3dc626b1e948ee9b35f94ab
4
+ data.tar.gz: 7d54a255d09d104e19cc6e6ce102b30f0e0f4b32
5
5
  SHA512:
6
- metadata.gz: d9825123d09ba08eb781fbf00d86814c709346417766bffc9e61c6b9d6375850fd22d180f66ecf440a8100debf644c893b884d2e914eb2b760df3ceee8c3b625
7
- data.tar.gz: 44051dfa86020fe7ae28e9acc5f35d841b8d2eb4ec43d9b2275429ada7eb02300478501c0439ff7974f35266ccef580657a38d2375a250e66d84e81375403469
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 # after_bundler
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
- end # after_everything
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
@@ -1,3 +1,3 @@
1
1
  module RailsWizard
2
- VERSION = "2.6.12"
2
+ VERSION = "2.6.13"
3
3
  end
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.12
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-06 00:00:00.000000000 Z
11
+ date: 2014-06-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: i18n