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 +4 -4
- data/lib/rack/console/version.rb +1 -1
- data/lib/rack/console.rb +2 -2
- 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: 252f28c967c58786b0985c7a8d322289f9175d7ff52f3db48e48e684406c3f5a
|
4
|
+
data.tar.gz: 47379d7814016dc3c3ad37625d4c6766370ba46330549dc24d753aec52764fe0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9a53264d670e31ca3665675af08aa935134084addaaef007727e6b190e91572bc31e552dbf171b43eac1f46ac61856ee4eacd0fb35301fb7bd2afa2d89e495a5
|
7
|
+
data.tar.gz: 46e2742cdaf1a566f8eafb70c1486e16b8accf457f88eb0881ff8ad2e800a3955798199dd1972cc705dd62ca27ca8f976c4745843ce7e37f9e797747c27fb485
|
data/lib/rack/console/version.rb
CHANGED
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
|
-
|
32
|
+
if Gem::Specification.find_all_by_name('pry').any?
|
33
33
|
require 'pry'
|
34
34
|
Pry.start
|
35
|
-
|
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.
|
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:
|
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
|
96
|
+
rubygems_version: 3.5.3
|
97
97
|
signing_key:
|
98
98
|
specification_version: 4
|
99
99
|
summary: "`rails console` for your Rack applications"
|