maxmind 0.4.6 → 0.4.7

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: 0223f7f1a71376a601edbad80dfd6fe9031a4ec3
4
- data.tar.gz: 907d96e343272de90ce1bd41cfe703e223978735
3
+ metadata.gz: 4608e9c60c8244b7b82c9a95add791a1b0d4f718
4
+ data.tar.gz: 7e2da7ff1682d4db6c238b0a56480b3014265fdb
5
5
  SHA512:
6
- metadata.gz: 1d814a2b9c81a9a28b0777da2e4e648ec7cb295a7aa912d2a56503c3ddb61135bacde0ea2f833e8fc7fbe841f9769a0d7f707e6670f031f1a84ea2f0832bce0c
7
- data.tar.gz: b65d325cfc013068bf024b1a2c2a0b7e3d2bf2f108c319338c5e384d7f0604d7db6d3af3a83a3dde754439fec73a2e6b490db4c10c981239509b266086f103c2
6
+ metadata.gz: 7a9e248e97806a9391aa3e25d3c5c68e323d08b3ba28525bcf9da55fd2b0eecafe01c7ba071ff0db5ad9c0f1a13e66d4e0afce2e7db14abe7427f7ae7912a939
7
+ data.tar.gz: 17a3e05790a99d970ec19b08b0b932f5798bd4be29f47fc595c8437a33245c60540b71cdc5b2a18e2afe04f6440ff219df61c9009e1aea92d2cfc8d015a86b07
data/README.md CHANGED
@@ -1,8 +1,9 @@
1
1
  maxmind
2
2
  ==========
3
3
 
4
- A wrapper around MaxMind's minFraud anti-fraud service.
4
+ An unofficial wrapper around MaxMind's minFraud anti-fraud service.
5
5
 
6
+ For MaxMind's Proxy Detection Service, see this gem: [https://github.com/eric-smartlove/maxmind\_proxy\_detection](https://github.com/eric-smartlove/maxmind_proxy_detection)
6
7
 
7
8
  Installation
8
9
  ------------
@@ -161,6 +162,7 @@ Contributors
161
162
  * Tinu Cleatus <tinu.cleatus@me.com>
162
163
  * Don Pflaster <dpflaster@gmail.com>
163
164
  * Igor Pstyga
165
+ * Jack Kelly <jack@trikeapps.com>
164
166
 
165
167
  Thanks to all :)
166
168
 
@@ -105,7 +105,8 @@ module Maxmind
105
105
  :avs_result => @avs_result,
106
106
  :cvv_result => @cvv_result,
107
107
  :txn_type => @txn_type,
108
- :order_amount => @order_amount
108
+ :order_amount => @order_amount,
109
+ :order_currency => @order_currency
109
110
  }
110
111
 
111
112
  field_set = required_fields.merge(optional_fields)
@@ -1,3 +1,3 @@
1
1
  module Maxmind
2
- VERSION = '0.4.6'
2
+ VERSION = '0.4.7'
3
3
  end
@@ -43,6 +43,11 @@ describe Maxmind::Request do
43
43
  }.not_to raise_error
44
44
  end
45
45
 
46
+ it "saves order currency" do
47
+ @request.order_currency = 'GBP'
48
+ expect(@request.query[:order_currency]).to eq 'GBP'
49
+ end
50
+
46
51
  it "converts username to MD5" do
47
52
  @request.username = 'testuser'
48
53
  expect(@request.username).to eq '5d9c68c6c50ed3d02a2fcf54f63993b6'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: maxmind
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.6
4
+ version: 0.4.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Daniels
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-16 00:00:00.000000000 Z
11
+ date: 2015-10-22 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: "A wrapper around MaxMind's minFraud anti-fraud service. \n\nhttp://www.maxmind.com/app/ccv_overview\n"
14
14
  email: adam@mediadrive.ca
@@ -63,7 +63,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
63
63
  version: '0'
64
64
  requirements: []
65
65
  rubyforge_project:
66
- rubygems_version: 2.4.4
66
+ rubygems_version: 2.4.8
67
67
  signing_key:
68
68
  specification_version: 4
69
69
  summary: Wrapper for MaxMind's minFraud service