press 0.6 → 0.7

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 (3) hide show
  1. data/Gemfile.lock +1 -1
  2. data/lib/press/printer.rb +1 -1
  3. metadata +2 -2
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- press (0.5)
4
+ press (0.7)
5
5
 
6
6
  GEM
7
7
  remote: http://rubygems.org/
data/lib/press/printer.rb CHANGED
@@ -45,7 +45,7 @@ module Press
45
45
  when Time
46
46
  "#{k}=#{v.iso8601}"
47
47
  else
48
- v_str = v.to_s
48
+ v_str = v.to_s.strip
49
49
  v_str.match(/\s/) ? "#{k}=\"#{v_str}\"" : "#{k}=#{v_str}"
50
50
  end
51
51
  end.join(" ")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: press
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.6'
4
+ version: '0.7'
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-06-04 00:00:00.000000000Z
12
+ date: 2012-06-08 00:00:00.000000000Z
13
13
  dependencies: []
14
14
  description: Data and exception printer.
15
15
  email: mark.fine@gmail.com