smartkiosk-server 0.11.3 → 0.11.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -20,7 +20,7 @@ class PaymentsController < ApplicationController
20
20
  render :json => {
21
21
  :id => payment.id,
22
22
  :state => payment.state,
23
- :requires_print => provider.requires_print,
23
+ :requires_print => payment.provider.requires_print,
24
24
  :limits => Limit.for(payment, false).as_json(
25
25
  :only => [:min, :max], :methods => [:weight]
26
26
  ),
@@ -1,5 +1,5 @@
1
1
  module Smartkiosk
2
2
  module Server
3
- VERSION = '0.11.3'
3
+ VERSION = '0.11.4'
4
4
  end
5
5
  end
@@ -57,7 +57,7 @@ describe PaymentsController do
57
57
  :payment_type => Payment::TYPE_CASH
58
58
  }
59
59
 
60
- response.code.should == "404"
60
+ response.code.should == "406"
61
61
  end
62
62
 
63
63
  it "declines absent provider" do
@@ -70,7 +70,7 @@ describe PaymentsController do
70
70
  :payment_type => Payment::TYPE_CASH
71
71
  }
72
72
 
73
- response.code.should == "404"
73
+ response.code.should == "406"
74
74
  end
75
75
 
76
76
  it "declines duplicating session id" do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smartkiosk-server
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.3
4
+ version: 0.11.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2013-03-24 00:00:00.000000000 Z
13
+ date: 2013-03-25 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails
@@ -332,7 +332,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
332
332
  version: '0'
333
333
  segments:
334
334
  - 0
335
- hash: 2751133508454068460
335
+ hash: -235060270240721140
336
336
  required_rubygems_version: !ruby/object:Gem::Requirement
337
337
  none: false
338
338
  requirements: