Skip to content

Commit

Permalink
Version 1.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Park committed Dec 19, 2016
1 parent 8b02720 commit ec96e20
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion lib/rosette_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# This class allows you to access all Rosette API endpoints.
class RosetteAPI
# Version of Ruby binding
BINDING_VERSION = '1.4.0'.freeze
BINDING_VERSION = '1.5.0'
# Rosette API language endpoint
LANGUAGE_ENDPOINT = '/language'.freeze
# Rosette API morphology endpoint
Expand Down
4 changes: 2 additions & 2 deletions rosette_api.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Gem::Specification.new do |s|
s.required_ruby_version = '>= 2.0.0'

s.name = 'rosette_api'
s.version = '1.4.0'
s.version = '1.5.0'
s.license = 'MIT'

s.summary = 'Rosette API gem that supports multilingual text-analytics.'
Expand All @@ -19,7 +19,7 @@ Gem::Specification.new do |s|
s.authors = ['Basis Technology Corp']
s.email = %q{[email protected]}
s.homepage = %q{https://developer.rosette.com/}
s.date = %q{2016-10-06}
s.date = %q{2016-12-19}

all_files = `git ls-files -z`.split("\x0")
s.files = all_files.grep(%r{^(bin|lib)/|^.rubocop.yml$})
Expand Down
34 changes: 17 additions & 17 deletions tests/tests_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
'User-Agent' => 'Ruby',
'X-Rosetteapi-Key' => '0123456789',
'X-Rosetteapi-Binding' => 'ruby',
'X-Rosetteapi-Binding-Version' => '1.4.0'}).
'X-Rosetteapi-Binding-Version' => '1.5.0'}).
to_return(:status => 200, :body => "{\"test\": \"language\"}", :headers => {})
end
it 'test language' do
Expand Down Expand Up @@ -57,7 +57,7 @@
'User-Agent' => 'Ruby',
'X-Rosetteapi-Key' => '0123456789',
'X-Rosetteapi-Binding' => 'ruby',
'X-Rosetteapi-Binding-Version' => '1.4.0'}).
'X-Rosetteapi-Binding-Version' => '1.5.0'}).
to_return(:status => 200, :body => "{\"test\": \"morphology/complete\"}", :headers => {})
end
it 'test morphology complete' do
Expand All @@ -78,7 +78,7 @@
'User-Agent' => 'Ruby',
'X-Rosetteapi-Key' => '0123456789',
'X-Rosetteapi-Binding' => 'ruby',
'X-Rosetteapi-Binding-Version' => '1.4.0'}).
'X-Rosetteapi-Binding-Version' => '1.5.0'}).
to_return(:status => 200, :body => "{\"test\": \"morphology/compound-components\"}", :headers => {})
end
it 'test morphology compound components' do
Expand All @@ -99,7 +99,7 @@
'User-Agent' => 'Ruby',
'X-Rosetteapi-Key' => '0123456789',
'X-Rosetteapi-Binding' => 'ruby',
'X-Rosetteapi-Binding-Version' => '1.4.0'}).
'X-Rosetteapi-Binding-Version' => '1.5.0'}).
to_return(:status => 200, :body => "{\"test\": \"morphology/han-readings\"}", :headers => {})
end
it 'test morphology han readings' do
Expand All @@ -120,7 +120,7 @@
'User-Agent' => 'Ruby',
'X-Rosetteapi-Key' => '0123456789',
'X-Rosetteapi-Binding' => 'ruby',
'X-Rosetteapi-Binding-Version' => '1.4.0'}).
'X-Rosetteapi-Binding-Version' => '1.5.0'}).
to_return(:status => 200, :body => "{\"test\": \"morphology/parts-of-speech\"}", :headers => {})
end
it 'test morphology parts of speech' do
Expand All @@ -141,7 +141,7 @@
'User-Agent' => 'Ruby',
'X-Rosetteapi-Key' => '0123456789',
'X-Rosetteapi-Binding' => 'ruby',
'X-Rosetteapi-Binding-Version' => '1.4.0'}).
'X-Rosetteapi-Binding-Version' => '1.5.0'}).
to_return(:status => 200, :body => "{\"test\": \"morphology/lemmas\"}", :headers => {})
end
it 'test morphology lemmas' do
Expand All @@ -162,7 +162,7 @@
'User-Agent' => 'Ruby',
'X-Rosetteapi-Key' => '0123456789',
'X-Rosetteapi-Binding' => 'ruby',
'X-Rosetteapi-Binding-Version' => '1.4.0'}).
'X-Rosetteapi-Binding-Version' => '1.5.0'}).
to_return(:status => 200, :body => "{\"test\": \"entities\"}", :headers => {})
end
it 'test entities' do
Expand All @@ -184,7 +184,7 @@
'User-Agent' => 'Ruby',
'X-Rosetteapi-Key' => '0123456789',
'X-Rosetteapi-Binding' => 'ruby',
'X-Rosetteapi-Binding-Version' => '1.4.0'}).
'X-Rosetteapi-Binding-Version' => '1.5.0'}).
to_return(:status => 200, :body => "{\"test\": \"entities\"}", :headers => {})
end
it 'test entities without qids' do
Expand Down Expand Up @@ -215,7 +215,7 @@
'User-Agent' => 'Ruby',
'X-Rosetteapi-Key' => '0123456789',
'X-Rosetteapi-Binding' => 'ruby',
'X-Rosetteapi-Binding-Version' => '1.4.0'}).
'X-Rosetteapi-Binding-Version' => '1.5.0'}).
to_return(:status => 200, :body => "{\"test\": \"categories\"}", :headers => {})
end
it 'test categories' do
Expand All @@ -236,7 +236,7 @@
'User-Agent' => 'Ruby',
'X-Rosetteapi-Key' => '0123456789',
'X-Rosetteapi-Binding' => 'ruby',
'X-Rosetteapi-Binding-Version' => '1.4.0'}).
'X-Rosetteapi-Binding-Version' => '1.5.0'}).
to_return(:status => 200, :body => "{\"test\": \"relationships\"}", :headers => {})
end
it 'test relationships' do
Expand All @@ -258,7 +258,7 @@
'User-Agent' => 'Ruby',
'X-Rosetteapi-Key' => '0123456789',
'X-Rosetteapi-Binding' => 'ruby',
'X-Rosetteapi-Binding-Version' => '1.4.0'}).
'X-Rosetteapi-Binding-Version' => '1.5.0'}).
to_return(:status => 200, :body => "{\"test\": \"name-translation\"}", :headers => {})
end
it 'test name translation' do
Expand All @@ -285,7 +285,7 @@
'User-Agent' => 'Ruby',
'X-Rosetteapi-Key' => '0123456789',
'X-Rosetteapi-Binding' => 'ruby',
'X-Rosetteapi-Binding-Version' => '1.4.0'}).
'X-Rosetteapi-Binding-Version' => '1.5.0'}).
to_return(:status => 200, :body => "{\"test\": \"name-similarity\"}", :headers => {})
end
it 'test name similarity' do
Expand Down Expand Up @@ -320,7 +320,7 @@
'User-Agent' => 'Ruby',
'X-Rosetteapi-Key' => '0123456789',
'X-Rosetteapi-Binding' => 'ruby',
'X-Rosetteapi-Binding-Version' => '1.4.0'}).
'X-Rosetteapi-Binding-Version' => '1.5.0'}).
to_return(:status => 200, :body => "{\"test\": \"tokens\"}", :headers => {})
end
it 'test tokens' do
Expand All @@ -341,7 +341,7 @@
'User-Agent' => 'Ruby',
'X-Rosetteapi-Key' => '0123456789',
'X-Rosetteapi-Binding' => 'ruby',
'X-Rosetteapi-Binding-Version' => '1.4.0'}).
'X-Rosetteapi-Binding-Version' => '1.5.0'}).
to_return(:status => 200, :body => "{\"test\": \"sentences\"}", :headers => {})
end
it 'test sentences' do
Expand Down Expand Up @@ -392,7 +392,7 @@
'User-Agent' => 'Ruby',
'X-Rosetteapi-Key' => '0123456789',
'X-Rosetteapi-Binding' => 'ruby',
'X-Rosetteapi-Binding-Version' => '1.4.0',
'X-Rosetteapi-Binding-Version' => '1.5.0',
'X-RosetteApi-App' => 'ruby-app'}).
to_return(:status => 200, :body => "{\"test\": \"language\"}", :headers => {})
end
Expand Down Expand Up @@ -429,7 +429,7 @@
'User-Agent' => 'Ruby',
'X-Rosetteapi-Key' => '0123456789',
'X-Rosetteapi-Binding' => 'ruby',
'X-Rosetteapi-Binding-Version' => '1.4.0'}).
'X-Rosetteapi-Binding-Version' => '1.5.0'}).
to_return(:status => 200, :body => "{\"test\": \"language\"}", :headers => {})
end
it 'test text_embedding' do
Expand All @@ -450,7 +450,7 @@
'User-Agent' => 'Ruby',
'X-Rosetteapi-Key' => '0123456789',
'X-Rosetteapi-Binding' => 'ruby',
'X-Rosetteapi-Binding-Version' => '1.4.0'}).
'X-Rosetteapi-Binding-Version' => '1.5.0'}).
to_return(:status => 200, :body => "{\"test\": \"language\"}", :headers => {})
end
it 'test syntax_dependencies' do
Expand Down

0 comments on commit ec96e20

Please sign in to comment.