pry-helper 0.1.1 → 0.1.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: 7ab10975f9a9c6efc69659a1fc9d569255054133ea0e2ab850221b0b31a5fe9a
4
- data.tar.gz: 1babbcadacf238a127246209c0a14c797209adc66ad6c344f374f2b78450e0f4
3
+ metadata.gz: 1787736cd728af05efd8a7a4c32a37443ae2d515a6fd0e04388f5f1b0bf1da8c
4
+ data.tar.gz: 3b33b3a938d0abed4d640bc3be872d90a65c773ec6a2eb603b8e603b567ee3bd
5
5
  SHA512:
6
- metadata.gz: 671f232aafe4fb6552ab56174c6c5ae21596ae80164db458c53582e27d52537d777974cb1c4772814e53cb2e54089c037fab0cffa8b21b4ef0723058df61231c
7
- data.tar.gz: a910749311098da5b4dc185681eb42c756fee272b9448aaa2ff5f804159c7f9fc68c65347d639649e3601fa96adce320c6413936520c363a39aed8e8809447ae
6
+ metadata.gz: 1318ed35714bf51daa81f1e5f4b5db7aaa8b67165ba981f5b5163f9b3a391f0126033504f0011b90cc51797c6ce9ae8ccb3b379948a4173f0d20967e84d815c4
7
+ data.tar.gz: 58fa2d0feb8003d4a3afed21818596d55bbcb054f5a938f3506e46960b71fadbcf5961e61d78717ae4f0c5d9aed253e5f063133f144231ebf3943c136f118ba1
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.2)
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.2"
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.2
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