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
|
-
|
4
|
-
|
5
|
-
SHA512:
|
6
|
-
|
7
|
-
|
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
|
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
|
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
|
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.
|
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
|
-
|
13
|
-
|
14
|
-
|
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
|
-
|
24
|
-
requirements:
|
25
|
-
-
|
26
|
-
-
|
27
|
-
|
28
|
-
|
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
|
-
|
38
|
-
requirements:
|
39
|
-
-
|
40
|
-
|
41
|
-
|
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
|
-
|
52
|
-
requirements:
|
37
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
53
39
|
- - ~>
|
54
|
-
- !ruby/object:Gem::Version
|
55
|
-
version:
|
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
|
-
|
66
|
-
requirements:
|
67
|
-
-
|
68
|
-
|
69
|
-
|
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
|
-
|
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
|
-
|
94
|
+
|
95
|
+
require_paths:
|
109
96
|
- lib
|
110
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
111
|
-
requirements:
|
112
|
-
-
|
113
|
-
|
114
|
-
|
115
|
-
|
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.
|
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
|
+
|