roda-component 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/roda/component/version.rb +1 -1
- data/lib/roda/plugins/component.rb +2 -2
- 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: 0d5343e546dd1c9d54ae9bbaa2e2fdae49e061ad
|
4
|
+
data.tar.gz: 851248b2131d64a76746bcd2cb2a4b7fc741902c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9f08bdb58ba232e07185fd7f9b0f4c71962fef1ffd5150ac17c11cbd66128af1c32b412e3467ee4bfc6eeccfb305ef335019ea284ac691f3d5c357a24aa91342
|
7
|
+
data.tar.gz: 9e6412426f15d27686daf9d66923bada27742c1103128b427dcaee40936dbfd4954b789014cdfd1ae6dc2a86772185cc6fa0d5ba025c4fa893832253a150680f
|
@@ -13,7 +13,7 @@ class Roda
|
|
13
13
|
def self.load_dependencies(app, opts={})
|
14
14
|
Faye::WebSocket.load_adapter('thin')
|
15
15
|
|
16
|
-
app.plugin :csrf, header: 'X-CSRF-TOKEN'
|
16
|
+
# app.plugin :csrf, header: 'X-CSRF-TOKEN'
|
17
17
|
end
|
18
18
|
|
19
19
|
def self.configure(app, opts={})
|
@@ -111,7 +111,7 @@ class Roda
|
|
111
111
|
end
|
112
112
|
end
|
113
113
|
|
114
|
-
if !env['RODA_COMPONENT_FROM_FAYE']
|
114
|
+
if defined?(env) && !env['RODA_COMPONENT_FROM_FAYE']
|
115
115
|
if comp_response.is_a? Roda::Component::DOM
|
116
116
|
content = comp_response.to_html
|
117
117
|
else
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: roda-component
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- cj
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-11-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: opal
|