aphorism 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -2
- data/lib/aphorism/version.rb +1 -1
- data/lib/content/aphorisms.txt +2 -6
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fab35eab0751f046ea6193d5b1c68f7246212c94ceaa1e74f8cb4acff2c42c79
|
4
|
+
data.tar.gz: dab3ad612d9b58b9e2bceae0cb3c9411ade6d0093a4fb44324bd28fb9249f426
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 571d4f58c260daaf31581aa200db581766680ed9db25f5968c678e55944cf27f5869e41cafd94ab2ddd5c1752200caf4777c434c2a53300ff7aa6bead60b520e
|
7
|
+
data.tar.gz: d756a2e793f5c0a7985684eee171415bd35a0c5deff1834bfb24a0898dba24a2cca080c979283d35862f09725eabacfa929d565c4852aff0cf27dde2661d25a7
|
data/README.md
CHANGED
@@ -2,7 +2,11 @@
|
|
2
2
|
|
3
3
|
Aphorism is a gem in the vein of `fortune` that returns random customizable aphorisms.
|
4
4
|
|
5
|
-
##
|
5
|
+
## Quick Install
|
6
|
+
|
7
|
+
Wanna run aphorism in your terminal right away? Clone this repo and run `sh install.sh` from the project root.
|
8
|
+
|
9
|
+
## Installation in a Ruby application using bundler
|
6
10
|
|
7
11
|
Add this line to your application's Gemfile:
|
8
12
|
|
@@ -44,7 +48,7 @@ Add new content to any number of `.txt` files in your `$HOME/.aphorism` director
|
|
44
48
|
|
45
49
|
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.
|
46
50
|
|
47
|
-
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).
|
51
|
+
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`, commit the change, 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).
|
48
52
|
|
49
53
|
## Contributing
|
50
54
|
|
data/lib/aphorism/version.rb
CHANGED
data/lib/content/aphorisms.txt
CHANGED
@@ -46,8 +46,6 @@
|
|
46
46
|
%
|
47
47
|
"No matter how difficult and painful it may be, nothing sounds as good to the soul as the truth." - Martha Beck
|
48
48
|
%
|
49
|
-
"Done is better than perfect." - Sheryl Sandberg
|
50
|
-
%
|
51
49
|
"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
50
|
%
|
53
51
|
"Be first and be lonely." - Ginni Rometty
|
@@ -66,8 +64,6 @@
|
|
66
64
|
%
|
67
65
|
"What you do makes a difference, and you have to decide what kind of difference you want to make." - Jane Goodall
|
68
66
|
%
|
69
|
-
"I firmly believe you never should spend your time being the former anything." - Condoleezza Rice
|
70
|
-
%
|
71
67
|
"I may be wearing makeup, but I can throw a fastball by you at the same time." - Jennie Finch
|
72
68
|
%
|
73
69
|
"A good compromise is one where everybody makes a contribution." - Angela Merkel
|
@@ -80,6 +76,8 @@
|
|
80
76
|
%
|
81
77
|
"If your home environment is good and peaceful and easy, your life is better and easier." - Lori Greiner
|
82
78
|
%
|
79
|
+
So if you leave with only one thing you leave with, it must be this: choose to fight only righteous fights, because then when things get tough – and they will – you will know that there is only option ahead of you: nevertheless, you must persist. - Elizabeth Warren
|
80
|
+
%
|
83
81
|
"In order to be irreplaceable one must always be different." - Coco Chanel
|
84
82
|
%
|
85
83
|
"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
|
@@ -160,8 +158,6 @@
|
|
160
158
|
%
|
161
159
|
"If you find someone you love in your life, then hang on to that love." - Princess Diana
|
162
160
|
%
|
163
|
-
"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
|
164
|
-
%
|
165
161
|
"When you're through changing, you're through." - Martha Stewart
|
166
162
|
%
|
167
163
|
"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
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aphorism
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kate Donaldson
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-04-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '13.0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '13.0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rspec
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -117,7 +117,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
117
117
|
- !ruby/object:Gem::Version
|
118
118
|
version: '0'
|
119
119
|
requirements: []
|
120
|
-
rubygems_version: 3.0.
|
120
|
+
rubygems_version: 3.0.8
|
121
121
|
signing_key:
|
122
122
|
specification_version: 4
|
123
123
|
summary: Gem to generate a random aphorism or quote.
|