cryptostats-cli 0.1.0 → 0.2.0

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: 1e88e8fc1b37538f1c0e64b3998b3719849e45982a03d7114f4ff30d32545a82
4
- data.tar.gz: 2ad7d548abc4c7517f3003df0effa2c6807589c3600906f27b8bea40b69c0618
3
+ metadata.gz: c8a5baf933f9ab3ad1b9c32e8fad3c351dfb299eb6c3f38edee1209f15fc1c0b
4
+ data.tar.gz: 9b867b0873cd2c3d56e97e553da6cc5dd1ca602cf106b1ad522b12b45157c7d0
5
5
  SHA512:
6
- metadata.gz: 4f1fd95062f9166082e25ce7430a51e8ae18d81dee93fea0b0aee38e69484679ce1a7ecd0fcb30df53298319566e98d1623bbc60c50128a81d51ce363d649e14
7
- data.tar.gz: 5fac5d9ae10b9a0287059323f1be3338a9d320a5953fbd088c2907c868bd1b7c795a360a9ca929d996008af56b817e8aa068c2db1481a77be03c90dd7f03e195
6
+ metadata.gz: bc870dd9069f35ffba81783d01e63fde920576cba46e56395bccf7e57b8e6fbbf1bb18cb969564dd39a8a7481e9104d9f601655a7b1480f4be73c5fe73966a94
7
+ data.tar.gz: 9f450dc043886c45fdfe71a685ab1c30fce0fa5e8937550ed3cd700dd65c29ace16da19f52c2fe03dbb56cd97a45e125d9ca2be498c73bf9f5ffcd8b9fd6d7ce
Binary file
@@ -0,0 +1,24 @@
1
+ require_relative 'lib/version'
2
+ Gem::Specification.new do |spec|
3
+ spec.name = "cryptostats-cli"
4
+ spec.version = CryptoStats::VERSION
5
+ spec.authors = ["Charles Lai"]
6
+ spec.email = ["charlesangeloplai@gmail.com"]
7
+ spec.summary = %q{Cryptocurrency Statistics}
8
+ spec.description = %q{Welcome to Cryptostats! Cryptostats is a CLI ruby gem that fetches meta data of the top 100 cryptocurrencies from the CoinGecko API and displays updated statistis regarding the current prices, market cap, volume, price change, etc.}
9
+ spec.license = "MIT"
10
+ spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0")
11
+
12
+ # Specify which files should be added to the gem when it is released.
13
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
14
+ spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
15
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(cryptostats-cli|spec|features)/}) }
16
+ end
17
+ spec.bindir = "exe"
18
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
19
+ spec.require_paths = ["lib"]
20
+ spec.add_dependency "rest-client"
21
+ spec.add_dependency 'json'
22
+ spec.add_dependency 'awesome_print'
23
+ spec.add_development_dependency "pry"
24
+ end
@@ -7,7 +7,9 @@ class Cli
7
7
  puts "---------------------------------------------".yellow
8
8
  puts ""
9
9
  puts " ~~> fetching data from CoinGecko...".blue
10
+ sleep(1)
10
11
  puts " ~~> loading the top 100 cryptocurrencies...".blue
12
+ sleep(1)
11
13
  Api.load_data
12
14
  main_menu
13
15
  end
@@ -0,0 +1,3 @@
1
+ module CryptoStats
2
+ VERSION = "0.2.0"
3
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cryptostats-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Charles Lai
@@ -86,10 +86,13 @@ files:
86
86
  - Rakefile
87
87
  - bin/run
88
88
  - bin/setup
89
+ - cryptostats-cli-0.1.0.gem
90
+ - cryptostats-cli.gemspec
89
91
  - lib/environment.rb
90
92
  - lib/models/cryptostats.rb
91
93
  - lib/services/api.rb
92
94
  - lib/services/cli.rb
95
+ - lib/version.rb
93
96
  homepage:
94
97
  licenses:
95
98
  - MIT