accern 3.2.0 → 3.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/accern.gemspec +1 -1
- data/exe/accern +7 -0
- data/lib/accern/alpha.rb +2 -2
- data/lib/accern/version.rb +1 -1
- metadata +16 -30
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b71dbccab144e1126f232b4bd18e4ac1136801bb
|
4
|
+
data.tar.gz: 43b466633f0d7e88a75317d8c9034af036c8a156
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 738ca4043781655d3654aad5d80ccdd1a856826fcd9349e4f220ceced8294bfe54eb65482cb41921a9607db106fc42782444c77d77aa2664f43f6910751efe36
|
7
|
+
data.tar.gz: eb4d52e4f735b0d420699a836f69178f961f3e49f8ca9ab701694473af35c0f1b895706968b13baf24668a06e4bdbd7840e3352ab6bd6ae953482ffbb908d1cf
|
data/accern.gemspec
CHANGED
@@ -24,5 +24,5 @@ Gem::Specification.new do |spec|
|
|
24
24
|
spec.add_development_dependency 'rake', '~> 10.0'
|
25
25
|
spec.add_development_dependency 'rspec', '~> 3.0'
|
26
26
|
spec.add_development_dependency 'pry', '~> 0.10'
|
27
|
-
spec.add_development_dependency 'guard-rspec', '~> 4.7'
|
27
|
+
# spec.add_development_dependency 'guard-rspec', '~> 4.7'
|
28
28
|
end
|
data/exe/accern
CHANGED
data/lib/accern/alpha.rb
CHANGED
@@ -3,7 +3,7 @@ module Accern
|
|
3
3
|
attr_reader :token, :base_url, :uri, :last_id, :new_id, :docs,
|
4
4
|
:format, :flat, :params, :ticker, :index
|
5
5
|
|
6
|
-
def initialize(token
|
6
|
+
def initialize(token: nil, ticker: nil, index: nil, format: :json)
|
7
7
|
@token = token
|
8
8
|
@ticker = ticker
|
9
9
|
@index = index
|
@@ -42,7 +42,7 @@ module Accern
|
|
42
42
|
puts e.backtrace
|
43
43
|
end
|
44
44
|
|
45
|
-
def download_loop(path:)
|
45
|
+
def download_loop(path: nil)
|
46
46
|
loop do
|
47
47
|
download(path)
|
48
48
|
sleep 8
|
data/lib/accern/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: accern
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.2.
|
4
|
+
version: 3.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Carlos Espejo
|
@@ -9,78 +9,64 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-
|
12
|
+
date: 2017-06-30 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
|
-
- -
|
18
|
+
- - ~>
|
19
19
|
- !ruby/object:Gem::Version
|
20
20
|
version: '1.14'
|
21
21
|
type: :development
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
|
-
- -
|
25
|
+
- - ~>
|
26
26
|
- !ruby/object:Gem::Version
|
27
27
|
version: '1.14'
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: rake
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
31
31
|
requirements:
|
32
|
-
- -
|
32
|
+
- - ~>
|
33
33
|
- !ruby/object:Gem::Version
|
34
34
|
version: '10.0'
|
35
35
|
type: :development
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
|
-
- -
|
39
|
+
- - ~>
|
40
40
|
- !ruby/object:Gem::Version
|
41
41
|
version: '10.0'
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: rspec
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
45
45
|
requirements:
|
46
|
-
- -
|
46
|
+
- - ~>
|
47
47
|
- !ruby/object:Gem::Version
|
48
48
|
version: '3.0'
|
49
49
|
type: :development
|
50
50
|
prerelease: false
|
51
51
|
version_requirements: !ruby/object:Gem::Requirement
|
52
52
|
requirements:
|
53
|
-
- -
|
53
|
+
- - ~>
|
54
54
|
- !ruby/object:Gem::Version
|
55
55
|
version: '3.0'
|
56
56
|
- !ruby/object:Gem::Dependency
|
57
57
|
name: pry
|
58
58
|
requirement: !ruby/object:Gem::Requirement
|
59
59
|
requirements:
|
60
|
-
- -
|
60
|
+
- - ~>
|
61
61
|
- !ruby/object:Gem::Version
|
62
62
|
version: '0.10'
|
63
63
|
type: :development
|
64
64
|
prerelease: false
|
65
65
|
version_requirements: !ruby/object:Gem::Requirement
|
66
66
|
requirements:
|
67
|
-
- -
|
67
|
+
- - ~>
|
68
68
|
- !ruby/object:Gem::Version
|
69
69
|
version: '0.10'
|
70
|
-
- !ruby/object:Gem::Dependency
|
71
|
-
name: guard-rspec
|
72
|
-
requirement: !ruby/object:Gem::Requirement
|
73
|
-
requirements:
|
74
|
-
- - "~>"
|
75
|
-
- !ruby/object:Gem::Version
|
76
|
-
version: '4.7'
|
77
|
-
type: :development
|
78
|
-
prerelease: false
|
79
|
-
version_requirements: !ruby/object:Gem::Requirement
|
80
|
-
requirements:
|
81
|
-
- - "~>"
|
82
|
-
- !ruby/object:Gem::Version
|
83
|
-
version: '4.7'
|
84
70
|
description:
|
85
71
|
email:
|
86
72
|
- vendors@accern.com
|
@@ -89,9 +75,9 @@ executables:
|
|
89
75
|
extensions: []
|
90
76
|
extra_rdoc_files: []
|
91
77
|
files:
|
92
|
-
-
|
93
|
-
-
|
94
|
-
-
|
78
|
+
- .gitignore
|
79
|
+
- .rspec
|
80
|
+
- .travis.yml
|
95
81
|
- Gemfile
|
96
82
|
- Guardfile
|
97
83
|
- LICENSE.txt
|
@@ -116,17 +102,17 @@ require_paths:
|
|
116
102
|
- lib
|
117
103
|
required_ruby_version: !ruby/object:Gem::Requirement
|
118
104
|
requirements:
|
119
|
-
- -
|
105
|
+
- - '>='
|
120
106
|
- !ruby/object:Gem::Version
|
121
107
|
version: '2.0'
|
122
108
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
123
109
|
requirements:
|
124
|
-
- -
|
110
|
+
- - '>='
|
125
111
|
- !ruby/object:Gem::Version
|
126
112
|
version: '0'
|
127
113
|
requirements: []
|
128
114
|
rubyforge_project:
|
129
|
-
rubygems_version: 2.
|
115
|
+
rubygems_version: 2.0.14.1
|
130
116
|
signing_key:
|
131
117
|
specification_version: 4
|
132
118
|
summary: A command line interface for the Accern API.
|