rack-static_fallback 1.0.2 → 1.0.3
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/README.md +1 -1
- data/lib/rack/static_fallback.rb +1 -1
- data/rack-static_fallback.gemspec +1 -1
- metadata +3 -3
data/README.md
CHANGED
|
@@ -24,7 +24,7 @@ then, for Rails (any version which supports Rack) apps, add the following to you
|
|
|
24
24
|
:static_path_regex => %r{/system/uploads},
|
|
25
25
|
:fallback_static_url => "http://myproductionsite.com/"
|
|
26
26
|
|
|
27
|
-
|
|
27
|
+
Aternatively, you should also be able to use the gem in Rack apps with:
|
|
28
28
|
|
|
29
29
|
use ::Rack::StaticFallback, :mode => :fallback,
|
|
30
30
|
:static_path_regex => %r{/system/uploads},
|
data/lib/rack/static_fallback.rb
CHANGED
|
@@ -25,7 +25,7 @@ module Rack
|
|
|
25
25
|
# :static_path_regex => %r{/system/uploads},
|
|
26
26
|
# :fallback_static_url => "http://myproductionsite.com/"
|
|
27
27
|
#
|
|
28
|
-
#
|
|
28
|
+
# Aternatively, you should also be able to use the gem in Rack apps with:
|
|
29
29
|
#
|
|
30
30
|
# use ::Rack::StaticFallback, :mode => :fallback,
|
|
31
31
|
# :static_path_regex => %r{/system/uploads},
|
|
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
|
|
|
3
3
|
|
|
4
4
|
Gem::Specification.new do |s|
|
|
5
5
|
s.name = "rack-static_fallback"
|
|
6
|
-
s.version = '1.0.
|
|
6
|
+
s.version = '1.0.3'
|
|
7
7
|
s.platform = Gem::Platform::RUBY
|
|
8
8
|
s.authors = ["Evgeniy Dolzhenko", "Mike Fulcher"]
|
|
9
9
|
s.email = ["dolzenko@gmail.com", "mike@plan9design.co.uk"]
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rack-static_fallback
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 17
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 1
|
|
8
8
|
- 0
|
|
9
|
-
-
|
|
10
|
-
version: 1.0.
|
|
9
|
+
- 3
|
|
10
|
+
version: 1.0.3
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Evgeniy Dolzhenko
|