gemdiff 2.0.1 → 2.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +7 -7
- data/lib/gemdiff/outdated_gem.rb +1 -0
- data/lib/gemdiff/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 96ab8e39041d373be6381b1438f1684c8e00f95afbd4302bf78cb1f493349f39
|
|
4
|
+
data.tar.gz: 4a1590181d02f5d6fc8bbe165281ce6ecb04aa78f70abd167c2b792e095ca9ac
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 63712c6b4308873c124d9482adf7a1e310b81e18b19bea6c800b1a0fd88a16c57326b8256865ca1437c62fd669eb4dd2ad29d9c8ed7c6a0cdf63d1175cad73fb
|
|
7
|
+
data.tar.gz: fbd67a91c582236e5504e9dc083538708aec75fcaca4f09b9545e4e907a84ccb1fc2461caea56499b1f5be4b8790250f1aaad17243fa5fe82d0488f777caff34
|
data/README.md
CHANGED
|
@@ -19,7 +19,8 @@ and simplifies your git workflow for a bundled project.
|
|
|
19
19
|
`gemdiff` finds a repository by inspecting the local or remote gemspec, or searching GitHub if needed.
|
|
20
20
|
It uses bundler to list your outdated gems. For each outdated gem, it determines your currently used version and
|
|
21
21
|
the version you can update to, and builds a compare view URL with the old and new version tags.
|
|
22
|
-
|
|
22
|
+
|
|
23
|
+
Run `gemdiff update [gem]` for a simple `bundle update [gem]` and commit workflow.
|
|
23
24
|
|
|
24
25
|
## Install
|
|
25
26
|
|
|
@@ -29,12 +30,12 @@ gem install gemdiff
|
|
|
29
30
|
|
|
30
31
|
## Commands
|
|
31
32
|
|
|
32
|
-
### `gemdiff list`
|
|
33
|
+
### `gemdiff [list]`
|
|
33
34
|
|
|
34
|
-
Output outdated gems in your bundle with their compare URLs to stdout.
|
|
35
|
+
Output outdated gems in your bundle with their compare URLs to stdout. `list` is the default command.
|
|
35
36
|
|
|
36
37
|
```sh
|
|
37
|
-
$ gemdiff
|
|
38
|
+
$ gemdiff
|
|
38
39
|
Checking for outdated gems in your bundle...
|
|
39
40
|
Fetching gem metadata from https://rubygems.org/.......
|
|
40
41
|
Fetching version metadata from https://rubygems.org/..
|
|
@@ -55,8 +56,6 @@ sqlite3: 1.3.12 > 1.3.11
|
|
|
55
56
|
https://github.com/sparklemotion/sqlite3-ruby/compare/v1.3.11...v1.3.12
|
|
56
57
|
```
|
|
57
58
|
|
|
58
|
-
`list` is the default task, so `gemdiff` with no arguments is the same as `gemdiff list`.
|
|
59
|
-
|
|
60
59
|
### `gemdiff each`
|
|
61
60
|
|
|
62
61
|
Runs `bundle outdated --strict` in the current directory. For each outdated gem,
|
|
@@ -86,7 +85,8 @@ Open? (y to open, x to exit, A to open all, s to show all to stdout, else skip)
|
|
|
86
85
|
|
|
87
86
|
### `gemdiff update [gem]`
|
|
88
87
|
|
|
89
|
-
|
|
88
|
+
Update a gem in your bundle and commit the change with git.
|
|
89
|
+
A compare URL showing the difference between the versions will be part of the commit message.
|
|
90
90
|
You will be shown a preview of the `git diff` and you may choose to commit or reset the change.
|
|
91
91
|
|
|
92
92
|
```sh
|
data/lib/gemdiff/outdated_gem.rb
CHANGED
data/lib/gemdiff/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: gemdiff
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0.
|
|
4
|
+
version: 2.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tee Parham
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-03-
|
|
11
|
+
date: 2018-03-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: octokit
|