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 +4 -4
- data/recipes/gems.rb +9 -0
- data/recipes/setup.rb +1 -0
- data/recipes/testing.rb +5 -0
- 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: 646a0cf4d72d7899457b4c266a7fe1ddd5c5a8ca
|
4
|
+
data.tar.gz: 3db1c81232042d495e275f8808c55192f22f1bca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
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.
|
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-
|
11
|
+
date: 2013-04-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: i18n
|