activeresource-google_spreadsheets 0.0.7 → 0.0.8

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
- ---
2
- SHA1:
3
- metadata.gz: b1ac8c6502eeba3ae8b491bff80240cd4db952bf
4
- data.tar.gz: c6feb989197c3bdca2c8b96bca2305c18ea712ee
5
- SHA512:
6
- metadata.gz: ee3bb6e73cbf280db48252bdec46a29e6f824367a213086fabbbc4d7e7540b4bf5ab2a7744250d84dff801eecce073f7b8ce69459181fa2f5455834359ef4155
7
- data.tar.gz: 21849b905c84915890d33a4113437cad7a2fa01a47448297db9015750912e31f5089c73e96a4cb1cc789763978da388c988739c666ca0f482100a778bf2e5c23
1
+ ---
2
+ SHA1:
3
+ data.tar.gz: 328a71b7b3a1ddf6cee4de5c79b9d71dca550452
4
+ metadata.gz: 4cd89573bca87047d33af66b173ac801782aa633
5
+ SHA512:
6
+ data.tar.gz: 851868786d589fc77d1e20b3106e2e7a2ce925e8e3a5485b24aa724cb85fcf7ff65e7b8c9fbc4578eee2da2e4d16982567cca4db773efa21c53994f9f6480246
7
+ metadata.gz: c9b9d8361927941cba44f447f556049c973bfe53ecdcafcfbeb44762584dc85040946b610ae0250ec195abccb99e429668a99622a73237f91c353e2917b14ea3
@@ -39,7 +39,7 @@ module GoogleSpreadsheets
39
39
 
40
40
  module ClassMethods
41
41
  def attr_aliases(aliases)
42
- self._attr_aliases.merge!(aliases)
42
+ self._attr_aliases = self._attr_aliases.merge(aliases) # not share parent class attrs
43
43
  aliases.each do |new_attr, original_attr|
44
44
  define_method(new_attr) {|*args| send(original_attr, *args) }
45
45
  define_method("#{new_attr}=") {|*args| send("#{original_attr}=", *args) }
@@ -23,7 +23,7 @@ module GoogleSpreadsheets
23
23
  options[:worksheet_title] ||= rows_name.to_s
24
24
  options[:class_name] ||= rows_name.to_s.classify
25
25
  synchronizer = Synchronizer.new(self, options[:class_name].safe_constantize, options[:spreadsheet_id], options[:worksheet_title])
26
- self.synchronizers.merge!(rows_name => synchronizer)
26
+ self.synchronizers = self.synchronizers.merge(rows_name => synchronizer) # not share parent class attrs
27
27
 
28
28
  # rows accessor
29
29
  define_singleton_method(rows_name) do
@@ -1,3 +1,3 @@
1
1
  module GoogleSpreadsheets
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
3
3
  end
metadata CHANGED
@@ -1,79 +1,64 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: activeresource-google_spreadsheets
3
- version: !ruby/object:Gem::Version
4
- version: 0.0.7
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.8
5
5
  platform: ruby
6
- authors:
6
+ authors:
7
7
  - Chihiro Ito
8
8
  - Toru KAWAMURA
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-01-15 00:00:00.000000000 Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
12
+
13
+ date: 2014-09-22 00:00:00 Z
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
15
16
  name: activeresource
16
- requirement: !ruby/object:Gem::Requirement
17
- requirements:
18
- - - '>='
19
- - !ruby/object:Gem::Version
20
- version: '0'
21
- type: :runtime
22
17
  prerelease: false
23
- version_requirements: !ruby/object:Gem::Requirement
24
- requirements:
25
- - - '>='
26
- - !ruby/object:Gem::Version
27
- version: '0'
28
- - !ruby/object:Gem::Dependency
29
- name: activesupport
30
- requirement: !ruby/object:Gem::Requirement
31
- requirements:
32
- - - '>='
33
- - !ruby/object:Gem::Version
34
- version: '0'
18
+ requirement: &id001 !ruby/object:Gem::Requirement
19
+ requirements:
20
+ - &id002
21
+ - ">="
22
+ - !ruby/object:Gem::Version
23
+ version: "0"
35
24
  type: :runtime
25
+ version_requirements: *id001
26
+ - !ruby/object:Gem::Dependency
27
+ name: activesupport
36
28
  prerelease: false
37
- version_requirements: !ruby/object:Gem::Requirement
38
- requirements:
39
- - - '>='
40
- - !ruby/object:Gem::Version
41
- version: '0'
42
- - !ruby/object:Gem::Dependency
29
+ requirement: &id003 !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - *id002
32
+ type: :runtime
33
+ version_requirements: *id003
34
+ - !ruby/object:Gem::Dependency
43
35
  name: bundler
44
- requirement: !ruby/object:Gem::Requirement
45
- requirements:
46
- - - ~>
47
- - !ruby/object:Gem::Version
48
- version: '1.3'
49
- type: :development
50
36
  prerelease: false
51
- version_requirements: !ruby/object:Gem::Requirement
52
- requirements:
37
+ requirement: &id004 !ruby/object:Gem::Requirement
38
+ requirements:
53
39
  - - ~>
54
- - !ruby/object:Gem::Version
55
- version: '1.3'
56
- - !ruby/object:Gem::Dependency
57
- name: rake
58
- requirement: !ruby/object:Gem::Requirement
59
- requirements:
60
- - - '>='
61
- - !ruby/object:Gem::Version
62
- version: '0'
40
+ - !ruby/object:Gem::Version
41
+ version: "1.3"
63
42
  type: :development
43
+ version_requirements: *id004
44
+ - !ruby/object:Gem::Dependency
45
+ name: rake
64
46
  prerelease: false
65
- version_requirements: !ruby/object:Gem::Requirement
66
- requirements:
67
- - - '>='
68
- - !ruby/object:Gem::Version
69
- version: '0'
47
+ requirement: &id005 !ruby/object:Gem::Requirement
48
+ requirements:
49
+ - *id002
50
+ type: :development
51
+ version_requirements: *id005
70
52
  description: Google Spreadsheets accessor with ActiveResource
71
- email:
53
+ email:
72
54
  - tkawa@4bit.net
73
55
  executables: []
56
+
74
57
  extensions: []
58
+
75
59
  extra_rdoc_files: []
76
- files:
60
+
61
+ files:
77
62
  - .gitignore
78
63
  - Gemfile
79
64
  - LICENSE.txt
@@ -100,27 +85,27 @@ files:
100
85
  - lib/google_spreadsheets/version.rb
101
86
  - lib/google_spreadsheets/worksheet.rb
102
87
  homepage: https://github.com/tkawa/activeresource-google_spreadsheets
103
- licenses:
88
+ licenses:
104
89
  - MIT
105
90
  metadata: {}
91
+
106
92
  post_install_message:
107
93
  rdoc_options: []
108
- require_paths:
94
+
95
+ require_paths:
109
96
  - lib
110
- required_ruby_version: !ruby/object:Gem::Requirement
111
- requirements:
112
- - - '>='
113
- - !ruby/object:Gem::Version
114
- version: '0'
115
- required_rubygems_version: !ruby/object:Gem::Requirement
116
- requirements:
117
- - - '>='
118
- - !ruby/object:Gem::Version
119
- version: '0'
97
+ required_ruby_version: !ruby/object:Gem::Requirement
98
+ requirements:
99
+ - *id002
100
+ required_rubygems_version: !ruby/object:Gem::Requirement
101
+ requirements:
102
+ - *id002
120
103
  requirements: []
104
+
121
105
  rubyforge_project:
122
- rubygems_version: 2.1.11
106
+ rubygems_version: 2.0.14
123
107
  signing_key:
124
108
  specification_version: 4
125
109
  summary: Google Spreadsheets accessor with ActiveResource
126
110
  test_files: []
111
+