rack-lacquer 0.0.1 → 0.0.2
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.
- checksums.yaml +8 -8
- data/lib/rack/lacquer.rb +1 -1
- data/rack-lacquer.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
ZmIwZjQ3ZTZiM2RjZDIyNGU1ZjhhMDUzOTJmMGIwYjlmMmEyODE0Nw==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
NjA3YWFjZDZjZDQ2NjZkMDg0YWQxZmFhYzBhMjVhZmY1NWVkYzQwNA==
|
|
7
7
|
!binary "U0hBNTEy":
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
MWNmYzVkMzNiNmM1NDRiMzhkZTRiODdmMGY3NGI2NjYxNTUwYThiNGFhZGE4
|
|
10
|
+
NTVkZWY4ZTdiYTdkY2IwY2Q3YWZjZGRjNGQ5MjY2YWJmZWQ2NjNmNWZiNzFj
|
|
11
|
+
YTAxMjFmMWE2YTQ1NmU5OWNlMjMzNmU0MjEwMTM3Y2JkZmQ5MmQ=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
YTQ3YWM3ZjA5NWE5Y2EwYmFkNzQ0NjAzOTI5ZTIwZTk2ZDRkMGVlNmRhNDFk
|
|
14
|
+
YzczMTk2YmEzYzQ5YjRmZmNhODIzM2E1Mzk1MjhlNjE2ZmVjMjliZTI2MDUw
|
|
15
|
+
ZGMyYzZhNDI1MmM1NzY5NGM0NTEwMGUyMDU3ZjhmYWRlOTA2ODM=
|
data/lib/rack/lacquer.rb
CHANGED
|
@@ -7,7 +7,7 @@ module Rack
|
|
|
7
7
|
|
|
8
8
|
def call env
|
|
9
9
|
status, headers, response = @app.call env
|
|
10
|
-
response.map! { |part| process_includes part, env } if headers['Content-Type'] =~ /text\/html/
|
|
10
|
+
response.map! { |part| process_includes part, env } if headers['Content-Type'] =~ /text\/html/ && response.respond_to?( :map! )
|
|
11
11
|
[status, headers, response]
|
|
12
12
|
end
|
|
13
13
|
|
data/rack-lacquer.gemspec
CHANGED
|
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
|
4
4
|
|
|
5
5
|
Gem::Specification.new do |spec|
|
|
6
6
|
spec.name = "rack-lacquer"
|
|
7
|
-
spec.version = '0.0.
|
|
7
|
+
spec.version = '0.0.2'
|
|
8
8
|
spec.authors = ["Adam Ross Cohen"]
|
|
9
9
|
spec.email = ["a.ross.cohen@gmail.com"]
|
|
10
10
|
spec.description = %q{Ruby driven ESI for non-production environments}
|