model_to_googlesheet 2.1.0 → 2.2.0

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: e8d979d583083334c1b1be0b956ed85ba32d7d25
4
- data.tar.gz: 96a08869277a3c9ab3ae2851783c3dc271d1450f
3
+ metadata.gz: 4f00d0cde7850af3f5acbe9983c6e6ec76e8dcd6
4
+ data.tar.gz: bc135da4690a7f7aa9686fed2b9a0ebef97cf9e7
5
5
  SHA512:
6
- metadata.gz: 55b4dc534b88b3fb2eed8dadc2d5302e0cacd03da33bc879152cf4280ff727aba8d229fa43e66171d2c1cd6a03a743881f2e15c389b6ba18263978cbc7cd0354
7
- data.tar.gz: bf93ffb81c6ad84cb2e1be1e8367ea4c2a981a012863ae41a06075ff307a80f55b132e795aa5e8601f5025b7e4455165f96efe0c5e34204f0902e11b3eed8224
6
+ metadata.gz: 12c1f07655449b4b063597491c672fc512aadcf1dec88cca3c6eeca83a828cc6ad93a333dd66f2b5763dfd2ffb5ce607d13ad4d16cfa7b8e6d35bd0e3765b23b
7
+ data.tar.gz: 70be9555068ccbc699d2b945defcc6d6cca9d41685592b8ab9d726347875fd2564a7d721957f534017c074331a89a687c0fca8dbbc9abd65cf7590006159501a
data/Gemfile CHANGED
@@ -1 +1,3 @@
1
+ source 'https://rubygems.org' #for ruby 2.1
2
+
1
3
  gemspec
data/Gemfile.lock CHANGED
@@ -1,18 +1,19 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- model_to_googlesheet (2.1.0)
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.19)
11
- actionpack (= 3.2.19)
11
+ actionmailer (3.2.22)
12
+ actionpack (= 3.2.22)
12
13
  mail (~> 2.5.4)
13
- actionpack (3.2.19)
14
- activemodel (= 3.2.19)
15
- activesupport (= 3.2.19)
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.19)
24
- activesupport (= 3.2.19)
24
+ activemodel (3.2.22)
25
+ activesupport (= 3.2.22)
25
26
  builder (~> 3.0.0)
26
- activerecord (3.2.19)
27
- activemodel (= 3.2.19)
28
- activesupport (= 3.2.19)
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.19)
32
- activemodel (= 3.2.19)
33
- activesupport (= 3.2.19)
34
- activesupport (3.2.19)
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.0)
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.19)
120
- actionmailer (= 3.2.19)
121
- actionpack (= 3.2.19)
122
- activerecord (= 3.2.19)
123
- activeresource (= 3.2.19)
124
- activesupport (= 3.2.19)
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.19)
127
- railties (3.2.19)
128
- actionpack (= 3.2.19)
129
- activesupport (= 3.2.19)
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.44)
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': true).select { |ss| !ss.labels.trashed }
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
 
@@ -1,3 +1,3 @@
1
1
  module ModelToGooglesheet
2
- VERSION = "2.1.0"
2
+ VERSION = "2.2.0"
3
3
  end
@@ -3,6 +3,7 @@ shared_context :create_session do
3
3
  let(:client_id) { 'inset yours' }
4
4
  let(:client_secret) { 'inset yours' }
5
5
  let(:refresh_token) { 'inset yours' }
6
+
6
7
  let(:session) {
7
8
  GoogleDrive::Session.new_for_gs({
8
9
  client_id: client_id,
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.1.0
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-25 00:00:00.000000000 Z
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.6
149
+ rubygems_version: 2.4.5
150
150
  signing_key:
151
151
  specification_version: 4
152
152
  summary: Export your Rails model to Googlesheets