komachi-develop 0.2.1 → 0.2.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
  SHA1:
3
- metadata.gz: 3e0ec1e718724156d613bf69fc7aa4547613080f
4
- data.tar.gz: fb2140da290f5c3d5d2e493984f1b069c178ea48
3
+ metadata.gz: f23312c64a25e8428ff969876a4f17120889aba5
4
+ data.tar.gz: 8611154da508e829a0860fc026b4ea1d6f4dea1f
5
5
  SHA512:
6
- metadata.gz: 31b86ece35c691f3ffe11660731d67a6951b637e8bdd9f4864068c610d4c160b38fdbbf25efa912c621fe20725fb1b3d1f4c71ad3e02538b4b2727e17c5fd702
7
- data.tar.gz: ad813a2757d8fa29da1ee8f458e679347f229427a8b2ee280b134ecaee00b32209bcc46ae78f35979920828724a43c9f265266d38149aee0f5779f2ca24ff65e
6
+ metadata.gz: 5756ce3ae3c920ff909d860675c01a6cc1d5e1df94366e01b23aafa8ed29024eb8a317eba8038c192f92f1dbb08689d590cb787155e4c36099fda5e6fff58551
7
+ data.tar.gz: 152258d2cca73bc1c34bcca2e30a24685e372e56a77058b7ff2e43a9876113d80e1fd1cf63ac232c6df04e8fa67182174b73b0412396c61f6e32cbced609e3f8
@@ -1,3 +1,3 @@
1
1
  module KomachiDevelop
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: komachi-develop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Takumi MIURA
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-30 00:00:00.000000000 Z
11
+ date: 2014-11-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -168,7 +168,6 @@ files:
168
168
  - lib/komachi-develop/pry-extension.rb
169
169
  - lib/komachi-develop/pry-extension/caller_method.rb
170
170
  - lib/komachi-develop/pry-extension/copy.rb
171
- - lib/komachi-develop/pry-extension/hirb.rb
172
171
  - lib/komachi-develop/pry-extension/sql.rb
173
172
  - lib/komachi-develop/railtie.rb
174
173
  - lib/komachi-develop/version.rb
@@ -1,25 +0,0 @@
1
- begin
2
- require 'hirb'
3
- rescue LoadError
4
- # Missing goodies, bummer
5
- end
6
-
7
- if defined? Hirb
8
- # Slightly dirty hack to fully support in-session Hirb.disable/enable toggling
9
- Hirb::View.instance_eval do
10
- def enable_output_method
11
- @output_method = true
12
- @old_print = Pry.config.print
13
- Pry.config.print = proc do |*args|
14
- Hirb::View.view_or_page_output(args[1]) || @old_print.call(*args)
15
- end
16
- end
17
-
18
- def disable_output_method
19
- Pry.config.print = @old_print
20
- @output_method = nil
21
- end
22
- end
23
-
24
- Hirb.enable
25
- end