lgtm 0.2.1 → 0.3.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.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +11 -9
  3. data/exe/lgtm +1 -1
  4. data/lib/lgtm/version.rb +1 -1
  5. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9e784f3a55f781d1ad21910375e03d6a5c549b20
4
- data.tar.gz: 4d531f38bf69d57f965c9a2715e1ff95cfb808a4
3
+ metadata.gz: 1ed97b88106414cd1595087b8f493737f4d10a48
4
+ data.tar.gz: 205a045c8268e0074a8ba1d9d5aa8e641088331d
5
5
  SHA512:
6
- metadata.gz: 51fee1d83a3c05834f20f46a93105328545a282cf680dfdaed21c7b6c478f54a316839833bfd66697252c9c0ae66492500847df693d1439c31e1cacda9bfa195
7
- data.tar.gz: a76d9e1ba8ac108e0829ef0ba35482b1008c5df9439dd542020c644c87bbf59630cb67906ab9d18c7ab9125bb7b3193298961323582bbc051096a05ed033b46e
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
- TODO: Write usage instructions here
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
- system("echo '#{lgtm_markdown}' | pbcopy")
67
+ print lgtm_markdown
68
68
 
@@ -1,3 +1,3 @@
1
1
  module Lgtm
2
- VERSION = "0.2.1"
2
+ VERSION = "0.3.0"
3
3
  end
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.2.1
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-10 00:00:00.000000000 Z
11
+ date: 2016-07-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler