apod-cli 0.0.0 → 0.0.1

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/apod-cli.gemspec +2 -2
  3. data/lib/apod_cli.rb +13 -0
  4. metadata +2 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 223a6404f484b7850e8e04841585001c6c65a378
4
- data.tar.gz: 6b1134be8d60f878e241b3dc0631d15ef441aff6
3
+ metadata.gz: 2c883a77c58658b5ff835bea6e255efd1416d746
4
+ data.tar.gz: f1a89183ef5d01d16eee26305457f16318cc1f11
5
5
  SHA512:
6
- metadata.gz: e76bb2dbf87217e6f2e698432cd51aa1ae1250e00d5134b151c16ae66242efc9e7a5b6f0fe77947ecf058a3058f956d89a099580c946e7ef6a73934fc770f6ba
7
- data.tar.gz: 5be2030ada450f52d9828c634503a1074d53ef53c294320f992035fe58d6fe9110497c002935c2a0d051e06097c72f30a0787c5f73ac7f4eea5d083acb539c87
6
+ metadata.gz: 5f960009ba5fe11f146f0550a3f7f510e4d220f78d015b736810e4c376e27af19a621d42bed7c5b5c8a7accdf6bc795b9fa68d3ea894fbdc6f1129fa19e30399
7
+ data.tar.gz: 79fb7e5d7277af88c0d195232414a84b8440b0eeb8e246806fd0f77957d9e018c06517eb2aa107d285a8455c30b6ed93a86980fa625b9e35d5d195ff0b7ae2b7
@@ -9,11 +9,11 @@ Gem::Specification.new do |spec|
9
9
  spec.description = "Uses web scraping to pull Astronomy Picture of the Day information from http://apod.nasa.gov and provides a basic CLI interface for that data"
10
10
  spec.homepage = "http://davidnoahball.com"
11
11
 
12
- spec.files = ["apod-cli.gemspec", "lib/apod_cli/cli.rb", "lib/apod_cli/printer.rb", "lib/apod_cli/scraper.rb"]
12
+ spec.files = ["apod-cli.gemspec", "lib/apod_cli/cli.rb", "lib/apod_cli/printer.rb", "lib/apod_cli/scraper.rb", "lib/apod_cli.rb"]
13
13
  spec.executables = ["apod-cli"]
14
14
  spec.name = "apod-cli"
15
15
  spec.require_paths = ["lib", "lib/apod_cli"]
16
- spec.version = "0.0.0"
16
+ spec.version = "0.0.1"
17
17
  spec.license = "MIT"
18
18
 
19
19
  spec.add_development_dependency "bundler", "~> 1.10"
@@ -0,0 +1,13 @@
1
+ require "open-uri"
2
+ require "nokogiri"
3
+ require "colorize"
4
+
5
+ require_relative "apod_cli/cli"
6
+ require_relative "apod_cli/printer"
7
+ require_relative "apod_cli/scraper"
8
+
9
+ class ApodCli
10
+ def call
11
+ CLI.new.call
12
+ end
13
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: apod-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.0
4
+ version: 0.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Ball
@@ -63,6 +63,7 @@ extra_rdoc_files: []
63
63
  files:
64
64
  - apod-cli.gemspec
65
65
  - bin/apod-cli
66
+ - lib/apod_cli.rb
66
67
  - lib/apod_cli/cli.rb
67
68
  - lib/apod_cli/printer.rb
68
69
  - lib/apod_cli/scraper.rb