gemdiff 1.2.5 → 1.2.6

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: 908900e3f8987e237cd72ca4d2431648a8dcbe0c
4
- data.tar.gz: 438023578ac1374fbf16d1adeaa842b54618608a
3
+ metadata.gz: e1d3b2f1a6f108b5d97ecbb3c07a9000adeb1661
4
+ data.tar.gz: 00b557c90fbf62f343e8d87c319f3a83915515fd
5
5
  SHA512:
6
- metadata.gz: a94de3ef6f4febb16b1c7e49ed2368a9e9cd5988ee57a6d5f369152218955c17bfc7bec36dc3c8075a62c7806248677a59d9dbb5a14793e757cab25064493291
7
- data.tar.gz: e2a673c6ad3ec29f26ab2b9596a1fd9dd8fe2ae8d22ff155ab1a5fab7506ba52749d961018b8432166f793695e0c6a21ec5549d91f9b6ff78990802801d00437
6
+ metadata.gz: cf8b81a70806aa119ffc5a7027a1237452d16ccc970df401f1f2e96b006efef041875063f39db3e4cf0dfe6c115f63a1966d51c9be1b44b3e31a39dcbc6585b1
7
+ data.tar.gz: fb14162ef43d150d5fa8e2fb65a71094a63ad93615cfb19b4061cb8ae3ac7fe708a3ead9f3d429811a31b9f73395436987e016b17f20c9c86907ed3021513d6f
data/README.md CHANGED
@@ -29,6 +29,98 @@ gem install gemdiff
29
29
 
30
30
  ## Commands
31
31
 
32
+ ### `gemdiff list`
33
+
34
+ Output outdated gems in your bundle with their compare URLs to stdout.
35
+
36
+ ```sh
37
+ $ gemdiff list
38
+ Checking for outdated gems in your bundle...
39
+ Fetching gem metadata from https://rubygems.org/.......
40
+ Fetching version metadata from https://rubygems.org/..
41
+ Resolving dependencies...
42
+
43
+ Outdated gems included in the bundle:
44
+ * mocha (newest 1.2.1, installed 1.1.0, requested ~> 1.0) in group "development"
45
+ * rake (newest 11.3.0, installed 11.1.2, requested ~> 11.0) in group "development"
46
+ * sqlite3 (newest 1.3.12, installed 1.3.11, requested ~> 1.3) in group "development"
47
+
48
+ mocha: 1.2.1 > 1.1.0
49
+ https://github.com/freerange/mocha/compare/v1.1.0...v1.2.1
50
+
51
+ rake: 11.3.0 > 11.1.2
52
+ https://github.com/ruby/rake/compare/v11.1.2...v11.3.0
53
+
54
+ sqlite3: 1.3.12 > 1.3.11
55
+ https://github.com/sparklemotion/sqlite3-ruby/compare/v1.3.11...v1.3.12
56
+ ```
57
+
58
+ ### `gemdiff outdated`
59
+
60
+ Runs `bundle outdated --strict` in the current directory. For each outdated gem,
61
+ you can open the compare view for that gem, skip it, or exit.
62
+ Enter `y` to review. Enter `A` to open all compare views (beware!).
63
+ Enter `s` to list all the compare URLs to stdout (same as the `list` command).
64
+
65
+ `outdated` is the default task, so `gemdiff` with no arguments is the same as `gemdiff outdated`.
66
+
67
+ ```sh
68
+ $ cd /your/ruby/project/using/bundler
69
+ $ gemdiff
70
+ Checking for outdated gems in your bundle...
71
+ Fetching gem metadata from https://rubygems.org/.......
72
+ Fetching version metadata from https://rubygems.org/..
73
+ Resolving dependencies...
74
+
75
+ Outdated gems included in the bundle:
76
+ * aws-sdk (1.35.0 > 1.34.1)
77
+ * sprockets (2.11.0 > 2.10.1)
78
+ * webmock (1.17.4 > 1.17.3)
79
+ aws-sdk: 1.35.0 > 1.34.1
80
+ Open? (y to open, x to exit, A to open all, s to show all to stdout, else skip)
81
+ sprockets: 2.11.0 > 2.10.1
82
+ Open? (y to open, x to exit, A to open all, s to show all to stdout, else skip) y
83
+ webmock: 1.17.4 > 1.17.3
84
+ Open? (y to open, x to exit, A to open all, s to show all to stdout, else skip)
85
+ ```
86
+
87
+ ### `gemdiff update [gem]`
88
+
89
+ Use `update` to update a gem in your bundle and commit the change with git.
90
+ You will be shown a preview of the `git diff` and you may choose to commit or reset the change.
91
+
92
+ ```sh
93
+ $ gemdiff update nokogiri
94
+
95
+ Updating nokogiri...
96
+ diff --git a/Gemfile.lock b/Gemfile.lock
97
+ index b074472..e0554f2 100644
98
+ --- a/Gemfile.lock
99
+ +++ b/Gemfile.lock
100
+ @@ -102,7 +102,7 @@ GEM
101
+ mini_portile2 (2.1.0)
102
+ minitest (5.10.1)
103
+ nio4r (2.0.0)
104
+ - nokogiri (1.7.1)
105
+ + nokogiri (1.7.2)
106
+ mini_portile2 (~> 2.1.0)
107
+ orm_adapter (0.5.0)
108
+ parser (2.4.0.0)
109
+
110
+ Commit? (c to commit, r to reset, else do nothing) c
111
+
112
+ commit 1131db6f57ccad8ed3dab6759c6b1306f98a165c
113
+ Author: Tee Parham
114
+ Date: Fri May 12 14:04:26 2017 -0600
115
+
116
+ Update nokogiri to 1.7.2
117
+
118
+ https://github.com/sparklemotion/nokogiri/compare/v1.7.1...v1.7.2
119
+
120
+ diff --git a/Gemfile.lock b/Gemfile.lock
121
+ ...
122
+ ```
123
+
32
124
  ### `gemdiff find [gem]`
33
125
 
34
126
  Show the repository URL using the gemspec. If a GitHub URL is not found, query the GitHub search API.
@@ -85,97 +177,6 @@ Open the repository's master branch commit history page:
85
177
  $ gemdiff master haml
86
178
  ```
87
179
 
88
- ### `gemdiff update [gem]`
89
-
90
- Use `update` to update a gem in your bundle and commit the change with git.
91
- You will be shown a preview of the `git diff` and you may choose to commit or reset the change.
92
-
93
- ```sh
94
- $ gemdiff update haml
95
-
96
- Updating haml...
97
- diff --git a/Gemfile.lock b/Gemfile.lock
98
- index d5544ef..2d5def8 100644
99
- --- a/Gemfile.lock
100
- +++ b/Gemfile.lock
101
- @@ -38,7 +38,7 @@ GEM
102
- dalli (2.7.0)
103
- debugger-linecache (1.2.0)
104
- erubis (2.7.0)
105
- - haml (4.0.4)
106
- + haml (4.0.5)
107
- tilt
108
- hike (1.2.3)
109
- i18n (0.6.9)
110
-
111
- Commit? (c to commit, r to reset, else do nothing) c
112
-
113
- commit ebcc13f4c9a43f2e844d9d185e527652021c6a8f
114
- Author: Tee Parham
115
- Date: Mon Mar 3 16:38:32 2014 -0700
116
-
117
- Update haml to 4.0.5
118
-
119
- https://github.com/haml/haml/compare/4.0.4...4.0.5
120
-
121
- diff --git a/Gemfile.lock
122
- ```
123
-
124
- ### `gemdiff outdated`
125
-
126
- Runs `bundle outdated --strict` in the current directory. For each outdated gem,
127
- you can open the compare view for that gem, skip it, or exit.
128
- Enter `y` to review. Enter `A` to open all compare views (beware!).
129
- Enter `s` to list all the compare URLs to stdout (same as the `list` command).
130
-
131
- `outdated` is the default task, so `gemdiff` with no arguments is the same as `gemdiff outdated`.
132
-
133
- ```sh
134
- $ cd /your/ruby/project/using/bundler
135
- $ gemdiff
136
- Checking for outdated gems in your bundle...
137
- Fetching gem metadata from https://rubygems.org/.......
138
- Fetching version metadata from https://rubygems.org/..
139
- Resolving dependencies...
140
-
141
- Outdated gems included in the bundle:
142
- * aws-sdk (1.35.0 > 1.34.1)
143
- * sprockets (2.11.0 > 2.10.1)
144
- * webmock (1.17.4 > 1.17.3)
145
- aws-sdk: 1.35.0 > 1.34.1
146
- Open? (y to open, x to exit, A to open all, s to show all to stdout, else skip)
147
- sprockets: 2.11.0 > 2.10.1
148
- Open? (y to open, x to exit, A to open all, s to show all to stdout, else skip) y
149
- webmock: 1.17.4 > 1.17.3
150
- Open? (y to open, x to exit, A to open all, s to show all to stdout, else skip)
151
- ```
152
-
153
- ### `gemdiff list`
154
-
155
- Outputs outdated gems in your bundle with their compare URLs to stdout.
156
-
157
- ```sh
158
- $ gemdiff list
159
- Checking for outdated gems in your bundle...
160
- Fetching gem metadata from https://rubygems.org/.......
161
- Fetching version metadata from https://rubygems.org/..
162
- Resolving dependencies...
163
-
164
- Outdated gems included in the bundle:
165
- * mocha (newest 1.2.1, installed 1.1.0, requested ~> 1.0) in group "development"
166
- * rake (newest 11.3.0, installed 11.1.2, requested ~> 11.0) in group "development"
167
- * sqlite3 (newest 1.3.12, installed 1.3.11, requested ~> 1.3) in group "development"
168
-
169
- mocha: 1.2.1 > 1.1.0
170
- https://github.com/freerange/mocha/compare/v1.1.0...v1.2.1
171
-
172
- rake: 11.3.0 > 11.1.2
173
- https://github.com/ruby/rake/compare/v11.1.2...v11.3.0
174
-
175
- sqlite3: 1.3.12 > 1.3.11
176
- https://github.com/sparklemotion/sqlite3-ruby/compare/v1.3.11...v1.3.12
177
- ```
178
-
179
180
  ### `gemdiff help`
180
181
 
181
182
  To get help on the command line:
@@ -15,7 +15,6 @@ module Gemdiff
15
15
  compass
16
16
  ffi
17
17
  google-api-client
18
- haml
19
18
  mail
20
19
  mysql2
21
20
  net-ssh-gateway
@@ -1,3 +1,3 @@
1
1
  module Gemdiff
2
- VERSION = "1.2.5"
2
+ VERSION = "1.2.6"
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: 1.2.5
4
+ version: 1.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tee Parham
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-04-25 00:00:00.000000000 Z
11
+ date: 2017-05-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: octokit
@@ -148,7 +148,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
148
148
  version: '0'
149
149
  requirements: []
150
150
  rubyforge_project:
151
- rubygems_version: 2.6.11
151
+ rubygems_version: 2.6.12
152
152
  signing_key:
153
153
  specification_version: 4
154
154
  summary: Find source repositories for ruby gems. Open, compare, and update outdated