sales_quotes 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/quotes.yaml +150 -0
- data/lib/sales_quotes.rb +28 -0
- metadata +45 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 7a0edfd15d3107c8b316115f2d8e81cf9e450e6d
|
4
|
+
data.tar.gz: 0323296b329135502c81172fb533c6a6d7011422
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 14ba1c3140644c1a80fa9147dbe06709f960bef86b4609aa17d3ae238069773baaebd67206583e99deb38bdd4c71f50227c663a4c1f051074eb30c8c2d931d3e
|
7
|
+
data.tar.gz: 673a4105a2f44de4f05c956f0a2eb85ef07848f2a6c7c70d5e2b0cb496d95bdbe7b29eabadcaf4805c4093a4ef338b94fe96ab237d5d0ebc87208980aacea796
|
data/lib/quotes.yaml
ADDED
@@ -0,0 +1,150 @@
|
|
1
|
+
quotes:
|
2
|
+
- content: "Our greatest weakness lies in giving up. The most certain way to succeed is always to try just one more time."
|
3
|
+
author: Thomas Edison
|
4
|
+
|
5
|
+
- content: "Always do your best. What you plant now, you will harvest later."
|
6
|
+
author: Og Mandino
|
7
|
+
|
8
|
+
- content: "Become the person who would attract the results you seek."
|
9
|
+
author: Jim Cathcart
|
10
|
+
|
11
|
+
- content: "Don't watch the clock; do what it does. Keep going."
|
12
|
+
author: Sam Levenson
|
13
|
+
|
14
|
+
- content: "Everything you’ve ever wanted is on the other side of fear."
|
15
|
+
author: George Addair
|
16
|
+
|
17
|
+
- content: "The secret of getting ahead is getting started."
|
18
|
+
author: Mark Twain
|
19
|
+
|
20
|
+
- content: "Quality performance starts with a positive attitude."
|
21
|
+
author: Jeffrey Gitomer
|
22
|
+
|
23
|
+
- content: "Do you want to know who you are? Don't ask. Act! Action will delineate and define you."
|
24
|
+
author: Thomas Jefferson
|
25
|
+
|
26
|
+
- content: "Setting goals is the first step in turning the invisible into the visible."
|
27
|
+
author: Tony Robbins
|
28
|
+
|
29
|
+
- content: "The harder the conflict, the more glorious the triumph."
|
30
|
+
author: Thomas Paine
|
31
|
+
|
32
|
+
- content: "We herd sheep, we drive cattle, we lead people. Lead me, follow me, or get out of my way."
|
33
|
+
author: George S. Patton
|
34
|
+
|
35
|
+
- content: "Motivation will almost always beat mere talent."
|
36
|
+
author: Norman Ralph Augustine
|
37
|
+
|
38
|
+
- content: "Change before you have to."
|
39
|
+
author: Jack Welch
|
40
|
+
|
41
|
+
- content: "Human beings have an innate inner drive to be autonomous, self-determined, and connected to one another. And when that drive is liberated, people achieve more and live richer lives."
|
42
|
+
author: Daniel Pink
|
43
|
+
|
44
|
+
- content: "I attribute my success to this: I never gave or took any excuse."
|
45
|
+
author: Florence Nightengale
|
46
|
+
|
47
|
+
- content: "Your attitude, not your aptitude, will determine your altitude."
|
48
|
+
author: Zig Ziglar
|
49
|
+
|
50
|
+
- content: "Well done is better than well said."
|
51
|
+
author: Benjamin Franklin
|
52
|
+
|
53
|
+
- content: "You miss 100% of the shots you don’t take."
|
54
|
+
author: Wayne Gretzky
|
55
|
+
|
56
|
+
- content: "I got lucky because I never gave up the search. Are you quitting too soon? Or are you willing to pursue luck with a vengeance?"
|
57
|
+
author: Jill Konrath
|
58
|
+
|
59
|
+
- content: "There is always room at the top."
|
60
|
+
author: Daniel Webster
|
61
|
+
|
62
|
+
- content: "It ain't over 'til it's over."
|
63
|
+
author: Yogi Berra
|
64
|
+
|
65
|
+
- content: "It’s not about having the right opportunities. It’s about handling the opportunities right."
|
66
|
+
author: Mark Hunter
|
67
|
+
|
68
|
+
- content: "A goal is a dream with a deadline."
|
69
|
+
author: Napolean Hill
|
70
|
+
|
71
|
+
- content: "Winning isn’t everything, but wanting to win is."
|
72
|
+
author: Vince Lombardi
|
73
|
+
|
74
|
+
- content: "Big shots are only little shots who keep shooting."
|
75
|
+
author: Christopher Morley
|
76
|
+
|
77
|
+
- content: "If you’re offered a seat on a rocket ship, don’t ask what seat! Just get on."
|
78
|
+
author: Sheryl Sandberg
|
79
|
+
|
80
|
+
- content: "Outstanding people have one thing in common: An absolute sense of mission."
|
81
|
+
author: Zig Ziglar
|
82
|
+
|
83
|
+
- content: "You can't build a reputation on what you are going to do."
|
84
|
+
author: Henry Ford
|
85
|
+
|
86
|
+
- content: "Trying is winning in the moment."
|
87
|
+
author: Dan Waldschmidt
|
88
|
+
|
89
|
+
- content: "Fall down seven times and stand up eight."
|
90
|
+
author: Proverb
|
91
|
+
|
92
|
+
- content: "If you aren’t going all the way, why go at all?"
|
93
|
+
author: Joe Namath
|
94
|
+
|
95
|
+
- content: "Act as if what you do makes a difference. It does."
|
96
|
+
author: William James
|
97
|
+
|
98
|
+
- content: "You just can't beat the person who never gives up."
|
99
|
+
author: Babe Ruth
|
100
|
+
|
101
|
+
- content: "Lean in, speak out, have a voice in your organization, and never use the word 'sorry.'"
|
102
|
+
author: Trish Bertuzzi
|
103
|
+
|
104
|
+
- content: "Whatever you are, be a good one."
|
105
|
+
author: Abraham Lincoln
|
106
|
+
|
107
|
+
- content: "The road to Easy Street goes through the sewer."
|
108
|
+
author: John Madden
|
109
|
+
|
110
|
+
- content: "Fortune favors the bold."
|
111
|
+
author: Virgil
|
112
|
+
|
113
|
+
- content: "Success is never final. Failure is never fatal. It is courage that counts."
|
114
|
+
author: Winston Churchill
|
115
|
+
|
116
|
+
- content: "Don't be afraid to give up the good to go for the great."
|
117
|
+
author: John D. Rockefeller
|
118
|
+
|
119
|
+
- content: "High expectations are the key to everything."
|
120
|
+
author: Sam Walton
|
121
|
+
|
122
|
+
- content: "No one can make you feel inferior without your consent."
|
123
|
+
author: Eleanor Roosevelt
|
124
|
+
|
125
|
+
- content: "Don't let what you cannot do interfere with what you can do."
|
126
|
+
author: John R. Wooden
|
127
|
+
|
128
|
+
- content: "There is little success where there is little laughter."
|
129
|
+
author: Andrew Carnegie
|
130
|
+
|
131
|
+
- content: "We cannot solve our problems with the same thinking we used when we created them."
|
132
|
+
author: Albert Einstein
|
133
|
+
|
134
|
+
- content: "What we dwell on is who we become."
|
135
|
+
author: Oprah Winfrey
|
136
|
+
|
137
|
+
- content: "It is not necessary to do extraordinary things to get extraordinary results."
|
138
|
+
author: Warren Buffett
|
139
|
+
|
140
|
+
- content: "Nothing is impossible; the word itself says 'I'm possible!'"
|
141
|
+
author: Audrey Hepburn
|
142
|
+
|
143
|
+
- content: "Innovation distinguishes between a leader and a follower."
|
144
|
+
author: Steve Jobs
|
145
|
+
|
146
|
+
- content: "The successful warrior is the average man, with laser-like focus."
|
147
|
+
author: Bruce Lee
|
148
|
+
|
149
|
+
- content: "Be miserable. Or motivate yourself. Whatever has to be done, it's always your choice."
|
150
|
+
author: Wayne Dyer
|
data/lib/sales_quotes.rb
ADDED
@@ -0,0 +1,28 @@
|
|
1
|
+
require 'yaml'
|
2
|
+
|
3
|
+
class SalesQuotes
|
4
|
+
attr_reader :quotes
|
5
|
+
|
6
|
+
def self.random
|
7
|
+
SalesQuotes.new.quotes.sample
|
8
|
+
end
|
9
|
+
|
10
|
+
def initialize
|
11
|
+
@quotes = symbolize_array(YAML.load_file("#{__dir__}/quotes.yaml")["quotes"])
|
12
|
+
end
|
13
|
+
|
14
|
+
private
|
15
|
+
|
16
|
+
def symbolize_array array
|
17
|
+
array.map {|a| symbolize_keys(a) }
|
18
|
+
end
|
19
|
+
|
20
|
+
def symbolize_keys hash
|
21
|
+
new_hash = {}
|
22
|
+
hash.each do |key, value|
|
23
|
+
new_hash[key.to_sym] = value
|
24
|
+
end
|
25
|
+
new_hash
|
26
|
+
end
|
27
|
+
|
28
|
+
end
|
metadata
ADDED
@@ -0,0 +1,45 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: sales_quotes
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Nate Daily
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2016-09-14 00:00:00.000000000 Z
|
12
|
+
dependencies: []
|
13
|
+
description: A simple way to inspire those in need of insperation
|
14
|
+
email: ndaily@netmediagroup.com
|
15
|
+
executables: []
|
16
|
+
extensions: []
|
17
|
+
extra_rdoc_files: []
|
18
|
+
files:
|
19
|
+
- lib/quotes.yaml
|
20
|
+
- lib/sales_quotes.rb
|
21
|
+
homepage: https://github.com/nzajt/sales_quotes
|
22
|
+
licenses:
|
23
|
+
- MIT
|
24
|
+
metadata: {}
|
25
|
+
post_install_message:
|
26
|
+
rdoc_options: []
|
27
|
+
require_paths:
|
28
|
+
- lib
|
29
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
35
|
+
requirements:
|
36
|
+
- - ">="
|
37
|
+
- !ruby/object:Gem::Version
|
38
|
+
version: '0'
|
39
|
+
requirements: []
|
40
|
+
rubyforge_project:
|
41
|
+
rubygems_version: 2.5.1
|
42
|
+
signing_key:
|
43
|
+
specification_version: 4
|
44
|
+
summary: A list of good sales quotes
|
45
|
+
test_files: []
|