heroku-mongo-backup 0.3.9 → 0.4.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.
Files changed (2) hide show
  1. data/lib/heroku-mongo-backup.rb +1 -1
  2. metadata +3 -2
@@ -11,7 +11,7 @@ require 'net/ftp'
11
11
 
12
12
  module HerokuMongoBackup
13
13
 
14
- if defined?(Rails)
14
+ if defined?(Rails::Railtie)
15
15
  class Railtie < Rails::Railtie
16
16
  rake_tasks do
17
17
  load "tasks/heroku_mongo_backup.rake"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: heroku-mongo-backup
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.9
4
+ version: 0.4.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,10 +9,11 @@ authors:
9
9
  - matyi
10
10
  - Stef Lewandowski
11
11
  - David Hall
12
+ - Dan Porter
12
13
  autorequire:
13
14
  bindir: bin
14
15
  cert_chain: []
15
- date: 2012-07-19 00:00:00.000000000 Z
16
+ date: 2012-09-01 00:00:00.000000000 Z
16
17
  dependencies: []
17
18
  description: Rake task for backing up mongo database on heroku and push it to S3 or
18
19
  FTP. Library can be used as rake task or be easily integrated into daily cron job.