rails_pwnerer 0.6.98 → 0.6.99
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +2 -0
- data/lib/rails_pwnerer/app/gems.rb +6 -0
- data/lib/rails_pwnerer/app/main.rb +1 -1
- data/rails_pwnerer.gemspec +1 -1
- metadata +3 -3
data/CHANGELOG
CHANGED
@@ -36,6 +36,12 @@ class RailsPwnerer::App::Gems
|
|
36
36
|
end
|
37
37
|
end
|
38
38
|
|
39
|
+
def manage(app_name, instance_name, action)
|
40
|
+
# Called when an app is rolled back, to get the old gems reinstalled,
|
41
|
+
# if necessary.
|
42
|
+
update(app_name, instance_name)
|
43
|
+
end
|
44
|
+
|
39
45
|
def setup(app_name, instance_name)
|
40
46
|
update(app_name, instance_name)
|
41
47
|
end
|
@@ -104,7 +104,7 @@ module RailsPwnerer::App
|
|
104
104
|
end
|
105
105
|
when :rollback
|
106
106
|
self.update_app app, instance do
|
107
|
-
[Files, Database, ClusterConfig].each do |mod|
|
107
|
+
[Files, Gems, Database, ClusterConfig].each do |mod|
|
108
108
|
mod.new.manage app, instance, action
|
109
109
|
end
|
110
110
|
end
|
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: 193
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 6
|
9
|
-
-
|
10
|
-
version: 0.6.
|
9
|
+
- 99
|
10
|
+
version: 0.6.99
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Victor Costan
|