lock_diff 0.3.1.pre → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9d8b6704de630dacd2bd01c4d023317128fd76e9
4
- data.tar.gz: 331ec052919448fa66da00651626b9bb62dba4da
3
+ metadata.gz: c37455f261121b68b1d737f6dc00dd1b46208276
4
+ data.tar.gz: 1ec70c7ff8091a5cb5b0c371ab7d2273dbf50be3
5
5
  SHA512:
6
- metadata.gz: fc56fb0e1fef02a10e117e3f5de60f3ccd5c4a99422ff0f0ac4c565088c029ede052308e6ca86166ecd3400b97702c0a1b3b904f29dec8b2b405273e216ca0c6
7
- data.tar.gz: ea922d48e0c96ccc2a261b357ccbb3aa0c7de70be011692a3ad5b5d0778b6d98599a04cf4df5d58d084d709e676fc410f4412fec69a4f145f5a7153dd8ee3a87
6
+ metadata.gz: 4e8dd2af03b277a0b02a88a06590d49a53a7efcd0cd2b016ded7cd6278d6aad5be66a3b152bb25ce8d979a2fe5252da6563d4886a9884c8a7b4f43cdcebc1de0
7
+ data.tar.gz: 4e8a91a2f960c47dadfcb9e91636326da272d0f796bcaa251fb100f1795154b72c0b60c8dde651ac7b6baa658d7b67135978a3fae3bb341924828252f3037118
@@ -22,7 +22,7 @@ module LockDiff
22
22
  url = "https://github.com/#{repository}"
23
23
  end
24
24
 
25
- if url.match?(REGEXP)
25
+ if url.match(REGEXP)
26
26
  _, owner, repo = url.match(REGEXP).to_a
27
27
  url = "https://github.com/#{owner}/#{repo}"
28
28
  HTTPClient.get(url).ok? ? url : nil
@@ -29,7 +29,7 @@ module LockDiff
29
29
  opt.separator("\nOptional flags")
30
30
  opt.on('--post-comment=true or false', 'Print result to stdout when false. (default is false)') { |v| options[:post_comment] = v }
31
31
  opt.on("-v", "--verbose", "Run verbosely") { LockDiff.logger.level = :info }
32
- opt.on("--move-verbose", "Run move verbosely") { LockDiff.logger.level = :debug }
32
+ opt.on("--more-verbose", "Run move verbosely") { LockDiff.logger.level = :debug }
33
33
  opt.on_tail("--version", "Show version") do
34
34
  $stdout.puts LockDiff::VERSION
35
35
  exit
@@ -1,3 +1,3 @@
1
1
  module LockDiff
2
- VERSION = "0.3.1.pre"
2
+ VERSION = "0.3.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lock_diff
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1.pre
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - vividmuimui
@@ -168,9 +168,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
168
168
  version: 2.3.0
169
169
  required_rubygems_version: !ruby/object:Gem::Requirement
170
170
  requirements:
171
- - - ">"
171
+ - - ">="
172
172
  - !ruby/object:Gem::Version
173
- version: 1.3.1
173
+ version: '0'
174
174
  requirements: []
175
175
  rubyforge_project:
176
176
  rubygems_version: 2.6.11