compare_linker 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +13 -0
- data/lib/compare_linker/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4bd91ee90fc917c5cae680d6d5c3316b142d95d2
|
4
|
+
data.tar.gz: 7b594db9f42c2a2b854308395884b514e58d7f63
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 514183f5e9ff8ed40cddf123857048296b2b04e4833f57cadbd02b787ab97ecb286892fd3ee002e1db7bec80a71d13cbf7e43a058811b8f7bbf0c4b2421043cc
|
7
|
+
data.tar.gz: 82673469c08f0e6905479c30acf6f896c2c3f0c4ea8abe7105995fd4435c93bfddf7f8c3948fe694fe6e9176945ec445bf994f16df53fbe0208fc0683d18a782
|
data/README.md
CHANGED
@@ -6,6 +6,19 @@ Create GitHub's compare view URLs for pull request from diff of `Gemfile.lock` (
|
|
6
6
|
|
7
7
|
[GitHub Compare View](https://github.com/blog/612-introducing-github-compare-view) rocks.But [diff of Gemfile.lock](https://github.com/kyanny/compare_linker_demo/pull/14/files) sucks. So I made Compare Linker.
|
8
8
|
|
9
|
+
## Usage
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'compare_linker'
|
13
|
+
|
14
|
+
ENV['OCTOKIT_ACCESS_TOKEN'] = 'xxx'
|
15
|
+
|
16
|
+
compare_linker = CompareLinker.new('masutaka/compare_linker', '17')
|
17
|
+
compare_linker.formatter = CompareLinker::Formatter::Markdown.new
|
18
|
+
comment = compare_linker.make_compare_links.to_a.join("\n")
|
19
|
+
compare_linker.add_comment('masutaka/compare_linker', '17', comment)
|
20
|
+
```
|
21
|
+
|
9
22
|
## Rack app for listening GitHub Webhook
|
10
23
|
|
11
24
|
There's rack application for Compare Linker with GitHub's Webhook.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: compare_linker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kensuke Nagae
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-11-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: octokit
|
@@ -134,7 +134,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
134
134
|
version: '0'
|
135
135
|
requirements: []
|
136
136
|
rubyforge_project:
|
137
|
-
rubygems_version: 2.4.
|
137
|
+
rubygems_version: 2.4.8
|
138
138
|
signing_key:
|
139
139
|
specification_version: 4
|
140
140
|
summary: Create GitHub's compare view URLs for pull request
|