redtape 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/redtape.rb +8 -0
  2. data/lib/redtape/version.rb +1 -1
  3. metadata +4 -4
@@ -65,6 +65,14 @@ module Redtape
65
65
  end
66
66
  end
67
67
 
68
+ def method_missing(*args, &block)
69
+ if @factory.model
70
+ @factory.model.send(*args, &block)
71
+ else
72
+ super
73
+ end
74
+ end
75
+
68
76
  private
69
77
 
70
78
  def factory_args_for(controller, args)
@@ -1,3 +1,3 @@
1
1
  module Redtape
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: redtape
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-11-30 00:00:00.000000000 Z
12
+ date: 2012-12-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: virtus
@@ -152,7 +152,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
152
152
  version: '0'
153
153
  segments:
154
154
  - 0
155
- hash: 4035707631943862781
155
+ hash: -3766209976821356522
156
156
  required_rubygems_version: !ruby/object:Gem::Requirement
157
157
  none: false
158
158
  requirements:
@@ -161,7 +161,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
161
161
  version: '0'
162
162
  segments:
163
163
  - 0
164
- hash: 4035707631943862781
164
+ hash: -3766209976821356522
165
165
  requirements: []
166
166
  rubyforge_project:
167
167
  rubygems_version: 1.8.24