rack-console 1.4.0 → 1.4.1

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: 58283265efafbac8877ef1cf8962faff21cc5b7e2713c8aaa678fa2b778f47fa
4
- data.tar.gz: eb40f17f5b8c9be42a863a6feb8b1bd524f857d5a5b6824818f6c8989de13e75
3
+ metadata.gz: 252f28c967c58786b0985c7a8d322289f9175d7ff52f3db48e48e684406c3f5a
4
+ data.tar.gz: 47379d7814016dc3c3ad37625d4c6766370ba46330549dc24d753aec52764fe0
5
5
  SHA512:
6
- metadata.gz: cce20afdc2f4d1e06c8fbc2402f1837090a6c1cee022226a214f3f8df147c97f889014c2350cc6dc0cdab597194ed120220a762037cbd326b555c75971bc4596
7
- data.tar.gz: 01240b8bc4b38074877bcb21c724ef2d2b30fa504720c36ee8cba1a60575808bfdb627b61151dfe04dd0bea20462fabdeb26a993d45cde0e6a2db1513ca3bb41
6
+ metadata.gz: 9a53264d670e31ca3665675af08aa935134084addaaef007727e6b190e91572bc31e552dbf171b43eac1f46ac61856ee4eacd0fb35301fb7bd2afa2d89e495a5
7
+ data.tar.gz: 46e2742cdaf1a566f8eafb70c1486e16b8accf457f88eb0881ff8ad2e800a3955798199dd1972cc705dd62ca27ca8f976c4745843ce7e37f9e797747c27fb485
@@ -3,7 +3,7 @@ module Rack
3
3
  class Version
4
4
  MAJOR = 1
5
5
  MINOR = 4
6
- PATCH = 0
6
+ PATCH = 1
7
7
 
8
8
  def self.to_s
9
9
  [MAJOR, MINOR, PATCH].join('.')
data/lib/rack/console.rb CHANGED
@@ -29,10 +29,10 @@ module Rack
29
29
  main.extend(Rack::Console::Methods)
30
30
  main.instance_variable_set(:@app, Rack::Console::Session.new(app))
31
31
 
32
- begin
32
+ if Gem::Specification.find_all_by_name('pry').any?
33
33
  require 'pry'
34
34
  Pry.start
35
- rescue LoadError
35
+ else
36
36
  require 'irb'
37
37
  IRB.start
38
38
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-console
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Celis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-09-26 00:00:00.000000000 Z
11
+ date: 2024-05-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack
@@ -93,7 +93,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
93
93
  - !ruby/object:Gem::Version
94
94
  version: '0'
95
95
  requirements: []
96
- rubygems_version: 3.3.21
96
+ rubygems_version: 3.5.3
97
97
  signing_key:
98
98
  specification_version: 4
99
99
  summary: "`rails console` for your Rack applications"