lymbix 0.3.5 → 0.3.6
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 +1 -0
- data/lib/lymbix/data_point.rb +1 -1
- metadata +3 -3
data/Changelog
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
v0.3.6 - added end and start time to data points coming from toneaday
|
|
1
2
|
v.0.3.5 - added tonalize_article, tonalize_paragraph which belongs to the 2.0 version of gyrus, also modified the request to include the version header
|
|
2
3
|
v.0.3.4 - fixed issue when setting host it still kept default host instead
|
|
3
4
|
v.0.3.3 - gem now uses configuration class to set host properties for gyrus
|
data/lib/lymbix/data_point.rb
CHANGED
|
@@ -27,7 +27,7 @@ module Lymbix
|
|
|
27
27
|
end
|
|
28
28
|
categories_data.chop!
|
|
29
29
|
categories_data << "}"
|
|
30
|
-
response = Lymbix::Request.new(:post, "data_points",{:app_id => data[:app_id], :auth_key => data[:auth_key], :lymbix_user_id => data[:lymbix_user_id]}, {:worker_id => data[:worker_id], :phrase => data[:phrase], :word_id => data[:word_id], :definition_id => data[:definition_id], :user_id => data[:user_id], :lymbix_user_id => data[:lymbix_user_id]}.merge!(eval(categories_data))).run
|
|
30
|
+
response = Lymbix::Request.new(:post, "data_points",{:app_id => data[:app_id], :auth_key => data[:auth_key], :lymbix_user_id => data[:lymbix_user_id]}, {:worker_id => data[:worker_id], :phrase => data[:phrase], :start_rate_time => data[:start_rate_time], :end_rate_time => data[:end_rate_time], :word_id => data[:word_id], :definition_id => data[:definition_id], :user_id => data[:user_id], :lymbix_user_id => data[:lymbix_user_id]}.merge!(eval(categories_data))).run
|
|
31
31
|
end
|
|
32
32
|
|
|
33
33
|
def save
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: lymbix
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 31
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 3
|
|
9
|
-
-
|
|
10
|
-
version: 0.3.
|
|
9
|
+
- 6
|
|
10
|
+
version: 0.3.6
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Patrick Roy
|