rds_backup_service 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
- require 'fog_tracker'
2
1
  require 'fileutils'
3
2
  require 'json'
3
+ require 'fog'
4
4
  module RDSBackup
5
5
  # Backs up the contents of a single RDS database to S3
6
6
  class Job
@@ -67,6 +67,7 @@ module RDSBackup
67
67
  # @param [String] the name of the desired RDS entity
68
68
  # @return [Fog::AWS::RDS::Server] the RDS instance, or nil if not found
69
69
  def self.get_rds(rds_id)
70
+ require 'fog_tracker'
70
71
  ::FogTracker::Tracker.new(RDSBackup.rds_accounts).update.
71
72
  select{|rds| rds.identity == rds_id}.first
72
73
  end
@@ -1,6 +1,6 @@
1
1
  module RDSBackup
2
2
  # The version of this Gem / Library.
3
- VERSION = "0.0.3"
3
+ VERSION = "0.0.4"
4
4
 
5
5
  # This library's version of the REST API.
6
6
  API_VERSION = "1"
@@ -1,6 +1,7 @@
1
1
  desc "Attempts to set up the rds_backup_service security groups"
2
2
  namespace :setup do
3
3
  task :rds_backup_groups do
4
+ require 'rds_backup_service'
4
5
  RDSBackup::Config.setup_security_groups
5
6
  end
6
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rds_backup_service
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-09-04 00:00:00.000000000 Z
12
+ date: 2012-09-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sinatra
@@ -214,7 +214,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
214
214
  version: '0'
215
215
  segments:
216
216
  - 0
217
- hash: 1295335590809769143
217
+ hash: -2068989643294731165
218
218
  required_rubygems_version: !ruby/object:Gem::Requirement
219
219
  none: false
220
220
  requirements:
@@ -223,7 +223,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
223
223
  version: '0'
224
224
  segments:
225
225
  - 0
226
- hash: 1295335590809769143
226
+ hash: -2068989643294731165
227
227
  requirements: []
228
228
  rubyforge_project: rds_backup_service
229
229
  rubygems_version: 1.8.24