rack-maintenance 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
data/README.rdoc CHANGED
@@ -14,12 +14,13 @@ maintenance.html page and display that instead of incoming requests.
14
14
  :file => Rails.root.join('public', 'maintenance.html'),
15
15
  :env => 'MAINTENANCE'
16
16
 
17
- The `:env` is optional. If specified, all requests will be shown the
18
- maintenance page if the environment variable is set. If `:env` is not
19
- specified, the maintenance page will be shown if it exists.
17
+ If <tt>:env</tt> is specified, all requests will be shown the
18
+ maintenance page if the environment variable is set.
19
+
20
+ If <tt>:env</tt> is not specified, the maintenance page will be shown if it exists.
20
21
 
21
22
  == Note on Patches/Pull Requests
22
-
23
+
23
24
  * Fork the project.
24
25
  * Make your feature addition or bug fix.
25
26
  * Add tests for it. This is important so I don't break it in a
data/Rakefile CHANGED
@@ -12,7 +12,7 @@ begin
12
12
  gem.authors = ["David Dollar"]
13
13
  gem.add_development_dependency "rspec"
14
14
  gem.add_development_dependency "yard"
15
- gem.add_dependency 'rake', '>= 1.0'
15
+ gem.add_dependency 'rack', '>= 1.0'
16
16
  end
17
17
  Jeweler::GemcutterTasks.new
18
18
  rescue LoadError
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0
1
+ 0.3.0
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{rack-maintenance}
8
- s.version = "0.2.0"
8
+ s.version = "0.3.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["David Dollar"]
12
- s.date = %q{2009-08-30}
12
+ s.date = %q{2009-08-31}
13
13
  s.description = %q{Detect and show a maintenance page}
14
14
  s.email = %q{<ddollar@gmail.com>}
15
15
  s.extra_rdoc_files = [
@@ -45,15 +45,15 @@ Gem::Specification.new do |s|
45
45
  if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
46
46
  s.add_development_dependency(%q<rspec>, [">= 0"])
47
47
  s.add_development_dependency(%q<yard>, [">= 0"])
48
- s.add_runtime_dependency(%q<rake>, [">= 1.0"])
48
+ s.add_runtime_dependency(%q<rack>, [">= 1.0"])
49
49
  else
50
50
  s.add_dependency(%q<rspec>, [">= 0"])
51
51
  s.add_dependency(%q<yard>, [">= 0"])
52
- s.add_dependency(%q<rake>, [">= 1.0"])
52
+ s.add_dependency(%q<rack>, [">= 1.0"])
53
53
  end
54
54
  else
55
55
  s.add_dependency(%q<rspec>, [">= 0"])
56
56
  s.add_dependency(%q<yard>, [">= 0"])
57
- s.add_dependency(%q<rake>, [">= 1.0"])
57
+ s.add_dependency(%q<rack>, [">= 1.0"])
58
58
  end
59
59
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-maintenance
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Dollar
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-08-30 00:00:00 -04:00
12
+ date: 2009-08-31 00:00:00 -04:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -33,7 +33,7 @@ dependencies:
33
33
  version: "0"
34
34
  version:
35
35
  - !ruby/object:Gem::Dependency
36
- name: rake
36
+ name: rack
37
37
  type: :runtime
38
38
  version_requirement:
39
39
  version_requirements: !ruby/object:Gem::Requirement