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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cac0b7b3c08ac692ac5b067339b59eabe2d84cf3419edd0faf4fbea671719922
4
- data.tar.gz: 064d6f5e31b7dffcf6bb8a1aa77c63a0a88d740699167793aebc66eec9584c6b
3
+ metadata.gz: 287e9902549c3b77367055e7147b7beae892ad2fd02b50d5be6eff832d81d755
4
+ data.tar.gz: 87f9db7e599913d09c5c39030de09a12d3d3b1e3d5d125c088a2e6d67efb6fe6
5
5
  SHA512:
6
- metadata.gz: b5958a0e7e81b5c3cd4cc39e06aa475a5e69927b950246e97900412ead77ae726806905ddd6b19cf9cefd9207a04790b3bcdb97d460406733c2f11fe30f84bbf
7
- data.tar.gz: cdc40bd0c4f872d9edd1a3899601760f8540589fe4aec5826db8d6d967aab59dce604120ee318a95f338863d2f6dd4bdb48d72bae55f734c065f570c3ab86302
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
- open_all = false
69
+ all_action = false
68
70
  inspector.list.each do |outdated_gem|
69
71
  puts outdated_gem.compare_message
70
- response = open_all || ask("Open? (y to open, x to exit, A to open all, s to show all to stdout, else skip)")
71
- open_all = response if %w[s A].include?(response)
72
- outdated_gem.compare if %w[y A].include?(response)
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
@@ -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: "flori/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",
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Gemdiff
4
- VERSION = "6.0.0"
4
+ VERSION = "6.0.2"
5
5
  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: 6.0.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-09-26 00:00:00.000000000 Z
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.17
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