zfben_rails_rake 0.0.17 → 0.0.18

Sign up to get free protection for your applications and to get access to all the features.
data/README.rdoc CHANGED
@@ -14,7 +14,7 @@ This is plugin to add some useful tasks to rails.
14
14
  rake unicorn:stop # Stop unicorn server
15
15
 
16
16
  # has config/mongoid.yml
17
- rake mongodb:backup # mongodump
17
+ rake mongodb:dump # mongodump
18
18
  rake mongodb:clear # Clear mongo folder
19
19
  rake mongodb:restore # mongorestore
20
20
  rake mongodb:start # Start Mongodb
@@ -3,7 +3,7 @@ if File.exist?(ROOT + '/config/mongoid.yml')
3
3
  namespace :mongodb do
4
4
  backup = "mongodump --host #{config['production']['host']} --port #{config['production']['port']}"
5
5
  desc backup
6
- task :backup do
6
+ task :dump do
7
7
  sys backup
8
8
  end
9
9
 
@@ -47,7 +47,8 @@ if File.exists?(ROOT + '/config/initializers/resque.rb')
47
47
 
48
48
  desc 'Start Resque web interface'
49
49
  task :web do
50
- sys "RAILS_ENV=production resque-web #{ROOT}/config/initializers/resque.rb"
50
+ require 'resque/server'
51
+ Resque::Server.run!
51
52
  end
52
53
  end
53
54
  end
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = 'zfben_rails_rake'
6
- s.version = '0.0.17'
6
+ s.version = '0.0.18'
7
7
  s.platform = Gem::Platform::RUBY
8
8
  s.authors = ['Ben']
9
9
  s.email = ['ben@zfben.com']
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zfben_rails_rake
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.17
4
+ version: 0.0.18
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-11-02 00:00:00.000000000 Z
12
+ date: 2011-11-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rainbow
16
- requirement: &8563300 !ruby/object:Gem::Requirement
16
+ requirement: &9640120 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *8563300
24
+ version_requirements: *9640120
25
25
  description: ''
26
26
  email:
27
27
  - ben@zfben.com