lgtm 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/exe/lgtm +6 -2
- data/lib/lgtm/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9e784f3a55f781d1ad21910375e03d6a5c549b20
|
|
4
|
+
data.tar.gz: 4d531f38bf69d57f965c9a2715e1ff95cfb808a4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 51fee1d83a3c05834f20f46a93105328545a282cf680dfdaed21c7b6c478f54a316839833bfd66697252c9c0ae66492500847df693d1439c31e1cacda9bfa195
|
|
7
|
+
data.tar.gz: a76d9e1ba8ac108e0829ef0ba35482b1008c5df9439dd542020c644c87bbf59630cb67906ab9d18c7ab9125bb7b3193298961323582bbc051096a05ed033b46e
|
data/exe/lgtm
CHANGED
|
@@ -3,10 +3,14 @@
|
|
|
3
3
|
require 'mechanize'
|
|
4
4
|
|
|
5
5
|
LGTM_LINK_BASE = 'http://lgtm.in/i'.freeze
|
|
6
|
-
|
|
6
|
+
NOT_SET_VALIAVLE_ALERT_1 = "please set enviromant variable LGTM_IN_USER_PATH \n"
|
|
7
|
+
NOT_SET_VALIAVLE_ALERT_2 = "lgtm.in mypage example -> http://lgtm.in/l/HaiTo \n"
|
|
8
|
+
NOT_SET_VALIAVLE_ALERT_3 = "in .bashrc, .zshrc -> export LGTM_IN_USER_PATH='http://lgtm.in/l/HaiTo' \n"
|
|
7
9
|
|
|
8
10
|
def not_set_valiavle_alert
|
|
9
|
-
|
|
11
|
+
print NOT_SET_VALIAVLE_ALERT_1
|
|
12
|
+
print NOT_SET_VALIAVLE_ALERT_2
|
|
13
|
+
print NOT_SET_VALIAVLE_ALERT_3
|
|
10
14
|
exit(1)
|
|
11
15
|
end
|
|
12
16
|
|
data/lib/lgtm/version.rb
CHANGED