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: bc8450a6fc8c17123d28bebb4e79a9b8489960ae
4
- data.tar.gz: 234cc37021b32622df1d6c561d04cff6335fc4f9
3
+ metadata.gz: b1ac8c6502eeba3ae8b491bff80240cd4db952bf
4
+ data.tar.gz: c6feb989197c3bdca2c8b96bca2305c18ea712ee
5
5
  SHA512:
6
- metadata.gz: 3a8df26c102d2d96c2e895dbfec5c51a55372cd4fbfe04fcd2659c169f2eba6975427c80fea76f890fb5f86a347bb569bca3faec27e48d5dd8da908635f9aff9
7
- data.tar.gz: 4fb29be10cc47974968510d35fd4fdd627d40fa6a38fdb00adb037003fe9a48abbbe305f24258a266a5e15fb7b3ddcaff993b8241c243d4f7f2f176dab6c825d
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 = 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) }
@@ -1,3 +1,3 @@
1
1
  module GoogleSpreadsheets
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
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.6
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 00:00:00.000000000 Z
12
+ date: 2014-01-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activeresource