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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 88f932ce0b002068d85f97f21f87fd7250473f46
4
- data.tar.gz: 746a134507fb00de2b222388b8124b5837a2b474
3
+ metadata.gz: 7d3bd6298eb951ab9dbfa8257f09ee3ff3a979ed
4
+ data.tar.gz: 8903db4fbc6296b7f02d2360dad4f7c42d135121
5
5
  SHA512:
6
- metadata.gz: ab90d572eeaf226d8fd25b3e604ec47afa2e3a54638d827d753900c74a87a75a7facd5ccdab7864258e23e8e62c7a10d4c8b70ecd7eaeb71e7d73687fde81a5a
7
- data.tar.gz: 50f360665268d2787a3b2df14750425228bf29e7b1a46ab398212ee93fe334908550ca616b067bcbb564ba4da265d4781ee9d3d195b09271da39e07776e726d8
6
+ metadata.gz: 5b2804de4e49f168b3e42d80fd97e9cf17c8b9b337786c111cc2207edf349ade2cf34a10283fc092ce1312b931816010ab0813ac8d07d4f6d92aa5288095ceff
7
+ data.tar.gz: e2fd8b6a4f67755deb8f84ec71232799ea68f869f35a00efc89138832487d947c1d9b97cf030730b932a41e4897243f84d9de7e5bd5e063af0d495f23319f7fd
data/.gitignore CHANGED
@@ -2,3 +2,4 @@
2
2
  pkg
3
3
  test
4
4
  example/Gemfile.lock
5
+ *.sh
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
- app.allow_paths.push /^#{app.assets_prefix}(\/\w+)?\/([\w\.-]+)/
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
@@ -3,7 +3,7 @@
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "snails"
6
- s.version = '0.1.1'
6
+ s.version = '0.1.2'
7
7
  s.platform = Gem::Platform::RUBY
8
8
  s.authors = ['Tomás Pollak']
9
9
  s.email = ['tomas@forkhq.com']
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.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-09 00:00:00.000000000 Z
11
+ date: 2018-11-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler