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 +4 -4
- data/lib/qiita_org/config.rb +2 -2
- data/lib/qiita_org/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 60c9996129f01cbc78ad71da35c76fd2cfd8ffd8d157f457e513d96e96138d32
|
4
|
+
data.tar.gz: e06cba6ce33807e8c6dbfbc8a4bfb59f7f5a78efb763a6feebd93c70868ef62c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e5b5977561ae00dc325a250d12bbf842789f964410f579d58d8168378a1db8dcdd62dcfef41d388f8bd3b350a26787e866d598896e1f294a35c97dddaf0a7daf
|
7
|
+
data.tar.gz: 9f856771c1912363a1bae80f9a592d93ec5d8949d44d4b25979cf352163c36c738e907091aff1ab51d86a3457ffd5cdbf60c7e32e56c0127774c4e4f3889340d
|
data/lib/qiita_org/config.rb
CHANGED
@@ -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()
|
data/lib/qiita_org/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2020-10-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|