gemdiff 6.0.0 → 6.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/gemdiff/cli.rb +6 -4
- data/lib/gemdiff/repo_finder.rb +6 -1
- data/lib/gemdiff/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 287e9902549c3b77367055e7147b7beae892ad2fd02b50d5be6eff832d81d755
|
4
|
+
data.tar.gz: 87f9db7e599913d09c5c39030de09a12d3d3b1e3d5d125c088a2e6d67efb6fe6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aa490281819f493ceeb626367fd49adf605e83cced20fbd72ddd005a4a30b3504cdca6dfb4af0a2976b3f2f02d0d785b1cde7b7a50afb353eebc041fd2ce678f
|
7
|
+
data.tar.gz: 6a71a85e05ff3bb4996aa80b9b6d223f9f71f9cd48ad7371dc4ea409871290ae5bb1d04b74417675de8c48e7d2a6f2934f502df1f64356b62a7666380da3c144
|
data/lib/gemdiff/cli.rb
CHANGED
@@ -12,6 +12,8 @@ module Gemdiff
|
|
12
12
|
CHECKING_FOR_OUTDATED = "Checking for outdated gems in your bundle..."
|
13
13
|
NOTHING_TO_UPDATE = "Nothing to update."
|
14
14
|
WORKING_DIRECTORY_IS_NOT_CLEAN = "Your working directory is not clean. Please commit or stash before updating."
|
15
|
+
RESPONSES_ALL = %w[s A].freeze
|
16
|
+
RESPONSES_COMPARE = %w[y A].freeze
|
15
17
|
|
16
18
|
desc "find <gem>", "Find the github repository URL for a gem"
|
17
19
|
def find(gem_name)
|
@@ -64,12 +66,12 @@ module Gemdiff
|
|
64
66
|
puts CHECKING_FOR_OUTDATED
|
65
67
|
inspector = BundleInspector.new
|
66
68
|
puts inspector.outdated
|
67
|
-
|
69
|
+
all_action = false
|
68
70
|
inspector.list.each do |outdated_gem|
|
69
71
|
puts outdated_gem.compare_message
|
70
|
-
response =
|
71
|
-
|
72
|
-
outdated_gem.compare if
|
72
|
+
response = all_action || ask("Open? (y to open, x to exit, A to open all, s to show all to stdout, else skip)")
|
73
|
+
all_action = response if RESPONSES_ALL.include?(response)
|
74
|
+
outdated_gem.compare if RESPONSES_COMPARE.include?(response)
|
73
75
|
puts outdated_gem.compare_url if response == "s"
|
74
76
|
break if response == "x"
|
75
77
|
end
|
data/lib/gemdiff/repo_finder.rb
CHANGED
@@ -39,7 +39,7 @@ module Gemdiff
|
|
39
39
|
"guard-livereload": "guard/guard-livereload",
|
40
40
|
i18n: "ruby-i18n/i18n",
|
41
41
|
"jquery-ujs": "rails/jquery-ujs",
|
42
|
-
json: "
|
42
|
+
json: "ruby/json",
|
43
43
|
kaminari: "kaminari/kaminari",
|
44
44
|
"kaminari-actionview": "kaminari/kaminari",
|
45
45
|
"kaminari-activerecord": "kaminari/kaminari",
|
@@ -71,6 +71,11 @@ module Gemdiff
|
|
71
71
|
"resque-multi-job-forks": "stulentsev/resque-multi-job-forks",
|
72
72
|
representable: "trailblazer/representable",
|
73
73
|
rr: "rr/rr",
|
74
|
+
rspec: "rspec/rspec",
|
75
|
+
"rspec-core": "rspec/rspec",
|
76
|
+
"rspec-expectations": "rspec/rspec",
|
77
|
+
"rspec-mocks": "rspec/rspec",
|
78
|
+
"rspec-support": "rspec/rspec",
|
74
79
|
sass: "sass/ruby-sass",
|
75
80
|
SassyLists: "at-import/SassyLists",
|
76
81
|
"Sassy-Maps": "at-import/Sassy-Maps",
|
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: 6.0.
|
4
|
+
version: 6.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tee Parham
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-12-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday-retry
|
@@ -106,7 +106,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
106
106
|
- !ruby/object:Gem::Version
|
107
107
|
version: '0'
|
108
108
|
requirements: []
|
109
|
-
rubygems_version: 3.5.
|
109
|
+
rubygems_version: 3.5.23
|
110
110
|
signing_key:
|
111
111
|
specification_version: 4
|
112
112
|
summary: Find source repositories for ruby gems. Open, compare, and update outdated
|