foto 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -6,8 +6,8 @@ class Foto::JsonDate
6
6
  end
7
7
 
8
8
  def to_json
9
- format = "\"\\/Date(%s)\\/\""
9
+ format = "\"\\/Date(%s%s)\\/\""
10
10
  seconds = date.to_i * 1000
11
- format % [seconds]
11
+ format % [seconds, date.strftime("%z")]
12
12
  end
13
13
  end
@@ -1,3 +1,3 @@
1
1
  module Foto
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foto
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 23
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 3
10
- version: 0.0.3
9
+ - 4
10
+ version: 0.0.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Peter Tran