shards 2.2.4.pre.test → 2.2.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/shards/version.rb +1 -1
- data/lib/shards/workflow/delete_by_api.rb +4 -12
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 57cab79fbf52c8fefe461dcc4e2c59521d325604
|
4
|
+
data.tar.gz: a6788955d900505ae52e502912288b28d77ce394
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e74f777587d0ca6610485e18b8c261c7248adab3d9351c2ad48a7ef32bacb275a82d2eb68687fd8cdb481f833e6cb673df8d57aa60fa60a51ac4a6dae2c1a7cd
|
7
|
+
data.tar.gz: 8cf635d1014b94d816079bab1aa50ccb5de10d5ced21d8670827a1d75a223c6b4a77c5bc93324a007555c5f3f9d3bebb81b4ef9c9bf1e295d38076a807ecdee8
|
data/Gemfile.lock
CHANGED
data/lib/shards/version.rb
CHANGED
@@ -67,18 +67,10 @@ module Shards
|
|
67
67
|
|
68
68
|
output_message "Database:\t #{database_to_drop}"
|
69
69
|
output_message "Host: \t #{host}"
|
70
|
-
output_message "
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
if answer.chomp.downcase=='y'
|
75
|
-
output_message "DELETING database #{database_to_drop} in #{host}"
|
76
|
-
db.server=host
|
77
|
-
db.drop
|
78
|
-
else
|
79
|
-
output_message "KEEP database #{database_to_drop} in #{host}"
|
80
|
-
end
|
81
|
-
output_message "-" * 50
|
70
|
+
output_message "DELETING database #{database_to_drop} in #{host}"
|
71
|
+
db.server=host
|
72
|
+
db.drop
|
73
|
+
|
82
74
|
end
|
83
75
|
|
84
76
|
raise_wrong_text database_to_drop if db.exist? database_to_drop
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: shards
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Diego PL
|
@@ -297,9 +297,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
297
297
|
version: '0'
|
298
298
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
299
299
|
requirements:
|
300
|
-
- - "
|
300
|
+
- - ">="
|
301
301
|
- !ruby/object:Gem::Version
|
302
|
-
version:
|
302
|
+
version: '0'
|
303
303
|
requirements: []
|
304
304
|
rubyforge_project:
|
305
305
|
rubygems_version: 2.6.14
|