rack-console 1.3.1 → 1.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: ecc34ea943b04d2e308b3dbf8f3d29982a5fd99d
4
- data.tar.gz: 133380b564caefea4356f257f263fe571663147f
2
+ SHA256:
3
+ metadata.gz: 18ab0e88bb1f28b9c6750fe1b3190048a0440f9c7e79fec7d684865cd3d76586
4
+ data.tar.gz: 6e8ebeecb19f218fcdb9ebfd1531e4aa1fad73b17ea494564d01b53e65a7a4fc
5
5
  SHA512:
6
- metadata.gz: a40df50a204f705d51b6772b48817761d34d120267628a60316e79c5e2b393331881ec3a05777492e449c23f5604f999f50af9a3f82df78c1446bd7114c2be92
7
- data.tar.gz: 0cde9f6e9de162190b312827d2f0ddb967531a3bb816c10a4fe4aa4097c67fedd43e02a6bc718a37499d013a5913ce15d06ebeba7bd15504967cc8841f2189a5
6
+ metadata.gz: acc358351b23ad48b9cd631a254686b480901b0be298af28f3186030ea111c304bcc7d68d285e5d6e1a3a9fc80fa3c8ff933cd00675a80c8fb13d4a46aa7e91f
7
+ data.tar.gz: 185d9b4a63ad66f2879bd291700570d6dbebea0c8e9cb8a22b608fe250916940b1482e78d112913eadce02159e2bbd49bc4022f04806e761bea2b24326dfa283
@@ -3,7 +3,7 @@ module Rack
3
3
  class Version
4
4
  MAJOR = 1
5
5
  MINOR = 3
6
- PATCH = 1
6
+ PATCH = 2
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.3.1
4
+ version: 1.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Celis
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-04 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
@@ -78,7 +78,7 @@ homepage: https://github.com/davidcelis/rack-console
78
78
  licenses:
79
79
  - MIT
80
80
  metadata: {}
81
- post_install_message:
81
+ post_install_message:
82
82
  rdoc_options: []
83
83
  require_paths:
84
84
  - lib
@@ -93,13 +93,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
93
93
  - !ruby/object:Gem::Version
94
94
  version: '0'
95
95
  requirements: []
96
- rubyforge_project:
97
- rubygems_version: 2.2.2
98
- signing_key:
96
+ rubygems_version: 3.5.3
97
+ signing_key:
99
98
  specification_version: 4
100
99
  summary: "`rails console` for your Rack applications"
101
100
  test_files:
102
101
  - spec/rack/console/methods_spec.rb
103
102
  - spec/rack/console_spec.rb
104
103
  - spec/spec_helper.rb
105
- has_rdoc: