acts_as_fu 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/acts_as_fu/base.rb +2 -1
- metadata +24 -8
data/lib/acts_as_fu/base.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
%w(rubygems
|
1
|
+
%w(rubygems active_record).each { |lib| require lib }
|
2
2
|
|
3
3
|
RAILS_ROOT = File.join(File.dirname(__FILE__), '..') unless defined?(RAILS_ROOT)
|
4
4
|
RAILS_ENV = 'test' unless defined?(RAILS_ENV)
|
@@ -66,6 +66,7 @@ module ActsAsFu
|
|
66
66
|
klass.class_eval(&block) if block_given?
|
67
67
|
|
68
68
|
class << klass
|
69
|
+
remove_method :method_missing
|
69
70
|
alias_method :method_missing, :method_missing_without_columns
|
70
71
|
end
|
71
72
|
end
|
metadata
CHANGED
@@ -1,7 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: acts_as_fu
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
hash: 19
|
5
|
+
prerelease: false
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 0
|
9
|
+
- 6
|
10
|
+
version: 0.0.6
|
5
11
|
platform: ruby
|
6
12
|
authors:
|
7
13
|
- Pat Nakajima
|
@@ -14,14 +20,18 @@ default_executable:
|
|
14
20
|
dependencies:
|
15
21
|
- !ruby/object:Gem::Dependency
|
16
22
|
name: activerecord
|
17
|
-
|
18
|
-
|
19
|
-
|
23
|
+
prerelease: false
|
24
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
20
26
|
requirements:
|
21
27
|
- - ">="
|
22
28
|
- !ruby/object:Gem::Version
|
29
|
+
hash: 3
|
30
|
+
segments:
|
31
|
+
- 0
|
23
32
|
version: "0"
|
24
|
-
|
33
|
+
type: :runtime
|
34
|
+
version_requirements: *id001
|
25
35
|
description:
|
26
36
|
email: patnakajima@gmail.com
|
27
37
|
executables: []
|
@@ -44,21 +54,27 @@ rdoc_options: []
|
|
44
54
|
require_paths:
|
45
55
|
- lib
|
46
56
|
required_ruby_version: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
47
58
|
requirements:
|
48
59
|
- - ">="
|
49
60
|
- !ruby/object:Gem::Version
|
61
|
+
hash: 3
|
62
|
+
segments:
|
63
|
+
- 0
|
50
64
|
version: "0"
|
51
|
-
version:
|
52
65
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
66
|
+
none: false
|
53
67
|
requirements:
|
54
68
|
- - ">="
|
55
69
|
- !ruby/object:Gem::Version
|
70
|
+
hash: 3
|
71
|
+
segments:
|
72
|
+
- 0
|
56
73
|
version: "0"
|
57
|
-
version:
|
58
74
|
requirements: []
|
59
75
|
|
60
76
|
rubyforge_project:
|
61
|
-
rubygems_version: 1.3.
|
77
|
+
rubygems_version: 1.3.7
|
62
78
|
signing_key:
|
63
79
|
specification_version: 2
|
64
80
|
summary: Generate ActiveRecord models on the fly for your tests
|