whatsa 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 36188353c2bbfb6f9d0c1f6a477a5fa9fe600543
4
- data.tar.gz: 06d72756376c69c65a3a9e0c7f45cd0864428995
3
+ metadata.gz: 608132ba535e0e8e0ebf1d146fdea5b6ff0d9173
4
+ data.tar.gz: 11016f597da1921bb1ec3c9d217d2dd13a754ffb
5
5
  SHA512:
6
- metadata.gz: 2df002badfb325346250f2237aa990a151b82b7d0e36534dd2e1337b32542892e22924dcfd2f35e715721804c5eaebb0234303cf5260d6e4645c37a95df1c85e
7
- data.tar.gz: cbca63bef785503e51ff4e350960eacdcd9582e1fdba8c6c0005d0f3f2ade18595037515ddab29e8482ee7586dd20dfbb79e62aba25f358568c6b95207539e7d
6
+ metadata.gz: c85a8553e7798537b2a993d63d47f43b64fb4e0b5efe3267b8586bdacc61c91f097ba9cb595038fc024f571c2a3db6fcb85937527463765af244681aa755ad0e
7
+ data.tar.gz: aa19bad67993021334f0e78253b3bb25465c015f680c5667f4117ec938f0f06f272081d9052e1425b434b8d5385f9fa895956a69628eb3471de3ea2fa65883cb
data/README.md CHANGED
@@ -16,9 +16,21 @@ Simple?
16
16
 
17
17
  Simple!
18
18
 
19
+ ## Installing Whatsa
20
+
21
+ ```
22
+ userloser@lappytoppy:~$ gem install whatsa
23
+ ```
24
+
25
+ Simple as pie.
26
+
19
27
  ## Using Whatsa
20
28
 
21
- Clone this repo, `cd` to the directory, run `bundle install` (assuming you've already installed bundler), then run the `bin/Whatsa` script in a terminal. It will ask you what you'd like to learn about, and you can enter a word or phrase.
29
+ ```
30
+ userloser@lappytoppy:~$ whatsa
31
+ ```
32
+
33
+ After you run this command, Whatsa will ask you what you'd like to learn about, and you can enter a word or phrase.
22
34
 
23
35
  If your search term could mean multiple things, it will let you know, and you can select a choice by its name or number.
24
36
 
@@ -28,10 +40,6 @@ If you would like to select a category of information about the topic, type `oth
28
40
 
29
41
  If you'd like to search for something else, type `new`.
30
42
 
31
- ## Dependencies
32
-
33
- Requires Ruby 2.3.3 (doesn't seem to work with 2.0, at least, so see what you can get away with), the `nokogiri` gem, bundler (if you're planning on installing it the easy way), and `pry` (although it's really only in the gemspec for dev purposes).
34
-
35
43
  ## Contributing
36
44
 
37
45
  Bug reports and pull requests for this project are welcome at its [GitHub page](https://github.com/kjleitz/Whatsa). If you choose to contribute, please adhere to the [Ruby Community Conduct Guideline](https://www.ruby-lang.org/en/conduct/) so I don't have to go around breaking necks, running out of bubblegum, etc.
@@ -1,3 +1,3 @@
1
1
  module Whatsa
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
data/whatsa-0.1.0.gem ADDED
Binary file
data/whatsa.gemspec CHANGED
@@ -10,7 +10,9 @@ Gem::Specification.new do |spec|
10
10
  spec.email = ["kjleitz@gmail.com"]
11
11
 
12
12
  spec.summary = %q{What is that? Okay, okay, I don't need a lecture... just gimme the short 'n sweet!}
13
- spec.description = %q{Whatsa is a CLI app that allows you to search a term or phrase and receive a quick summary about that subject. It searches your term on Wikipedia and finds the page you're most likely looking for. Whatsa then gives you the first paragraph of that article, then lists the sections on the page ("History", "Early Life", "Uses", etc.). You can select one of those sections, if you'd like, and it will give you the first paragraph of that section, too. If that's not enough for you, you can ask for more, and it will show you the full section.}
13
+ spec.description = %q{Whatsa is a CLI app that allows you to search a word or phrase and receive a quick summary about that subject. It searches your query on Wikipedia and finds the page you're most likely looking for. If you've been somewhat vague, or your search term could refer to multiple things, it will ask you to select from a disambiguation of topics. Usually, however, your term will go straight to an article. Whatsa then gives you the first paragraph of that article (usually a surprisingly decent summary).
14
+
15
+ If you're not super satisfied with that bit of information (and you need to know a little more) you can type `more` to get a better picture of that subject. If you're _still_ not satisfied, and you want to know something _specific_ about the thing you've searched, type `other`, and it will list the categories of information Wikipedia knows about the subject (its "History", "Early Life", "Uses", etc.). You can select one of those sections, if you'd like, and it will give you the first paragraph of that section, too (which you can extend similarly with another `more` command). You can make a new query with `new`, ask for help at any time with `help`, or exit the application with `exit`.}
14
16
  spec.homepage = "https://github.com/kjleitz/whatsa"
15
17
  spec.license = "MIT"
16
18
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: whatsa
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Keegan Leitz
@@ -52,13 +52,10 @@ dependencies:
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
- description: Whatsa is a CLI app that allows you to search a term or phrase and receive
56
- a quick summary about that subject. It searches your term on Wikipedia and finds
57
- the page you're most likely looking for. Whatsa then gives you the first paragraph
58
- of that article, then lists the sections on the page ("History", "Early Life", "Uses",
59
- etc.). You can select one of those sections, if you'd like, and it will give you
60
- the first paragraph of that section, too. If that's not enough for you, you can
61
- ask for more, and it will show you the full section.
55
+ description: |-
56
+ Whatsa is a CLI app that allows you to search a word or phrase and receive a quick summary about that subject. It searches your query on Wikipedia and finds the page you're most likely looking for. If you've been somewhat vague, or your search term could refer to multiple things, it will ask you to select from a disambiguation of topics. Usually, however, your term will go straight to an article. Whatsa then gives you the first paragraph of that article (usually a surprisingly decent summary).
57
+
58
+ If you're not super satisfied with that bit of information (and you need to know a little more) you can type `more` to get a better picture of that subject. If you're _still_ not satisfied, and you want to know something _specific_ about the thing you've searched, type `other`, and it will list the categories of information Wikipedia knows about the subject (its "History", "Early Life", "Uses", etc.). You can select one of those sections, if you'd like, and it will give you the first paragraph of that section, too (which you can extend similarly with another `more` command). You can make a new query with `new`, ask for help at any time with `help`, or exit the application with `exit`.
62
59
  email:
63
60
  - kjleitz@gmail.com
64
61
  executables: []
@@ -81,6 +78,7 @@ files:
81
78
  - lib/whatsa/scraper.rb
82
79
  - lib/whatsa/section.rb
83
80
  - lib/whatsa/version.rb
81
+ - whatsa-0.1.0.gem
84
82
  - whatsa.gemspec
85
83
  homepage: https://github.com/kjleitz/whatsa
86
84
  licenses: