my_gem_andac 0.0.2.1 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  module MyGemAndac
2
2
  class Railtie < Rails::Railtie
3
3
  rake_tasks do
4
- load "tasks/trying.rake"
4
+ load File.join(File.dirname(__FILE__),'tasks','trying.rake')
5
5
  end
6
6
  end
7
7
  end
@@ -1,22 +1,27 @@
1
+ desc "Turn off"
1
2
  task :turn_off_alarm do
2
3
  puts "Turned off alarm. Would have liked 5 more minutes, though."
3
4
  end
4
5
 
6
+ desc "Groom"
5
7
  task :groom_myself do
6
8
  puts "Brushed teeth."
7
9
  puts "Showered."
8
10
  puts "Shaved."
9
11
  end
10
12
 
13
+ desc "Coffe"
11
14
  task :make_coffee do
12
15
  cups = ENV["COFFEE_CUPS"] || 2
13
16
  puts "Made #{cups} cups of coffee. Shakes are gone."
14
17
  end
15
18
 
19
+ desc "Dog"
16
20
  task :walk_dog do
17
21
  puts "Dog walked."
18
22
  end
19
23
 
24
+ desc "Ready"
20
25
  task :ready_for_the_day => [:turn_off_alarm, :groom_myself, :make_coffee, :walk_dog] do
21
26
  puts "Ready for the day!"
22
27
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: my_gem_andac
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2.1
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -11,7 +11,7 @@ bindir: bin
11
11
  cert_chain: []
12
12
  date: 2010-04-28 00:00:00.000000000 Z
13
13
  dependencies: []
14
- description: A simple hello world gem
14
+ description: ! 'Putting tasks into Rails '
15
15
  email: andac.safa@gmail.com
16
16
  executables: []
17
17
  extensions: []