backup 2.4.3 → 2.4.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,6 +2,9 @@ BACKUP_SYSTEM = Proc.new do
2
2
  # Load Gems
3
3
  require 'hirb'
4
4
 
5
+ # Load Extensions
6
+ require 'backup/core_ext/object'
7
+
5
8
  # Load Environments
6
9
  require 'backup/environment/base'
7
10
  require 'backup/environment/unix_configuration'
@@ -0,0 +1,5 @@
1
+ class Object
2
+ def blank?
3
+ respond_to?(:empty?) ? empty? : !self
4
+ end unless method_defined? :blank?
5
+ end
@@ -0,0 +1,3 @@
1
+ module Backup
2
+ VERSION = "2.4.4"
3
+ end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: backup
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 23
5
5
  prerelease: false
6
6
  segments:
7
7
  - 2
8
8
  - 4
9
- - 3
10
- version: 2.4.3
9
+ - 4
10
+ version: 2.4.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Michael van Rooijen
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-11-09 00:00:00 -02:00
18
+ date: 2010-11-20 00:00:00 -02:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -210,7 +210,6 @@ files:
210
210
  - README.md
211
211
  - CHANGELOG
212
212
  - LICENSE
213
- - VERSION
214
213
  - lib/generators/backup/templates/create_backup_tables.rb
215
214
  - lib/generators/backup/templates/backup.rake
216
215
  - lib/generators/backup/templates/backup.rb
@@ -241,6 +240,7 @@ files:
241
240
  - lib/backup/environment/rails_configuration.rb
242
241
  - lib/backup/environment/unix_configuration.rb
243
242
  - lib/backup/environment/base.rb
243
+ - lib/backup/version.rb
244
244
  - lib/backup/adapters/custom.rb
245
245
  - lib/backup/adapters/postgresql.rb
246
246
  - lib/backup/adapters/mysql.rb
@@ -256,6 +256,7 @@ files:
256
256
  - lib/backup/configuration/adapter.rb
257
257
  - lib/backup/configuration/base.rb
258
258
  - lib/backup/configuration/helpers.rb
259
+ - lib/backup/core_ext/object.rb
259
260
  - lib/backup.rb
260
261
  - bin/backup
261
262
  - generators/backup_update/backup_update_generator.rb
data/VERSION DELETED
@@ -1 +0,0 @@
1
- 2.4.3