slides 0.1.6 → 0.1.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/slides.rb +4 -0
  2. metadata +2 -2
@@ -1,3 +1,5 @@
1
+ require "time"
2
+
1
3
  module Slides
2
4
  module Log
3
5
  def log(event, attrs = {})
@@ -42,6 +44,8 @@ module Slides
42
44
  nil
43
45
  elsif v.is_a?(String) && v =~ /\s/
44
46
  quote_string(k, v)
47
+ elsif v.is_a?(Time)
48
+ "#{k}=#{v.iso8601}"
45
49
  else
46
50
  "#{k}=#{v}"
47
51
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: slides
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.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-07-18 00:00:00.000000000 Z
12
+ date: 2012-08-30 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description:
15
15
  email: brandur@mutelight.org