rakeflow 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module Rakeflow
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -33,3 +33,13 @@ end
33
33
 
34
34
  desc "Deploy to Heroku and send Airbrake notification if available"
35
35
  task :deploy => %w(deploy:to_heroku deploy:notify_airbrake)
36
+
37
+ namespace :db do
38
+ include Rakeflow::Database
39
+
40
+ task :user do
41
+ sh "createuser -s #{database[:username]}"
42
+ end
43
+ end
44
+
45
+ task :db => %w(db:user db:setup)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rakeflow
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -90,8 +90,7 @@ files:
90
90
  - lib/rakeflow/ssh.rb
91
91
  - lib/rakeflow/version.rb
92
92
  - lib/rakeflow.rb
93
- - lib/tasks/db.rake
94
- - lib/tasks/deploy.rake
93
+ - lib/tasks/rakeflow_tasks.rake
95
94
  - lib/tasks/test.rake
96
95
  - MIT-LICENSE
97
96
  - Rakefile
@@ -143,7 +142,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
143
142
  version: '0'
144
143
  segments:
145
144
  - 0
146
- hash: -1832704720170654035
145
+ hash: 472837839555917988
147
146
  required_rubygems_version: !ruby/object:Gem::Requirement
148
147
  none: false
149
148
  requirements:
@@ -152,7 +151,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
152
151
  version: '0'
153
152
  segments:
154
153
  - 0
155
- hash: -1832704720170654035
154
+ hash: 472837839555917988
156
155
  requirements: []
157
156
  rubyforge_project:
158
157
  rubygems_version: 1.8.23
@@ -1,11 +0,0 @@
1
- require 'rakeflow'
2
-
3
- namespace :db do
4
- include Rakeflow::Database
5
-
6
- task :user do
7
- sh "createuser -s #{database[:username]}"
8
- end
9
- end
10
-
11
- task :db => %w(db:user db:setup)