minfraud 2.7.0.beta1 → 2.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
 - data/.rubocop.yml +1 -1
 - data/CHANGELOG.md +13 -0
 - data/LICENSE.txt +1 -1
 - data/README.md +2 -2
 - data/lib/minfraud/components/payment.rb +1 -0
 - data/lib/minfraud/model/factors.rb +1 -0
 - data/lib/minfraud/model/subscores.rb +2 -0
 - data/lib/minfraud/version.rb +1 -1
 - data/minfraud.gemspec +1 -1
 - metadata +4 -8
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: 94219dcd7ef78fdea77b06565b3a73ff8073ea56755f2a9ab25a0d4ba97eb692
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: a7e3cfa6b732da9f5d23877b4abef0cb7e7641ed30d690af2fc141ee6298cec8
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: d79f083900533abbe2fc0d82b5c67d91c8bf81cee4ac95ef37c42c40eb50cf8f1bd1642acc6b80fdc50234f1cded773f47a62548fa0d360bab92c5fcd6b3cbb5
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 5d868acf7b455dd212b8481e0c31e1cc9156e5c39a38ddf38d9d230b2344250fbae51551aec91556e532a601f2e51e4424e8c2b02eca024e84b4b23a600f0c2b
         
     | 
    
        data/.rubocop.yml
    CHANGED
    
    
    
        data/CHANGELOG.md
    CHANGED
    
    | 
         @@ -1,5 +1,18 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            # Changelog
         
     | 
| 
       2 
2 
     | 
    
         | 
| 
      
 3 
     | 
    
         
            +
            ## v2.7.1 (2025-02-10)
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
            * Re-release due to bug in release workflow.
         
     | 
| 
      
 6 
     | 
    
         
            +
             
     | 
| 
      
 7 
     | 
    
         
            +
            ## v2.7.0 (2025-02-10)
         
     | 
| 
      
 8 
     | 
    
         
            +
             
     | 
| 
      
 9 
     | 
    
         
            +
            * The minFraud Factors subscores have been deprecated. They will be removed
         
     | 
| 
      
 10 
     | 
    
         
            +
              in March 2025. Please see [our release notes](https://dev.maxmind.com/minfraud/release-notes/2024/#deprecation-of-risk-factor-scoressubscores)
         
     | 
| 
      
 11 
     | 
    
         
            +
              for more information.
         
     | 
| 
      
 12 
     | 
    
         
            +
            * Ruby 3.0+ is now required. If you're using Ruby 2.7, please use version
         
     | 
| 
      
 13 
     | 
    
         
            +
              2.7.0.beta1 or 2.6.0 of this gem.
         
     | 
| 
      
 14 
     | 
    
         
            +
            * Added the processor `:epayco` to `Minfraud::Components::Payment`.
         
     | 
| 
      
 15 
     | 
    
         
            +
             
     | 
| 
       3 
16 
     | 
    
         
             
            ## v2.7.0.beta1 (2024-09-06)
         
     | 
| 
       4 
17 
     | 
    
         | 
| 
       5 
18 
     | 
    
         
             
            * Added support for the new risk reasons outputs in minFraud Factors. The risk
         
     | 
    
        data/LICENSE.txt
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            The MIT License (MIT)
         
     | 
| 
       2 
2 
     | 
    
         | 
| 
       3 
3 
     | 
    
         
             
            Copyright (c) 2016-2020 kushnir.yb
         
     | 
| 
       4 
     | 
    
         
            -
            Copyright (c) 2020- 
     | 
| 
      
 4 
     | 
    
         
            +
            Copyright (c) 2020-2025 MaxMind, Inc.
         
     | 
| 
       5 
5 
     | 
    
         | 
| 
       6 
6 
     | 
    
         
             
            Permission is hereby granted, free of charge, to any person obtaining a copy
         
     | 
| 
       7 
7 
     | 
    
         
             
            of this software and associated documentation files (the "Software"), to deal
         
     | 
    
        data/README.md
    CHANGED
    
    | 
         @@ -275,7 +275,7 @@ to the client API, please see 
     | 
|
| 
       275 
275 
     | 
    
         | 
| 
       276 
276 
     | 
    
         
             
            ## Requirements
         
     | 
| 
       277 
277 
     | 
    
         | 
| 
       278 
     | 
    
         
            -
            This gem works with Ruby  
     | 
| 
      
 278 
     | 
    
         
            +
            This gem works with Ruby 3.0 and above.
         
     | 
| 
       279 
279 
     | 
    
         | 
| 
       280 
280 
     | 
    
         
             
            ## Contributing
         
     | 
| 
       281 
281 
     | 
    
         | 
| 
         @@ -293,7 +293,7 @@ This API uses [Semantic Versioning](https://semver.org/). 
     | 
|
| 
       293 
293 
     | 
    
         | 
| 
       294 
294 
     | 
    
         
             
            Copyright (c) 2016-2020 kushnir.yb.
         
     | 
| 
       295 
295 
     | 
    
         | 
| 
       296 
     | 
    
         
            -
            Copyright (c) 2020- 
     | 
| 
      
 296 
     | 
    
         
            +
            Copyright (c) 2020-2025 MaxMind, Inc.
         
     | 
| 
       297 
297 
     | 
    
         | 
| 
       298 
298 
     | 
    
         
             
            The gem is available as open source under the terms of the [MIT
         
     | 
| 
       299 
299 
     | 
    
         
             
            License](https://opensource.org/licenses/MIT).
         
     | 
| 
         @@ -5,6 +5,8 @@ require 'minfraud/model/abstract' 
     | 
|
| 
       5 
5 
     | 
    
         
             
            module Minfraud
         
     | 
| 
       6 
6 
     | 
    
         
             
              module Model
         
     | 
| 
       7 
7 
     | 
    
         
             
                # Score for risk factors that are used in calculating the riskScore.
         
     | 
| 
      
 8 
     | 
    
         
            +
                #
         
     | 
| 
      
 9 
     | 
    
         
            +
                # @deprecated Use {RiskScoreReason} instead.
         
     | 
| 
       8 
10 
     | 
    
         
             
                class Subscores < Abstract
         
     | 
| 
       9 
11 
     | 
    
         
             
                  # The risk associated with the AVS result. If present, this is a value in
         
     | 
| 
       10 
12 
     | 
    
         
             
                  # the range 0.01 to 99.
         
     | 
    
        data/lib/minfraud/version.rb
    CHANGED
    
    
    
        data/minfraud.gemspec
    CHANGED
    
    | 
         @@ -15,7 +15,7 @@ Gem::Specification.new do |spec| 
     | 
|
| 
       15 
15 
     | 
    
         
             
              spec.homepage      = 'https://github.com/maxmind/minfraud-api-ruby'
         
     | 
| 
       16 
16 
     | 
    
         
             
              spec.license       = 'MIT'
         
     | 
| 
       17 
17 
     | 
    
         | 
| 
       18 
     | 
    
         
            -
              spec.required_ruby_version = '>=  
     | 
| 
      
 18 
     | 
    
         
            +
              spec.required_ruby_version = '>= 3.0'
         
     | 
| 
       19 
19 
     | 
    
         | 
| 
       20 
20 
     | 
    
         
             
              spec.files         = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^.gitignore$|^(?:\.github|dev-bin|spec)/}) }
         
     | 
| 
       21 
21 
     | 
    
         
             
              spec.bindir        = 'exe'
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,15 +1,14 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: minfraud
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 2.7. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 2.7.1
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - kushnir.yb
         
     | 
| 
       8 
8 
     | 
    
         
             
            - William Storey
         
     | 
| 
       9 
     | 
    
         
            -
            autorequire: 
         
     | 
| 
       10 
9 
     | 
    
         
             
            bindir: exe
         
     | 
| 
       11 
10 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       12 
     | 
    
         
            -
            date:  
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2025-02-10 00:00:00.000000000 Z
         
     | 
| 
       13 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       14 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       15 
14 
     | 
    
         
             
              name: connection_pool
         
     | 
| 
         @@ -149,7 +148,6 @@ dependencies: 
     | 
|
| 
       149 
148 
     | 
    
         
             
                - - "~>"
         
     | 
| 
       150 
149 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       151 
150 
     | 
    
         
             
                    version: '3.14'
         
     | 
| 
       152 
     | 
    
         
            -
            description: 
         
     | 
| 
       153 
151 
     | 
    
         
             
            email:
         
     | 
| 
       154 
152 
     | 
    
         
             
            - support@maxmind.com
         
     | 
| 
       155 
153 
     | 
    
         
             
            executables: []
         
     | 
| 
         @@ -221,7 +219,6 @@ licenses: 
     | 
|
| 
       221 
219 
     | 
    
         
             
            - MIT
         
     | 
| 
       222 
220 
     | 
    
         
             
            metadata:
         
     | 
| 
       223 
221 
     | 
    
         
             
              rubygems_mfa_required: 'true'
         
     | 
| 
       224 
     | 
    
         
            -
            post_install_message: 
         
     | 
| 
       225 
222 
     | 
    
         
             
            rdoc_options: []
         
     | 
| 
       226 
223 
     | 
    
         
             
            require_paths:
         
     | 
| 
       227 
224 
     | 
    
         
             
            - lib
         
     | 
| 
         @@ -229,15 +226,14 @@ required_ruby_version: !ruby/object:Gem::Requirement 
     | 
|
| 
       229 
226 
     | 
    
         
             
              requirements:
         
     | 
| 
       230 
227 
     | 
    
         
             
              - - ">="
         
     | 
| 
       231 
228 
     | 
    
         
             
                - !ruby/object:Gem::Version
         
     | 
| 
       232 
     | 
    
         
            -
                  version:  
     | 
| 
      
 229 
     | 
    
         
            +
                  version: '3.0'
         
     | 
| 
       233 
230 
     | 
    
         
             
            required_rubygems_version: !ruby/object:Gem::Requirement
         
     | 
| 
       234 
231 
     | 
    
         
             
              requirements:
         
     | 
| 
       235 
232 
     | 
    
         
             
              - - ">="
         
     | 
| 
       236 
233 
     | 
    
         
             
                - !ruby/object:Gem::Version
         
     | 
| 
       237 
234 
     | 
    
         
             
                  version: '0'
         
     | 
| 
       238 
235 
     | 
    
         
             
            requirements: []
         
     | 
| 
       239 
     | 
    
         
            -
            rubygems_version: 3. 
     | 
| 
       240 
     | 
    
         
            -
            signing_key: 
         
     | 
| 
      
 236 
     | 
    
         
            +
            rubygems_version: 3.6.2
         
     | 
| 
       241 
237 
     | 
    
         
             
            specification_version: 4
         
     | 
| 
       242 
238 
     | 
    
         
             
            summary: Ruby API for the minFraud Score, Insights, Factors, and Report Transactions
         
     | 
| 
       243 
239 
     | 
    
         
             
              services
         
     |