aphorism 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +11 -0
- data/.rspec +3 -0
- data/.ruby-gemset +1 -0
- data/.ruby-version +1 -0
- data/.travis.yml +7 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +4 -0
- data/Gemfile.lock +41 -0
- data/LICENSE.txt +21 -0
- data/README.md +61 -0
- data/Rakefile +6 -0
- data/aphorism-0.1.0.gem +0 -0
- data/aphorism.gemspec +32 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/exe/aphorism +9 -0
- data/lib/aphorism/version.rb +3 -0
- data/lib/aphorism.rb +13 -0
- data/lib/content/aphorisms.txt +199 -0
- data/lolcatdemo.png +0 -0
- metadata +123 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 0a13dee2d9db011ef8c32bd0108ccf33f74fb3c7877eb6a83cb64262efc25b98
|
4
|
+
data.tar.gz: 66b10ee7d15c2d7dda0961d29fca03833e3278b340f69656d2911da503877d6b
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: fd6ffc1d3db2731c472f5ee07c8c910b9f93d3b505c412b4815ae8f0d20fbd661674aef5b8d32d3c6827c5adba05b00833f7c016caf3ba7f41d0520e0fdd78b4
|
7
|
+
data.tar.gz: 6926e4da59c96b9a0665bafa3ffe728ff99006ff874c9956b6d0dbb5fdab628e0d4416843a860be25c3ed7c6d4c75a58a95712473b2199b48e3261ab29d831d1
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/.ruby-gemset
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
aphorism
|
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
2.6.3
|
data/.travis.yml
ADDED
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,74 @@
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
2
|
+
|
3
|
+
## Our Pledge
|
4
|
+
|
5
|
+
In the interest of fostering an open and welcoming environment, we as
|
6
|
+
contributors and maintainers pledge to making participation in our project and
|
7
|
+
our community a harassment-free experience for everyone, regardless of age, body
|
8
|
+
size, disability, ethnicity, gender identity and expression, level of experience,
|
9
|
+
nationality, personal appearance, race, religion, or sexual identity and
|
10
|
+
orientation.
|
11
|
+
|
12
|
+
## Our Standards
|
13
|
+
|
14
|
+
Examples of behavior that contributes to creating a positive environment
|
15
|
+
include:
|
16
|
+
|
17
|
+
* Using welcoming and inclusive language
|
18
|
+
* Being respectful of differing viewpoints and experiences
|
19
|
+
* Gracefully accepting constructive criticism
|
20
|
+
* Focusing on what is best for the community
|
21
|
+
* Showing empathy towards other community members
|
22
|
+
|
23
|
+
Examples of unacceptable behavior by participants include:
|
24
|
+
|
25
|
+
* The use of sexualized language or imagery and unwelcome sexual attention or
|
26
|
+
advances
|
27
|
+
* Trolling, insulting/derogatory comments, and personal or political attacks
|
28
|
+
* Public or private harassment
|
29
|
+
* Publishing others' private information, such as a physical or electronic
|
30
|
+
address, without explicit permission
|
31
|
+
* Other conduct which could reasonably be considered inappropriate in a
|
32
|
+
professional setting
|
33
|
+
|
34
|
+
## Our Responsibilities
|
35
|
+
|
36
|
+
Project maintainers are responsible for clarifying the standards of acceptable
|
37
|
+
behavior and are expected to take appropriate and fair corrective action in
|
38
|
+
response to any instances of unacceptable behavior.
|
39
|
+
|
40
|
+
Project maintainers have the right and responsibility to remove, edit, or
|
41
|
+
reject comments, commits, code, wiki edits, issues, and other contributions
|
42
|
+
that are not aligned to this Code of Conduct, or to ban temporarily or
|
43
|
+
permanently any contributor for other behaviors that they deem inappropriate,
|
44
|
+
threatening, offensive, or harmful.
|
45
|
+
|
46
|
+
## Scope
|
47
|
+
|
48
|
+
This Code of Conduct applies both within project spaces and in public spaces
|
49
|
+
when an individual is representing the project or its community. Examples of
|
50
|
+
representing a project or community include using an official project e-mail
|
51
|
+
address, posting via an official social media account, or acting as an appointed
|
52
|
+
representative at an online or offline event. Representation of a project may be
|
53
|
+
further defined and clarified by project maintainers.
|
54
|
+
|
55
|
+
## Enforcement
|
56
|
+
|
57
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
58
|
+
reported by contacting the project team at kate@katelovescode.com. All
|
59
|
+
complaints will be reviewed and investigated and will result in a response that
|
60
|
+
is deemed necessary and appropriate to the circumstances. The project team is
|
61
|
+
obligated to maintain confidentiality with regard to the reporter of an incident.
|
62
|
+
Further details of specific enforcement policies may be posted separately.
|
63
|
+
|
64
|
+
Project maintainers who do not follow or enforce the Code of Conduct in good
|
65
|
+
faith may face temporary or permanent repercussions as determined by other
|
66
|
+
members of the project's leadership.
|
67
|
+
|
68
|
+
## Attribution
|
69
|
+
|
70
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
71
|
+
available at [http://contributor-covenant.org/version/1/4][version]
|
72
|
+
|
73
|
+
[homepage]: http://contributor-covenant.org
|
74
|
+
[version]: http://contributor-covenant.org/version/1/4/
|
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,41 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
aphorism (0.1.1)
|
5
|
+
|
6
|
+
GEM
|
7
|
+
remote: https://rubygems.org/
|
8
|
+
specs:
|
9
|
+
coderay (1.1.2)
|
10
|
+
diff-lcs (1.3)
|
11
|
+
method_source (0.9.2)
|
12
|
+
pry (0.12.2)
|
13
|
+
coderay (~> 1.1.0)
|
14
|
+
method_source (~> 0.9.0)
|
15
|
+
rake (10.5.0)
|
16
|
+
rspec (3.8.0)
|
17
|
+
rspec-core (~> 3.8.0)
|
18
|
+
rspec-expectations (~> 3.8.0)
|
19
|
+
rspec-mocks (~> 3.8.0)
|
20
|
+
rspec-core (3.8.1)
|
21
|
+
rspec-support (~> 3.8.0)
|
22
|
+
rspec-expectations (3.8.4)
|
23
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
24
|
+
rspec-support (~> 3.8.0)
|
25
|
+
rspec-mocks (3.8.1)
|
26
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
27
|
+
rspec-support (~> 3.8.0)
|
28
|
+
rspec-support (3.8.2)
|
29
|
+
|
30
|
+
PLATFORMS
|
31
|
+
ruby
|
32
|
+
|
33
|
+
DEPENDENCIES
|
34
|
+
aphorism!
|
35
|
+
bundler (~> 2.0)
|
36
|
+
pry (~> 0.12)
|
37
|
+
rake (~> 10.0)
|
38
|
+
rspec (~> 3.0)
|
39
|
+
|
40
|
+
BUNDLED WITH
|
41
|
+
2.0.2
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2019 Kate Donaldson
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,61 @@
|
|
1
|
+
# Aphorism
|
2
|
+
|
3
|
+
Aphorism is a gem in the vein of `fortune` that returns random customizable aphorisms.
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
Add this line to your application's Gemfile:
|
8
|
+
|
9
|
+
```ruby
|
10
|
+
gem 'aphorism'
|
11
|
+
```
|
12
|
+
|
13
|
+
And then execute:
|
14
|
+
|
15
|
+
$ bundle
|
16
|
+
|
17
|
+
Or install it yourself as:
|
18
|
+
|
19
|
+
$ gem install aphorism
|
20
|
+
|
21
|
+
## Usage
|
22
|
+
|
23
|
+
`> aphorism`
|
24
|
+
|
25
|
+
For extra joy:
|
26
|
+
|
27
|
+
```
|
28
|
+
> gem install lolcat aphorism
|
29
|
+
> aphorism | lolcat
|
30
|
+
```
|
31
|
+
|
32
|
+
![demo image of aphorisms being populated in rainbow colors](https://raw.githubusercontent.com/katelovescode/aphorism/master/lolcatdemo.png)
|
33
|
+
|
34
|
+
### Add more aphorisms
|
35
|
+
|
36
|
+
```
|
37
|
+
$ which aphorism
|
38
|
+
/path/to/bin/aphorism
|
39
|
+
cd /path/to/lib/content
|
40
|
+
[text editor of choice open command] aphorisms.txt
|
41
|
+
```
|
42
|
+
|
43
|
+
Add new content, separating each aphorism from the prior entry with a `%` symbol on a newline.
|
44
|
+
|
45
|
+
## Development
|
46
|
+
|
47
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
48
|
+
|
49
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
50
|
+
|
51
|
+
## Contributing
|
52
|
+
|
53
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/katelovescode/aphorism. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
54
|
+
|
55
|
+
## License
|
56
|
+
|
57
|
+
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
58
|
+
|
59
|
+
## Code of Conduct
|
60
|
+
|
61
|
+
Everyone interacting in the Aphorism project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/katelovescode/aphorism/blob/master/CODE_OF_CONDUCT.md).
|
data/Rakefile
ADDED
data/aphorism-0.1.0.gem
ADDED
Binary file
|
data/aphorism.gemspec
ADDED
@@ -0,0 +1,32 @@
|
|
1
|
+
lib = File.expand_path("lib", __dir__)
|
2
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
3
|
+
require "aphorism/version"
|
4
|
+
|
5
|
+
Gem::Specification.new do |spec|
|
6
|
+
spec.name = "aphorism"
|
7
|
+
spec.version = Aphorism::VERSION
|
8
|
+
spec.authors = ["Kate Donaldson"]
|
9
|
+
spec.email = ["kate@katelovescode.com"]
|
10
|
+
|
11
|
+
spec.summary = %q{Gem to generate a random aphorism or quote.}
|
12
|
+
spec.homepage = "https://github.com/katelovescode/aphorism"
|
13
|
+
spec.license = "MIT"
|
14
|
+
|
15
|
+
spec.metadata["homepage_uri"] = spec.homepage
|
16
|
+
spec.metadata["source_code_uri"] = "https://github.com/katelovescode/aphorism"
|
17
|
+
spec.metadata["changelog_uri"] = "https://github.com/katelovescode/aphorism/releases"
|
18
|
+
|
19
|
+
# Specify which files should be added to the gem when it is released.
|
20
|
+
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
21
|
+
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
|
22
|
+
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
23
|
+
end
|
24
|
+
spec.bindir = "exe"
|
25
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
26
|
+
spec.require_paths = ["lib"]
|
27
|
+
|
28
|
+
spec.add_development_dependency "bundler", "~> 2.0"
|
29
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
30
|
+
spec.add_development_dependency "rspec", "~> 3.0"
|
31
|
+
spec.add_development_dependency "pry", "~> 0.12"
|
32
|
+
end
|
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "aphorism"
|
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/setup
ADDED
data/exe/aphorism
ADDED
data/lib/aphorism.rb
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
require "aphorism/version"
|
2
|
+
require "pry"
|
3
|
+
|
4
|
+
module Aphorism
|
5
|
+
class Error < StandardError; end
|
6
|
+
class Orator
|
7
|
+
def say
|
8
|
+
aphorisms_path = File.join(__dir__, 'content/aphorisms.txt')
|
9
|
+
aphorisms = IO.read(aphorisms_path).split("\n%\n")
|
10
|
+
puts aphorisms.sample
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
@@ -0,0 +1,199 @@
|
|
1
|
+
"If I stop to kick every barking dog I am not going to get where I’m going." - Jackie Joyner-Kersee
|
2
|
+
%
|
3
|
+
"Optimism is the faith that leads to achievement." - Helen Keller
|
4
|
+
%
|
5
|
+
"You are the one that possesses the keys to your being. You carry the passport to your own happiness." - Diane von Furstenberg
|
6
|
+
%
|
7
|
+
"I was smart enough to go through any door that opened." - Joan Rivers
|
8
|
+
%
|
9
|
+
"Cautious, careful people, always casting about to preserve their reputations can never effect a reform." - Susan B. Anthony
|
10
|
+
%
|
11
|
+
"When the whole world is silent, even one voice becomes powerful." - Malala Yousafzai
|
12
|
+
%
|
13
|
+
"Make the most of yourself by fanning the tiny, inner sparks of possibility into flames of achievement." - Golda Meir
|
14
|
+
%
|
15
|
+
"Knowing what must be done does away with fear." - Rosa Parks
|
16
|
+
%
|
17
|
+
"I didn’t get there by wishing for it or hoping for it, but by working for it." - Estée Lauder
|
18
|
+
%
|
19
|
+
"Power’s not given to you. You have to take it." - Beyoncé Knowles Carter
|
20
|
+
%
|
21
|
+
"The most difficult thing is the decision to act, the rest is merely tenacity." - Amelia Earhart
|
22
|
+
%
|
23
|
+
"The difference between successful people and others is how long they spend time feeling sorry for themselves." - Barbara Corcoran
|
24
|
+
%
|
25
|
+
"You can waste your lives drawing lines. Or you can live your life crossing them." - Shonda Rhimes
|
26
|
+
%
|
27
|
+
"I’d rather regret the things I’ve done than regret the things I haven’t done." - Lucille Ball
|
28
|
+
%
|
29
|
+
"I hope the fathers and mothers of little girls will look at them and say ‘yes, women can.’" - Dilma Rousseff
|
30
|
+
%
|
31
|
+
"Beware of monotony; it’s the mother of all the deadly sins." - Edith Wharton
|
32
|
+
%
|
33
|
+
"If you don’t risk anything, you risk even more." - Erica Jong
|
34
|
+
%
|
35
|
+
"I have stood on a mountain of no’s for one yes." - B. Smith
|
36
|
+
%
|
37
|
+
"The way we talk to our children becomes their inner voice." - Peggy O’Mara
|
38
|
+
%
|
39
|
+
"You can never leave footprints that last if you are always walking on tiptoe." - Leymah Gbowee
|
40
|
+
%
|
41
|
+
"If you don’t like the road you’re walking, start paving another one." - Dolly Parton
|
42
|
+
%
|
43
|
+
"If you think taking care of yourself is selfish, change your mind. If you don’t, you’re simply ducking your responsibilities." - Ann Richards
|
44
|
+
%
|
45
|
+
"You can’t give up! If you give up, you’re like everybody else." - Chris Evert
|
46
|
+
%
|
47
|
+
"No matter how difficult and painful it may be, nothing sounds as good to the soul as the truth." - Martha Beck
|
48
|
+
%
|
49
|
+
"Done is better than perfect." - Sheryl Sandberg
|
50
|
+
%
|
51
|
+
"One of the secrets to staying young is to always do things you don’t know how to do, to keep learning." - Ruth Reichl
|
52
|
+
%
|
53
|
+
"Be first and be lonely." - Ginni Rometty
|
54
|
+
%
|
55
|
+
"One cannot accomplish anything without fanaticism." - Eva Perón
|
56
|
+
%
|
57
|
+
"Look your best - who said love is blind?" - Mae West
|
58
|
+
%
|
59
|
+
"It took me quite a long time to develop a voice, and now that I have it, I am not going to be silent." - Madeleine Albright
|
60
|
+
%
|
61
|
+
"Don’t take too much credit for your children — or too much blame!" - Debora Spar
|
62
|
+
%
|
63
|
+
"You can imprison a man, but not an idea. You can exile a man, but not an idea. You can kill a man, but not an idea." - Benazir Bhutto
|
64
|
+
%
|
65
|
+
"Step out of the history that is holding you back. Step into the new story you are willing to create." - Oprah Winfrey
|
66
|
+
%
|
67
|
+
"What you do makes a difference, and you have to decide what kind of difference you want to make." - Jane Goodall
|
68
|
+
%
|
69
|
+
"I firmly believe you never should spend your time being the former anything." - Condoleezza Rice
|
70
|
+
%
|
71
|
+
"I may be wearing makeup, but I can throw a fastball by you at the same time." - Jennie Finch
|
72
|
+
%
|
73
|
+
"A good compromise is one where everybody makes a contribution." - Angela Merkel
|
74
|
+
%
|
75
|
+
"A strong woman is a woman determined to do something others are determined not be done." - Marge Piercy
|
76
|
+
%
|
77
|
+
"I choose to make the rest of my life the best of my life." - Louise Hay
|
78
|
+
%
|
79
|
+
"Drama is very important in life: You have to come on with a bang. You never want to go out with a whimper." - Julia Child
|
80
|
+
%
|
81
|
+
"If your home environment is good and peaceful and easy, your life is better and easier." - Lori Greiner
|
82
|
+
%
|
83
|
+
"In order to be irreplaceable one must always be different." - Coco Chanel
|
84
|
+
%
|
85
|
+
"The question isn’t who is going to let me; it’s who is going to stop me." - Ayn Rand
|
86
|
+
%
|
87
|
+
"Spread love everywhere you go. Let no one ever come to you without leaving happier." - Mother Teresa
|
88
|
+
%
|
89
|
+
"Take criticism seriously, but not personally. If there is truth or merit in the criticism, try to learn from it. Otherwise, let it roll right off you." - Hillary Clinton
|
90
|
+
%
|
91
|
+
"When we speak we are afraid our words will not be heard or welcomed. But when we are silent, we are still afraid. So it is better to speak." - Audre Lorde
|
92
|
+
%
|
93
|
+
"Learn from the mistakes of others. You can’t live long enough to make them all yourself." - Eleanor Roosevelt
|
94
|
+
%
|
95
|
+
"Women will only have true equality when men share with them the responsibility of bringing up the next generation." - Ruth Bader Ginsburg
|
96
|
+
%
|
97
|
+
"Above all, be the heroine of your life, not the victim." - Nora Ephron
|
98
|
+
%
|
99
|
+
"You should treat your marriage like a business that you wouldn’t want to let fail." - Lisa Ling
|
100
|
+
%
|
101
|
+
"It’s one of the greatest gifts you can give yourself, to forgive. Forgive everybody." - Maya Angelou
|
102
|
+
%
|
103
|
+
"Change your life today. Don’t gamble on the future, act now, without delay." - Simone de Beauvoir
|
104
|
+
%
|
105
|
+
"If you’re not making some notable mistakes along the way, you’re certainly not taking enough business and career chances." - Sallie Krawcheck
|
106
|
+
%
|
107
|
+
"A surplus of effort could overcome a deficit of confidence." - Sonia Sotomayor
|
108
|
+
%
|
109
|
+
"Doubt is a killer. You just have to know who you are and what you stand for." - Jennifer Lopez
|
110
|
+
%
|
111
|
+
"You can be the lead in your own life." - Kerry Washington
|
112
|
+
%
|
113
|
+
"When you feel copied, remember that people can only go where you have already been, they have no idea where you are going next." - Liz Lange
|
114
|
+
%
|
115
|
+
"You can’t please everyone, and you can’t make everyone like you." - Katie Couric
|
116
|
+
%
|
117
|
+
"No one changes the world who isn’t obsessed." - Billie Jean King
|
118
|
+
%
|
119
|
+
"Hold your head and your standards high even as people or circumstances try to pull you down." - Tory Johnson
|
120
|
+
%
|
121
|
+
"The best thing to hold onto in life is each other." - Audrey Hepburn
|
122
|
+
%
|
123
|
+
"Normal is not something to aspire to, it’s something to get away from." - Jodie Foster
|
124
|
+
%
|
125
|
+
"I am always busy, which is perhaps the chief reason why I am always well." - Elizabeth Cady Stanton
|
126
|
+
%
|
127
|
+
"I learned a long time ago that there is something worse than missing the goal, and that’s not pulling the trigger." - Mia Hamm
|
128
|
+
%
|
129
|
+
"When I’m hungry, I eat. When I’m thirsty, I drink. When I feel like saying something, I say it." - Madonna
|
130
|
+
%
|
131
|
+
"Owning our story can be hard but not nearly as difficult as spending our lives running from it." - Brene Brown
|
132
|
+
%
|
133
|
+
"I do not try to dance better than anyone else. I only try to dance better than myself." - Arianna Huffington
|
134
|
+
%
|
135
|
+
"I’m always perpetually out of my comfort zone." - Tory Burch
|
136
|
+
%
|
137
|
+
"If you can’t go straight ahead, you go around the corner." - Cher
|
138
|
+
%
|
139
|
+
"If you don’t get out of the box you’ve been raised in, you won’t understand how much bigger the world is." - Angelina Jolie
|
140
|
+
%
|
141
|
+
"Everyone shines, given the right lighting." - Susan Cain
|
142
|
+
%
|
143
|
+
"If you’re someone people count on, particularly in difficult moments, that’s a sign of a life lived honorably." - Rachel Maddow
|
144
|
+
%
|
145
|
+
"When you embrace your difference, your DNA, your look or heritage or religion or your unusual name, that’s when you start to shine." - Bethenny Frankel
|
146
|
+
%
|
147
|
+
"You can’t be that kid standing at the top of the waterslide, overthinking it. You have to go down the chute." - Tina Fey
|
148
|
+
%
|
149
|
+
"If you just set out to be liked, you would be prepared to compromise on anything at any time, and you would achieve nothing." - Margaret Thatcher
|
150
|
+
%
|
151
|
+
"The challenge is not to be perfect...it’s to be whole." - Jane Fonda
|
152
|
+
%
|
153
|
+
"Don’t look at your feet to see if you are doing it right. Just dance." - Anne Lamott
|
154
|
+
%
|
155
|
+
"There are two kinds of people, those who do the work and those who take the credit. Try to be in the first group; there is less competition there." - Indira Gandhi
|
156
|
+
%
|
157
|
+
"All careers go up and down like friendships, like marriages, like anything else, and you can’t bat a thousand all the time." - Julie Andrews
|
158
|
+
%
|
159
|
+
"If somebody can do something 80 percent as good as you think you would have done it yourself, then you’ve got to let it go." - Sara Blakely
|
160
|
+
%
|
161
|
+
"This journey has always been about reaching your own other shore no matter what it is, and that dream continues." - Diana Nyad
|
162
|
+
%
|
163
|
+
"You have trust in what you think. If you splinter yourself and try to please everyone, you can’t." - Annie Leibovitz
|
164
|
+
%
|
165
|
+
"If you find someone you love in your life, then hang on to that love." - Princess Diana
|
166
|
+
%
|
167
|
+
"We do not need magic to change the world, we carry all the power we need inside ourselves already: we have the power to imagine better." - J.K. Rowling
|
168
|
+
%
|
169
|
+
"When you’re through changing, you’re through." - Martha Stewart
|
170
|
+
%
|
171
|
+
"We need to start work with the idea that we’re going to learn every day. I learn, even at my position, every single day." - Chanda Kochhar
|
172
|
+
%
|
173
|
+
"Cherish forever what makes you unique, cuz you’re really a yawn if it goes." - Bette Midler
|
174
|
+
%
|
175
|
+
"Style is a way to say who you are without having to speak." - Rachel Zoe
|
176
|
+
%
|
177
|
+
"Dying seems less sad than having lived too little." - Gloria Steinem
|
178
|
+
%
|
179
|
+
"When I believe in something, I’m like a dog with a bone." - Melissa McCarthy
|
180
|
+
%
|
181
|
+
"Women asking for raises should not only know their value, but they should ask with the confidence that they’re helping the company to be successful." - Senator Kirsten Gillibrand
|
182
|
+
%
|
183
|
+
"Whenever you are blue or lonely or stricken by some humiliating thing you did, the cure and the hope is in caring about other people." - Diane Sawyer
|
184
|
+
%
|
185
|
+
"I need to listen well so that I hear what is not said." - Thuli Madonsela
|
186
|
+
%
|
187
|
+
"I try to live in a little bit of my own joy and not let people steal it or take it." - Hoda Kotb
|
188
|
+
%
|
189
|
+
"It’s not the absence of fear, it’s overcoming it. Sometimes you’ve got to blast through and have faith." - Emma Watson
|
190
|
+
%
|
191
|
+
"And the day came when the risk to remain tight in a bud was more painful than the risk it took to blossom." - Anaïs Nin
|
192
|
+
%
|
193
|
+
"I learned compassion from being discriminated against. Everything bad that’s ever happened to me has taught me compassion." - Ellen DeGeneres
|
194
|
+
%
|
195
|
+
"When I’m tired, I rest. I say, ‘I can’t be a superwoman today.’" - Jada Pinkett Smith
|
196
|
+
%
|
197
|
+
"Don’t live life in the past lane." - Samantha Ettus
|
198
|
+
%
|
199
|
+
"Many receive advice, only the wise profit from it." - Harper Lee
|
data/lolcatdemo.png
ADDED
Binary file
|
metadata
ADDED
@@ -0,0 +1,123 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: aphorism
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Kate Donaldson
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2019-06-21 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '2.0'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '2.0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '10.0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '10.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rspec
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '3.0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '3.0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: pry
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0.12'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0.12'
|
69
|
+
description:
|
70
|
+
email:
|
71
|
+
- kate@katelovescode.com
|
72
|
+
executables:
|
73
|
+
- aphorism
|
74
|
+
extensions: []
|
75
|
+
extra_rdoc_files: []
|
76
|
+
files:
|
77
|
+
- ".gitignore"
|
78
|
+
- ".rspec"
|
79
|
+
- ".ruby-gemset"
|
80
|
+
- ".ruby-version"
|
81
|
+
- ".travis.yml"
|
82
|
+
- CODE_OF_CONDUCT.md
|
83
|
+
- Gemfile
|
84
|
+
- Gemfile.lock
|
85
|
+
- LICENSE.txt
|
86
|
+
- README.md
|
87
|
+
- Rakefile
|
88
|
+
- aphorism-0.1.0.gem
|
89
|
+
- aphorism.gemspec
|
90
|
+
- bin/console
|
91
|
+
- bin/setup
|
92
|
+
- exe/aphorism
|
93
|
+
- lib/aphorism.rb
|
94
|
+
- lib/aphorism/version.rb
|
95
|
+
- lib/content/aphorisms.txt
|
96
|
+
- lolcatdemo.png
|
97
|
+
homepage: https://github.com/katelovescode/aphorism
|
98
|
+
licenses:
|
99
|
+
- MIT
|
100
|
+
metadata:
|
101
|
+
homepage_uri: https://github.com/katelovescode/aphorism
|
102
|
+
source_code_uri: https://github.com/katelovescode/aphorism
|
103
|
+
changelog_uri: https://github.com/katelovescode/aphorism/releases
|
104
|
+
post_install_message:
|
105
|
+
rdoc_options: []
|
106
|
+
require_paths:
|
107
|
+
- lib
|
108
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
109
|
+
requirements:
|
110
|
+
- - ">="
|
111
|
+
- !ruby/object:Gem::Version
|
112
|
+
version: '0'
|
113
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
requirements: []
|
119
|
+
rubygems_version: 3.0.4
|
120
|
+
signing_key:
|
121
|
+
specification_version: 4
|
122
|
+
summary: Gem to generate a random aphorism or quote.
|
123
|
+
test_files: []
|