gemdiff 0.6.6 → 0.6.7

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: 787b7db5d33503357d64c6b78073fb118ff7fe4b
4
- data.tar.gz: 59443dc79126b937f258ed67d4679ae5e26e2eff
3
+ metadata.gz: 7c2a0b021bfd8bbc7aaa95fdd064c19dfc393fe9
4
+ data.tar.gz: 0181d751e58d427638a988e980b321f98e564fbb
5
5
  SHA512:
6
- metadata.gz: 45d4143f50286989cf7fe2b8dafcc4391fa12ae455c541e223545f590706ebcd3de76b26a653a3b3eaee75eacfb37c6c63c0503780526e89386bd13979b5de0b
7
- data.tar.gz: aadbb1b076751d398ff25a54f39441e94020ab508e3d388883593d99fd4cd19bddf86666ecb423e96522a8151d4a7803a8751ce98ae7246a81c6e8ef63025599
6
+ metadata.gz: aa917f637a17488f7509fda11fc65608f9b219bc8835d6411cbb0a37c2c3c01408bcba2006fefa7016deab6af3463dd97ee97337ba8c4a51f57352be4b38130d
7
+ data.tar.gz: 7d546068e988f0b0793ce1d55b00b82d444f01294414aae1a0a015eac3d71e26f34fcbe9d5566f2241f2c4cd96b3868a63c17b9c8640550ae26f97a00b19e82b
data/.travis.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.1.1
3
+ - 2.1.2
4
4
  - 2.0.0
5
5
  - 1.9.3
data/README.md CHANGED
@@ -8,13 +8,13 @@ associated with ruby gems. It makes it easy to compare source code differences
8
8
  between the current version of a gem in your bundle and the latest version of the gem.
9
9
  `gemdiff` helps connect gem version management (rubygems + bundler) with source code (github).
10
10
 
11
- #### Why?
11
+ ### Why?
12
12
 
13
13
  You want to view the source code differences between versions of gems when your dependencies are updated.
14
14
  `gemdiff` does the source repository lookup, opens common GitHub pages, and simplifies your git workflow for a
15
15
  bundled project (see `outdated`, `update`).
16
16
 
17
- #### How?
17
+ ### How?
18
18
 
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
@@ -29,7 +29,7 @@ gem install gemdiff
29
29
 
30
30
  ## Commands
31
31
 
32
- ### `outdated`
32
+ ### `gemdiff outdated`
33
33
 
34
34
  Runs `bundle outdated --strict` in the current directory.
35
35
  For each outdated gem, you can open the compare view for that gem, skip it, or exit all prompts.
@@ -57,7 +57,7 @@ webmock: 1.17.4 > 1.17.3
57
57
  Open? (y to open, x to exit, else skip)
58
58
  ```
59
59
 
60
- ### `compare`
60
+ ### `gemdiff compare [gem] [version] [version]`
61
61
 
62
62
  Open a compare view for an individual outdated gem in your bundle:
63
63
 
@@ -80,7 +80,7 @@ You can compare a version with a branch name:
80
80
  $ gemdiff compare arel 4.0.2 master
81
81
  ```
82
82
 
83
- ### `find`
83
+ ### `gemdiff find [gem]`
84
84
 
85
85
  Lookup the repository URL using the gemspec. If a GitHub URL is not found, query the GitHub search API.
86
86
 
@@ -89,7 +89,7 @@ $ gemdiff find haml
89
89
  http://github.com/haml/haml
90
90
  ```
91
91
 
92
- ### `open`
92
+ ### `gemdiff open [gem]`
93
93
 
94
94
  Open the repository URL:
95
95
 
@@ -97,7 +97,7 @@ Open the repository URL:
97
97
  $ gemdiff open haml
98
98
  ```
99
99
 
100
- ### `releases`
100
+ ### `gemdiff releases [gem]`
101
101
 
102
102
  Open the repository's release history page:
103
103
 
@@ -105,7 +105,7 @@ Open the repository's release history page:
105
105
  $ gemdiff releases haml
106
106
  ```
107
107
 
108
- ### `master`
108
+ ### `gemdiff master [gem]`
109
109
 
110
110
  Open the repository's master branch commit history page:
111
111
 
@@ -113,7 +113,7 @@ Open the repository's master branch commit history page:
113
113
  $ gemdiff master haml
114
114
  ```
115
115
 
116
- ### `update`
116
+ ### `gemdiff update [gem]`
117
117
 
118
118
  Use `update` to update a gem in your bundle and commit the change to your git repository.
119
119
  You will be shown a preview of the `git diff` and you may choose to commit or reset the change.
@@ -147,19 +147,21 @@ Date: Mon Mar 3 16:38:32 2014 -0700
147
147
  diff --git a/Gemfile.lock
148
148
  ```
149
149
 
150
- ### `help`
150
+ ### `gemdiff help`
151
151
 
152
- You can use abbreviations for any of the above commands. For example, this is equivalent to `gemdiff find haml`:
152
+ To get help on the command line:
153
153
 
154
154
  ```sh
155
- $ gemdiff f haml
156
- http://github.com/haml/haml
155
+ $ gemdiff help
157
156
  ```
158
157
 
159
- To get help on the command line:
158
+ ### Shortcuts
159
+
160
+ You can use abbreviations for any of the above commands. For example, this is equivalent to `gemdiff find haml`:
160
161
 
161
162
  ```sh
162
- $ gemdiff help
163
+ $ gemdiff f haml
164
+ http://github.com/haml/haml
163
165
  ```
164
166
 
165
167
  ### What if it didn't work?
@@ -172,8 +174,8 @@ is not helpful. Some gems' source code is not on GitHub. `gemdiff` could support
172
174
  2. The GitHub repository must have tagged releases to show compare views. If you find gems that do not tag
173
175
  releases, submit an issue to the gem maintainer to tag their releases.
174
176
 
175
- 3. The versions must be tagged using the standard name format of v1.2.3. If you find gems that follow
176
- a non-standard format (such as 1.2.3), please open an issue or submit a pull request.
177
+ 3. The versions must be tagged using the standard name format of `v1.2.3`. If you find gems that follow
178
+ a non-standard format (such as `1.2.3`), please open an issue or submit a pull request.
177
179
  See [`lib/gemdiff/outdated_gem.rb`](https://github.com/teeparham/gemdiff/blob/master/lib/gemdiff/outdated_gem.rb).
178
180
 
179
181
  4. Encourage gem maintainers to either enter the GitHub repository URL in the `homepage` field of their gemspec,
@@ -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 safe_yaml sass]
8
+ LIST_NO_V = %w[atomic babosa cancan compass haml rvm-capistrano safe_yaml sass]
9
9
 
10
10
  attr_accessor :name, :old_version, :new_version
11
11
 
@@ -15,6 +15,7 @@ module Gemdiff
15
15
  activemodel: 'rails/rails',
16
16
  activerecord: 'rails/rails',
17
17
  activesupport: 'rails/rails',
18
+ color: 'halostatue/color',
18
19
  delayed_job: 'collectiveidea/delayed_job',
19
20
  gosu: 'jlnr/gosu',
20
21
  nokogiri: 'sparklemotion/nokogiri',
@@ -55,7 +56,7 @@ module Gemdiff
55
56
  def github_repo(full_name)
56
57
  "http://github.com/#{full_name}"
57
58
  end
58
-
59
+
59
60
  def octokit_client
60
61
  Octokit::Client.new
61
62
  end
@@ -1,3 +1,3 @@
1
1
  module Gemdiff
2
- VERSION = '0.6.6'
2
+ VERSION = '0.6.7'
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.6
4
+ version: 0.6.7
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-05-07 00:00:00.000000000 Z
11
+ date: 2014-05-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: octokit