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 +4 -4
- data/README.md +6 -0
- data/lib/gemdiff/cli.rb +5 -5
- data/lib/gemdiff/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f8d9b69ba8b19e234495e6807c0b6617046fc6c1
|
4
|
+
data.tar.gz: 7afe601707ea661c706106b860572a7b5dfc4447
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ad60a0e67b43aa9f4d34f0a0eef558e92709072061bfc541b332fb3dc62ba133d0ba7e36e04934f9eb1d717377376a0ccdfe5c7ecb5ef238d856ab9e45609106
|
7
|
+
data.tar.gz: 1bfe630c80b0b209f5109226ac0c06d1d4d1badc26f963f8d96547664996dc68c21d694aa9384d4c37322efad4be16b2d2a17dadd61a0d0a51017ec49c2d2a54
|
data/README.md
CHANGED
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
|
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
|
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
|
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
|
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
|
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.
|
data/lib/gemdiff/version.rb
CHANGED