rubyhacks 0.1.3 → 0.1.4

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.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.3
1
+ 0.1.4
data/lib/rubyhacks.rb CHANGED
@@ -383,7 +383,7 @@ class String
383
383
  alias :delsubstr :delete_substrings
384
384
 
385
385
  def paginate(command = "less")
386
- system({"PAGINATE_STRING" => self.gsub(/\n/, "\\n")}, "echo $PAGINATE_STRING | #{command}")
386
+ system({"PAGINATE_STRING" => self.gsub(/\n/, "\\n").gsub(/\t/, "\\t")}, "echo $PAGINATE_STRING | #{command}")
387
387
  end
388
388
  end
389
389
 
data/rubyhacks.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "rubyhacks"
8
- s.version = "0.1.3"
8
+ s.version = "0.1.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Edmund Highcock"]
@@ -10,6 +10,6 @@ class TestRubyhacks < Test::Unit::TestCase
10
10
  assert_raise(TypeError){fh['bb'] = 55}
11
11
  end
12
12
  def test_paginate
13
- #File.read(__FILE__).paginate
13
+ File.read(__FILE__).paginate
14
14
  end
15
15
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubyhacks
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -111,7 +111,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
111
111
  version: '0'
112
112
  segments:
113
113
  - 0
114
- hash: 1542202629001448109
114
+ hash: 257259651278485398
115
115
  required_rubygems_version: !ruby/object:Gem::Requirement
116
116
  none: false
117
117
  requirements: