predictionio 0.7.1.beta1 → 0.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6d88cc824f559f883af0ee9f3390b1d320aef530
4
- data.tar.gz: 993b00e00185f29e36d6b0b958dda77be4eb6cc2
3
+ metadata.gz: 9a0cd7b4e99c6db76f57ca47d07b96c3c53820e8
4
+ data.tar.gz: d46e42deee2a425b7fdd9bc77f146ef6ed722a21
5
5
  SHA512:
6
- metadata.gz: 6566781e604ad53a2f661d44636530180db6347a1a0402ec33ba9e58f34182377798121829a45f0d513de6d4186127c68f4605f5a995dad489fbe04dedb7c85c
7
- data.tar.gz: d691b96f2e287488627ab6043b8db95a416ec3eaeaa669c5890ed74ed467c3b1d319fcaa05879689dfc694333abda9928f087b413fbb334ecc2f52f26ee0369d
6
+ metadata.gz: 39451eb1e6eb960b0213d88e3f3c46b6f6ba99117ad2be4c012e63451c6a993d53520535703c015db0c2043948bd1b23d5b9e80f7c54423723cd37bc8e416923
7
+ data.tar.gz: 1c5e961a5933288e91af6616cd53376811dc5d4b62f27b469e6fa929f138cc5748a0fd9618ab117d29db228103f4d352d7055164bffdfd07b5f3c746a44fba7d
@@ -161,9 +161,9 @@ module PredictionIO
161
161
  class U2IActionNotCreatedError < StandardError; end
162
162
 
163
163
  # Create a new PredictionIO client with default:
164
- # - API entry point at http://localhost:8000
165
- # - API return data format of json
166
- # - 10 concurrent HTTP(S) connections
164
+ # - 10 concurrent HTTP(S) connections (threads)
165
+ # - API entry point at http://localhost:8000 (apiurl)
166
+ # - a 60-second timeout for each HTTP(S) connection (thread_timeout)
167
167
  def initialize(appkey, threads = 10, apiurl = "http://localhost:8000", thread_timeout = 60)
168
168
  @appkey = appkey
169
169
  @apiformat = "json"
@@ -13,7 +13,7 @@ module PredictionIO
13
13
  attr_reader :timeout
14
14
 
15
15
  # Spawns a number of threads with persistent HTTP connection to the specified URI.
16
- # Sets a default timeout of 5 seconds.
16
+ # Sets a default timeout of 60 seconds.
17
17
  def initialize(uri, threads = 1, timeout = 60)
18
18
  @packages = Queue.new
19
19
  @counter_lock = Mutex.new
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: predictionio
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.1.beta1
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - The PredictionIO Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-28 00:00:00.000000000 Z
11
+ date: 2014-05-10 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: |
14
14
  PredictionIO is a prediction server for building smart applications. This gem
@@ -38,9 +38,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
38
38
  version: '1.9'
39
39
  required_rubygems_version: !ruby/object:Gem::Requirement
40
40
  requirements:
41
- - - '>'
41
+ - - '>='
42
42
  - !ruby/object:Gem::Version
43
- version: 1.3.1
43
+ version: '0'
44
44
  requirements: []
45
45
  rubyforge_project:
46
46
  rubygems_version: 2.0.14