culturecode_stagehand 0.7.11 → 0.7.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/stagehand/version.rb +1 -1
- data/lib/tasks/stagehand_tasks.rake +8 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6e400bbb51d81d1313e506d663ff54a9ef3541ff
|
4
|
+
data.tar.gz: 0260e41d89133b7f318aa736218990be033410fc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 64cccc44d8497b8485e4694b0c8779cb03adc305a3261f34849bf3a7b0ffd8d4597ea757f49bbc2654eeb389578696a7dd75e93d6cc4356fdf812cef73c6995b
|
7
|
+
data.tar.gz: 36b308306ab666f9f19f46848506794762a7e1a15d0e08df2be24ab98e6dd11ffd739b18bd05cf2f272444a581744d44b13e2d4f22eb655babb5d3d6b50c8d43
|
data/lib/stagehand/version.rb
CHANGED
@@ -18,15 +18,19 @@ namespace :stagehand do
|
|
18
18
|
desc "Migrate both databases used by stagehand"
|
19
19
|
task :migrate => :environment do
|
20
20
|
run_on_both_databases do
|
21
|
-
|
21
|
+
Rake::Task['db:migrate'].reenable
|
22
|
+
Rake::Task['db:migrate'].invoke
|
22
23
|
end
|
24
|
+
Rake::Task['db:migrate'].clear
|
23
25
|
end
|
24
26
|
|
25
27
|
desc "Rollback both databases used by stagehand"
|
26
28
|
task :rollback => :environment do
|
27
29
|
run_on_both_databases do
|
28
|
-
|
30
|
+
Rake::Task['db:rollback'].reenable
|
31
|
+
Rake::Task['db:rollback'].invoke
|
29
32
|
end
|
33
|
+
Rake::Task['db:rollback'].clear
|
30
34
|
end
|
31
35
|
end
|
32
36
|
|
@@ -39,5 +43,5 @@ def run_on_both_databases(&block)
|
|
39
43
|
end
|
40
44
|
|
41
45
|
# Enhance the regular db:migrate/db:rollback tasks to run the stagehand migration/rollback tasks so both stagehand databases are migrated
|
42
|
-
Rake::Task['db:migrate'].
|
43
|
-
Rake::Task['db:rollback'].
|
46
|
+
Rake::Task['db:migrate'].enhance(['stagehand:migrate'])
|
47
|
+
Rake::Task['db:rollback'].enhance(['stagehand:rollback'])
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: culturecode_stagehand
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nicholas Jakobsen
|
@@ -108,7 +108,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
108
108
|
version: '0'
|
109
109
|
requirements: []
|
110
110
|
rubyforge_project:
|
111
|
-
rubygems_version: 2.
|
111
|
+
rubygems_version: 2.5.1
|
112
112
|
signing_key:
|
113
113
|
specification_version: 4
|
114
114
|
summary: Simplify the management of a sandbox database that can sync content to a
|