tm_helper 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0
1
+ 0.3.0
@@ -23,10 +23,10 @@ module TmHelper
23
23
  end
24
24
  end
25
25
 
26
- if TmHelper.running_in_textmate? && TmHelper.running_rspec_bundle?
26
+ if TmHelper.running_in_textmate?
27
27
  module Kernel
28
- def output string
29
- puts TmHelper.convert_to_html( string ) + "<br/>"
28
+ def printout string
29
+ puts TmHelper.textmate_wrap( string ) + "<br/>"
30
30
  end
31
31
  end
32
32
  else
@@ -45,10 +45,10 @@ if TmHelper.running_in_textmate? && ENV["TM_SHOW_LOGS"]
45
45
  alias :orig_warn :warn
46
46
  alias :orig_error :error
47
47
 
48
- def info string; output TmHelper.textmate_wrap( string ); end
49
- def debug string; output TmHelper.textmate_wrap( string ); end
50
- def warn string; output TmHelper.textmate_wrap( string ); end
51
- def error string; output TmHelper.textmate_wrap( string ); end
48
+ def info string; orig_info string; printout string; end
49
+ def debug string; orig_debug string; printout string; end
50
+ def warn string; orig_warn string; printout string; end
51
+ def error string; orig_error string; printout string; end
52
52
 
53
53
  end
54
54
  end
data/tm_helper.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{tm_helper}
8
- s.version = "0.2.0"
8
+ s.version = "0.3.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["shock"]
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tm_helper
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 19
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
- - 2
8
+ - 3
9
9
  - 0
10
- version: 0.2.0
10
+ version: 0.3.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - shock