recommender-core 0.0.1 → 0.0.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: af526dd7ce5518845a6ddb738193919ccebe7879
4
- data.tar.gz: 96686cf178180de62daca570e3b767a6f003a686
3
+ metadata.gz: b9ed0bcb626b22f36b5fec599384f8a7052c4194
4
+ data.tar.gz: 3e490355d08fea08f7a38fa48fe168cba50ae5e6
5
5
  SHA512:
6
- metadata.gz: 8c63fe907f43f18c3d70beab4cbfa63bec7eaf336fb5872434e87867dcfb0b5d08fb92b0b3cd4ee1b47e985a95654c99c424de1ce494339fa7377cb2dc1d2e9a
7
- data.tar.gz: 11c3fa7c623aaeac45dcfcb99c1426a619db40014eb0f160ee0de0aaeea3925d118889ae31f1a35ef82de342c58b3887c0a54cc7b65071bc07bac80416d06b5d
6
+ metadata.gz: 6a6cf2fe9a8736e95b79290e558d2242a0d8622fce45bad59282ef12f794a52f03e2d9e26c26ac2d27c7470d1d70e654ed2a5ddbcfe850d8f1d8aea71d9e8adc
7
+ data.tar.gz: 9ea154fad831a040ef822978a514d97a448e00a556e521c27fd7aee64ab49ee97b2dc0d33b7b55adefb8817c3db050a32c82123ce75ca4f6d81acb5184d70989
@@ -1,4 +1,5 @@
1
1
  require 'jruby_mahout'
2
+ require 'tmpdir'
2
3
 
3
4
  class RecommenderCore::Handler
4
5
 
@@ -59,6 +60,6 @@ class RecommenderCore::Handler
59
60
  end
60
61
 
61
62
  def self.return_tmp_path
62
- 'tmp/' + Time.now.to_s + ".csv"
63
+ File.join(Dir.tmpdir, Time.now.to_s + ".csv")
63
64
  end
64
65
  end
@@ -1,3 +1,3 @@
1
1
  module RecommenderCore
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: recommender-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - atacraft & fabira
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-16 00:00:00.000000000 Z
11
+ date: 2014-06-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler