bootstrap-db 0.1.3 → 0.1.4
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.
- checksums.yaml +8 -8
- data/lib/bootstrap/db/adapter/postgres.rb +1 -3
- data/lib/bootstrap/db/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
M2IyNjJlZGZjMmQ5MWU3M2E2ODI0ODZmYzc3YzEyNjhkZTFlMWIwNg==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
YTcxNmNjZDFkZTNkYWJmNDYyN2MzMDdlZDMyZGE0NTZlOTU5MzRjOQ==
|
|
7
7
|
!binary "U0hBNTEy":
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
ODAyZTMwZDFkZTFmMTljMjMxZTdmZjU2MDA1OTFhODkxMThlNTAyYTA4MGJm
|
|
10
|
+
Yzg1ZjEyNWMwZTZkYzEzYTJkNDk1MWRiMWNlNjE5Y2NmNGNkOTIxNzcwMDM5
|
|
11
|
+
ZTU0Nzc5YWUxZTBhN2M3Mzg5YTNhNjgxMWI5YzliYzFiOThlNzM=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
ZWFlOTBlNjBiNzVlMmVjYWJmNjkxZGZkYTc1Y2NkMTMwZWUzMTY5ZWY2MWY3
|
|
14
|
+
OGUzY2RkMjdmMmRiNmRmNzEyZGQxNTllN2Q1N2ZhMDZjOWQxYTZjMjZmNTY3
|
|
15
|
+
M2M4NzhkNGViZTg1ODJhYmI2Y2I2MjQ3MzU2ZTdiZDg5YmViMzU=
|
|
@@ -73,8 +73,7 @@ module Bootstrap
|
|
|
73
73
|
rebase_to = current_db_time
|
|
74
74
|
|
|
75
75
|
rebase_cmd = "SELECT rebase_db_time('#{start_point}'::timestamp, '#{rebase_to}'::timestamp);"
|
|
76
|
-
|
|
77
|
-
log(result.inspect)
|
|
76
|
+
display_and_execute("#{psql_execute} --command=#{rebase_cmd.shellescape}")
|
|
78
77
|
end
|
|
79
78
|
|
|
80
79
|
private
|
|
@@ -128,7 +127,6 @@ module Bootstrap
|
|
|
128
127
|
|
|
129
128
|
#Set current bootstrap generated time
|
|
130
129
|
settings[:generated_on][file_path] = current_db_time
|
|
131
|
-
puts settings.inspect
|
|
132
130
|
|
|
133
131
|
#Save settings file
|
|
134
132
|
File.open(settings_path, "w") do |file|
|
data/lib/bootstrap/db/version.rb
CHANGED