google_drive_dotenv 0.3.0 → 0.4.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
  SHA256:
3
- metadata.gz: 9f1f1301b0ccab8d3d313e1191bd6981b57df72b4ceda55de8def0bc2838c375
4
- data.tar.gz: 0acfbde9b338fd5ec46a50994e8774c7120ba8fec169255bc06c64ea88980b0e
3
+ metadata.gz: b7b1ee0720f8723d076edb9d4b93397a12a9b58956d735a57d00bcbe114ccd19
4
+ data.tar.gz: e36d1a69b0283a3b627d4b466c68cafbfcb187eeb4e47bdfc1b0c7729ef7d3fb
5
5
  SHA512:
6
- metadata.gz: 32c420b15ad226514c3897e2bd19f3f4232f558c85ee811d7724198b43ba503ebca862d2546c5f894ce58333400c7e54ec91bfef119fda193822e2046ce9eb70
7
- data.tar.gz: 93115793354066506019e246fd38e768b3ef5dee6370c2b0b59a02b9beb9f6bbd5c49b3b7e9a80d9d53e208bfc14f261215dac7db03b6ee9128f5601de86af43
6
+ metadata.gz: 4e6e4e5ec346ca5de8a912ec310c093e6277156defd063076363956eb7c377a2877c35bafc66f61b8d7a0321f38135b02057fa7b00f52265bdf116801d4a5b37
7
+ data.tar.gz: ed38c7d5f52396ba4deb5c8b019cbc0666de08c528e416770c5a043834781dada47ae08fad9cee6f152ebe06df5f65e1681fb860cd4f249f58d0b38e0d665973
data/README.md CHANGED
@@ -14,6 +14,8 @@ Usage:
14
14
  Options:
15
15
  o, [--output=OUTPUT]
16
16
  # Default: .env
17
+ c, [--config=CONFIG]
18
+ # Default: ~/google_config.json
17
19
 
18
20
  Export Spreadsheet to env file
19
21
  ```
@@ -5,8 +5,9 @@ module GoogleDriveDotenv
5
5
  class CLI < Thor
6
6
  desc "export [key]", "Export Spreadsheet to env file"
7
7
  option "output", aliases: "o", type: :string, default: ".env"
8
+ option "config", aliases: "c", type: :string, default: "~/google_config.json"
8
9
  def export(key)
9
- config_path = File.expand_path("~/google_config.json")
10
+ config_path = File.expand_path(options['config'])
10
11
 
11
12
  unless File.exist?(config_path)
12
13
  raise "Please put #{config_path}"
@@ -1,3 +1,3 @@
1
1
  module GoogleDriveDotenv
2
- VERSION = "0.3.0"
2
+ VERSION = "0.4.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google_drive_dotenv
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - adorechic
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-05-22 00:00:00.000000000 Z
11
+ date: 2020-05-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor