gemdiff 0.6.2 → 0.6.3

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: 6cc441e784b08813c7444c7b4e32c737137ce244
4
- data.tar.gz: 526f41710d35c8bdae9105ab331c3cd5c04bcd82
3
+ metadata.gz: dff209861d6c4aeafbd19493b1ddbe55c4736cb3
4
+ data.tar.gz: 5158845be8606c890ecb28584b84717ca9ce6376
5
5
  SHA512:
6
- metadata.gz: 4854a7086c9bbba4f8994833a5ee6f3566cf7efc085052bfce248d2ac7a692ab20af5d3e550f2fc87705cbb98bcc49a5b6c0c0b61c5790a232b8e98e75cbb4ad
7
- data.tar.gz: 2a23ddc2bc01923ef2e95011bd8bc319415678fa838b97e4f299a40a295bd13a06c540c885edad1660b79cb18464fd9f220b7dd32ace8af4d948652e37258976
6
+ metadata.gz: 5fa88a72ce27d34ea3a832c5d0a343fa6f9fc68db42ba8b1c59590c32a2c26ee21fcae9a1fc0e2a40d08a9602c498fe795b359a16d64c44742d2d26955b50cd3
7
+ data.tar.gz: a15e03a0acfa93383b4969d2c5995769629f53950e0370c564f465b375737d26a9f01565bb1ed91f0727f310e965b59ff7923414c539da8deadfe7bd253fa5a0
@@ -1,5 +1,5 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.1
3
+ - 2.1.1
4
4
  - 2.0.0
5
5
  - 1.9.3
data/README.md CHANGED
@@ -11,12 +11,12 @@ between the current version of a gem in your bundle and the latest version of th
11
11
  #### Why?
12
12
 
13
13
  You want to view the source code differences between versions of gems when your dependencies are updated.
14
- `gemdiff` hides the complexity of the source repository lookup, provides commands to open common github
15
- pages, and provides efficient workflow commands that work with a bundled project (see `outdated`, `update`).
14
+ `gemdiff` does the source repository lookup, opens common GitHub pages, and simplifies your git workflow for a
15
+ bundled project (see `outdated`, `update`).
16
16
 
17
17
  #### How?
18
18
 
19
- `gemdiff` finds a repository by inspecting the local (or remote) gemspec, then searching github if needed.
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 also provides `update` for a simple `bundle update <gem>` and commit workflow.
@@ -32,7 +32,7 @@ gem install gemdiff
32
32
  ### `outdated`
33
33
 
34
34
  Runs `bundle outdated --strict` in the current directory.
35
- For each outdated gem, it prompts you if you would like to open the compare view for that gem.
35
+ For each outdated gem, you can open the compare view for that gem, skip it, or exit all prompts.
36
36
  Enter `y` to review.
37
37
 
38
38
  `outdated` is the default task, so `gemdiff` with no arguments is the same as `gemdiff outdated`.
@@ -65,8 +65,8 @@ Open a compare view for an individual outdated gem in your bundle:
65
65
  $ gemdiff compare haml
66
66
  ```
67
67
 
68
- You can bypass bundler and query a gem by including the old and new version numbers. This is faster since
69
- the `bundle` command to check the versions is skipped.
68
+ You can bypass bundler and query a gem by including the old and new version numbers. This is faster since it bypasses
69
+ the `bundle outdated --strict` command used to get the versions.
70
70
 
71
71
  For example, open the GitHub compare view in browser for difference between `haml` versions 4.0.4 and 4.0.5:
72
72
 
@@ -115,9 +115,8 @@ $ gemdiff master haml
115
115
 
116
116
  ### `update`
117
117
 
118
- `gemdiff` can simplify your git workflow around updating gems. Use `update` to update a gem in your
119
- bundle and commit the change to your repository. You will be shown a preview of the `git diff` and
120
- you may choose to commit or reset the change.
118
+ Use `update` to update a gem in your bundle and commit the change to your git repository.
119
+ You will be shown a preview of the `git diff` and you may choose to commit or reset the change.
121
120
 
122
121
  ```sh
123
122
  $ gemdiff update haml
@@ -163,14 +162,15 @@ To get help on the command line:
163
162
  $ gemdiff help
164
163
  ```
165
164
 
166
- ### It didn't work
165
+ ### What if it didn't work?
167
166
 
168
- `gemdiff` operates on a few assumptions:
167
+ `gemdiff` assumes a few things:
169
168
 
170
169
  1. The gem must have a repository on GitHub. If not, `gemdiff` will find nothing or a similar repository, which
171
- is not helpful.
170
+ is not helpful. Some gems' source code is not on GitHub. `gemdiff` could support other source hosts. Submit a pull request!
172
171
 
173
- 2. The GitHub repository must have tagged releases to show compare views.
172
+ 2. The GitHub repository must have tagged releases to show compare views. If you find gems that do not tag
173
+ releases, submit an issue to the gem maintainer to tag their releases.
174
174
 
175
175
  3. The versions must be tagged using the standard name format of v1.2.3. If you find gems that follow
176
176
  a non-standard format (such as 1.2.3), please open an issue or submit a pull request.
@@ -180,5 +180,3 @@ See [`lib/gemdiff/outdated_gem.rb`](https://github.com/teeparham/gemdiff/blob/ma
180
180
  or anywhere in the description. `gemdiff` is much faster if so, and if not, it guesses the best match using
181
181
  the GitHub search API. If you find exceptions, open an issue or submit a pull request.
182
182
  See [`lib/gemdiff/repo_finder.rb`](https://github.com/teeparham/gemdiff/blob/master/lib/gemdiff/repo_finder.rb).
183
-
184
- 5. Some gems' source code is not on GitHub (gasp!). `gemdiff` could support other source hosts. Submit a pull request!
@@ -5,7 +5,7 @@ module Gemdiff
5
5
 
6
6
  # gems that tag releases with tag names like 1.2.3
7
7
  # keep it alphabetical
8
- LIST_NO_V = %w[atomic babosa cancan compass haml sass thread_safe]
8
+ LIST_NO_V = %w[atomic babosa cancan compass haml safe_yaml sass]
9
9
 
10
10
  attr_accessor :name, :old_version, :new_version
11
11
 
@@ -9,17 +9,18 @@ module Gemdiff
9
9
  # some repos are not mostly ruby so the github search doesn't find them
10
10
  REPO_EXCEPTIONS =
11
11
  {
12
- actionmailer: 'rails/rails',
13
- actionpack: 'rails/rails',
14
- actionview: 'rails/rails',
15
- activemodel: 'rails/rails',
16
- activerecord: 'rails/rails',
17
- activesupport: 'rails/rails',
18
- delayed_job: 'collectiveidea/delayed_job',
19
- nokogiri: 'sparklemotion/nokogiri',
20
- passenger: 'phusion/passenger',
21
- railties: 'rails/rails',
22
- resque: 'resque/resque',
12
+ actionmailer: 'rails/rails',
13
+ actionpack: 'rails/rails',
14
+ actionview: 'rails/rails',
15
+ activemodel: 'rails/rails',
16
+ activerecord: 'rails/rails',
17
+ activesupport: 'rails/rails',
18
+ delayed_job: 'collectiveidea/delayed_job',
19
+ nokogiri: 'sparklemotion/nokogiri',
20
+ passenger: 'phusion/passenger',
21
+ railties: 'rails/rails',
22
+ resque: 'resque/resque',
23
+ :"resque-multi-job-forks" => 'stulentsev/resque-multi-job-forks',
23
24
  }
24
25
 
25
26
  class << self
@@ -1,3 +1,3 @@
1
1
  module Gemdiff
2
- VERSION = '0.6.2'
2
+ VERSION = '0.6.3'
3
3
  end
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.6.2
4
+ version: 0.6.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tee Parham
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-24 00:00:00.000000000 Z
11
+ date: 2014-04-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: octokit