notahat-machinist 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/machinist.rb +5 -0
- metadata +2 -2
data/lib/machinist.rb
CHANGED
@@ -54,6 +54,11 @@ module Machinist
|
|
54
54
|
@assigned_attributes = attributes.keys.map(&:to_sym)
|
55
55
|
end
|
56
56
|
|
57
|
+
# Undef a couple of methods that are common ActiveRecord attributes.
|
58
|
+
# (Both of these are deprecated in Ruby 1.8 anyway.)
|
59
|
+
undef_method :id
|
60
|
+
undef_method :type
|
61
|
+
|
57
62
|
attr_reader :object
|
58
63
|
|
59
64
|
def method_missing(symbol, *args, &block)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: notahat-machinist
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pete Yandell
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-
|
12
|
+
date: 2008-12-15 00:00:00 -08:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|