omeka-recipes 0.5.0 → 0.5.1
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/lib/omeka-recipes/omeka.rb +2 -1
- data/lib/omeka-recipes/version.rb +1 -1
- metadata +4 -4
data/lib/omeka-recipes/omeka.rb
CHANGED
@@ -2,6 +2,7 @@ Capistrano::Configuration.instance.load do
|
|
2
2
|
|
3
3
|
set :omeka_branch, "master" unless exists?(:omeka_branch)
|
4
4
|
set :sync_directories, %w(archive) unless exists?(:sync_directories)
|
5
|
+
set :maintenance_basename, 'maitenance' unless exists?(:maintenance_basename)
|
5
6
|
|
6
7
|
def git_clone(hash, directory)
|
7
8
|
hash.each do |name, location|
|
@@ -88,7 +89,7 @@ the root.
|
|
88
89
|
namespace :maintenance do
|
89
90
|
desc <<-DESC
|
90
91
|
|OmekaRecipes| Add a maitenance page for visitors. Disables your Omeka
|
91
|
-
|
92
|
+
instance by writing a "#{maintenance_basename}.html" file to each web
|
92
93
|
server. The servers must be configured to detect the presence of the file,
|
93
94
|
and if it is present, display the maintenance page instead of performaning
|
94
95
|
the request.
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omeka-recipes
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-11-28 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: capistrano
|
@@ -139,7 +139,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
139
139
|
version: '0'
|
140
140
|
segments:
|
141
141
|
- 0
|
142
|
-
hash:
|
142
|
+
hash: -3398635288902731352
|
143
143
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
144
144
|
none: false
|
145
145
|
requirements:
|
@@ -148,7 +148,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
148
148
|
version: '0'
|
149
149
|
segments:
|
150
150
|
- 0
|
151
|
-
hash:
|
151
|
+
hash: -3398635288902731352
|
152
152
|
requirements: []
|
153
153
|
rubyforge_project:
|
154
154
|
rubygems_version: 1.8.24
|