rumm 0.0.16 → 0.0.17
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 73f05b7dba53efc1d62e75fd8ff0224b3034cb5c
|
|
4
|
+
data.tar.gz: c5ef91a9e6b14627d6e997f38f4fe398e770a584
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9ce06dfe168410c15a38b271bf742f188bde35aec4e225a7f410eb36a180f0e5b1144bab216d7e32071a8599f2806c5b234155a729ea16b083cde2d040df6084
|
|
7
|
+
data.tar.gz: 173f31f35133fec8e64fdf600e0ffe304e941584fa5c110cd9239a9330ed3bd8292b9bcf3c3b61155069e4520f4838b2d93a7fecd7dee74c76e307a816452e9d
|
|
@@ -40,11 +40,6 @@ class RailsificationsController < MVCLI::Controller
|
|
|
40
40
|
return server
|
|
41
41
|
end
|
|
42
42
|
|
|
43
|
-
def migrate_data(database_url)#mysql2://<username>:<password>@<dbinstance_hostname>/<database name>
|
|
44
|
-
execute("scp db/development.sqlite3 root@#{server.ipv4_address}:/home/apps/app1/current/db/development.sqlite3")
|
|
45
|
-
execute("ssh root@#{server.ipv4_address} 'cd /home/apps/app1/current/db && bundle exec taps server sqlite://development.sqlite3 templogin temppass -d & && bundle exec taps pull #{database_url} http://templogin:temppass@localhost:5000'")
|
|
46
|
-
end
|
|
47
|
-
|
|
48
43
|
private
|
|
49
44
|
|
|
50
45
|
def execute(cmd)
|
data/app/routes.rb
CHANGED
|
@@ -16,7 +16,6 @@ match 'update server :id' => 'servers#update'
|
|
|
16
16
|
match 'destroy server :id' => 'servers#destroy'
|
|
17
17
|
|
|
18
18
|
match 'railsify server :id' => 'railsifications#create'
|
|
19
|
-
match 'migrate database' => 'railsifications#migrate_data'
|
|
20
19
|
|
|
21
20
|
match 'show loadbalancers' => 'loadbalancers#index'
|
|
22
21
|
match 'show loadbalancer :id' => 'loadbalancers#show'
|
|
@@ -1 +1 @@
|
|
|
1
|
-
created
|
|
1
|
+
created volume: <%= this.display_name %>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
requested destruction of
|
|
1
|
+
requested destruction of volume <%= this %>
|
data/lib/rumm/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rumm
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.17
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Charles Lowell
|
|
@@ -29,7 +29,7 @@ cert_chain:
|
|
|
29
29
|
UgImJlChAzCoDP9zi9tdm6jAr7ttF25R9PPYr11ILb7dYe3qUzlNlM6zJx/nb31b
|
|
30
30
|
IhdyRVup4qLcqYSTPsm6u7VA
|
|
31
31
|
-----END CERTIFICATE-----
|
|
32
|
-
date: 2013-07-
|
|
32
|
+
date: 2013-07-18 00:00:00.000000000 Z
|
|
33
33
|
dependencies:
|
|
34
34
|
- !ruby/object:Gem::Dependency
|
|
35
35
|
name: mvcli
|