pry-helper 0.1.1 → 0.1.3

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: 7ab10975f9a9c6efc69659a1fc9d569255054133ea0e2ab850221b0b31a5fe9a
4
- data.tar.gz: 1babbcadacf238a127246209c0a14c797209adc66ad6c344f374f2b78450e0f4
3
+ metadata.gz: f6525d0409602100dc08fe7ef9625a83a3577d8a52c3a018c62a024cc1606c4d
4
+ data.tar.gz: c37fa536749f533de4a086429bfef94172478195f5b27a40542f0e6b4c6e65fa
5
5
  SHA512:
6
- metadata.gz: 671f232aafe4fb6552ab56174c6c5ae21596ae80164db458c53582e27d52537d777974cb1c4772814e53cb2e54089c037fab0cffa8b21b4ef0723058df61231c
7
- data.tar.gz: a910749311098da5b4dc185681eb42c756fee272b9448aaa2ff5f804159c7f9fc68c65347d639649e3601fa96adce320c6413936520c363a39aed8e8809447ae
6
+ metadata.gz: f0aeea5d94c48dc69ef3d1a9974f8eae96e4e5baa2e4648c01a8f6662edf41b44afbb4b46cd85e16e2bce8edaa63e800323d768d2ee9c18a3a82c7a150251ac2
7
+ data.tar.gz: 2438a03ec8dc47e243be4d1d7ad1fcfac379839cf7de275bef1d931b4acdc6fbd2b868bf675a2476e415d48328e07541dffd719f53d105f6a65643d63ed0c389
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- pry-helper (0.1.1)
4
+ pry-helper (0.1.3)
5
5
  activerecord
6
6
  activesupport
7
7
  caxlsx
@@ -14,12 +14,12 @@ PATH
14
14
  GEM
15
15
  remote: https://rubygems.org/
16
16
  specs:
17
- activemodel (7.0.3.1)
18
- activesupport (= 7.0.3.1)
19
- activerecord (7.0.3.1)
20
- activemodel (= 7.0.3.1)
21
- activesupport (= 7.0.3.1)
22
- activesupport (7.0.3.1)
17
+ activemodel (7.0.4)
18
+ activesupport (= 7.0.4)
19
+ activerecord (7.0.4)
20
+ activemodel (= 7.0.4)
21
+ activesupport (= 7.0.4)
22
+ activesupport (7.0.4)
23
23
  concurrent-ruby (~> 1.0, >= 1.0.2)
24
24
  i18n (>= 1.6, < 2)
25
25
  minitest (>= 5.1)
@@ -57,7 +57,7 @@ GEM
57
57
  unicode-display_width (>= 1.1.1, < 3)
58
58
  tzinfo (2.0.5)
59
59
  concurrent-ruby (~> 1.0)
60
- unicode-display_width (2.2.0)
60
+ unicode-display_width (2.3.0)
61
61
  webrick (1.7.0)
62
62
  yard (0.9.28)
63
63
  webrick (~> 1.7.0)
@@ -1,3 +1,3 @@
1
1
  module PryHelper
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.3"
3
3
  end
data/lib/pry-helper.rb CHANGED
@@ -1,4 +1,4 @@
1
- if Rails.const_defined? 'Console'
1
+ if defined?(Rails) && Rails.const_defined?('Console')
2
2
  Pry.hooks.add_hook(:when_started, :pry_helper) do |output, binding, pry|
3
3
  require 'terminal-table'
4
4
  require 'table_print'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pry-helper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Liu Xiang
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-09-06 00:00:00.000000000 Z
11
+ date: 2022-11-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord