my_gem_andac 0.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,7 @@
1
+ module MyGemAndac
2
+ class Railtie < Rails::Railtie
3
+ rake_tasks do
4
+ load "lib/tasks"
5
+ end
6
+ end
7
+ end
@@ -0,0 +1,8 @@
1
+ require 'my_gem_andac/railtie' if defined?(Rails)
2
+
3
+
4
+ class MyGemAndac
5
+ def self.hi
6
+ "Hello World!"
7
+ end
8
+ end
@@ -0,0 +1,22 @@
1
+ task :turn_off_alarm do
2
+ puts "Turned off alarm. Would have liked 5 more minutes, though."
3
+ end
4
+
5
+ task :groom_myself do
6
+ puts "Brushed teeth."
7
+ puts "Showered."
8
+ puts "Shaved."
9
+ end
10
+
11
+ task :make_coffee do
12
+ cups = ENV["COFFEE_CUPS"] || 2
13
+ puts "Made #{cups} cups of coffee. Shakes are gone."
14
+ end
15
+
16
+ task :walk_dog do
17
+ puts "Dog walked."
18
+ end
19
+
20
+ task :ready_for_the_day => [:turn_off_alarm, :groom_myself, :make_coffee, :walk_dog] do
21
+ puts "Ready for the day!"
22
+ end
metadata ADDED
@@ -0,0 +1,48 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: my_gem_andac
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.0
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Safa Andac
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2010-04-28 00:00:00.000000000 Z
13
+ dependencies: []
14
+ description: A simple hello world gem
15
+ email: andac.safa@gmail.com
16
+ executables: []
17
+ extensions: []
18
+ extra_rdoc_files: []
19
+ files:
20
+ - lib/my_gem_andac.rb
21
+ - lib/tasks/trying.rake
22
+ - lib/my_gem_andac/railtie.rb
23
+ homepage: http://rubygems.org/gems/hola
24
+ licenses:
25
+ - MIT
26
+ post_install_message:
27
+ rdoc_options: []
28
+ require_paths:
29
+ - lib
30
+ required_ruby_version: !ruby/object:Gem::Requirement
31
+ none: false
32
+ requirements:
33
+ - - ! '>='
34
+ - !ruby/object:Gem::Version
35
+ version: '0'
36
+ required_rubygems_version: !ruby/object:Gem::Requirement
37
+ none: false
38
+ requirements:
39
+ - - ! '>='
40
+ - !ruby/object:Gem::Version
41
+ version: '0'
42
+ requirements: []
43
+ rubyforge_project:
44
+ rubygems_version: 1.8.23
45
+ signing_key:
46
+ specification_version: 3
47
+ summary: Rake!
48
+ test_files: []