rubber 2.0.6 → 2.0.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -8,8 +8,8 @@ module Rubber
8
8
  if provider == 'fog'
9
9
  # TODO: remove backwards compatibility in next major release
10
10
 
11
- puts "deprecated dns provider config: #{env.inspect}"
12
11
  provider_env = env.dns_providers['fog']
12
+ puts "deprecated dns provider config: #{provider_env}"
13
13
  creds = provider_env.credentials
14
14
  real_provider = creds.provider
15
15
  require "rubber/dns/#{real_provider}"
@@ -211,7 +211,6 @@ namespace :rubber do
211
211
 
212
212
  changes = Hash[(rubber_records.to_a - provider_records.to_a) | (provider_records.to_a - rubber_records.to_a)]
213
213
 
214
- logger.info "Applying #{changes.size} changes"
215
214
  changes.each do |key, record|
216
215
  old_record = provider_records[key]
217
216
  new_record = rubber_records[key]
@@ -219,11 +218,11 @@ namespace :rubber do
219
218
  # already exists in provider, so modify it
220
219
  diff = Hash[(old_record.to_a - new_record.to_a) | (new_record.to_a - old_record.to_a)]
221
220
  logger.info "Updating dns record: #{old_record.inspect} changes: #{diff.inspect}"
222
- #provider.update_host_record(old_record, new_record)
221
+ provider.update_host_record(old_record, new_record)
223
222
  elsif !old_record && new_record
224
223
  # doesn't yet exist in provider, so create it
225
224
  logger.info "Creating dns record: #{new_record.inspect}"
226
- #provider.create_host_record(new_record)
225
+ provider.create_host_record(new_record)
227
226
  elsif old_record && ! new_record
228
227
  # ignore these since it shows all the instances created by rubber
229
228
  #
@@ -1,4 +1,4 @@
1
1
  module Rubber
2
- VERSION = "2.0.6"
2
+ VERSION = "2.0.7"
3
3
  end
4
4
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubber
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.6
4
+ version: 2.0.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -648,7 +648,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
648
648
  version: '0'
649
649
  segments:
650
650
  - 0
651
- hash: -4247981851858635399
651
+ hash: -3060351974138366988
652
652
  required_rubygems_version: !ruby/object:Gem::Requirement
653
653
  none: false
654
654
  requirements:
@@ -657,7 +657,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
657
657
  version: '0'
658
658
  segments:
659
659
  - 0
660
- hash: -4247981851858635399
660
+ hash: -3060351974138366988
661
661
  requirements: []
662
662
  rubyforge_project: rubber
663
663
  rubygems_version: 1.8.24