rbcurse-core 0.0.9 → 0.0.10

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,3 +1,11 @@
1
+ **2013-03-22**
2
+ ## 0.0.10 rbcurse-core
3
+ * Added method_missing to chunkline, required for ribhu gem
4
+
5
+ **2013-03-21**
6
+ ## 0.0.9 rbcurse-core
7
+ * Made several fixed so it works on 1.8.7 (thanks hramrach)
8
+
1
9
  **2012-01- **
2
10
  ## 0.0.4 rbcurse-core
3
11
  * added RESIZE event to form, so resizing app components is possible
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.9
1
+ 0.0.10
@@ -4,7 +4,7 @@
4
4
  # Author: rkumar http://github.com/rkumar/rbcurse/
5
5
  # Date: 07.11.11 - 12:31
6
6
  # Same as Ruby's License (http://www.ruby-lang.org/LICENSE.txt)
7
- # Last update: 2013-03-08 00:03
7
+ # Last update: 2013-03-21 19:01
8
8
  # ------------------------------------------------------------ #
9
9
  #
10
10
 
@@ -83,6 +83,13 @@ module Chunks
83
83
  @chunks.each { |e| result << e.text }
84
84
  result
85
85
  end
86
+
87
+ # added to take care of many string methods that are called.
88
+ # Callers really don't know this is a chunkline, they assume its a string
89
+ # 2013-03-21 - 19:01
90
+ def method_missing(sym, *args, &block)
91
+ self.to_s.send sym, *args, &block
92
+ end
86
93
  end
87
94
  class ColorParser
88
95
  def initialize cp
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "rbcurse-core"
8
- s.version = "0.0.9"
8
+ s.version = "0.0.10"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Rahul Kumar"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rbcurse-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.0.10
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: