gemdiff 0.7.8 → 0.7.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +10 -10
- data/lib/gemdiff/outdated_gem.rb +1 -0
- data/lib/gemdiff/repo_finder.rb +1 -0
- data/lib/gemdiff/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: ebf0fb9efdc58d2a1db048b41d78b5464c5c5ea3
|
4
|
+
data.tar.gz: 06d6e9a541fd5f2a91f6987ef5e84243fc7f9a07
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 92e8322b0ad3fdc1f4d36aa1f4884a59d8ea7d87bc5e23753f6f029fc5da704c38218b37b522cc310e46e128303e85c1c7f2c6d956083f1fff71813a8c4579e0
|
7
|
+
data.tar.gz: 555503640e0ab2e654332460136ecb96fd177210ce5cbf2a8cf953770df592188d33957ba2dd1471d59a8e7fab27159e91f812bc805f1cdb2e2557328f475952
|
data/README.md
CHANGED
@@ -3,20 +3,20 @@
|
|
3
3
|
[![Gem Version](https://badge.fury.io/rb/gemdiff.svg)](http://rubygems.org/gems/gemdiff)
|
4
4
|
[![Build Status](https://travis-ci.org/teeparham/gemdiff.svg?branch=master)](https://travis-ci.org/teeparham/gemdiff)
|
5
5
|
|
6
|
-
`gemdiff` is a command-line
|
7
|
-
|
8
|
-
|
9
|
-
`gemdiff` helps connect gem version management (rubygems + bundler) with source code (
|
6
|
+
`gemdiff` is a command-line tool to find source code for ruby gems.
|
7
|
+
You can compare source code differences between the current version of a gem in your bundle and
|
8
|
+
the latest version of the gem.
|
9
|
+
`gemdiff` helps connect gem version management (rubygems + bundler) with source code (GitHub).
|
10
10
|
|
11
11
|
### Why?
|
12
12
|
|
13
|
-
You want to view
|
13
|
+
You want to view differences between versions of gems before updating.
|
14
14
|
`gemdiff` does the source repository lookup, opens a compare view of commits on GitHub,
|
15
15
|
and simplifies your git workflow for a bundled project.
|
16
16
|
|
17
17
|
### How?
|
18
18
|
|
19
|
-
`gemdiff` finds a repository by inspecting the local or remote gemspec, or searching
|
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
|
It provides `update` for a simple `bundle update <gem>` and commit workflow.
|
@@ -62,22 +62,22 @@ Open? (y to open, x to exit, else skip)
|
|
62
62
|
Open a compare view for an individual outdated gem in your bundle:
|
63
63
|
|
64
64
|
```sh
|
65
|
-
$ gemdiff compare
|
65
|
+
$ gemdiff compare pundit
|
66
66
|
```
|
67
67
|
|
68
68
|
You can bypass bundler and query a gem by including the old and new version numbers. This is faster since it bypasses
|
69
69
|
the `bundle outdated --strict` command used to get the versions.
|
70
70
|
|
71
|
-
For example, open the GitHub compare view in browser for difference between `
|
71
|
+
For example, open the GitHub compare view in browser for difference between `pundit` versions 0.3.0 and 1.0.0:
|
72
72
|
|
73
73
|
```sh
|
74
|
-
$ gemdiff compare
|
74
|
+
$ gemdiff compare pundit 1.0.0 0.3.0
|
75
75
|
```
|
76
76
|
|
77
77
|
You can compare a version with a branch name:
|
78
78
|
|
79
79
|
```sh
|
80
|
-
$ gemdiff compare arel
|
80
|
+
$ gemdiff compare arel 6.0.0 master
|
81
81
|
```
|
82
82
|
|
83
83
|
### `gemdiff find [gem]`
|
data/lib/gemdiff/outdated_gem.rb
CHANGED
data/lib/gemdiff/repo_finder.rb
CHANGED
@@ -21,6 +21,7 @@ module Gemdiff
|
|
21
21
|
:"color-schemer" => 'Team-Sass/color-schemer',
|
22
22
|
delayed_job: 'collectiveidea/delayed_job',
|
23
23
|
execjs: 'rails/execjs',
|
24
|
+
faraday_middleware: 'lostisland/faraday_middleware',
|
24
25
|
ffi: 'ffi/ffi',
|
25
26
|
gosu: 'jlnr/gosu',
|
26
27
|
:"guard-livereload" => 'guard/guard-livereload',
|
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: 0.7.
|
4
|
+
version: 0.7.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tee Parham
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-05-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: octokit
|