rcommand 0.1.0 → 0.1.1

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.
Files changed (5) hide show
  1. data/CHANGELOG +2 -0
  2. data/README +1 -1
  3. data/lib/rcommand.rb +2 -2
  4. data/rakefile +1 -1
  5. metadata +2 -2
data/CHANGELOG CHANGED
@@ -1,2 +1,4 @@
1
+ == RCommand 0.1.1
2
+ * Fixed gets method so that it correctly returns "\n" on the end of strings.
1
3
  == RCommand 0.1.0
2
4
  * Initial release, probably isn't very portable.
data/README CHANGED
@@ -38,5 +38,5 @@ command interface to users, complete with command history and tab completion.
38
38
  loop do
39
39
  command_line.prompt()
40
40
  result = command_line.gets()
41
- command_line.io_write.puts("Example command: #{result}")
41
+ command_line.io_write.print("Example command: #{result}")
42
42
  end
@@ -21,7 +21,7 @@
21
21
  # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22
22
  #++
23
23
 
24
- RCOMMAND_VERSION = "0.1.0"
24
+ RCOMMAND_VERSION = "0.1.1"
25
25
 
26
26
  $:.unshift(File.dirname(__FILE__))
27
27
 
@@ -253,7 +253,7 @@ class RCommand
253
253
  end
254
254
  end
255
255
  end
256
- return command
256
+ return command + "\n"
257
257
  end
258
258
 
259
259
  private
data/rakefile CHANGED
@@ -7,7 +7,7 @@ require 'rake/gempackagetask'
7
7
  require 'rake/contrib/rubyforgepublisher'
8
8
 
9
9
  PKG_NAME = 'rcommand'
10
- PKG_VERSION = '0.1.0'
10
+ PKG_VERSION = '0.1.1'
11
11
  PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}"
12
12
 
13
13
  RELEASE_NAME = "REL #{PKG_VERSION}"
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.8.11
3
3
  specification_version: 1
4
4
  name: rcommand
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.1.0
7
- date: 2006-03-27 00:00:00 -05:00
6
+ version: 0.1.1
7
+ date: 2006-04-02 00:00:00 -05:00
8
8
  summary: Command handler.
9
9
  require_paths:
10
10
  - lib