qiita_org 0.1.5 → 0.1.6

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: 72dc27665b3c0c77fe171a3440a39e610d0cf2bb5649259ec0d0e3d13b51d0d2
4
- data.tar.gz: 29cdbf92e0e8b1001085796a60ff7537fec377ef49577252c9783e12c0982888
3
+ metadata.gz: 60c9996129f01cbc78ad71da35c76fd2cfd8ffd8d157f457e513d96e96138d32
4
+ data.tar.gz: e06cba6ce33807e8c6dbfbc8a4bfb59f7f5a78efb763a6feebd93c70868ef62c
5
5
  SHA512:
6
- metadata.gz: 270d6285dac1e3d4e03feccaa075ef87ff259d07ac7ad862860b57307d132bd3b09311db5f215d96d32add017a013e3dbb6b7faa14c342e01f20a2ad489f55c4
7
- data.tar.gz: 676b4534810880410bc134aa96bf174e72e447a412a7b4211d27e77481e52e88bf6b377d88dae22191ee11f1693afa693cb09525a58559e136efbf08db4594bf
6
+ metadata.gz: e5b5977561ae00dc325a250d12bbf842789f964410f579d58d8168378a1db8dcdd62dcfef41d388f8bd3b350a26787e866d598896e1f294a35c97dddaf0a7daf
7
+ data.tar.gz: 9f856771c1912363a1bae80f9a592d93ec5d8949d44d4b25979cf352163c36c738e907091aff1ab51d86a3457ffd5cdbf60c7e32e56c0127774c4e4f3889340d
@@ -9,7 +9,7 @@ class QiitaConfig
9
9
  if status == "local"
10
10
  search = SearchConfPath.new(Dir.pwd, Dir.home)
11
11
  conf_dir = search.search_conf_path()
12
- if conf_dir == Dir.home
12
+ if conf_dir == Dir.home || @option == "set"
13
13
  @setup = File.join(Dir.pwd, ".qiita.conf")
14
14
  else
15
15
  @setup = File.join(conf_dir, ".qiita.conf")
@@ -56,7 +56,7 @@ class QiitaConfig
56
56
  end
57
57
 
58
58
  def run()
59
- if @option == nil
59
+ if @option == nil || @option == "set"
60
60
  check_or_copy_config()
61
61
  else
62
62
  set_config()
@@ -1,3 +1,3 @@
1
1
  module QiitaOrg
2
- VERSION = "0.1.5"
2
+ VERSION = "0.1.6"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: qiita_org
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kenta Yamamoto
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-09-30 00:00:00.000000000 Z
11
+ date: 2020-10-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler