googlesheets 0.8.1 → 0.8.4

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
  SHA256:
3
- metadata.gz: e14329dba7ace514cf5f694dd2cd3560c0c4d3519a763817bce352ef1411559c
4
- data.tar.gz: 9f050792290e7a7c1317586ff8c3633474d538ad1cb60e5d8274f16cc38ac2da
3
+ metadata.gz: fb124138c8098db08a5cc9d738fe609ac6950e95da2f2a20e59e2f4f07f675f4
4
+ data.tar.gz: 1afbb69a5090b3c69b8f203688b19158846ef228c483ef80d814e3821dd20dc6
5
5
  SHA512:
6
- metadata.gz: f1aaaa1d70f7695e9d9a3d3b5a04ca24ff894189833bc741d668abd206c61c3677cb51e198f6c4a073819b297ce676bb3c7f29a4c0635d48eeee0c4a9c12ee8a
7
- data.tar.gz: 450e3d068618326be503baf436babda07bef675a7067a55d4c44c817524fef3fa48e3b81159ac1cc3b96dbc595e32515a99572f1a69c6b4adbe8445deee40994
6
+ metadata.gz: 2b8107a5ede6e5f5460c93b07f90fccabb6759d22a85e974ca964140fb9524a8d6420e405e1c4c64412f524f65ed5f0280cd1f9f0a823ae273eb31edcf6c3880
7
+ data.tar.gz: 68904158b5e0f9a6584d2bb34ab37e7de25fe694f813ece130606e3cf28533899ecfaa9d944b5c9c14b47327b5fc0178e575de08f636ec8cce167599623e4817
data/Gemfile CHANGED
@@ -1,6 +1,3 @@
1
1
  source "https://rubygems.org"
2
2
 
3
3
  gemspec
4
-
5
- gem "google-api-client", "~> 0.37.0"
6
- gem "googleauth", "~> 0.10.0"
data/README.md CHANGED
@@ -1,3 +1,9 @@
1
1
  # googlesheets
2
2
 
3
3
  Ruby gem for Google Sheets API
4
+
5
+ ### Notes
6
+
7
+ To regenerate `token.yaml`, delete it and try to connect. The code
8
+ will show a URL to access and paste a value, which will update the
9
+ `token.yaml` file automatically.
data/bin/shat CHANGED
@@ -55,4 +55,4 @@ if fill and need = rows[0]&.size
55
55
  end
56
56
  end
57
57
 
58
- Censive.writer(sep: seps) {|csv| rows.each {|row| csv << row }}
58
+ Censive.write {|csv| rows.each {|row| csv << row }}
data/googlesheets.gemspec CHANGED
@@ -11,5 +11,8 @@ Gem::Specification.new do |s|
11
11
  s.license = "MIT"
12
12
  s.files = `git ls-files`.split("\n") - %w[.gitignore]
13
13
  s.executables = `cd bin && git ls-files .`.split("\n")
14
+ s.add_runtime_dependency "censive", "~> 1.1"
14
15
  s.add_runtime_dependency "google-api-client", "~> 0.53.0"
16
+ s.add_runtime_dependency "googleauth", "~> 1.11"
17
+ s.add_runtime_dependency "pstore", "~> 0.1.3"
15
18
  end
data/lib/googlesheets.rb CHANGED
@@ -19,7 +19,7 @@ class Object
19
19
  end
20
20
 
21
21
  class GoogleSheets
22
- VERSION = "0.8.1"
22
+ VERSION = "0.8.4"
23
23
 
24
24
  attr_accessor :api
25
25
 
metadata CHANGED
@@ -1,15 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: googlesheets
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.1
4
+ version: 0.8.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steve Shreeve
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-04-28 00:00:00.000000000 Z
11
+ date: 2024-10-14 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: censive
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.1'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.1'
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: google-api-client
15
29
  requirement: !ruby/object:Gem::Requirement
@@ -24,6 +38,34 @@ dependencies:
24
38
  - - "~>"
25
39
  - !ruby/object:Gem::Version
26
40
  version: 0.53.0
41
+ - !ruby/object:Gem::Dependency
42
+ name: googleauth
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '1.11'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '1.11'
55
+ - !ruby/object:Gem::Dependency
56
+ name: pstore
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: 0.1.3
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: 0.1.3
27
69
  description: This gem allows easy access to Google Sheets API V4.
28
70
  email: steve.shreeve@gmail.com
29
71
  executables:
@@ -56,7 +98,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
56
98
  - !ruby/object:Gem::Version
57
99
  version: '0'
58
100
  requirements: []
59
- rubygems_version: 3.4.9
101
+ rubygems_version: 3.5.21
60
102
  signing_key:
61
103
  specification_version: 4
62
104
  summary: Ruby library for Google Sheets