Skip to content

Commit

Permalink
Merging connection details instead of update
Browse files Browse the repository at this point in the history
  • Loading branch information
samlown committed Feb 13, 2017
1 parent 7b6064c commit 855e5cd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Expand Up @@ -5,4 +5,4 @@ gemspec
gem "guard-rspec", "~> 4.7.0", group: :test

# Enable for testing against local couchrest
gem "couchrest", path: "/Users/sam/workspace/couchrest"
# gem "couchrest", path: "/Users/sam/workspace/couchrest"
2 changes: 1 addition & 1 deletion couchrest_model.gemspec
Expand Up @@ -28,7 +28,7 @@ Gem::Specification.new do |s|
s.add_dependency("hashdiff", "~> 0.3")
s.add_development_dependency("rspec", "~> 3.5.0")
s.add_development_dependency("rack-test", ">= 0.5.7")
s.add_development_dependency("rake", ">= 0.8.0")
s.add_development_dependency("rake", ">= 0.8.0", "< 11.0")
s.add_development_dependency("test-unit")
s.add_development_dependency("minitest", "> 4.1") #, "< 5.0") # For Kaminari and activesupport, pending removal
s.add_development_dependency("kaminari", ">= 0.14.1", "< 0.16.0")
Expand Down
2 changes: 1 addition & 1 deletion lib/couchrest/model/connection.rb
Expand Up @@ -54,7 +54,7 @@ def prepare_server_uri

def connection_configuration
@connection_configuration ||=
self.connection.update(
self.connection.merge(
(load_connection_config_file[environment.to_sym] || {}).symbolize_keys
)
end
Expand Down

0 comments on commit 855e5cd

Please sign in to comment.