rumi 0.0.1 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Manifest +1 -0
- data/README.rdoc +8 -6
- data/Rakefile +1 -1
- data/lib/rumi.rb +14 -2
- data/rumi.gemspec +3 -3
- metadata +5 -5
data/Manifest
CHANGED
data/README.rdoc
CHANGED
@@ -1,14 +1,16 @@
|
|
1
|
-
|
1
|
+
= Rumi
|
2
2
|
|
3
3
|
Gem will output a random quote by the Persian mystical poet Rumi.
|
4
4
|
|
5
|
-
|
5
|
+
|
6
|
+
== Install
|
6
7
|
|
7
8
|
gem install rumi
|
9
|
+
|
8
10
|
|
9
|
-
|
11
|
+
== Usage
|
10
12
|
|
11
|
-
|
12
|
-
|
13
|
+
require 'rubygems'
|
14
|
+
require 'rumi'
|
13
15
|
|
14
|
-
|
16
|
+
Rumi.quote # outputs a random Rumi quote
|
data/Rakefile
CHANGED
@@ -2,7 +2,7 @@ require 'rubygems'
|
|
2
2
|
require 'rake'
|
3
3
|
require 'echoe'
|
4
4
|
|
5
|
-
Echoe.new('rumi', '0.0
|
5
|
+
Echoe.new('rumi', '0.1.0') do |e|
|
6
6
|
e.summary = "Outputs a random Rumi quote"
|
7
7
|
e.description = "Gem will output a random quote by the Persian mystical poet Rumi."
|
8
8
|
e.url = "http://github.com/wiehann/rumi"
|
data/lib/rumi.rb
CHANGED
@@ -8,7 +8,19 @@ module Rumi
|
|
8
8
|
"Thirst drove me down to the water where I drank the moon's reflection.",
|
9
9
|
"Your task is not to seek for love, but merely to seek and find all the barriers within yourself that you have built against it.",
|
10
10
|
"Every object, every being, is a jar full of delight.",
|
11
|
-
"Let the beauty we love be what we do."
|
12
|
-
|
11
|
+
"Let the beauty we love be what we do.",
|
12
|
+
"In silence there is eloquence. Stop weaving and watch how the pattern improves.",
|
13
|
+
"Observe the wonders as they occur around you. Don't claim them. Feel the artistry moving through and be silent.",
|
14
|
+
"You were born with wings. Why prefer to crawl through life?",
|
15
|
+
"Everyone is so afraid of death, but the real sufis just laugh: nothing tyrannizes their hearts. What strikes the oyster shell does not damage the pearl.",
|
16
|
+
"We rarely hear the inward music, but we're all dancing to it nevertheless.",
|
17
|
+
"Let yourself be silently drawn by the stronger pull of what you really love.",
|
18
|
+
"If you are irritated by every rub, how will you be polished?",
|
19
|
+
"O, happy the soul that saw its own faults.",
|
20
|
+
"Paradise is surrounded by what we dislike; the fires of hell are surrounded by what we desire.",
|
21
|
+
"If you wish mercy, show mercy to the weak.",
|
22
|
+
"Everything you possess of skill, and wealth and handicraft, wasn't it first merely a thought and a quest?",
|
23
|
+
"The branch might seem like the fruit's origin: In fact, the branch exist because of the fruit."]
|
24
|
+
return quotes[rand(quotes.size)]
|
13
25
|
end
|
14
26
|
end
|
data/rumi.gemspec
CHANGED
@@ -2,15 +2,15 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{rumi}
|
5
|
-
s.version = "0.0
|
5
|
+
s.version = "0.1.0"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Wiehann Radyn"]
|
9
|
-
s.date = %q{2010-08-
|
9
|
+
s.date = %q{2010-08-26}
|
10
10
|
s.description = %q{Gem will output a random quote by the Persian mystical poet Rumi.}
|
11
11
|
s.email = %q{wradyn@gmail.com}
|
12
12
|
s.extra_rdoc_files = ["README.rdoc", "lib/rumi.rb"]
|
13
|
-
s.files = ["README.rdoc", "Rakefile", "lib/rumi.rb", "
|
13
|
+
s.files = ["README.rdoc", "Rakefile", "lib/rumi.rb", "rumi.gemspec", "Manifest"]
|
14
14
|
s.homepage = %q{http://github.com/wiehann/rumi}
|
15
15
|
s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Rumi", "--main", "README.rdoc"]
|
16
16
|
s.require_paths = ["lib"]
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rumi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 27
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
-
- 0
|
9
8
|
- 1
|
10
|
-
|
9
|
+
- 0
|
10
|
+
version: 0.1.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Wiehann Radyn
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-08-
|
18
|
+
date: 2010-08-26 00:00:00 +02:00
|
19
19
|
default_executable:
|
20
20
|
dependencies: []
|
21
21
|
|
@@ -32,8 +32,8 @@ files:
|
|
32
32
|
- README.rdoc
|
33
33
|
- Rakefile
|
34
34
|
- lib/rumi.rb
|
35
|
-
- Manifest
|
36
35
|
- rumi.gemspec
|
36
|
+
- Manifest
|
37
37
|
has_rdoc: true
|
38
38
|
homepage: http://github.com/wiehann/rumi
|
39
39
|
licenses: []
|