rails_generators_test_case_modules 0.1.1 → 0.2.0

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.
data/README.md CHANGED
@@ -1,5 +1,3 @@
1
- rails_generators_test_case_modules
2
- ==================================
3
1
  # RailsGeneratorsTestCaseModules
4
2
 
5
3
  Backports for Rails::Generator::TestCase helper modules for railties 3.2
@@ -18,9 +16,6 @@ Or install it yourself as:
18
16
 
19
17
  $ gem install rails_generators_test_case_modules
20
18
 
21
- ## Usage
22
-
23
- TODO: Write usage instructions here
24
19
 
25
20
  ## Contributing
26
21
 
@@ -61,7 +61,10 @@ module Rails
61
61
  # You can provide a configuration hash as second argument. This method returns the output
62
62
  # printed by the generator.
63
63
  def run_generator(args=self.default_arguments, config={})
64
- capture(:stdout) { self.generator_class.start(args, config.reverse_merge(destination_root: destination_root)) }
64
+ capture(:stdout) do
65
+ args += ['--skip-bundle'] unless args.include? '--dev'
66
+ self.generator_class.start(args, config.reverse_merge(destination_root: destination_root))
67
+ end
65
68
  end
66
69
 
67
70
  # Instantiate the generator.
@@ -1,3 +1,3 @@
1
1
  module RailsGeneratorsTestCaseModules
2
- VERSION = "0.1.1"
2
+ VERSION = "0.2.0"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: rails_generators_test_case_modules
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.1
5
+ version: 0.2.0
6
6
  platform: ruby
7
7
  authors:
8
8
  - Pablo Herrero
@@ -96,7 +96,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
96
96
  - !ruby/object:Gem::Version
97
97
  segments:
98
98
  - 0
99
- hash: 2549577418418675892
99
+ hash: -307542233985277071
100
100
  version: '0'
101
101
  none: false
102
102
  required_rubygems_version: !ruby/object:Gem::Requirement
@@ -105,7 +105,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
105
105
  - !ruby/object:Gem::Version
106
106
  segments:
107
107
  - 0
108
- hash: 2549577418418675892
108
+ hash: -307542233985277071
109
109
  version: '0'
110
110
  none: false
111
111
  requirements: []