lgtm 0.2.1 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +11 -9
- data/exe/lgtm +1 -1
- data/lib/lgtm/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1ed97b88106414cd1595087b8f493737f4d10a48
|
4
|
+
data.tar.gz: 205a045c8268e0074a8ba1d9d5aa8e641088331d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 482c195fae5ece7500d6f1f4d9b00075d3fcf6e69a9cb4fbc49544de3892dbfc11f787d9d30e68c21b36e635b6650aa0bc90f11aed98461df47decd688570e22
|
7
|
+
data.tar.gz: dfef52e935083c3939bc28122c0ff3cf5f8c8811274c86420bb8f0516d24b949a301354cb8490e7a4a45d00c706c88fdc621e09107ebf22518ae98bd6f85adb6
|
data/README.md
CHANGED
@@ -1,17 +1,9 @@
|
|
1
1
|
# Lgtm
|
2
2
|
|
3
|
-
Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/lgtm`. To experiment with that code, run `bin/console` for an interactive prompt.
|
4
3
|
|
5
|
-
TODO: Delete this and the text above, and describe your gem
|
6
4
|
|
7
5
|
## Installation
|
8
6
|
|
9
|
-
Add this line to your application's Gemfile:
|
10
|
-
|
11
|
-
```ruby
|
12
|
-
gem 'lgtm'
|
13
|
-
```
|
14
|
-
|
15
7
|
And then execute:
|
16
8
|
|
17
9
|
$ bundle
|
@@ -22,7 +14,17 @@ Or install it yourself as:
|
|
22
14
|
|
23
15
|
## Usage
|
24
16
|
|
25
|
-
|
17
|
+
```bash
|
18
|
+
## write for .bashrc or .zshrc by LGTM_IN_USER_PATH
|
19
|
+
# example)
|
20
|
+
# export LGTM_IN_USER_PATH='http://lgtm.in/l/HaiTo'
|
21
|
+
|
22
|
+
$ lgtm
|
23
|
+
![lgtmin_url(lgtm)](lgtm_image_url)
|
24
|
+
|
25
|
+
# in osx
|
26
|
+
$ lgtm | pbcopy
|
27
|
+
```
|
26
28
|
|
27
29
|
## Development
|
28
30
|
|
data/exe/lgtm
CHANGED
@@ -64,5 +64,5 @@ hash = link.split('/').last
|
|
64
64
|
|
65
65
|
lgtm_markdown = LGTM_MARKDOWN.gsub('__LGTM_IMAGE_DETAILS_PATH__', "#{LGTM_MARKDOWN_DETAIL_PATH_BASE + hash}").gsub('__LGTM_IMAGE_PATH__', "#{LGTM_MARKDOWN_IMAGE_PATH_BASE + hash}")
|
66
66
|
|
67
|
-
|
67
|
+
print lgtm_markdown
|
68
68
|
|
data/lib/lgtm/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lgtm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- HaiTo
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-07-
|
11
|
+
date: 2016-07-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|