rumi 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (6) hide show
  1. data/Manifest +4 -0
  2. data/README.rdoc +14 -0
  3. data/Rakefile +13 -0
  4. data/lib/rumi.rb +14 -0
  5. data/rumi.gemspec +30 -0
  6. metadata +78 -0
@@ -0,0 +1,4 @@
1
+ README.rdoc
2
+ Rakefile
3
+ lib/rumi.rb
4
+ Manifest
@@ -0,0 +1,14 @@
1
+ == Rumi
2
+
3
+ Gem will output a random quote by the Persian mystical poet Rumi.
4
+
5
+ === Install
6
+
7
+ gem install rumi
8
+
9
+ === Usage
10
+
11
+ require 'rubygems'
12
+ require 'rumi'
13
+
14
+ Rumi.quote # outputs a random Rumi quote
@@ -0,0 +1,13 @@
1
+ require 'rubygems'
2
+ require 'rake'
3
+ require 'echoe'
4
+
5
+ Echoe.new('rumi', '0.0.1') do |e|
6
+ e.summary = "Outputs a random Rumi quote"
7
+ e.description = "Gem will output a random quote by the Persian mystical poet Rumi."
8
+ e.url = "http://github.com/wiehann/rumi"
9
+ e.author = "Wiehann Radyn"
10
+ e.email = "wradyn@gmail.com"
11
+ e.ignore_pattern = ["tmp/*", "script/*"]
12
+ e.development_dependencies = []
13
+ end
@@ -0,0 +1,14 @@
1
+ module Rumi
2
+ def self.quote
3
+ quotes = ["If in thirst you drink water from a cup, you see God in it. Those who are not in love with God will see only their own faces in it.",
4
+ "Only from the heart Can you touch the sky.",
5
+ "Patience is the key to joy.",
6
+ "People of the world don't look at themselves, and so they blame one another.",
7
+ "The middle path is the way to wisdom.",
8
+ "Thirst drove me down to the water where I drank the moon's reflection.",
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
+ "Every object, every being, is a jar full of delight.",
11
+ "Let the beauty we love be what we do."]
12
+ puts quotes[rand(quotes.size)]
13
+ end
14
+ end
@@ -0,0 +1,30 @@
1
+ # -*- encoding: utf-8 -*-
2
+
3
+ Gem::Specification.new do |s|
4
+ s.name = %q{rumi}
5
+ s.version = "0.0.1"
6
+
7
+ s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
+ s.authors = ["Wiehann Radyn"]
9
+ s.date = %q{2010-08-20}
10
+ s.description = %q{Gem will output a random quote by the Persian mystical poet Rumi.}
11
+ s.email = %q{wradyn@gmail.com}
12
+ s.extra_rdoc_files = ["README.rdoc", "lib/rumi.rb"]
13
+ s.files = ["README.rdoc", "Rakefile", "lib/rumi.rb", "Manifest", "rumi.gemspec"]
14
+ s.homepage = %q{http://github.com/wiehann/rumi}
15
+ s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Rumi", "--main", "README.rdoc"]
16
+ s.require_paths = ["lib"]
17
+ s.rubyforge_project = %q{rumi}
18
+ s.rubygems_version = %q{1.3.7}
19
+ s.summary = %q{Outputs a random Rumi quote}
20
+
21
+ if s.respond_to? :specification_version then
22
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
23
+ s.specification_version = 3
24
+
25
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
26
+ else
27
+ end
28
+ else
29
+ end
30
+ end
metadata ADDED
@@ -0,0 +1,78 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rumi
3
+ version: !ruby/object:Gem::Version
4
+ hash: 29
5
+ prerelease: false
6
+ segments:
7
+ - 0
8
+ - 0
9
+ - 1
10
+ version: 0.0.1
11
+ platform: ruby
12
+ authors:
13
+ - Wiehann Radyn
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain: []
17
+
18
+ date: 2010-08-20 00:00:00 +02:00
19
+ default_executable:
20
+ dependencies: []
21
+
22
+ description: Gem will output a random quote by the Persian mystical poet Rumi.
23
+ email: wradyn@gmail.com
24
+ executables: []
25
+
26
+ extensions: []
27
+
28
+ extra_rdoc_files:
29
+ - README.rdoc
30
+ - lib/rumi.rb
31
+ files:
32
+ - README.rdoc
33
+ - Rakefile
34
+ - lib/rumi.rb
35
+ - Manifest
36
+ - rumi.gemspec
37
+ has_rdoc: true
38
+ homepage: http://github.com/wiehann/rumi
39
+ licenses: []
40
+
41
+ post_install_message:
42
+ rdoc_options:
43
+ - --line-numbers
44
+ - --inline-source
45
+ - --title
46
+ - Rumi
47
+ - --main
48
+ - README.rdoc
49
+ require_paths:
50
+ - lib
51
+ required_ruby_version: !ruby/object:Gem::Requirement
52
+ none: false
53
+ requirements:
54
+ - - ">="
55
+ - !ruby/object:Gem::Version
56
+ hash: 3
57
+ segments:
58
+ - 0
59
+ version: "0"
60
+ required_rubygems_version: !ruby/object:Gem::Requirement
61
+ none: false
62
+ requirements:
63
+ - - ">="
64
+ - !ruby/object:Gem::Version
65
+ hash: 11
66
+ segments:
67
+ - 1
68
+ - 2
69
+ version: "1.2"
70
+ requirements: []
71
+
72
+ rubyforge_project: rumi
73
+ rubygems_version: 1.3.7
74
+ signing_key:
75
+ specification_version: 3
76
+ summary: Outputs a random Rumi quote
77
+ test_files: []
78
+