dfl-factories-and-workers 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/rails/init.rb +1 -1
  2. metadata +1 -1
data/rails/init.rb CHANGED
@@ -2,7 +2,7 @@ require 'fileutils'
2
2
 
3
3
  config.after_initialize do
4
4
 
5
- unless $*.grep(/db:*/) # prevent the plugin from loading if we are simply running rake db:migrate, etc.
5
+ if $*.grep(/db:*/).empty? # prevent the plugin from loading if we are simply running rake db:migrate, etc.
6
6
 
7
7
  # if script_console_running = defined?(::IRB) && ::IRB.conf[:LOAD_MODULES] && ::IRB.conf[:LOAD_MODULES].include?('console_with_helpers')
8
8
  # # mixin to Object if we are running in ./script/console
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.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Herald