parameters 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,7 @@
1
+ === 0.1.2 / 2009-01-06
2
+
3
+ * When printing parameter values, print the inspected version of the value.
4
+
1
5
  === 0.1.1 / 2008-12-27
2
6
 
3
7
  * Added the require_params helper method.
data/README.txt CHANGED
@@ -48,7 +48,7 @@ have configurable default values.
48
48
 
49
49
  The MIT License
50
50
 
51
- Copyright (c) 2008 Hal Brodigan
51
+ Copyright (c) 2008-2009 Hal Brodigan
52
52
 
53
53
  Permission is hereby granted, free of charge, to any person obtaining
54
54
  a copy of this software and associated documentation files (the
@@ -22,7 +22,7 @@ module Parameters
22
22
  def to_s
23
23
  text = " #{@name}"
24
24
 
25
- text << " [#{@value}]" if @value
25
+ text << " [#{@value.inspect}]" if @value
26
26
  text << "\t#{@description}" if @description
27
27
 
28
28
  return text
@@ -34,7 +34,7 @@ module Parameters
34
34
  def to_s
35
35
  text = " #{@name}"
36
36
 
37
- text << " [#{value}]" if value
37
+ text << " [#{value.inspect}]" if value
38
38
  text << "\t#{@description}" if @description
39
39
 
40
40
  return text
@@ -1,3 +1,3 @@
1
1
  module Parameters
2
- VERSION = '0.1.1'
2
+ VERSION = '0.1.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: parameters
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Postmodern
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-12-27 00:00:00 -08:00
12
+ date: 2009-01-05 00:00:00 -08:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency