active_remote 1.5.8 → 1.5.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/active_remote/attributes.rb +2 -2
- data/lib/active_remote/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 528f82335b1b30d9baad0fb5f8039e6e7b5773b1
|
4
|
+
data.tar.gz: e85d2753fe773ff549c0c733f7227ec1600240bf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f9330f045952e311261eb5b2c974a62587069651cda046b97f8a11e65fe3d4eb899d2a304ec45adf407062c7fc000184e34ada6d75c0995b0c4f06b367d75bdd
|
7
|
+
data.tar.gz: b1b998e8fb3d6ab724546f466b201f890a0a6eb3f60d154d72a5dbdec41ab6e8276e9ff165dabe158f184c9de52beef4efb1ef8a9fc6a0c6508b262f93e3051a
|
@@ -8,7 +8,7 @@ module ActiveRemote
|
|
8
8
|
if respond_to? name
|
9
9
|
@attributes[name]
|
10
10
|
else
|
11
|
-
raise UnknownAttributeError, "unknown attribute: #{name}"
|
11
|
+
raise ::ActiveAttr::UnknownAttributeError, "unknown attribute: #{name}"
|
12
12
|
end
|
13
13
|
end
|
14
14
|
alias_method :[], :read_attribute
|
@@ -21,7 +21,7 @@ module ActiveRemote
|
|
21
21
|
if respond_to? "#{name}="
|
22
22
|
@attributes[name] = typecast_attribute(_attribute_typecaster(name), value)
|
23
23
|
else
|
24
|
-
raise UnknownAttributeError, "unknown attribute: #{name}"
|
24
|
+
raise ::ActiveAttr::UnknownAttributeError, "unknown attribute: #{name}"
|
25
25
|
end
|
26
26
|
end
|
27
27
|
alias_method :[]=, :write_attribute
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: active_remote
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adam Hutchison
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-04-
|
11
|
+
date: 2013-04-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: active_attr
|