stockboy 1.3.1 → 1.3.2

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: 05fab717904ef1e81b3395c5e9bd55868304794b
4
- data.tar.gz: 65fcee4af9cb07edac6349a5e0c6c11bf22b6013
3
+ metadata.gz: 2686885be8afae738cb53116180e393c600b6393
4
+ data.tar.gz: a911d6b33c06d6215a5534e47266bffecaa4562c
5
5
  SHA512:
6
- metadata.gz: a430d46d3e5e422d723f8b1dd236257e4d61043cdb417e418706d24484260cbd0725e16d72ac20435d9feb1e140fbf9513cf26cc84af57d85080a369a50701df
7
- data.tar.gz: caed313e0d31f77265ad1f6823f67309b6e8388cded3473289aa2eee51ef245a6cdecb25b44ce8b63bf98ebf9545ac6f0758fe0b81c9880bd249ae3c39883b3c
6
+ metadata.gz: 7456a69d6dc208d4ac39e61b201885b4af1fe2364c380a619b3b5dd8c7bf228f88846c19bf4e3f304700584612f6f50c585d823179e5f4923e2a1fb1e91e7a08
7
+ data.tar.gz: 3e581239ad3b00e57fa511341b0995b1d98432b01a93de13a7d9abac6f6c72f3c3e10d64a8239b122f52e31a569ea29d1571e9864ffa72d869d0179eca14304e
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.3.2 / 2017-11-08
4
+
5
+ * [BUGFIX] Fix SFTP adapter returning integer for modification_time
6
+
3
7
  ## 1.3.1 / 2017-11-07
4
8
 
5
9
  * [ENHANCEMENT] Expose both raw FTP commands or generic adapter commands
@@ -35,7 +35,7 @@ module Stockboy::Providers
35
35
  end
36
36
 
37
37
  def modification_time(file_name)
38
- stat(file_name).mtime
38
+ (mtime = stat(file_name).mtime) && Time.at(mtime)
39
39
  end
40
40
 
41
41
  def size(file_name)
@@ -1,3 +1,3 @@
1
1
  module Stockboy
2
- VERSION = "1.3.1"
2
+ VERSION = "1.3.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stockboy
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.1
4
+ version: 1.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Vit
@@ -302,7 +302,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
302
302
  version: '0'
303
303
  requirements: []
304
304
  rubyforge_project: stockboy
305
- rubygems_version: 2.4.5.2
305
+ rubygems_version: 2.6.14
306
306
  signing_key:
307
307
  specification_version: 4
308
308
  summary: Multi-source data normalization library