bazil_client 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/ChangeLog.md +6 -0
  2. data/VERSION +1 -1
  3. data/lib/bazil/model.rb +1 -1
  4. metadata +3 -3
data/ChangeLog.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## Version 1.0.2 (2013-04-22) ##
2
+
3
+ Feature
4
+
5
+ - Fix Model::Train behavior
6
+
1
7
  ## Version 1.0.1 (2013-02-28) ##
2
8
 
3
9
  Feature
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.1
1
+ 1.0.2
data/lib/bazil/model.rb CHANGED
@@ -46,7 +46,7 @@ module Bazil
46
46
  raise ArgumentError, 'Annotation must be not nil' unless train_data.has_key? :annotation
47
47
  raise ArgumentError, 'Data must be not nil' unless train_data.has_key? :data
48
48
 
49
- body = post("training_data", train_data.to_json, "Failed to post training data")
49
+ body = post("training_data?train=true", train_data.to_json, "Failed to post training data")
50
50
  JSON.parse(body)
51
51
  end
52
52
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bazil_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-02-28 00:00:00.000000000 Z
12
+ date: 2013-04-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
@@ -102,7 +102,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
102
102
  version: '0'
103
103
  segments:
104
104
  - 0
105
- hash: -2294157025898643807
105
+ hash: -441761299674887890
106
106
  requirements: []
107
107
  rubyforge_project:
108
108
  rubygems_version: 1.8.23