vgcal 0.3.2 → 0.4.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ef38649601c8235213557c91a0140fc4b9dbb48321cd8681a52f5a8175b7ad8c
4
- data.tar.gz: 2858b7e91979460d4528b85592b6be3279f4c44504f64513ca3face8beb77adf
3
+ metadata.gz: 9a8a4820ac5ec51ae8603b18a047717b7c0b12a143c70b04bd4dcff5fe21a349
4
+ data.tar.gz: 0e97596aecf4228d7c132a2960dcca84f8087402af8eeee99a1ad715432c6b8f
5
5
  SHA512:
6
- metadata.gz: 2945ec5f859fdf234b24c848b0f8a253d09d6b82d07ae7a9be77ccc7129e9ce19d5d2cc9189e11031532704d2562d24dcfd15b7a2a75c44c6e2ab3d9708a724e
7
- data.tar.gz: d06dd6b8a38199c763096f0b5cf5195455be81cb67af952f6c93d653d8065a2683afbe23760e3b2ec96f1e34dacc7a945cf1b1cd4d1def1a12ba762ea276174e
6
+ metadata.gz: b4da59f8dc452af1ddcc90303a498cdf19af129fa8aa31f69cab379c34d674fc0d1709bfb23b04f958ff319b63cc665bbe4dd17b90a459fa88443a4af1ac7787
7
+ data.tar.gz: f5c2104b3e9b3928e5d16ab7a6332f32d3dc51c84964d89604a1d285550897cca16f8451017cd337c7234f8b043f41c39578119345d582d242f84ad9635fc043
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 3.0.1
1
+ 3.0.4
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- vgcal (0.3.2)
4
+ vgcal (0.3.3)
5
5
  dotenv
6
6
  google-api-client
7
7
  thor (~> 1.1)
@@ -133,6 +133,7 @@ GEM
133
133
  zeitwerk (2.4.2)
134
134
 
135
135
  PLATFORMS
136
+ arm64-darwin-21
136
137
  x86_64-darwin-19
137
138
 
138
139
  DEPENDENCIES
@@ -143,4 +144,4 @@ DEPENDENCIES
143
144
  vgcal!
144
145
 
145
146
  BUNDLED WITH
146
- 2.2.15
147
+ 2.2.33
@@ -15,9 +15,10 @@ module Vgcal
15
15
  vgcal_dir = "#{Dir.home}/.vgcal"
16
16
  cred_json = "#{vgcal_dir}/credentials.json"
17
17
  dot_env = "#{vgcal_dir}/.env"
18
+ gem_root = File.expand_path '../../../', __dir__
18
19
  Dir.mkdir(vgcal_dir, 0o755) unless Dir.exist?(vgcal_dir)
19
- FileUtils.cp('template-credentials.json', cred_json) unless File.exist?(cred_json)
20
- FileUtils.cp('template.env', dot_env) unless File.exist?(dot_env)
20
+ FileUtils.cp(File.join(gem_root,'template-credentials.json'), cred_json) unless File.exist?(cred_json)
21
+ FileUtils.cp(File.join(gem_root,'template.env'), dot_env) unless File.exist?(dot_env)
21
22
  puts "Fix the __FIX_ME__ in #{cred_json} and #{dot_env}"
22
23
  end
23
24
 
data/lib/vgcal/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Vgcal
4
- VERSION = '0.3.2'
4
+ VERSION = '0.4.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vgcal
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shota Ito
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-09-05 00:00:00.000000000 Z
11
+ date: 2022-08-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -155,7 +155,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
155
155
  - !ruby/object:Gem::Version
156
156
  version: '0'
157
157
  requirements: []
158
- rubygems_version: 3.2.15
158
+ rubygems_version: 3.2.33
159
159
  signing_key:
160
160
  specification_version: 4
161
161
  summary: "%q{The vgcal command simplifies the display of Google Calendar events.}"