sinatra-backstage 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: c9a0c11c57f8f5fff03e397588ad03308f731aa9
4
- data.tar.gz: 2781b76ba12acc5952eb021c1414b2cd1fdf4903
3
+ metadata.gz: 8a336e2efd07826aee03db67b0fd4b2d36e05a8b
4
+ data.tar.gz: ead15d642f67df09166af00a60f17552b2d5dcac
5
5
  SHA512:
6
- metadata.gz: 31210c12c34db4f36c08a325ea392d2878a9af73c9745ae318d50d4bcd0d06f513a86a518dc209ef02d479e042666ae3534d7483292e94bc7bba4275b2a16b19
7
- data.tar.gz: 8a17806c06e9f17778e4881e781e984980276868a6a6dd74e4c3357f539cf0ed9223619a7a83ab436663cecd7777cdb22d9ca4001219eaadf8afab5a96197c77
6
+ metadata.gz: 457071766152b00c10cdc876f7d09f12bd9cd7c9bce1c8545f12554e43c1ee8e3a624ce535bb88777620f733c6306a08fe121a741af1f2e1fbdf483a92f31294
7
+ data.tar.gz: 8e60f5b03b02739e29fbdb1e51127930c5ffb381febfc0c0ad8e81ebeaa9fd874d3e33081dcf5a3b4c9b78525b47d75355929b4d9f79649f82f45e02c0abbc5d
@@ -38,8 +38,9 @@ module Sinatra
38
38
  redirect namespace
39
39
  rescue DataMapper::SaveFailureError => e
40
40
  puts e.resource.errors.inspect
41
- puts e.message
42
- puts e.backtrace
41
+ e.resource.errors.each do |error|
42
+ puts error.inspect
43
+ end
43
44
  end
44
45
  end
45
46
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sinatra-backstage
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
  - Alexander Popov