qiita_org 0.1.3 → 0.1.4
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/post.rb +1 -1
- data/lib/qiita_org/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6e1d39ee46dabf4d2acd53bd27ad8f825a1717981cd63231c2431e531f5cf8ee
|
4
|
+
data.tar.gz: 5e6e874f3f83341978fba00585728811dfebf001e4cccc159ea24c958aa9aeb0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b9c49a2e0405a8627caee3b7893d3abab9c957698e3b686ee6a590ab56432d70c4365a99e1c9f68a9b2e08554e2600c427af8413562d0aed7d3b328037d13869
|
7
|
+
data.tar.gz: 39239a9bd1ada1fd34b42d8a27f6176d82ea7e986d8e3c2f7a434780ed9dc3d0e4c37a9d8019e49fe43263bd1f89b6650e797e0e7aee645960c887319e29413d
|
data/Gemfile.lock
CHANGED
data/lib/qiita_org/post.rb
CHANGED
@@ -18,7 +18,7 @@ class QiitaPost
|
|
18
18
|
m = []
|
19
19
|
@tags = if m = @conts.match(/\#\+(TAG|tag|Tag|tags|TAGS|Tags): (.+)/)
|
20
20
|
if m[2].count(",") >= 5
|
21
|
-
|
21
|
+
puts "The maximum number of tag is five. Please delete some tags.".red
|
22
22
|
exit
|
23
23
|
end
|
24
24
|
m[2].split(",").inject([]) do |l, c|
|
data/lib/qiita_org/version.rb
CHANGED