tai64 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/tai64.rb +4 -2
  2. data/lib/tai64/version.rb +1 -1
  3. metadata +2 -2
@@ -1,3 +1,4 @@
1
+ require "time"
1
2
  require "tai64/version"
2
3
 
3
4
  module Tai64
@@ -68,9 +69,10 @@ module Tai64
68
69
  Label.new s % [ ts, tai_nanosecond ]
69
70
  end
70
71
 
71
- def to_s
72
- time.to_s
72
+ def iso8601
73
+ time.iso8601
73
74
  end
75
+ alias_method :to_s, :iso8601
74
76
  end
75
77
 
76
78
  class Label
@@ -1,3 +1,3 @@
1
1
  module Tai64
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tai64
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
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-10-20 00:00:00.000000000 Z
12
+ date: 2012-11-12 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Work with TAI64 timestamps
15
15
  email: