content_server 1.3.0 → 1.3.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -253,11 +253,11 @@ module ContentData
253
253
  file = File.open(filename, 'w')
254
254
  file.write("#{@contents_info.length}\n")
255
255
  each_content { |checksum, size, content_mod_time|
256
- file.write("#{checksum},#{size},#{Time.at(content_mod_time)}\n")
256
+ file.write("#{checksum},#{size},#{content_mod_time}\n")
257
257
  }
258
258
  file.write("#{@instances_info.length}\n")
259
259
  each_instance { |checksum, size, _, instance_mod_time, server, path|
260
- file.write("#{checksum},#{size},#{server},#{path},#{Time.at(instance_mod_time)}\n")
260
+ file.write("#{checksum},#{size},#{server},#{path},#{instance_mod_time}\n")
261
261
  }
262
262
  file.close
263
263
  end
@@ -290,7 +290,7 @@ module ContentData
290
290
  parameters[1].to_i,
291
291
  parameters[2],
292
292
  parameters[3],
293
- DateTime.parse(parameters[4]).to_time.to_i)
293
+ parameters[4].to_i)
294
294
  end
295
295
  i += 1
296
296
  }
@@ -1,3 +1,3 @@
1
1
  module ContentServer
2
- VERSION = "1.3.0"
2
+ VERSION = "1.3.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: content_server
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: