snails 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/lib/snails/app.rb +3 -1
- data/snails.gemspec +1 -1
- 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: 7d3bd6298eb951ab9dbfa8257f09ee3ff3a979ed
|
4
|
+
data.tar.gz: 8903db4fbc6296b7f02d2360dad4f7c42d135121
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5b2804de4e49f168b3e42d80fd97e9cf17c8b9b337786c111cc2207edf349ade2cf34a10283fc092ce1312b931816010ab0813ac8d07d4f6d92aa5288095ceff
|
7
|
+
data.tar.gz: e2fd8b6a4f67755deb8f84ec71232799ea68f869f35a00efc89138832487d947c1d9b97cf030730b932a41e4897243f84d9de7e5bd5e063af0d495f23319f7fd
|
data/.gitignore
CHANGED
data/lib/snails/app.rb
CHANGED
@@ -186,7 +186,9 @@ module Snails
|
|
186
186
|
|
187
187
|
app.configure :development do
|
188
188
|
# allow asset requests to pass
|
189
|
-
|
189
|
+
if app.respond_to?(:allow_paths)
|
190
|
+
app.allow_paths.push /^#{app.assets_prefix}(\/\w+)?\/([\w\.-]+)/
|
191
|
+
end
|
190
192
|
|
191
193
|
# and serve them
|
192
194
|
app.get "#{app.assets_prefix}/*" do |path|
|
data/snails.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: snails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tomás Pollak
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-11-
|
11
|
+
date: 2018-11-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|