model_to_googlesheet 2.1.0 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile +2 -0
- data/Gemfile.lock +28 -27
- data/lib/model_to_googlesheet/google_drive/session.rb +2 -1
- data/lib/model_to_googlesheet/version.rb +1 -1
- data/spec/support/create_session.rb +1 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4f00d0cde7850af3f5acbe9983c6e6ec76e8dcd6
|
|
4
|
+
data.tar.gz: bc135da4690a7f7aa9686fed2b9a0ebef97cf9e7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 12c1f07655449b4b063597491c672fc512aadcf1dec88cca3c6eeca83a828cc6ad93a333dd66f2b5763dfd2ffb5ce607d13ad4d16cfa7b8e6d35bd0e3765b23b
|
|
7
|
+
data.tar.gz: 70be9555068ccbc699d2b945defcc6d6cca9d41685592b8ab9d726347875fd2564a7d721957f534017c074331a89a687c0fca8dbbc9abd65cf7590006159501a
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
model_to_googlesheet (2.
|
|
4
|
+
model_to_googlesheet (2.2.0)
|
|
5
5
|
google_drive (~> 1.0)
|
|
6
6
|
rails (~> 3.2)
|
|
7
7
|
|
|
8
8
|
GEM
|
|
9
|
+
remote: https://rubygems.org/
|
|
9
10
|
specs:
|
|
10
|
-
actionmailer (3.2.
|
|
11
|
-
actionpack (= 3.2.
|
|
11
|
+
actionmailer (3.2.22)
|
|
12
|
+
actionpack (= 3.2.22)
|
|
12
13
|
mail (~> 2.5.4)
|
|
13
|
-
actionpack (3.2.
|
|
14
|
-
activemodel (= 3.2.
|
|
15
|
-
activesupport (= 3.2.
|
|
14
|
+
actionpack (3.2.22)
|
|
15
|
+
activemodel (= 3.2.22)
|
|
16
|
+
activesupport (= 3.2.22)
|
|
16
17
|
builder (~> 3.0.0)
|
|
17
18
|
erubis (~> 2.7.0)
|
|
18
19
|
journey (~> 1.0.4)
|
|
@@ -20,18 +21,18 @@ GEM
|
|
|
20
21
|
rack-cache (~> 1.2)
|
|
21
22
|
rack-test (~> 0.6.1)
|
|
22
23
|
sprockets (~> 2.2.1)
|
|
23
|
-
activemodel (3.2.
|
|
24
|
-
activesupport (= 3.2.
|
|
24
|
+
activemodel (3.2.22)
|
|
25
|
+
activesupport (= 3.2.22)
|
|
25
26
|
builder (~> 3.0.0)
|
|
26
|
-
activerecord (3.2.
|
|
27
|
-
activemodel (= 3.2.
|
|
28
|
-
activesupport (= 3.2.
|
|
27
|
+
activerecord (3.2.22)
|
|
28
|
+
activemodel (= 3.2.22)
|
|
29
|
+
activesupport (= 3.2.22)
|
|
29
30
|
arel (~> 3.0.2)
|
|
30
31
|
tzinfo (~> 0.3.29)
|
|
31
|
-
activeresource (3.2.
|
|
32
|
-
activemodel (= 3.2.
|
|
33
|
-
activesupport (= 3.2.
|
|
34
|
-
activesupport (3.2.
|
|
32
|
+
activeresource (3.2.22)
|
|
33
|
+
activemodel (= 3.2.22)
|
|
34
|
+
activesupport (= 3.2.22)
|
|
35
|
+
activesupport (3.2.22)
|
|
35
36
|
i18n (~> 0.6, >= 0.6.4)
|
|
36
37
|
multi_json (~> 1.0)
|
|
37
38
|
addressable (2.4.0)
|
|
@@ -110,23 +111,23 @@ GEM
|
|
|
110
111
|
interception (>= 0.5)
|
|
111
112
|
pry
|
|
112
113
|
rack (1.4.7)
|
|
113
|
-
rack-cache (1.5.
|
|
114
|
+
rack-cache (1.5.1)
|
|
114
115
|
rack (>= 0.4)
|
|
115
116
|
rack-ssl (1.3.4)
|
|
116
117
|
rack
|
|
117
118
|
rack-test (0.6.3)
|
|
118
119
|
rack (>= 1.0)
|
|
119
|
-
rails (3.2.
|
|
120
|
-
actionmailer (= 3.2.
|
|
121
|
-
actionpack (= 3.2.
|
|
122
|
-
activerecord (= 3.2.
|
|
123
|
-
activeresource (= 3.2.
|
|
124
|
-
activesupport (= 3.2.
|
|
120
|
+
rails (3.2.22)
|
|
121
|
+
actionmailer (= 3.2.22)
|
|
122
|
+
actionpack (= 3.2.22)
|
|
123
|
+
activerecord (= 3.2.22)
|
|
124
|
+
activeresource (= 3.2.22)
|
|
125
|
+
activesupport (= 3.2.22)
|
|
125
126
|
bundler (~> 1.0)
|
|
126
|
-
railties (= 3.2.
|
|
127
|
-
railties (3.2.
|
|
128
|
-
actionpack (= 3.2.
|
|
129
|
-
activesupport (= 3.2.
|
|
127
|
+
railties (= 3.2.22)
|
|
128
|
+
railties (3.2.22)
|
|
129
|
+
actionpack (= 3.2.22)
|
|
130
|
+
activesupport (= 3.2.22)
|
|
130
131
|
rack-ssl (~> 1.3.2)
|
|
131
132
|
rake (>= 0.8.7)
|
|
132
133
|
rdoc (~> 3.4)
|
|
@@ -165,7 +166,7 @@ GEM
|
|
|
165
166
|
treetop (1.4.15)
|
|
166
167
|
polyglot
|
|
167
168
|
polyglot (>= 0.3.1)
|
|
168
|
-
tzinfo (0.3.
|
|
169
|
+
tzinfo (0.3.46)
|
|
169
170
|
|
|
170
171
|
PLATFORMS
|
|
171
172
|
ruby
|
|
@@ -22,7 +22,8 @@ module GoogleDrive
|
|
|
22
22
|
exact_sss(title).first
|
|
23
23
|
end
|
|
24
24
|
def exact_sss title
|
|
25
|
-
spreadsheets(title: title, 'title-exact'
|
|
25
|
+
spreadsheets(title: title, :'title-exact' => true).select { |ss| !ss.labels.trashed }
|
|
26
|
+
# (:'title-exact' => true this stupid form is for ruby 2.1)
|
|
26
27
|
end
|
|
27
28
|
|
|
28
29
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: model_to_googlesheet
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Helga Karunus
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-12-
|
|
11
|
+
date: 2015-12-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|
|
@@ -146,7 +146,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
146
146
|
version: '0'
|
|
147
147
|
requirements: []
|
|
148
148
|
rubyforge_project:
|
|
149
|
-
rubygems_version: 2.4.
|
|
149
|
+
rubygems_version: 2.4.5
|
|
150
150
|
signing_key:
|
|
151
151
|
specification_version: 4
|
|
152
152
|
summary: Export your Rails model to Googlesheets
|