roda-component 0.1.70 → 0.1.71

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: 58ed9e592f03e28cf7ef8960f5ceacf6e54546a9
4
- data.tar.gz: d92c150b2d3101268d2b4a3d45fc636c3bcf8e1c
3
+ metadata.gz: b6fb9a39108018748f98ad1a2959a9032227e67e
4
+ data.tar.gz: ff6fa473302db00691a09a685f3dfc0d59e1111e
5
5
  SHA512:
6
- metadata.gz: 37a7e51565faba76cb95d9ec5d085579e4825a711ed26b3b43053488ccad39532a5ea0e6e977eaf3e42665eeba97813db7c5343db0efbf2de1fe7e9257639388
7
- data.tar.gz: 1a2e9107a8f70b4bc0a9056ef74ac4d9575e921da9b17a30e3a30bf5c1bf5d66f22f95b01a7efbb17d4e579dd2e8b67fbe6aa33878c38d9417e75e1bfbe78f8e
6
+ metadata.gz: bca040b8972bb59f40d5d457285137245bd457c442f0a42cfba9410148e9125c65a43fe8036858d33e9017eb14d37bdaf721b2b2e0d578f234e59074852d6756
7
+ data.tar.gz: 8293fb0c9ed200a9a47c09e479b6ad3b72ef8e8ca69513571bb0c56c0a1eef01e61f3149648bcce28bde0d4276ba53d10f305a93a1a511a9c204a5754145e2f6
@@ -330,7 +330,11 @@ class Roda
330
330
 
331
331
  # set the current roda app
332
332
  def set_app app
333
- @_app = app.respond_to?(:new) ? app.new : app
333
+ begin
334
+ @_app = app.respond_to?(:new) ? app.new : app
335
+ rescue
336
+ @_app = app.respond_to?(:new) ? app.new('') : app
337
+ end
334
338
  end
335
339
 
336
340
  # roda app method
@@ -1,5 +1,5 @@
1
1
  class Roda
2
2
  class Component
3
- VERSION = "0.1.70"
3
+ VERSION = "0.1.71"
4
4
  end
5
5
  end
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.1.70
4
+ version: 0.1.71
5
5
  platform: ruby
6
6
  authors:
7
7
  - cj
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-04 00:00:00.000000000 Z
11
+ date: 2015-04-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: opal