dfl-factories-and-workers 0.0.3 → 0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/README.rdoc +1 -3
  2. data/rails/init.rb +5 -3
  3. metadata +1 -1
data/README.rdoc CHANGED
@@ -10,9 +10,7 @@ Gemification by Jonathan Barket
10
10
 
11
11
  Add it as a gem dependency
12
12
 
13
- config.after_initialize do
14
- config.gem 'dfl-factories-and-workers', :lib => 'factories-and-workers', :source => 'http://gems.github.com' unless RAILS_ENV=='production'
15
- end
13
+ config.gem 'dfl-factories-and-workers', :lib => 'factories-and-workers', :source => 'http://gems.github.com' unless RAILS_ENV=='production'
16
14
 
17
15
  Or install it as a gem manually
18
16
 
data/rails/init.rb CHANGED
@@ -1,6 +1,8 @@
1
1
  require 'fileutils'
2
2
 
3
- %w(spec/factories.rb spec/factory_workers.rb test/factories.rb test/factory_workers.rb).each do |file|
4
- path = File.join(Dir.pwd, file)
5
- require path if File.exists?(path)
3
+ config.after_initialize do
4
+ %w(spec/factories.rb spec/factory_workers.rb test/factories.rb test/factory_workers.rb).each do |file|
5
+ path = File.join(Dir.pwd, file)
6
+ require path if File.exists?(path)
7
+ end
6
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dfl-factories-and-workers
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: "0.1"
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Herald