pry-helper 0.1.2 → 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: 1787736cd728af05efd8a7a4c32a37443ae2d515a6fd0e04388f5f1b0bf1da8c
4
- data.tar.gz: 3b33b3a938d0abed4d640bc3be872d90a65c773ec6a2eb603b8e603b567ee3bd
3
+ metadata.gz: f6525d0409602100dc08fe7ef9625a83a3577d8a52c3a018c62a024cc1606c4d
4
+ data.tar.gz: c37fa536749f533de4a086429bfef94172478195f5b27a40542f0e6b4c6e65fa
5
5
  SHA512:
6
- metadata.gz: 1318ed35714bf51daa81f1e5f4b5db7aaa8b67165ba981f5b5163f9b3a391f0126033504f0011b90cc51797c6ce9ae8ccb3b379948a4173f0d20967e84d815c4
7
- data.tar.gz: 58fa2d0feb8003d4a3afed21818596d55bbcb054f5a938f3506e46960b71fadbcf5961e61d78717ae4f0c5d9aed253e5f063133f144231ebf3943c136f118ba1
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.2)
4
+ pry-helper (0.1.3)
5
5
  activerecord
6
6
  activesupport
7
7
  caxlsx
@@ -1,3 +1,3 @@
1
1
  module PryHelper
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
data/lib/pry-helper.rb CHANGED
@@ -1,4 +1,4 @@
1
- if defined? Rails && 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,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pry-helper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Liu Xiang