tai64 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -6,8 +6,10 @@ require 'time'
6
6
  $stdin.each_line do |l|
7
7
  parts = l.split /\s+/, 2
8
8
  begin
9
- t = Tai64.parse parts[0]
10
- puts [ t.to_time.to_s, parts[1] ].join ' '
9
+ label = Tai64.parse parts[0]
10
+ time = label.to_time
11
+ ts = time.iso8601 10
12
+ puts [ ts, parts[1] ].join ' '
11
13
  rescue
12
14
  puts parts.join ' '
13
15
  end
@@ -1,3 +1,3 @@
1
1
  module Tai64
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tai64
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - Craig R Webster
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2013-11-28 00:00:00.000000000 Z
12
+ date: 2013-12-14 00:00:00.000000000 Z
12
13
  dependencies: []
13
14
  description: Work with TAI64 timestamps
14
15
  email:
@@ -29,25 +30,26 @@ files:
29
30
  - tai64.gemspec
30
31
  homepage: http://cr.yp.to/libtai/tai64.html
31
32
  licenses: []
32
- metadata: {}
33
33
  post_install_message:
34
34
  rdoc_options: []
35
35
  require_paths:
36
36
  - lib
37
37
  required_ruby_version: !ruby/object:Gem::Requirement
38
+ none: false
38
39
  requirements:
39
- - - '>='
40
+ - - ! '>='
40
41
  - !ruby/object:Gem::Version
41
42
  version: '0'
42
43
  required_rubygems_version: !ruby/object:Gem::Requirement
44
+ none: false
43
45
  requirements:
44
- - - '>='
46
+ - - ! '>='
45
47
  - !ruby/object:Gem::Version
46
48
  version: '0'
47
49
  requirements: []
48
50
  rubyforge_project:
49
- rubygems_version: 2.0.3
51
+ rubygems_version: 1.8.24
50
52
  signing_key:
51
- specification_version: 4
53
+ specification_version: 3
52
54
  summary: Work with TAI64 timestamps
53
55
  test_files: []
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA1:
3
- metadata.gz: a3dfc7971a5b718ae43dff4b1c6a9f0f939ecc54
4
- data.tar.gz: 2294df8f833eacc19ee2214d05622bda189a6748
5
- SHA512:
6
- metadata.gz: ecf8e7a546700fde013c3a0b6d68032848e08184cd5660c7e52fc7d5e9ff76a0d6677e00ad9642350dc5deb5a9fc9a7020a1f4400082d18322de87d21ec248d3
7
- data.tar.gz: 602d888f1939431a0d1e9059ac3696710832a0c92f1937d94fdbe75d88f5bedf22717f8b39a3a88739dac68ef95a034f1afe7ccf01a673f49eae39eb0384ba52