Skip to content

Commit

Permalink
Merge pull request #22 from tsuwatch/feature/aws-sdk-cloudsearchdomain
Browse files Browse the repository at this point in the history
Bump aws-sdk v3
  • Loading branch information
tsuwatch committed Nov 15, 2017
2 parents f68da2c + 9bf4075 commit 0f300bb
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion lib/nazrin.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require 'aws-sdk'
require 'aws-sdk-cloudsearchdomain'

require 'nazrin/searchable'
require 'nazrin/data_accessor'
Expand Down
3 changes: 2 additions & 1 deletion nazrin.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ Gem::Specification.new do |spec|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
spec.require_paths = ['lib']

spec.add_dependency 'aws-sdk', '~> 2'
spec.add_dependency 'aws-sdk-core', '~> 3'
spec.add_dependency 'aws-sdk-cloudsearchdomain', '~> 1.0'
spec.add_dependency 'activesupport', '>= 4.0.0'

spec.add_development_dependency 'bundler', '~> 1.9'
Expand Down
4 changes: 2 additions & 2 deletions spec/nazrin/nazrin_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
let(:config) { Nazrin.config }
it { expect(config.debug_mode).to be false }
it { expect(config.mode).to eq 'sandbox' }
it { expect(config.search_endpoint).to eq 'http://search' }
it { expect(config.document_endpoint).to eq 'http://document' }
it { expect(config.search_endpoint).to eq 'http://search.com' }
it { expect(config.document_endpoint).to eq 'http://document.com' }
it { expect(config.region).to eq :region }
it { expect(config.access_key_id).to eq :access_key_id }
it { expect(config.secret_access_key).to eq :secret_access_key }
Expand Down
4 changes: 2 additions & 2 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
Nazrin.configure do |config|
config.debug_mode = false
config.mode = 'production'
config.search_endpoint = 'http://search'
config.document_endpoint = 'http://document'
config.search_endpoint = 'http://search.com'
config.document_endpoint = 'http://document.com'
config.region = :region
config.access_key_id = :access_key_id
config.secret_access_key = :secret_access_key
Expand Down

0 comments on commit 0f300bb

Please sign in to comment.