gemdiff 0.3.0 → 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: d61bd4da97f416063f9da3047694f0e36c50d761
4
- data.tar.gz: 65c1dce9f2ce6992b7d919ec82e99e63b09efb08
3
+ metadata.gz: f8d9b69ba8b19e234495e6807c0b6617046fc6c1
4
+ data.tar.gz: 7afe601707ea661c706106b860572a7b5dfc4447
5
5
  SHA512:
6
- metadata.gz: b70e56101943b833d687a0cf6d4c6fd4823c8c12cab64fd6b3f07374a0ea378636172a9addf2a72a09bb934fbe6add2e3fe94c83d1bb8657fadb2583f854d94a
7
- data.tar.gz: f4b170be89276eb6b0cbe452c126fa06bdd316faa717bd2573f53a12796e9b2b491a064a1dce5cc8a929e430f79674b731a8f36e85a67be89e07ed2792e47e0b
6
+ metadata.gz: ad60a0e67b43aa9f4d34f0a0eef558e92709072061bfc541b332fb3dc62ba133d0ba7e36e04934f9eb1d717377376a0ccdfe5c7ecb5ef238d856ab9e45609106
7
+ data.tar.gz: 1bfe630c80b0b209f5109226ac0c06d1d4d1badc26f963f8d96547664996dc68c21d694aa9384d4c37322efad4be16b2d2a17dadd61a0d0a51017ec49c2d2a54
data/README.md CHANGED
@@ -81,6 +81,12 @@ Open the repository's master branch commit history page:
81
81
  $ gemdiff commits arel
82
82
  ```
83
83
 
84
+ ### `help`
85
+
86
+ ```sh
87
+ $ gemdiff help
88
+ ```
89
+
84
90
  ## It didn't work
85
91
 
86
92
  `gemdiff` operates on a few assumptions:
data/lib/gemdiff/cli.rb CHANGED
@@ -4,7 +4,7 @@ module Gemdiff
4
4
  class CLI < Thor
5
5
  default_task :outdated
6
6
 
7
- desc 'find gem_name', 'Find the github repository URL for a gem'
7
+ desc 'find <gem>', 'Find the github repository URL for a gem'
8
8
  def find(gem_name)
9
9
  gem = OutdatedGem.new(gem_name)
10
10
  if gem.repo?
@@ -15,25 +15,25 @@ module Gemdiff
15
15
  gem
16
16
  end
17
17
 
18
- desc 'open gem_name', 'Open the github repository for a gem'
18
+ desc 'open <gem>', 'Open the github repository for a gem'
19
19
  def open(gem_name)
20
20
  gem = find(gem_name)
21
21
  gem.open
22
22
  end
23
23
 
24
- desc 'releases gem_name', 'Open the github releases page for a gem'
24
+ desc 'releases <gem>', 'Open the github releases page for a gem'
25
25
  def releases(gem_name)
26
26
  gem = find(gem_name)
27
27
  gem.releases
28
28
  end
29
29
 
30
- desc 'commits gem_name', 'Open the github master branch commits page for a gem'
30
+ desc 'commits <gem>', 'Open the github master branch commits page for a gem'
31
31
  def commits(gem_name)
32
32
  gem = find(gem_name)
33
33
  gem.commits
34
34
  end
35
35
 
36
- desc 'compare gem_name', <<DESC
36
+ desc 'compare <gem> [<versions>...]', <<DESC
37
37
  Compare gem versions. Opens the compare view between the specified new and old versions.
38
38
  If versions are not specified, your bundle is inspected and the latest version of the
39
39
  gem is compared with the current version in your bundle.
@@ -1,3 +1,3 @@
1
1
  module Gemdiff
2
- VERSION = '0.3.0'
2
+ VERSION = '0.3.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gemdiff
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tee Parham