rails_pwnerer 0.6.96 → 0.6.97
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.
data/CHANGELOG
CHANGED
@@ -39,9 +39,8 @@ module RailsPwnerer::Config
|
|
39
39
|
# creates a new database
|
40
40
|
def self.create_db(db_name)
|
41
41
|
db_name = db_name.to_s
|
42
|
-
raise "Configuration database #{db_name} already exists" if get_db(db_name)
|
43
42
|
|
44
|
-
db_contents = install_db_hooks
|
43
|
+
db_contents = install_db_hooks({}, db_name)
|
45
44
|
@@db_cache[db_name] = db_contents
|
46
45
|
@@db_dirty[db_name] = true
|
47
46
|
flush_db db_name
|
@@ -26,7 +26,7 @@ class RailsPwnerer::Scaffolds::Config
|
|
26
26
|
# the user owning the /prod subtrees
|
27
27
|
host_info[:pwnerer_user] = current_user
|
28
28
|
|
29
|
-
RailsPwnerer::Config.flush_db :host
|
29
|
+
RailsPwnerer::Config.flush_db :host
|
30
30
|
|
31
31
|
# the free port list
|
32
32
|
RailsPwnerer::Config.init_ports
|
data/rails_pwnerer.gemspec
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails_pwnerer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 197
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 6
|
9
|
-
-
|
10
|
-
version: 0.6.
|
9
|
+
- 97
|
10
|
+
version: 0.6.97
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Victor Costan
|