lgtm 0.1.0 → 0.2.0
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/.gitignore +2 -2
- data/exe/lgtm +8 -1
- 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: 79d6da6e6b6c3a0105915892fba9ed7267a08e11
|
|
4
|
+
data.tar.gz: 535b8f9284b0a25f39b7ed11d9849b4558dcb83f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7c9991ab533ae29655f9021e2ae67ba296b9244abe15b130fc3246060397a98a6588a753aac1cec6193ce1b1a4eb430adca5504107e20285fdd6ff40971eb1bd
|
|
7
|
+
data.tar.gz: 152cfc16e796eb4581aa63c079ec3144c12340f70100c348f4750be7648a0263903de75d68a7e0abba6e3bc2322fe0c8b2284cb13a5c3fb7608bed84ed9ffa55
|
data/.gitignore
CHANGED
data/exe/lgtm
CHANGED
|
@@ -3,7 +3,14 @@
|
|
|
3
3
|
require 'mechanize'
|
|
4
4
|
|
|
5
5
|
LGTM_LINK_BASE = 'http://lgtm.in/i'.freeze
|
|
6
|
-
|
|
6
|
+
NOT_SET_VALIAVLE_ALERT = "please set enviromant variable LGTM_IN_USER_PATH. example) http://lgtm.in/l/HaiTo".freeze
|
|
7
|
+
|
|
8
|
+
def not_set_valiavle_alert
|
|
9
|
+
p NOT_SET_VALIAVLE_ALERT
|
|
10
|
+
exit(1)
|
|
11
|
+
end
|
|
12
|
+
|
|
13
|
+
LGTM_HAITO_PAGE = ENV['LGTM_IN_USER_PATH'].nil? ? not_set_valiavle_alert : ENV['LGTM_IN_USER_PATH']
|
|
7
14
|
|
|
8
15
|
REFLASH_TIME = 604_800.freeze
|
|
9
16
|
|
data/lib/lgtm/version.rb
CHANGED