rails_apps_composer 2.2.38 → 2.2.39

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9fd35af76a2a6ce148aa4fdd2a97cda5d6d87623
4
- data.tar.gz: 07f247c0dce9d0ccc90d1d5f9d000f70ef5b030e
3
+ metadata.gz: 646a0cf4d72d7899457b4c266a7fe1ddd5c5a8ca
4
+ data.tar.gz: 3db1c81232042d495e275f8808c55192f22f1bca
5
5
  SHA512:
6
- metadata.gz: ce4aa2eb09969a01d968e6abc9500432f4e8dda844a9ddb3795d70e5f5b30db165d09fbc2fc865ffa00cc1b70f089efceafb041f5a9e7271a4f4d90056ec0dcd
7
- data.tar.gz: 3176e5117da701bab5bccecb492ee9bd0abe73f01ddb017f5ec9afc42c573e745231e2f2cb508eeddc0f0c4c3e15d71fbd0d216510a8598e0472aa1568bcf741
6
+ metadata.gz: 60b44a8b5cd448935831ed177a9a26dc33a94f9d8ef19d6e0c4ce96225adc2479a3823e068d100b9438c700c789ef6068ee4af9f5eb47442d1303e1c9c87873b
7
+ data.tar.gz: 3393c06cb817f091daf159e92900c22f1aec3e62374de86c3b1b8c45042e7754cb47d050e12c3c226caf78fddbfe2d93ff63501ba8990991023d8eb0ba8b929d
data/recipes/gems.rb CHANGED
@@ -63,6 +63,15 @@ if prefer :integration, 'cucumber'
63
63
  gem 'capybara', '>= 2.0.3', :group => :test
64
64
  end
65
65
  gem 'turnip', '>= 1.1.0', :group => :test if prefer :integration, 'turnip'
66
+ if prefer :continuous_testing, 'guard'
67
+ gem 'guard-bundler', '>= 1.0.0', :group => :development
68
+ gem 'guard-cucumber', '>= 1.4.0', :group => :development if prefer :integration, 'cucumber'
69
+ gem 'guard-rails', '>= 0.4.0', :group => :development
70
+ gem 'guard-rspec', '>= 2.5.2', :group => :development if prefer :unit_test, 'rspec'
71
+ gem 'rb-inotify', '>= 0.9.0', :group => :development, :require => false
72
+ gem 'rb-fsevent', '>= 0.9.3', :group => :development, :require => false
73
+ gem 'rb-fchange', '>= 0.0.6', :group => :development, :require => false
74
+ end
66
75
  gem 'factory_girl_rails', '>= 4.2.0', :group => [:development, :test] if prefer :fixtures, 'factory_girl'
67
76
  gem 'fabrication', '>= 2.3.0', :group => [:development, :test] if prefer :fixtures, 'fabrication'
68
77
  gem 'machinist', '>= 2.0', :group => :test if prefer :fixtures, 'machinist'
data/recipes/setup.rb CHANGED
@@ -56,6 +56,7 @@ if recipes.include? 'testing'
56
56
  prefs[:unit_test] = multiple_choice "Unit testing?", [["Test::Unit", "test_unit"], ["RSpec", "rspec"], ["MiniTest", "minitest"]] unless prefs.has_key? :unit_test
57
57
  prefs[:integration] = multiple_choice "Integration testing?", [["None", "none"], ["RSpec with Capybara", "rspec-capybara"],
58
58
  ["Cucumber with Capybara", "cucumber"], ["Turnip with Capybara", "turnip"], ["MiniTest with Capybara", "minitest-capybara"]] unless prefs.has_key? :integration
59
+ prefs[:continuous_testing] = multiple_choice "Continuous testing?", [["None", "none"], ["Guard", "guard"]] unless prefs.has_key? :continuous_testing
59
60
  prefs[:fixtures] = multiple_choice "Fixture replacement?", [["None","none"], ["Factory Girl","factory_girl"], ["Machinist","machinist"], ["Fabrication","fabrication"]] unless prefs.has_key? :fixtures
60
61
  end
61
62
 
data/recipes/testing.rb CHANGED
@@ -102,6 +102,11 @@ RUBY
102
102
  say_wizard "generating blueprints file for 'machinist'"
103
103
  generate 'machinist:install'
104
104
  end
105
+ ### GUARD
106
+ if prefer :continuous_testing, 'guard'
107
+ say_wizard "recipe initializing Guard"
108
+ run 'bundle exec guard init'
109
+ end
105
110
  ### GIT ###
106
111
  git :add => '-A' if prefer :git, true
107
112
  git :commit => '-qm "rails_apps_composer: testing framework"' if prefer :git, true
data/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module RailsWizard
2
- VERSION = "2.2.38"
2
+ VERSION = "2.2.39"
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.2.38
4
+ version: 2.2.39
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Kehoe
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-03-29 00:00:00.000000000 Z
11
+ date: 2013-04-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: i18n