lock_diff 0.2.0 → 0.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 +7 -7
- data/lib/lock_diff/gem/ruby_gem.rb +2 -2
- data/lib/lock_diff/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: af0bcd9242683ea9865b9a683ca202573d9aa487
|
4
|
+
data.tar.gz: a733cd081d65ad74fe452589c3632f69c0e6c3de
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5067df24ba8bbcba4704bda9087219c837e2129dd429884fe1bd21569611f47968553b48808195571869d3e3c8b59f7c424bede48ce605730929d2314634cb21
|
7
|
+
data.tar.gz: ebfe14362656f428129637dd292454ef01230f3b209b0b5df84764e5236cc9fb5f3e39ea819eb16f7b0b8815817fb9411a54115d0af010ab1dbeb7d4d7997888
|
data/README.md
CHANGED
@@ -16,8 +16,8 @@ It also optionally posts the diff as a comment to the pull request responsible f
|
|
16
16
|
|
17
17
|
Like this.
|
18
18
|
|
19
|
-
> https://github.com/vividmuimui/
|
20
|
-
> ![image](https://user-images.githubusercontent.com/1803598/
|
19
|
+
> https://github.com/vividmuimui/lock_diff_sample/pull/9#issuecomment-315140796
|
20
|
+
> ![image](https://user-images.githubusercontent.com/1803598/28178302-eeef61f4-6838-11e7-8c41-bd13195bef6d.png)
|
21
21
|
|
22
22
|
## Strategies
|
23
23
|
|
@@ -58,17 +58,17 @@ Optional flags
|
|
58
58
|
--version Show version
|
59
59
|
```
|
60
60
|
|
61
|
-
For example, to comment on https://github.com/vividmuimui/
|
61
|
+
For example, to comment on https://github.com/vividmuimui/lock_diff_sample/pull/9#issuecomment-315140796, run this command:
|
62
62
|
|
63
63
|
```sh
|
64
|
-
$ lock_diff -r "vividmuimui/
|
64
|
+
$ lock_diff -r "vividmuimui/lock_diff_sample" -n 9 --post-comment=false
|
65
65
|
```
|
66
66
|
|
67
67
|
### Ruby
|
68
68
|
|
69
69
|
```ruby
|
70
70
|
require 'lock_diff'
|
71
|
-
LockDiff.run(repository: "vividmuimui/
|
71
|
+
LockDiff.run(repository: "vividmuimui/lock_diff_sample", number: 9, post_comment: false)
|
72
72
|
```
|
73
73
|
|
74
74
|
### For Tachikoma pull request
|
@@ -91,14 +91,14 @@ Optional flags
|
|
91
91
|
```
|
92
92
|
|
93
93
|
```sh
|
94
|
-
$ lock_diff_for_tachikoma -r "vividmuimui/
|
94
|
+
$ lock_diff_for_tachikoma -r "vividmuimui/lock_diff_sample" --post-comment=false
|
95
95
|
```
|
96
96
|
|
97
97
|
#### Ruby
|
98
98
|
|
99
99
|
```ruby
|
100
100
|
require 'lock_diff'
|
101
|
-
LockDiff.lock_diff_for_tachikoma(repository: "vividmuimui/
|
101
|
+
LockDiff.lock_diff_for_tachikoma(repository: "vividmuimui/lock_diff_sample", post_comment: false)
|
102
102
|
```
|
103
103
|
|
104
104
|
## Development
|
data/lib/lock_diff/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lock_diff
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- vividmuimui
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-07-
|
11
|
+
date: 2017-07-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: octokit
|