Skip to content

Commit d543661

Browse files
committed
Merge pull request #63 from pagseguro/transaction-date-bug
Fixes transaction find by date memoize bug
2 parents fafed1e + adc9b06 commit d543661

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
- Checkout transparente
44

5+
## Next release - 2.1.1
6+
7+
- Correção de bug na busca de transações por data
8+
59
## Stable
610

711
2.1.0

lib/pagseguro/transaction/search.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def initialize(path, options, page = 0)
2727
# call. Remember that this will perform an additional HTTP request.
2828
def transactions
2929
xml do |xml|
30-
@transactions ||= xml.css("transactionSearchResult transaction").map do |node|
30+
xml.css("transactionSearchResult transaction").map do |node|
3131
Transaction.load_from_xml(node)
3232
end
3333
end

lib/pagseguro/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module PagSeguro
2-
VERSION = "2.1.0"
2+
VERSION = "2.1.1"
33
end

0 commit comments

Comments
 (0)