insxsync 0.0.10 → 0.0.11
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/config_file_collection.rb +3 -3
- data/lib/insxsync/version.rb +1 -1
- data/lib/sync_point_restore.rb +1 -1
- metadata +2 -2
@@ -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
|
42
|
-
data = Zlib::Deflate.deflate(config.scrub)
|
43
|
-
bucket.objects[object].write(
|
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."
|
data/lib/insxsync/version.rb
CHANGED
data/lib/sync_point_restore.rb
CHANGED
@@ -138,7 +138,7 @@ class SyncPointRestore < ErrorHandlingIface
|
|
138
138
|
end
|
139
139
|
|
140
140
|
Find.find(dest_dir) do |file|
|
141
|
-
next
|
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.
|
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-
|
12
|
+
date: 2014-04-04 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: aws-sdk
|