bazil_client 1.0.1 → 1.0.2
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.
- data/ChangeLog.md +6 -0
- data/VERSION +1 -1
- data/lib/bazil/model.rb +1 -1
- metadata +3 -3
data/ChangeLog.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
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.
|
|
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-
|
|
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: -
|
|
105
|
+
hash: -441761299674887890
|
|
106
106
|
requirements: []
|
|
107
107
|
rubyforge_project:
|
|
108
108
|
rubygems_version: 1.8.23
|