create_valid 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/create_valid.gemspec +1 -1
- data/lib/create_valid.rb +4 -0
- data/rails/init.rb +3 -3
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.3
|
data/create_valid.gemspec
CHANGED
data/lib/create_valid.rb
CHANGED
data/rails/init.rb
CHANGED
@@ -10,9 +10,9 @@ if defined?(RAILS_ENV) && RAILS_ENV == 'test'
|
|
10
10
|
alias_method_chain :method_missing, :create_valid
|
11
11
|
end
|
12
12
|
|
13
|
-
Kernel.send(:include, CreateValid::GlobalHelpers)
|
13
|
+
Kernel.send(:include, ::CreateValid::GlobalHelpers)
|
14
14
|
|
15
15
|
if File.exists?(RAILS_ROOT + '/test/factory.rb')
|
16
|
-
|
16
|
+
::CreateValid::KludgyEvalContext.new.instance_eval(File.read(RAILS_ROOT + '/test/factory.rb'))
|
17
17
|
end
|
18
|
-
end
|
18
|
+
end
|