Skip to content

Commit

Permalink
Merge pull request #15 from intrinio/ELH/updates-and-fixes
Browse files Browse the repository at this point in the history
version update
  • Loading branch information
evanlhyde authored Apr 21, 2022
2 parents f4d0654 + 7a23eae commit 833937d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions intrinio-realtime.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)

Gem::Specification.new do |spec|
spec.name = "intrinio-realtime"
spec.version = "3.2"
spec.version = "4.0.0"
spec.authors = ["Intrinio"]
spec.email = ["ssnyder@intrinio.com"]
spec.email = ["admin@intrinio.com"]
spec.description = %q{Intrinio Ruby SDK for Real-Time Stock Prices}
spec.summary = %q{Intrinio provides real-time stock prices from its Multi-Exchange feed, via a two-way WebSocket connection.}
spec.homepage = "https://github.com/intrinio/intrinio-realtime-ruby-sdk"
Expand Down
2 changes: 1 addition & 1 deletion lib/intrinio-realtime.rb
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ def refresh_token
http.use_ssl = true if (auth_url.include?("https"))
http.start
request = Net::HTTP::Get.new(uri.request_uri)
request.add_field("Client-Information", "IntrinioRealtimeRubySDKv3.2")
request.add_field("Client-Information", "IntrinioRealtimeRubySDKv4.0")

unless @api_key
request.basic_auth(@username, @password)
Expand Down

0 comments on commit 833937d

Please sign in to comment.