polygonio 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f726bca0ec10c4396c8abcd465f6c9bd4dee1d792a37f1bc3615e9a500e3f9f4
4
- data.tar.gz: 10c0629ee52ecceb9fc3c5dd6f4a8d45d2c97dd4ff6960acc1e0acf039e8ea1e
3
+ metadata.gz: 9b2f97cba4b8dce047b360b501ffa104b30b9a3da30739a1bf1120f8bf3f6585
4
+ data.tar.gz: 568b4be6bfee84037928cb94680d2b941026911055eb61b08634fe436422d4bb
5
5
  SHA512:
6
- metadata.gz: 69975cee522f0cd4ffd3ab3a660cb0e1c5549a14aebeedf1166feb5841c1aee9fcd56e787f5c2d37b0c8e2748dcb1d6b5f1eac693ca1f68461e2382c2ddf213f
7
- data.tar.gz: 3227e2dfa5456ea7b9fc1f2d4dd9788f36c214f6fa021969db63672c33fc261f9eee27e26636cf0aedf370473675ef9bd91aad4bf97aa36828a9efab33c94600
6
+ metadata.gz: bf74c0026b4ce7782966273a34074fc7cbfca7ced1b79a3fcd52538ad9ad3cbd5646a8f0a22f12acff69275bb1c52f3334d40e2be96b23fa30cc9434fa850b4f
7
+ data.tar.gz: cef06cff038f3ddc91b513cc5d7489f69eb7d9231c883f26f107467e85f27076887f18094d3d14f5ffc42bb5a296c9ebe90812046a6abfb8c598498b01301e3b
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- polygonio (0.2.1)
4
+ polygonio (0.2.2)
5
5
  activesupport (~> 6.0, >= 6.0.2.2)
6
6
  dry-struct (~> 1.2, >= 1.2.0)
7
7
  dry-types (~> 1.2, >= 1.2.2)
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # PolygonioClient (Ruby)
1
+ # Polygonio (Ruby)
2
2
 
3
3
  ## Table of Contents
4
4
 
@@ -78,7 +78,7 @@ module Polygonio
78
78
  end
79
79
  end
80
80
 
81
- def historic_quotes(ticker, date, params)
81
+ def historic_quotes(ticker, date, params = {})
82
82
  ticker = Types::String[ticker]
83
83
  date = Types::JSON::Date[date]
84
84
  params = HistoricParams[params]
@@ -272,7 +272,7 @@ module Polygonio
272
272
  attribute :results, Types::Array do
273
273
  attribute? :T, Types::String # Not appearing
274
274
  attribute :v, Types::JSON::Decimal
275
- attribute :vw, Types::JSON::Decimal
275
+ attribute? :vw, Types::JSON::Decimal
276
276
  attribute :o, Types::JSON::Decimal
277
277
  attribute :c, Types::JSON::Decimal
278
278
  attribute :h, Types::JSON::Decimal
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Polygonio
4
- VERSION = "0.2.1"
4
+ VERSION = "0.2.2"
5
5
  end
data/polygonio.gemspec CHANGED
@@ -16,9 +16,9 @@ Gem::Specification.new do |spec|
16
16
  spec.description = "Client library for polygon.io's REST and Websocker API's"
17
17
 
18
18
  spec.metadata = {
19
- "homepage_uri" => "https://github.com/lancecarlson/polygon-client-rb",
20
- "source_code_uri" => "https://github.com/lancecarlson/polygon-client-rb",
21
- "bug_tracker_uri" => "https://github.com/lancecarlson/polygon-client-rb/issues"
19
+ "homepage_uri" => "https://github.com/lancecarlson/polygonio-rb",
20
+ "source_code_uri" => "https://github.com/lancecarlson/polygonio-rb",
21
+ "bug_tracker_uri" => "https://github.com/lancecarlson/polygonio-rb/issues"
22
22
  }
23
23
 
24
24
  # Specify which files should be added to the gem when it is released.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: polygonio
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lance Carlson
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-05-02 00:00:00.000000000 Z
11
+ date: 2020-05-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -373,9 +373,9 @@ homepage:
373
373
  licenses:
374
374
  - MIT
375
375
  metadata:
376
- homepage_uri: https://github.com/lancecarlson/polygon-client-rb
377
- source_code_uri: https://github.com/lancecarlson/polygon-client-rb
378
- bug_tracker_uri: https://github.com/lancecarlson/polygon-client-rb/issues
376
+ homepage_uri: https://github.com/lancecarlson/polygonio-rb
377
+ source_code_uri: https://github.com/lancecarlson/polygonio-rb
378
+ bug_tracker_uri: https://github.com/lancecarlson/polygonio-rb/issues
379
379
  post_install_message:
380
380
  rdoc_options: []
381
381
  require_paths: