technicalpickles-shoulda_generator 0.1.1 → 0.1.2

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/Rakefile CHANGED
@@ -6,5 +6,5 @@ Echoe.new('shoulda_generator') do |p|
6
6
  p.email = 'josh@technicalpickles.com'
7
7
  p.summary = 'Generators which create tests using shoulda'
8
8
  p.url = 'http://github.com/technicalpickles/shoulda_generator'
9
- p.version = '0.1.1'
9
+ p.version = '0.1.2'
10
10
  end
@@ -16,7 +16,7 @@ class ShouldaModelGenerator < Rails::Generator::NamedBase
16
16
  m.template 'unit_test.rb', File.join('test/unit', class_path, "#{file_name}_test.rb")
17
17
 
18
18
  unless options[:skip_factory]
19
- m.template 'factory.rb', File.join('test/factories', class_path, "#{file_name}.rb")
19
+ m.template 'factory.rb', File.join('test/factories', class_path, "#{file_name}_factory.rb")
20
20
  end
21
21
 
22
22
  unless options[:skip_migration]
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = %q{shoulda_generator}
3
- s.version = "0.1.1"
3
+ s.version = "0.1.2"
4
4
 
5
5
  s.required_rubygems_version = Gem::Requirement.new("= 1.2") if s.respond_to? :required_rubygems_version=
6
6
  s.authors = ["Josh Nichols"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: technicalpickles-shoulda_generator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh Nichols