insxsync 0.0.10 → 0.0.11

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.
@@ -38,9 +38,9 @@ class ConfigFileCollection < ErrorHandlingIface
38
38
  config = ConfigFile.new(file)
39
39
  subdomain = File.basename(File.dirname(file))
40
40
 
41
- object = "#{time.to_i}/configs/#{subdomain}/config.ini.deflated"
42
- data = Zlib::Deflate.deflate(config.scrub)
43
- bucket.objects[object].write(data)
41
+ object = "#{time.to_i}/configs/#{subdomain}/config.ini"
42
+ #data = Zlib::Deflate.deflate(config.scrub)
43
+ bucket.objects[object].write(config.scrub)
44
44
  end
45
45
 
46
46
  puts "Done."
@@ -1,3 +1,3 @@
1
1
  module InsxSync
2
- VERSION = "0.0.10"
2
+ VERSION = "0.0.11"
3
3
  end
@@ -138,7 +138,7 @@ class SyncPointRestore < ErrorHandlingIface
138
138
  end
139
139
 
140
140
  Find.find(dest_dir) do |file|
141
- next if File.directory?(file)
141
+ next unless File.file?(file)
142
142
 
143
143
  filename = file.scan(/#{dest_dir}\/?(.*)/).flatten[0]
144
144
  next if filename == 'config.ini'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: insxsync
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.10
4
+ version: 0.0.11
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: 2014-04-01 00:00:00.000000000 Z
12
+ date: 2014-04-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: aws-sdk