activeresource-google_spreadsheets 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b1ac8c6502eeba3ae8b491bff80240cd4db952bf
|
4
|
+
data.tar.gz: c6feb989197c3bdca2c8b96bca2305c18ea712ee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ee3bb6e73cbf280db48252bdec46a29e6f824367a213086fabbbc4d7e7540b4bf5ab2a7744250d84dff801eecce073f7b8ce69459181fa2f5455834359ef4155
|
7
|
+
data.tar.gz: 21849b905c84915890d33a4113437cad7a2fa01a47448297db9015750912e31f5089c73e96a4cb1cc789763978da388c988739c666ca0f482100a778bf2e5c23
|
@@ -33,12 +33,13 @@ module GoogleSpreadsheets
|
|
33
33
|
|
34
34
|
included do
|
35
35
|
class_attribute :_attr_aliases
|
36
|
+
self._attr_aliases = {}
|
36
37
|
self.format = Format.new
|
37
38
|
end
|
38
39
|
|
39
40
|
module ClassMethods
|
40
41
|
def attr_aliases(aliases)
|
41
|
-
self._attr_aliases
|
42
|
+
self._attr_aliases.merge!(aliases)
|
42
43
|
aliases.each do |new_attr, original_attr|
|
43
44
|
define_method(new_attr) {|*args| send(original_attr, *args) }
|
44
45
|
define_method("#{new_attr}=") {|*args| send("#{original_attr}=", *args) }
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activeresource-google_spreadsheets
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chihiro Ito
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-01-
|
12
|
+
date: 2014-01-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activeresource
|