avantage 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 29165b7eb62a73fefa8c1007475b6dcec0a92467ca589f2398bd2ed881d83824
4
+ data.tar.gz: '027311472815753cb99601d1fe4dc815141264f03861176b87247e865fffe636'
5
+ SHA512:
6
+ metadata.gz: 39b6ea975fcaf2825c4425d971450623c2a7cadc3d363c486896e4f5b01a3959dc5e9111f3ed1f9e21f4870c62e9f26a509b91abafcb9cdc454dad1b3565acba
7
+ data.tar.gz: 9bb51cc603e4116a7ba98e57b3b941c480d29b3af72951508fe96cde8c89b2aba68e267d55cc0df84c74d7dae112993ca4dbf7028d3ab534e2e8ae35af077552
@@ -0,0 +1,8 @@
1
+
2
+ # CHANGELOG.md
3
+
4
+
5
+ ## avantage 0.0.1 released 2019-06-14
6
+
7
+ * Initial release
8
+
@@ -0,0 +1,24 @@
1
+
2
+ Copyright (c) 2019-2019, John Mettraux, jmettraux+flor@gmail.com
3
+
4
+ Permission is hereby granted, free of charge, to any person obtaining a copy
5
+ of this software and associated documentation files (the "Software"), to deal
6
+ in the Software without restriction, including without limitation the rights
7
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8
+ copies of the Software, and to permit persons to whom the Software is
9
+ furnished to do so, subject to the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be included in
12
+ all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
20
+ THE SOFTWARE.
21
+
22
+
23
+ Made in Japan
24
+
@@ -0,0 +1,47 @@
1
+
2
+ ## gem tasks ##
3
+
4
+ NAME = \
5
+ $(shell ruby -e "s = eval(File.read(Dir['*.gemspec'][0])); puts s.name")
6
+ VERSION = \
7
+ $(shell ruby -e "s = eval(File.read(Dir['*.gemspec'][0])); puts s.version")
8
+
9
+ count_lines:
10
+ find lib -name "*.rb" | xargs cat | ruby -e "p STDIN.readlines.count { |l| l = l.strip; l[0, 1] != '#' && l != '' }"
11
+ find spec -name "*_spec.rb" | xargs cat | ruby -e "p STDIN.readlines.count { |l| l = l.strip; l[0, 1] != '#' && l != '' }"
12
+ cl: count_lines
13
+
14
+ scan:
15
+ scan lib/**/*.rb
16
+
17
+ gemspec_validate:
18
+ @echo "---"
19
+ ruby -e "s = eval(File.read(Dir['*.gemspec'].first)); p s.validate"
20
+ @echo "---"
21
+
22
+ name: gemspec_validate
23
+ @echo "$(NAME) $(VERSION)"
24
+
25
+ cw:
26
+ find lib -name "*.rb" -exec ruby -cw {} \;
27
+
28
+ build: gemspec_validate
29
+ gem build $(NAME).gemspec
30
+ mkdir -p pkg
31
+ mv $(NAME)-$(VERSION).gem pkg/
32
+
33
+ push: build
34
+ gem push pkg/$(NAME)-$(VERSION).gem
35
+
36
+ spec:
37
+ bundle exec rspec
38
+ test: spec
39
+
40
+
41
+ ## specific to project ##
42
+
43
+
44
+ ## done ##
45
+
46
+ .PHONY: count_lines scan gemspec_validate name cw build push spec
47
+
@@ -0,0 +1,15 @@
1
+
2
+ # avantage
3
+
4
+ [![Gem Version](https://badge.fury.io/rb/avantage.svg)](http://badge.fury.io/rb/avantage)
5
+
6
+ A Ruby library to query the [Alpha Vantage API](https://www.alphavantage.co/documentation/).
7
+
8
+
9
+ ## usage
10
+
11
+
12
+ ## license
13
+
14
+ MIT, see [LICENSE.txt](LICENSE.txt)
15
+
@@ -0,0 +1,47 @@
1
+
2
+ Gem::Specification.new do |s|
3
+
4
+ s.name = 'avantage'
5
+
6
+ s.version = File.read(
7
+ File.expand_path('../lib/avantage.rb', __FILE__)
8
+ ).match(/ VERSION *= *['"]([^'"]+)/)[1]
9
+
10
+ s.platform = Gem::Platform::RUBY
11
+ s.authors = [ 'John Mettraux' ]
12
+ s.email = [ 'jmettraux@gmail.com' ]
13
+ s.homepage = 'http://github.com/jmettraux/avantage'
14
+ s.license = 'MIT'
15
+ s.summary = 'A Ruby client to the Alpha Vantage API'
16
+
17
+ s.description = %{
18
+ A Ruby client to the Alpha Vantage API https://www.alphavantage.co/documentation/
19
+ }.strip
20
+
21
+ s.metadata = {
22
+ 'changelog_uri' => s.homepage + '/blob/master/CHANGELOG.md',
23
+ 'documentation_uri' => s.homepage,
24
+ 'bug_tracker_uri' => s.homepage + '/issues',
25
+ #'mailing_list_uri' => 'https://groups.google.com/forum/#!forum/floraison',
26
+ 'homepage_uri' => s.homepage,
27
+ 'source_code_uri' => s.homepage,
28
+ #'wiki_uri' => s.homepage + '/wiki',
29
+ }
30
+
31
+ #s.files = `git ls-files`.split("\n")
32
+ s.files = Dir[
33
+ 'README.{md,txt}',
34
+ 'CHANGELOG.{md,txt}', 'CREDITS.{md,txt}', 'LICENSE.{md,txt}',
35
+ 'Makefile',
36
+ 'lib/**/*.rb', #'spec/**/*.rb', 'test/**/*.rb',
37
+ "#{s.name}.gemspec",
38
+ ]
39
+
40
+ #s.add_runtime_dependency 'raabro', '~> 1.1'
41
+ #s.add_runtime_dependency 'et-orbi', '~> 1.1', '>= 1.1.8'
42
+
43
+ s.add_development_dependency 'rspec', '~> 3.8'
44
+
45
+ s.require_path = 'lib'
46
+ end
47
+
@@ -0,0 +1,8 @@
1
+
2
+ module Avantage
3
+
4
+ VERSION = '0.0.1'
5
+
6
+ USER_AGENT = "avantage - #{VERSION} - https://github.com/jmettraux/avantage"
7
+ end
8
+
metadata ADDED
@@ -0,0 +1,69 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: avantage
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - John Mettraux
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2019-06-14 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rspec
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '3.8'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '3.8'
27
+ description: A Ruby client to the Alpha Vantage API https://www.alphavantage.co/documentation/
28
+ email:
29
+ - jmettraux@gmail.com
30
+ executables: []
31
+ extensions: []
32
+ extra_rdoc_files: []
33
+ files:
34
+ - CHANGELOG.md
35
+ - LICENSE.txt
36
+ - Makefile
37
+ - README.md
38
+ - avantage.gemspec
39
+ - lib/avantage.rb
40
+ homepage: http://github.com/jmettraux/avantage
41
+ licenses:
42
+ - MIT
43
+ metadata:
44
+ changelog_uri: http://github.com/jmettraux/avantage/blob/master/CHANGELOG.md
45
+ documentation_uri: http://github.com/jmettraux/avantage
46
+ bug_tracker_uri: http://github.com/jmettraux/avantage/issues
47
+ homepage_uri: http://github.com/jmettraux/avantage
48
+ source_code_uri: http://github.com/jmettraux/avantage
49
+ post_install_message:
50
+ rdoc_options: []
51
+ require_paths:
52
+ - lib
53
+ required_ruby_version: !ruby/object:Gem::Requirement
54
+ requirements:
55
+ - - ">="
56
+ - !ruby/object:Gem::Version
57
+ version: '0'
58
+ required_rubygems_version: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - ">="
61
+ - !ruby/object:Gem::Version
62
+ version: '0'
63
+ requirements: []
64
+ rubyforge_project:
65
+ rubygems_version: 2.7.6
66
+ signing_key:
67
+ specification_version: 4
68
+ summary: A Ruby client to the Alpha Vantage API
69
+ test_files: []