factory_girl_extensions 0.3.4 → 0.3.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -82,7 +82,9 @@ module FactoryGirlExtensions
82
82
 
83
83
  # If no extensions were found, call super
84
84
  if object == :no_extension_found
85
- super
85
+ problem = caller(1).first
86
+ message = "undefined method `#{name}' for #{inspect}:#{self.class}\n Note: This may be where the problem is: #{problem}\n"
87
+ raise NoMethodError.new(message)
86
88
  else
87
89
  object
88
90
  end
metadata CHANGED
@@ -1,12 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: factory_girl_extensions
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: false
4
+ hash: 25
5
+ prerelease:
5
6
  segments:
6
7
  - 0
7
8
  - 3
8
- - 4
9
- version: 0.3.4
9
+ - 5
10
+ version: 0.3.5
10
11
  platform: ruby
11
12
  authors:
12
13
  - remi
@@ -14,16 +15,17 @@ autorequire:
14
15
  bindir: bin
15
16
  cert_chain: []
16
17
 
17
- date: 2010-10-21 00:00:00 -07:00
18
- default_executable:
18
+ date: 2011-11-09 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: factory_girl
22
22
  prerelease: false
23
23
  requirement: &id001 !ruby/object:Gem::Requirement
24
+ none: false
24
25
  requirements:
25
26
  - - ">"
26
27
  - !ruby/object:Gem::Version
28
+ hash: 31
27
29
  segments:
28
30
  - 0
29
31
  - 0
@@ -42,7 +44,6 @@ extra_rdoc_files: []
42
44
  files:
43
45
  - lib/factory_girl_extensions/module.rb
44
46
  - lib/factory_girl_extensions.rb
45
- has_rdoc: true
46
47
  homepage: http://github.com/remi/factory_girl_extensions
47
48
  licenses: []
48
49
 
@@ -52,23 +53,27 @@ rdoc_options: []
52
53
  require_paths:
53
54
  - lib
54
55
  required_ruby_version: !ruby/object:Gem::Requirement
56
+ none: false
55
57
  requirements:
56
58
  - - ">="
57
59
  - !ruby/object:Gem::Version
60
+ hash: 3
58
61
  segments:
59
62
  - 0
60
63
  version: "0"
61
64
  required_rubygems_version: !ruby/object:Gem::Requirement
65
+ none: false
62
66
  requirements:
63
67
  - - ">="
64
68
  - !ruby/object:Gem::Version
69
+ hash: 3
65
70
  segments:
66
71
  - 0
67
72
  version: "0"
68
73
  requirements: []
69
74
 
70
75
  rubyforge_project:
71
- rubygems_version: 1.3.6
76
+ rubygems_version: 1.8.6
72
77
  signing_key:
73
78
  specification_version: 3
74
79
  summary: helpful extensions for factory_girl