Skip to content

Commit

Permalink
V3 Rewrite for Multi-Exchange Feed (#12)
Browse files Browse the repository at this point in the history
* initial check in

* udpate

* update for threading

* update sleep timing

* Update documentation

* Add telemetry header and remove dependency

Add telemetry header to know which languages are being used, and remove http gem dependency

* update to 3.1 for consistency across clients

* add idea folder to ignore

* put placeholder back in for clarity on where to put api key

put placeholder back in for clarity on where to put api key
  • Loading branch information
ssnyder-intrinio authored Dec 16, 2021
1 parent 981b3a8 commit 865d295
Show file tree
Hide file tree
Showing 10 changed files with 403 additions and 421 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,5 @@ build-iPhoneSimulator/

test.rb
.DS_STORE

.idea/
11 changes: 11 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM ruby:2.7.5

RUN mkdir /intrinio

WORKDIR /intrinio

COPY . /intrinio

RUN bundle install

CMD RUBYOPT=-W0 bundle exec ruby sample/simple.rb
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ source 'https://rubygems.org'
# Specify your gem's dependencies in intrinio-realtime.gemspec
gemspec

ruby "2.3.6"
ruby "2.7.5"
33 changes: 10 additions & 23 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,46 +1,33 @@
PATH
remote: .
specs:
intrinio-realtime (2.0.0)
intrinio-realtime (3.1.0)
bigdecimal (~> 1.4.0)
eventmachine (~> 1.2)
http (~> 2.2)
thread (~> 0.2.2)
websocket-client-simple (~> 0.3)

GEM
remote: https://rubygems.org/
specs:
addressable (2.5.2)
public_suffix (>= 2.0.2, < 4.0)
domain_name (0.5.20180417)
unf (>= 0.0.5, < 1.0.0)
bigdecimal (1.4.4)
event_emitter (0.2.6)
eventmachine (1.2.7)
http (2.2.2)
addressable (~> 2.3)
http-cookie (~> 1.0)
http-form_data (~> 1.0.1)
http_parser.rb (~> 0.6.0)
http-cookie (1.0.3)
domain_name (~> 0.5)
http-form_data (1.0.3)
http_parser.rb (0.6.0)
public_suffix (3.0.3)
unf (0.1.4)
unf_ext
unf_ext (0.0.7.5)
websocket (1.2.8)
eventmachine (1.2.7-x64-mingw32)
thread (0.2.2)
websocket (1.2.9)
websocket-client-simple (0.3.0)
event_emitter
websocket

PLATFORMS
ruby
x64-mingw32

DEPENDENCIES
intrinio-realtime!

RUBY VERSION
ruby 2.3.6p384
ruby 2.7.5p203

BUNDLED WITH
1.17.1
2.1.4
Loading

0 comments on commit 865d295

Please sign in to comment.