stock-cli-app 1.1 → 1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9470e14120e3841641517d37fbab7929704473223ce3b30eb84a69ed9d8fc796
4
- data.tar.gz: 0cbdd8b6e50a86f873b7265c4a493405f5c41ec22c426cf6678101d7becddfc1
3
+ metadata.gz: 63ce8ee491631dd851c77c4e42da83666220e6f1d4d7a28a89c0fa16f3c5fbad
4
+ data.tar.gz: fe3ad3094050d3aa5a077e17974f2609e1248063e30a96636e4e3e78c26eecb8
5
5
  SHA512:
6
- metadata.gz: 1870b195532c63fd4c0dbc17f8527030c9057673809341bb76f833cd670acd816ed686fa979e6eddfe83ee5240cb0f30c7129db3b0197edf38b99439b120ad00
7
- data.tar.gz: f83c5cd6ed41f81875ecf94967a95e8959f6632c105a7efff5a55d9f77cb784471d5a6b864810396fec628249b734fe1077a1b1f7f6000bcef8f824412cd4e8b
6
+ metadata.gz: 05903778853d6e29a16e5b8c3251e13550620c6e80deda626ed190981e787d1fdb55a538ceca0ab4ff1ab21c366187319ea563fc70da3b6294b213a9fe846b89
7
+ data.tar.gz: a53c9e7b54422e085840111e1d8d762a52c86434add557cff9758c7ce838524315f34552a0695e7523ba0d28b451dbf1e8e5bd58f16278c8b39bb08332f0112a
data/Gemfile.lock ADDED
@@ -0,0 +1,20 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ stock-cli-app (1.1)
5
+
6
+ GEM
7
+ remote: https://rubygems.org/
8
+ specs:
9
+ rake (10.4.2)
10
+
11
+ PLATFORMS
12
+ ruby
13
+
14
+ DEPENDENCIES
15
+ bundler (~> 1.16)
16
+ rake (~> 10.0)
17
+ stock-cli-app!
18
+
19
+ BUNDLED WITH
20
+ 1.16.2
data/README.md CHANGED
@@ -1,9 +1,15 @@
1
1
  # Stock::Cli::App
2
2
 
3
3
 
4
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/stock/cli/app`. To experiment with that code, run `bin/console` for an interactive prompt.
4
+ The Stock CLI application provides the user a menu with 4 options :
5
5
 
6
- TODO: Delete this and the text above, and describe your gem
6
+ (a) View a list of stocks This provides the user with a list of companies and their stock price with the option of learning more about a particular stock by entering the correct company symbol.
7
+
8
+ (b) View a list of companies in descending order of market cap
9
+
10
+ (c) View a list of stocks in descending order of volatility
11
+
12
+ (d) Quit the program
7
13
 
8
14
  ## Installation
9
15
 
data/bin/stock-info CHANGED
@@ -1,4 +1,4 @@
1
1
  #!/usr/bin/env ruby
2
- require './lib/stock-info'
2
+ require_relative '../lib/stock-info'
3
3
 
4
4
  StockInfo::CLI.new.call
@@ -5,12 +5,12 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
5
 
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "stock-cli-app"
8
- spec.version = 1.1 #Stock::Cli::App::VERSION
8
+ spec.version = 1.2 #Stock::Cli::App::VERSION
9
9
  spec.authors = ["'Anu Khambete'"]
10
10
  spec.email = ["'anukhambete@gmail.com'"]
11
11
 
12
- spec.summary = %q{ Write a short summary, because RubyGems requires one.}
13
- spec.description = %q{ Write a longer description or delete this line.}
12
+ spec.summary = %q{ Stock screener CLI application.}
13
+ spec.description = %q{ Refer to README.md.}
14
14
  #spec.homepage = " Put your gem's website or public repo URL here."
15
15
  spec.license = "MIT"
16
16
 
@@ -26,8 +26,9 @@ Gem::Specification.new do |spec|
26
26
  spec.files = `git ls-files -z`.split("\x0").reject do |f|
27
27
  f.match(%r{^(test|spec|features)/})
28
28
  end
29
- spec.bindir = "exe"
30
- spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
29
+ #spec.bindir = "exe"
30
+ spec.executables = ["stock-info"]
31
+ #spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
31
32
  spec.require_paths = ["lib"]
32
33
 
33
34
  spec.add_development_dependency "bundler", "~> 1.16"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stock-cli-app
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.1'
4
+ version: '1.2'
5
5
  platform: ruby
6
6
  authors:
7
7
  - "'Anu Khambete'"
8
8
  autorequire:
9
- bindir: exe
9
+ bindir: bin
10
10
  cert_chain: []
11
- date: 2018-06-12 00:00:00.000000000 Z
11
+ date: 2018-06-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -38,15 +38,17 @@ dependencies:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '10.0'
41
- description: " Write a longer description or delete this line."
41
+ description: " Refer to README.md."
42
42
  email:
43
43
  - "'anukhambete@gmail.com'"
44
- executables: []
44
+ executables:
45
+ - stock-info
45
46
  extensions: []
46
47
  extra_rdoc_files: []
47
48
  files:
48
49
  - ".gitignore"
49
50
  - Gemfile
51
+ - Gemfile.lock
50
52
  - LICENSE.txt
51
53
  - README.md
52
54
  - Rakefile
@@ -82,5 +84,5 @@ rubyforge_project:
82
84
  rubygems_version: 2.7.7
83
85
  signing_key:
84
86
  specification_version: 4
85
- summary: Write a short summary, because RubyGems requires one.
87
+ summary: Stock screener CLI application.
86
88
  test_files: []