lymbix 0.4.4 → 0.4.5

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 CHANGED
@@ -1,3 +1,4 @@
1
+ v0.4.5 - fixed rest-client timeout issue
1
2
  v0.4.4 - removed methods not used.
2
3
  v0.4.3 - can now specify which api_version to use
3
4
  v0.4.2 - added reference_id to all methods using version 2.2 BETA
data/LICENSE CHANGED
File without changes
data/README CHANGED
File without changes
File without changes
@@ -15,7 +15,7 @@ To begin using the base class, you must get your authentication key provided fro
15
15
 
16
16
  def initialize(auth_key)
17
17
  @auth_key = auth_key
18
- @api_version = 2.1
18
+ @api_version = 2.3
19
19
  end
20
20
 
21
21
  # Tonalizes text using version 2.1,2.2 of ToneAPI
@@ -28,7 +28,6 @@ To begin using the base class, you must get your authentication key provided fro
28
28
 
29
29
  # Tonalizes text using version 2.0 of ToneAPI
30
30
  def tonalize_article(article, accept_type = "application/json")
31
- @api_version = 2.0
32
31
  response = request(:post, 'tonalize_article',{:article => article}, {:accept => accept_type}).data
33
32
  end
34
33
 
File without changes
@@ -15,8 +15,8 @@ module Lymbix
15
15
 
16
16
  def connection
17
17
  options = {}
18
- options[:timeout] = 0
19
- options[:headers] = {:USER_AGENT => "Lymbix Gem - 0.4.4", :accept => self.header_hash[:accept_type], :AUTHENTICATION => self.header_hash[:auth_key], :VERSION => self.header_hash[:version]}
18
+ options[:timeout] = 60
19
+ options[:headers] = {:USER_AGENT => "Lymbix Gem - 0.4.5", :accept => self.header_hash[:accept_type], :AUTHENTICATION => self.header_hash[:auth_key], :VERSION => self.header_hash[:version]}
20
20
  RestClient::Resource.new(self.url, options)
21
21
  end
22
22
 
File without changes
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: 7
5
- prerelease:
4
+ hash: 5
5
+ prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 4
9
- - 4
10
- version: 0.4.4
9
+ - 5
10
+ version: 0.4.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Patrick Roy
@@ -19,7 +19,7 @@ autorequire:
19
19
  bindir: bin
20
20
  cert_chain: []
21
21
 
22
- date: 2011-04-13 00:00:00 -03:00
22
+ date: 2012-04-23 00:00:00 -03:00
23
23
  default_executable:
24
24
  dependencies: []
25
25
 
@@ -70,7 +70,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
70
70
  requirements: []
71
71
 
72
72
  rubyforge_project:
73
- rubygems_version: 1.5.2
73
+ rubygems_version: 1.3.7
74
74
  signing_key:
75
75
  specification_version: 3
76
76
  summary: The Lymbix gem provides an interface to gyrus (connotative logic and database).