edgar-stocks 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/README.md +6 -4
- data/lib/edgar/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YjJiZDJjNGI2MGM5OWY2ZDgyNjdjZjcyOTMzYzVhM2ZjMGEwNzQzNg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZDNlMzdkMDVhOTc5NDYzMWQ0MmY3MTBlNDYxY2VjMWE4ZjE3NjYzYQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NDM3MmVhZGEzN2M3MjkwNmY3YzRiZmY2YmM4OTE4MDFlZWJkODNiN2JmN2Y3
|
10
|
+
N2E5OTBjODJiMmY1Y2YyYjU0Y2NlYTM2N2UxZmYxZjY3ODAxYjYzOTY4NWM2
|
11
|
+
OTc4YzVkM2U1NjNhNzY0M2IwYWM1ZDQ4Y2Q5ZTJiM2E4YzE4OTM=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
YzY2NmI5MjEyMmFmNGEyMTE2MmJhMTk5YTNiNDc5MGVjYmZhZDZhOGE1NjZi
|
14
|
+
NWU4Y2MxMWM0MzFjNWNiODBkZDVkMTk0NjA0ZjJkY2JmYjdkZDg5ZmIwMmZj
|
15
|
+
ZDdhMWY0MzExYTc5MTA1NzE2MTdkMzE3ZTAyMjljZTBjMmI4OTA=
|
data/README.md
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
# Edgar-Stocks
|
2
|
+
[![Gem Version](https://badge.fury.io/rb/edgar-stocks.png)](http://badge.fury.io/rb/edgar-stocks)
|
2
3
|
|
3
|
-
Edgar-Stocks is a Ruby gem that provides access to historical stock data in a simple, configurable way.
|
4
|
+
Edgar-Stocks is a Ruby gem that provides access to daily and historical stock data in a simple, configurable way.
|
4
5
|
|
5
6
|
Edgar provides the following info for a stock:
|
6
7
|
- Opening price
|
@@ -18,7 +19,7 @@ Have more ideas how I can improve the gem? Leave me a message!
|
|
18
19
|
|
19
20
|
Add this line to your application's Gemfile:
|
20
21
|
|
21
|
-
gem 'edgar'
|
22
|
+
gem 'edgar-stocks'
|
22
23
|
|
23
24
|
And then execute:
|
24
25
|
|
@@ -26,12 +27,13 @@ And then execute:
|
|
26
27
|
|
27
28
|
Or install it yourself as:
|
28
29
|
|
29
|
-
$ gem install edgar
|
30
|
+
$ gem install 'edgar-stocks'
|
30
31
|
|
31
32
|
## Usage
|
32
33
|
|
33
|
-
|
34
|
+
Require the Edgar library and simply create a new Edgar object for each stock you care about:
|
34
35
|
|
36
|
+
require 'edgar'
|
35
37
|
stock = Edgar::Edgar.new('INTU')
|
36
38
|
|
37
39
|
Then query it!
|
data/lib/edgar/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: edgar-stocks
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andy Schrage
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-11-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|