fifthgear 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c59fe8e0e138b63c2ccbcfe0209d2addd5fc8fd4
4
- data.tar.gz: cfbcee4cf09a1ab225e021d1fd8335a3da25cd34
3
+ metadata.gz: f293c3d33a6e8ec413cb1147dfc5f017081e0ad9
4
+ data.tar.gz: 68ac16ae6b8d101291238f936c367ae829900f47
5
5
  SHA512:
6
- metadata.gz: 8a41bd2b1f78456f613fc94fdfb536afe23dcecaa52f4e1c7cc05e735e27c66d551e67f152ecae0bde4768aba82f9c6960ad43e3fe5438a01930d6e5b55415f0
7
- data.tar.gz: 9fe7c1488c73588b2e06fb3c0e5e1ad875cdca1e8f76a02367f74cb35b2f334c39c6737b624653efbad40e7f557191a275bd9855dcb67f063ec20eb6bbbd1174
6
+ metadata.gz: 87b9133ca1f4f476437d9572aeb34ec4337b1fcb30b81684592c48ee29ed00620bece7116b5568bde9dacd0c6a24d8b6b2584d49b0b4eeed66e14adbd90d3ada
7
+ data.tar.gz: c0dfed314b8fed473a920e253ebe5d5530c53d96fab8610ef48fb586ede8f9dfffce2878086239b9416e83fb6b43cf3419820601a6c10c3cf7514df58a541342
@@ -2,7 +2,7 @@ require 'chronic'
2
2
  module Fifthgear
3
3
  module Helper
4
4
  def self.format_date(date=nil)
5
- date = Chronic.parse(date)
5
+ date = Chronic.parse(date.to_s)
6
6
  sprintf('\/Date(%s%s)\/', date.strftime('%s').to_i*1000, date.strftime('%z'))
7
7
  end
8
8
  end
@@ -1,3 +1,3 @@
1
1
  module Fifthgear
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fifthgear
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom Hanley
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-10-01 00:00:00.000000000 Z
11
+ date: 2014-10-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler