gemdiff 0.8.1 → 0.9.0

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: c502a543b9750ba36dda80eb39401c27cedc4d23
4
- data.tar.gz: 0bcc56a7bd37ddf4caaf728813cf269b61976d86
3
+ metadata.gz: 677f2a207c8c4e9f804b7b15a9ae9dd62f3cc9f3
4
+ data.tar.gz: 5804d8f3ca5f8e9ccb2476327f86ac6800e73a1b
5
5
  SHA512:
6
- metadata.gz: 654f46dadfa3306527c118102688fab53e61f43103dcabc48126299144107462aad1d8d1c0c3e0526ce30121302b85627f35ad0504ede66c5013f6a31dd4de14
7
- data.tar.gz: fe86493e39cd6cbb390c346b15b0b2fae236fe28ae35932b2e2ae2a4643e388c47cd21a2b04829c1530874918dea93feea83bcc9e0708d6ffa9d0e714dfffcf7
6
+ metadata.gz: 6c4d40fd163b8ca99704751148465e26fcbaad442da3a26b19af97ad5896a8888a5948cd6e4197b0a28cdf0c2b40c228faf174d24d0fd2af23a21a79fbf1d178
7
+ data.tar.gz: 20ac3fa748274d40e05e25a9349c5277f2f62dc12ce896ed26f7c34341ab2ee8d6538660c6d7a80a53391c72b7ef02bd97c4747cbc705a8c842cffa4c11edced
data/README.md CHANGED
@@ -29,32 +29,21 @@ gem install gemdiff
29
29
 
30
30
  ## Commands
31
31
 
32
- ### `gemdiff outdated`
33
-
34
- Runs `bundle outdated --strict` in the current directory.
35
- For each outdated gem, you can open the compare view for that gem, skip it, or exit.
36
- Enter `y` to review.
32
+ ### `gemdiff find [gem]`
37
33
 
38
- `outdated` is the default task, so `gemdiff` with no arguments is the same as `gemdiff outdated`.
34
+ Show the repository URL using the gemspec. If a GitHub URL is not found, query the GitHub search API.
39
35
 
40
36
  ```sh
41
- $ cd /your/ruby/project/using/bundler
42
- $ gemdiff
43
- Checking for outdated gems in your bundle...
44
- Fetching gem metadata from https://rubygems.org/.......
45
- Fetching additional metadata from https://rubygems.org/..
46
- Resolving dependencies...
37
+ $ gemdiff find pundit
38
+ http://github.com/elabs/pundit
39
+ ```
47
40
 
48
- Outdated gems included in the bundle:
49
- * aws-sdk (1.35.0 > 1.34.1)
50
- * sprockets (2.11.0 > 2.10.1)
51
- * webmock (1.17.4 > 1.17.3)
52
- aws-sdk: 1.35.0 > 1.34.1
53
- Open? (y to open, x to exit, else skip)
54
- sprockets: 2.11.0 > 2.10.1
55
- Open? (y to open, x to exit, else skip) y
56
- webmock: 1.17.4 > 1.17.3
57
- Open? (y to open, x to exit, else skip)
41
+ ### `gemdiff open [gem]`
42
+
43
+ Open the repository URL (with your default browser unless you have an odd setup):
44
+
45
+ ```sh
46
+ $ gemdiff open pundit
58
47
  ```
59
48
 
60
49
  ### `gemdiff compare [gem] [version] [version]`
@@ -80,23 +69,6 @@ You can compare a version with a branch name:
80
69
  $ gemdiff compare arel 6.0.0 master
81
70
  ```
82
71
 
83
- ### `gemdiff find [gem]`
84
-
85
- Lookup the repository URL using the gemspec. If a GitHub URL is not found, query the GitHub search API.
86
-
87
- ```sh
88
- $ gemdiff find haml
89
- http://github.com/haml/haml
90
- ```
91
-
92
- ### `gemdiff open [gem]`
93
-
94
- Open the repository URL:
95
-
96
- ```sh
97
- $ gemdiff open haml
98
- ```
99
-
100
72
  ### `gemdiff releases [gem]`
101
73
 
102
74
  Open the repository's release history page:
@@ -147,6 +119,34 @@ Date: Mon Mar 3 16:38:32 2014 -0700
147
119
  diff --git a/Gemfile.lock
148
120
  ```
149
121
 
122
+ ### `gemdiff outdated`
123
+
124
+ Runs `bundle outdated --strict` in the current directory. Then, or each outdated gem,
125
+ you can open the compare view for that gem, skip it, or exit.
126
+ Enter `y` to review. Enter `A` to open all compare views (beware!).
127
+
128
+ `outdated` is the default task, so `gemdiff` with no arguments is the same as `gemdiff outdated`.
129
+
130
+ ```sh
131
+ $ cd /your/ruby/project/using/bundler
132
+ $ gemdiff
133
+ Checking for outdated gems in your bundle...
134
+ Fetching gem metadata from https://rubygems.org/.......
135
+ Fetching additional metadata from https://rubygems.org/..
136
+ Resolving dependencies...
137
+
138
+ Outdated gems included in the bundle:
139
+ * aws-sdk (1.35.0 > 1.34.1)
140
+ * sprockets (2.11.0 > 2.10.1)
141
+ * webmock (1.17.4 > 1.17.3)
142
+ aws-sdk: 1.35.0 > 1.34.1
143
+ Open? (y to open, x to exit, else skip)
144
+ sprockets: 2.11.0 > 2.10.1
145
+ Open? (y to open, x to exit, else skip) y
146
+ webmock: 1.17.4 > 1.17.3
147
+ Open? (y to open, x to exit, else skip)
148
+ ```
149
+
150
150
  ### `gemdiff help`
151
151
 
152
152
  To get help on the command line:
@@ -23,6 +23,7 @@ module Gemdiff
23
23
  execjs: 'rails/execjs',
24
24
  faraday_middleware: 'lostisland/faraday_middleware',
25
25
  ffi: 'ffi/ffi',
26
+ googleauth: 'google/google-auth-library-ruby',
26
27
  gosu: 'jlnr/gosu',
27
28
  :"guard-livereload" => 'guard/guard-livereload',
28
29
  :"jquery-ujs" => 'rails/jquery-ujs',
@@ -44,6 +45,7 @@ module Gemdiff
44
45
  sinatra: 'sinatra/sinatra',
45
46
  stripe: 'stripe/stripe-ruby',
46
47
  thread_safe: 'ruby-concurrency/thread_safe',
48
+ tolk: 'tolk/tolk',
47
49
  toolkit: 'Team-Sass/tookit',
48
50
  zeus: 'burke/zeus',
49
51
  }
@@ -76,7 +78,7 @@ module Gemdiff
76
78
  end
77
79
 
78
80
  def github_repo(full_name)
79
- "http://github.com/#{full_name}"
81
+ "https://github.com/#{full_name}"
80
82
  end
81
83
 
82
84
  def octokit_client
@@ -1,3 +1,3 @@
1
1
  module Gemdiff
2
- VERSION = "0.8.1"
2
+ VERSION = "0.9.0"
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.8.1
4
+ version: 0.9.0
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-06-26 00:00:00.000000000 Z
11
+ date: 2015-09-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: octokit
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '3.1'
19
+ version: '4.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '3.1'
26
+ version: '4.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: thor
29
29
  requirement: !ruby/object:Gem::Requirement