spirit_hands 2.0.0 → 2.0.1

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
2
  SHA1:
3
- metadata.gz: 4d5a96385a8b9de971135d75dbdd00dccea10ccb
4
- data.tar.gz: 944d1c9df0862f1f742f038afa930061e8785650
3
+ metadata.gz: e5174c2979f5f2cc6d58b9e110f46d2774f1cd83
4
+ data.tar.gz: 20fae6c53d7321bedfcc79a0472abc14eb325d33
5
5
  SHA512:
6
- metadata.gz: 9ecae820d327c22323107267854875e6d953d3444ed2e88f19240bed25cc0ff25997e61c2449ea94bde874cac7a25bff8d04b42083ace2c4060a68b56e7967f1
7
- data.tar.gz: 4534bb26300083fd4f1904c0951a81e42ada1a16d567fce7414ccb99de5901d7eee19d35a6af002ae8ac0306db736a822c8ab4f67041eedd451fc6ef4bf006d1
6
+ metadata.gz: c3f1bd55337a7dad619503ee73b98564290a6a8117848faf1ac2eb7b8bcbe344dde7e85f4c01f1db054e0a05d214722a33ad067ee91ba999d6164d5f929acf99
7
+ data.tar.gz: 63fb3268db843cd4cd468704ee97f415fd15a07bfbcb27f377025442bb2f0c73e39059cded9f865e4628504455e9c2992d4581ad7b2ea0e186f603eff56aa8f2
checksums.yaml.gz.sig CHANGED
Binary file
data/.pryrc CHANGED
@@ -1,2 +1,2 @@
1
- require 'jazz_fingers'
2
- JazzFingers.melody!
1
+ require 'spirit_hands'
2
+ SpiritHands.melody!
data/README.md CHANGED
@@ -10,7 +10,7 @@ hard-working hands!
10
10
  * [**Pry**][pry] for a powerful shell alternative to IRB.
11
11
  * [**Awesome Print**][awesome_print] for stylish pretty print.
12
12
  * [**Hirb**][hirb] for tabular collection output.
13
- * [**Hirb Unicode**][hirb-unicode-steakknife] for aligned Unicode output1.
13
+ * [**Hirb Unicode**][hirb-unicode-steakknife] for aligned Unicode output.
14
14
  * [**Pry Rails**][pry-rails] for additional commands (`show-routes`,
15
15
  `show-models`, `show-middleware`) in the Rails console.
16
16
  * [**Pry Doc**][pry-doc] to browse Ruby source, including C, directly from the
@@ -3,3 +3,4 @@ require 'spirit_hands/hirb/fixes/pager'
3
3
  require 'spirit_hands/hirb/fixes/util'
4
4
  require 'spirit_hands/hirb/fixes/view'
5
5
  require 'spirit_hands/hirb/fixes/enabled'
6
+ STDERR.puts 'loaded hirb loaded and patched'
@@ -5,7 +5,7 @@ module SpiritHands
5
5
  module Prompt
6
6
  class << self
7
7
  def install!(app = nil)
8
- ::SpiritHands.app ||= app
8
+ ::SpiritHands.app = ::Rails.application if defined?(Rails)
9
9
  ::Pry.config.prompt = [ main, multiline ].freeze
10
10
  end
11
11
  end
@@ -1,3 +1,3 @@
1
1
  module SpiritHands
2
- VERSION = '2.0.0'
2
+ VERSION = '2.0.1'
3
3
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spirit_hands
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Barry Allard
@@ -192,9 +192,7 @@ extensions: []
192
192
  extra_rdoc_files: []
193
193
  files:
194
194
  - ".gitignore"
195
- - ".hound.yml"
196
195
  - ".pryrc"
197
- - ".rubocop.yml"
198
196
  - ".ruby-gemset"
199
197
  - CHANGELOG.md
200
198
  - CONTRIBUTING.md
metadata.gz.sig CHANGED
Binary file
data/.hound.yml DELETED
@@ -1,20 +0,0 @@
1
- Metrics/LineLength:
2
- Enabled: false
3
-
4
- Style/EachWithObject:
5
- Enabled: false
6
-
7
- Style/Encoding:
8
- EnforcedStyle: when_needed
9
-
10
- Style/FormatString:
11
- Enabled: false
12
-
13
- Style/HashSyntax:
14
- EnforcedStyle: hash_rockets
15
-
16
- Style/SignalException:
17
- EnforcedStyle: only_raise
18
-
19
- Style/StringLiterals:
20
- EnforcedStyle: double_quotes
data/.rubocop.yml DELETED
@@ -1,20 +0,0 @@
1
- Metrics/LineLength:
2
- Enabled: false
3
-
4
- Style/EachWithObject:
5
- Enabled: false
6
-
7
- Style/Encoding:
8
- EnforcedStyle: when_needed
9
-
10
- Style/FormatString:
11
- Enabled: false
12
-
13
- Style/HashSyntax:
14
- EnforcedStyle: hash_rockets
15
-
16
- Style/SignalException:
17
- EnforcedStyle: only_raise
18
-
19
- Style/StringLiterals:
20
- EnforcedStyle: double_quotes