horoscopes 0.1.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.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: c3fc1270d35f9158d9bc2e03044d44713859286e
4
+ data.tar.gz: 48cf005c9a8ceac04bb88cfc57927c7b8b052f3a
5
+ SHA512:
6
+ metadata.gz: 9a706c8201ab3f199ddd9ffd8d64ad4daade6e1a92a33ba8124ab630ddc94820ac0382752bd66223b9219f8bb13c1421ed6026cbc4cbe6a4f7a0a5e6ddcf4f5b
7
+ data.tar.gz: 5bb5a63d6e7319c9aabe190babf3f5ed9069600fedf35185680dfa13ae53df4de55b32b3f9b14293cba785fb6c7347b5ef9938116fae3437c210b0a5ceb4184d
data/.gitignore ADDED
@@ -0,0 +1,9 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
data/Gemfile ADDED
@@ -0,0 +1,5 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in horoscopes.gemspec
4
+ gemspec
5
+ gem 'nokogiri'
data/NOTES.md ADDED
@@ -0,0 +1,35 @@
1
+ main menu:
2
+ Welcome to daily horoscopes!
3
+
4
+ 1. Aries: Mar 21 - Apr 19
5
+ 2. Taurus: Apr 20 - May 20
6
+ 3. Gemini: May 21 - Jun 20
7
+ 4. Cancer: Jun 21 - Jul 22
8
+ 5. Leo: Jul 23 - Aug 22
9
+ 6. Virgo: Aug 23 - Sep 22
10
+ 7. Libra: Sep 23 - Oct 22
11
+ 8. Scorpio: Oct 23 - Nov 21
12
+ 9. Sagittarius: Nov 22 - Dec 21
13
+ 10. Capricorn: Dec 22 - Jan 19
14
+ 11. Aquarius: Jan 20 - Feb 18
15
+ 12. Pisces: Feb 19 - Mar 20
16
+ Please enter the number of your zodiac sign from the list above:
17
+
18
+ user chooses zodiac sign
19
+
20
+ horoscope_reading
21
+ Today's Matches:
22
+ Love -
23
+ Friendship -
24
+ Career-
25
+
26
+ Please choose a horoscope reading:
27
+ A. Sun Sign
28
+ B. Love
29
+ C. Career
30
+
31
+ returns date and the reading
32
+ asks main menu / horoscope reading or exit?
33
+
34
+ Horoscope has a name
35
+ Horoscope has birthdate
data/README.md ADDED
@@ -0,0 +1,27 @@
1
+ # Horoscopes
2
+
3
+ Check your daily horoscopes through this CLI application!
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ ```ruby
10
+ gem 'horoscopes'
11
+ ```
12
+
13
+ And then execute:
14
+
15
+ $ bundle
16
+
17
+ Or install it yourself as:
18
+
19
+ $ gem install horoscopes
20
+
21
+ ## Usage
22
+
23
+ Install and run the gem to check your daily horoscope! Choose your sign and read what the stars have aligned for you today :)
24
+
25
+ ## Contributing
26
+
27
+ Please report all issues [here](https://github.com/soheecho94/horoscopes-cli-app/issues).
data/Rakefile ADDED
@@ -0,0 +1,2 @@
1
+ require "bundler/gem_tasks"
2
+ task :default => :spec
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "horoscopes"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start(__FILE__)
data/bin/horoscopes ADDED
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "./lib/horoscopes"
4
+
5
+ Horoscopes::CLI.new.call
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,37 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'horoscopes/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "horoscopes"
8
+ spec.version = "0.1.1"
9
+ spec.authors = ["Sohee Cho"]
10
+ spec.email = ["soheecho94@gmail.com"]
11
+
12
+ spec.summary = %q{Check your daily horoscopes here!}
13
+ spec.description = %q{CLI Ruby gem that lets you check your daily horoscope readings.}
14
+ spec.homepage = "https://github.com/soheecho94/horoscopes-cli-app"
15
+
16
+ # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
17
+ # to allow pushing to a single host or delete this section to allow pushing to any host.
18
+ # if spec.respond_to?(:metadata)
19
+ # spec.metadata['allowed_push_host'] = "TODO: Set to 'http://mygemserver.com'"
20
+ # else
21
+ # raise "RubyGems 2.0 or newer is required to protect against " \
22
+ # "public gem pushes."
23
+ # end
24
+
25
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
26
+ f.match(%r{^(test|spec|features)/})
27
+ end
28
+ spec.bindir = "exe"
29
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
30
+ spec.require_paths = ["lib"]
31
+
32
+ spec.add_development_dependency "bundler", "~> 1.14"
33
+ spec.add_development_dependency "rake", "~> 10.0"
34
+ spec.add_development_dependency "pry", "~> 0"
35
+
36
+ spec.add_dependency "nokogiri"
37
+ end