http_connection 1.4.3 → 1.4.4

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.
Files changed (2) hide show
  1. data/lib/right_http_connection.rb +5 -2
  2. metadata +1 -1
@@ -134,8 +134,11 @@ them.
134
134
  @http = nil
135
135
  @server = nil
136
136
  @logger = get_param(:logger) ||
137
- (RAILS_DEFAULT_LOGGER if defined?(RAILS_DEFAULT_LOGGER)) ||
138
- Logger.new(STDOUT)
137
+ (RAILS_DEFAULT_LOGGER if defined?(RAILS_DEFAULT_LOGGER))
138
+ unless @logger
139
+ @logger = Logger.new(STDOUT)
140
+ @logger.level = Logger::INFO
141
+ end
139
142
  end
140
143
 
141
144
  def get_param(name)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: http_connection
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.3
4
+ version: 1.4.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: