hirb 0.4.3 → 0.4.4

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.rdoc CHANGED
@@ -1,3 +1,6 @@
1
+ == 0.4.4
2
+ * Fix bundler messing with ripl plugin
3
+
1
4
  == 0.4.3
2
5
  * Remove Formatter::TO_A_EXCEPTIONS and replace with Formatter.to_a_classes
3
6
 
data/lib/hirb/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Hirb
2
- VERSION = '0.4.3'
2
+ VERSION = '0.4.4'
3
3
  end
data/lib/hirb/view.rb CHANGED
@@ -175,9 +175,9 @@ module Hirb
175
175
 
176
176
  #:stopdoc:
177
177
  def enable_output_method
178
- if defined? Ripl
178
+ if defined? Ripl && Ripl.respond_to?(:started?) && Ripl.started?
179
179
  @output_method = true
180
- require 'ripl/hirb'
180
+ require 'ripl/hirb' unless defined? Ripl::Hirb
181
181
  elsif defined? IRB::Irb
182
182
  @output_method = true
183
183
  ::IRB::Irb.class_eval do
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hirb
3
3
  version: !ruby/object:Gem::Version
4
- hash: 9
4
+ hash: 7
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 4
9
- - 3
10
- version: 0.4.3
9
+ - 4
10
+ version: 0.4.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Gabriel Horner
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-03-28 00:00:00 -04:00
18
+ date: 2011-04-24 00:00:00 -04:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency