easycard 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/easycard/response.rb +1 -1
- data/lib/easycard/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7837e8e5f31c9a77e8786f09d8090d8630a35643
|
4
|
+
data.tar.gz: 362f9b4dfb6c3ecbb19b5e5ee4f29bb21f45c0f6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9efa735bb9e1d7ca2ddf62e0663bf7ceca0b788ebdbedf3b9739b9273ba7019dc9cb151f4c15e25f67a59979ace7cd847026c556851c9e3788c650e09ffed7a5
|
7
|
+
data.tar.gz: 399f648d1c26342638b02497509ee4f601c500b0c595ac2382cf4116d5f8a7f283f1a296f2e5a527be0b4aba04a26ca9517f42810445c1b65c061d71f52c8ddf
|
data/lib/easycard/response.rb
CHANGED
@@ -17,8 +17,8 @@ module EasyCard
|
|
17
17
|
when '罰款' then :fine
|
18
18
|
when '查無交易資料' then raise EasyCard::NotFound, record[?T]
|
19
19
|
else
|
20
|
-
record[?T]
|
21
20
|
$stderr.puts "未知類型:#{record}"
|
21
|
+
record[?T]
|
22
22
|
end
|
23
23
|
record[?L].gsub!('<BR>', ?-)
|
24
24
|
{type: type, datetime: record[?D], location: record[?L], balance: record[?A], amount: record[?Q]}
|
data/lib/easycard/version.rb
CHANGED