qiita_org 0.1.34 → 0.1.35
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/qiita_org/error_message.rb +15 -14
- data/lib/qiita_org/version.rb +1 -1
- metadata +2 -3
- data/lib/qiita_org/hoge.txt +0 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6c72fb0ca25fa98881ffa0e4f000a6d18c0ad742f7771b501d5b8cc8a7d1877f
|
4
|
+
data.tar.gz: 6e131d7a573369378f002f155900851f1b11f7fe522778c9ee637b3098596a1c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fab87567e4e52f3f3bb74f3cd32807e7b1ef3bcfd19fbd019891a0218489373d5ec1be694389c5815be11fc5a397287d9203e3bde9e04048a6a2a28f43e3d88a
|
7
|
+
data.tar.gz: 0daa3405f652e9c79d91e02f3b88403dc86f3d6f67012cd0f8e73123b6141d8651ae01c66ed85eb6d40d6bcdd27bea10a5c67e9a1ccd33dc3cef59c77a343cb1
|
data/Gemfile.lock
CHANGED
@@ -7,18 +7,18 @@ class ErrorMessage
|
|
7
7
|
|
8
8
|
def access_token_error(access_token)
|
9
9
|
if access_token == ""
|
10
|
-
puts "Please setting ACCESS_TOKEN".red
|
11
|
-
puts "Hint: qiita config global access_token 'your access_token'".red
|
12
|
-
puts "Hint: qiita config local access_token 'your access_token'".red
|
10
|
+
puts "Please setting ACCESS_TOKEN.".red
|
11
|
+
puts "Hint: qiita config global access_token 'your access_token'.".red
|
12
|
+
puts "Hint: qiita config local access_token 'your access_token'.".red
|
13
13
|
exit
|
14
14
|
end
|
15
15
|
end
|
16
16
|
|
17
17
|
def teams_url_error(teams_url)
|
18
18
|
if teams_url == ""
|
19
|
-
puts "Please setting teams_url".red
|
20
|
-
puts "Hint: qiita config global teams_url 'https://foge.qiita.com/'".red
|
21
|
-
puts "Hint: qiita config local teams_url 'https://foge.qiita.com/'".red
|
19
|
+
puts "Please setting teams_url.".red
|
20
|
+
puts "Hint: qiita config global teams_url 'https://foge.qiita.com/'.".red
|
21
|
+
puts "Hint: qiita config local teams_url 'https://foge.qiita.com/'.".red
|
22
22
|
exit
|
23
23
|
end
|
24
24
|
end
|
@@ -61,17 +61,17 @@ class ErrorMessage
|
|
61
61
|
check = true
|
62
62
|
|
63
63
|
if conf["name"] == ""
|
64
|
-
puts "Please set your name in config".red
|
65
|
-
puts "Hint: qiita config global name 'YOUR NAME'".red
|
66
|
-
puts "Hint: qiita config local name 'YOUR NAME'".red
|
64
|
+
puts "Please set your name in config.".red
|
65
|
+
puts "Hint: qiita config global name 'YOUR NAME'.".red
|
66
|
+
puts "Hint: qiita config local name 'YOUR NAME'.".red
|
67
67
|
# system "rm template.org"
|
68
68
|
check = false
|
69
69
|
end
|
70
70
|
|
71
71
|
if conf["email"] == ""
|
72
|
-
puts "Please set your email in config".red
|
73
|
-
puts "Hint: qiita config global email '
|
74
|
-
puts "Hint: qiita config local name '
|
72
|
+
puts "Please set your email in config.".red
|
73
|
+
puts "Hint: qiita config global email 'your_email@example.com'.".red
|
74
|
+
puts "Hint: qiita config local name 'your_email@example.com'.".red
|
75
75
|
check = false
|
76
76
|
end
|
77
77
|
unless check
|
@@ -81,8 +81,9 @@ class ErrorMessage
|
|
81
81
|
|
82
82
|
def md_file_exists?(src, res)
|
83
83
|
unless File.exists?(src.gsub(".org", ".md"))
|
84
|
-
puts "Can not
|
85
|
-
puts
|
84
|
+
puts "Can not convert org doc to markdown.".red
|
85
|
+
puts 'Please confirm emacs version above 26.'.red
|
86
|
+
puts "Next, check links in the org doc, as converting in emacs by 'ctrl+c, ctrl+e, h, o'.".red
|
86
87
|
exit
|
87
88
|
else
|
88
89
|
p res
|
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.35
|
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-12-
|
11
|
+
date: 2020-12-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -2561,7 +2561,6 @@ files:
|
|
2561
2561
|
- lib/qiita_org/get.rb
|
2562
2562
|
- lib/qiita_org/get_multiple_files.rb
|
2563
2563
|
- lib/qiita_org/get_template.rb
|
2564
|
-
- lib/qiita_org/hoge.txt
|
2565
2564
|
- lib/qiita_org/list.rb
|
2566
2565
|
- lib/qiita_org/md_converter_for_image.rb
|
2567
2566
|
- lib/qiita_org/old_programs/check_pc_os.rb
|
data/lib/qiita_org/hoge.txt
DELETED