payr 1.0.5 → 1.0.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -37,6 +37,7 @@ class Payr::BillsController < ApplicationController
37
37
  def ipn
38
38
  if params[:error] == Payr::Bill::NO_ERROR
39
39
  change_status params[:ref], Payr::Bill::PAID
40
+ @bill.update_attribute(:error_code, Payr::Bill::NO_ERROR)
40
41
  else
41
42
  @bill = Payr::Bill.find(params[:ref])
42
43
  @bill.update_attribute(:error_code, params[:error])
@@ -1,3 +1,3 @@
1
1
  module Payr
2
- VERSION = "1.0.5"
2
+ VERSION = "1.0.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: payr
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.5
4
+ version: 1.0.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-01-29 00:00:00.000000000 Z
12
+ date: 2013-03-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -138,7 +138,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
138
138
  version: '0'
139
139
  segments:
140
140
  - 0
141
- hash: -3487819084611514497
141
+ hash: -912642796967891225
142
142
  required_rubygems_version: !ruby/object:Gem::Requirement
143
143
  none: false
144
144
  requirements:
@@ -147,7 +147,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
147
147
  version: '0'
148
148
  segments:
149
149
  - 0
150
- hash: -3487819084611514497
150
+ hash: -912642796967891225
151
151
  requirements: []
152
152
  rubyforge_project:
153
153
  rubygems_version: 1.8.24