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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: aeb87f387d30d9841544ed8ffc39ed661551eb18e2b08349784bcec52f4536b7
4
- data.tar.gz: cae658785a60089b2c831ff19ae50fff9fcfb10763f135016f5bf1449330543c
3
+ metadata.gz: 6c72fb0ca25fa98881ffa0e4f000a6d18c0ad742f7771b501d5b8cc8a7d1877f
4
+ data.tar.gz: 6e131d7a573369378f002f155900851f1b11f7fe522778c9ee637b3098596a1c
5
5
  SHA512:
6
- metadata.gz: 852b7ce6c726f8912c1767872d590f4b1397ff2474603daae95c4405b4f3e89ed4b4660cd214b4970c02332e53be5b7498debd7f4ff221d9f340a0a9ff82471b
7
- data.tar.gz: 17bc4ff9137207256e5c903cace754290a141242e069d6f93210394ee66bcaf8cb565dc56a7a9f4dc12c24bd6bc6de91ef0bab4ce54a2ea2274551dce291a53a
6
+ metadata.gz: fab87567e4e52f3f3bb74f3cd32807e7b1ef3bcfd19fbd019891a0218489373d5ec1be694389c5815be11fc5a397287d9203e3bde9e04048a6a2a28f43e3d88a
7
+ data.tar.gz: 0daa3405f652e9c79d91e02f3b88403dc86f3d6f67012cd0f8e73123b6141d8651ae01c66ed85eb6d40d6bcdd27bea10a5c67e9a1ccd33dc3cef59c77a343cb1
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- qiita_org (0.1.33)
4
+ qiita_org (0.1.34)
5
5
  colorize
6
6
  command_line (> 2.0.0)
7
7
  fileutils
@@ -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 'youremail@example.com'".red
74
- puts "Hint: qiita config local name 'youremail@example.com'".red
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 transform #{src.gsub(".org", ".md")} from #{src}, please chech org syntax.".red
85
- puts "Please confirm emacs version it 26 or more.".red
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
@@ -1,3 +1,3 @@
1
1
  module QiitaOrg
2
- VERSION = "0.1.34"
2
+ VERSION = "0.1.35"
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.34
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-18 00:00:00.000000000 Z
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
@@ -1,3 +0,0 @@
1
- ProductName: Mac OS X
2
- ProductVersion: 10.13.3
3
- BuildVersion: 17D102