paypro 0.0.1 → 1.0.0

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
- SHA1:
3
- metadata.gz: c6bd8a3eec2325e4cac9984dea2799f476a239b8
4
- data.tar.gz: 7daab9b2d8ae429bfcc575c288abc0cb87b57ef1
2
+ SHA256:
3
+ metadata.gz: 6b86b1ac203166a746393b0d9772b47322cf3708c5482a2929354dab4c86acb6
4
+ data.tar.gz: d6f199ff056d773a99c5e50843e5ad376b688a041854c6f9274e17f3ff6aef86
5
5
  SHA512:
6
- metadata.gz: 46859aa059d6dd303bd030194ffba0b09860c5c483eb27881d1473c7f36d397682b787e5784f42159dffea47e94ce4c00bef223105c13e8f7779b2e831b390ae
7
- data.tar.gz: 60058dc4571627502ffa2ede304885c303e94839b1f72967f82ea6c814beb616eeecd94af786eff20c051d9a417b067ad6131d7c57b7bea43c3583212ae1ad3b
6
+ metadata.gz: 1bcb6e549b47d3dcb2d34ca899db63a7a093c3f0d268cf2937f2f0223b9743a8e9ee4f41196543493b29801cdca817d86c35f252d2844f64e956cc18d8a9e810
7
+ data.tar.gz: 0ec7c145fc4d0fa792039b1f3d7a2c548659bbc0941e21bc142c30935505a1b20a68364d8ae24e12eacd16136af8356d4d729d8ced7859f1c6aeef1887b54b97
data/.circleci/config.yml CHANGED
@@ -1,6 +1,8 @@
1
1
  defaults: &defaults
2
2
  working_directory: ~/repo
3
3
 
4
+ resource_class: small
5
+
4
6
  steps:
5
7
  - checkout
6
8
 
@@ -28,27 +30,45 @@ defaults: &defaults
28
30
  path: /tmp/test-results
29
31
  destination: test-results
30
32
 
31
- version: 2
33
+ version: 2.1
32
34
  jobs:
33
- build-ruby-2.4.1:
35
+ build-ruby-3_1_2:
36
+ <<: *defaults
37
+ docker:
38
+ - image: cimg/ruby:3.1.2
39
+
40
+ build-ruby-3_0_4:
34
41
  <<: *defaults
35
42
  docker:
36
- - image: circleci/ruby:2.4.1
37
-
38
- build-ruby-2.3.3:
43
+ - image: cimg/ruby:3.0.4
44
+
45
+ build-ruby-2_7_6:
46
+ <<: *defaults
47
+ docker:
48
+ - image: cimg/ruby:2.7.6
49
+
50
+ build-ruby-2_6_10:
51
+ <<: *defaults
52
+ docker:
53
+ - image: cimg/ruby:2.6.10
54
+
55
+ build-ruby-2_5_9:
39
56
  <<: *defaults
40
57
  docker:
41
- - image: circleci/ruby:2.3.3
58
+ - image: cimg/ruby:2.5.9
42
59
 
43
- build-ruby-2.2.7:
60
+ build-ruby-2_4_10:
44
61
  <<: *defaults
45
62
  docker:
46
- - image: circleci/ruby:2.2.7
63
+ - image: cimg/ruby:2.4.10
47
64
 
48
65
  workflows:
49
66
  version: 2
50
67
  build:
51
68
  jobs:
52
- - build-ruby-2.4.1
53
- - build-ruby-2.3.3
54
- - build-ruby-2.2.7
69
+ - build-ruby-3_1_2
70
+ - build-ruby-3_0_4
71
+ - build-ruby-2_7_6
72
+ - build-ruby-2_6_10
73
+ - build-ruby-2_5_9
74
+ - build-ruby-2_4_10
data/.gitignore CHANGED
@@ -10,6 +10,9 @@
10
10
  /test/version_tmp/
11
11
  /tmp/
12
12
 
13
+ # Don't ship Gemfile.lock
14
+ Gemfile.lock
15
+
13
16
  # Used by dotenv library to load environment variables.
14
17
  # .env
15
18
 
data/.rubocop.yml CHANGED
@@ -7,13 +7,10 @@ AllCops:
7
7
  - "log/**/*"
8
8
  - "public/**/*"
9
9
  TargetRubyVersion: 2.4
10
- Metrics/LineLength:
10
+ Layout/LineLength:
11
11
  Enabled: true
12
12
  Max: 120
13
- Style/FrozenStringLiteralComment:
14
- Description: 'Ruby 3.0 transition for frozen string literals'
15
- Enabled: false
16
- Style/BlockLength:
13
+ Metrics/BlockLength:
17
14
  Exclude:
18
15
  - 'Rakefile'
19
16
  - '**/*.rake'
data/Gemfile CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  source 'https://rubygems.org'
2
4
 
3
5
  gemspec
data/README.md CHANGED
@@ -1,16 +1,36 @@
1
- ![PayPro](https://paypro.nl/images/logo-ie.png)
1
+ ![PayPro](https://www.paypro.nl/images/logo-ie.png)
2
2
  # Ruby Client for PayPro API v1
3
3
  [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
4
+ [![Gem Version](https://badge.fury.io/rb/paypro.svg)](https://badge.fury.io/rb/paypro)
5
+ [![circleci](https://img.shields.io/circleci/project/github/RedSparr0w/node-csgo-parser.svg)](https://circleci.com/gh/paypronl/paypro-ruby-v1)
4
6
 
5
7
  This library provides a Ruby client to connect with the PayPro API.
6
8
 
7
9
  ## Requirements
8
10
 
9
- - Ruby >= 2.0.0
11
+ - Ruby >= 2.4.0
10
12
 
11
13
  ## Installation
12
14
 
13
- We provide an installation guide on https://paypro.nl/developers/api-clients/ruby.
15
+ Installation is pretty standard:
16
+
17
+ ```sh
18
+ $ gem install paypro
19
+ ```
20
+
21
+ if you'd rather install the PayPro client using `bundler` you can put this in your Gemfile:
22
+
23
+ ```ruby
24
+ source 'https://rubygems.org'
25
+
26
+ gem 'paypro'
27
+ ```
28
+
29
+ Or directly from the GitHub repository:
30
+
31
+ ```ruby
32
+ gem 'paypro', git: 'https://github.com/paypronl/paypro-ruby-v1'
33
+ ```
14
34
 
15
35
  ## Getting started
16
36
 
@@ -27,7 +47,7 @@ client.execute
27
47
 
28
48
  ## Documentation
29
49
 
30
- For guides and code examples you can go to https://paypro.nl/developers/docs.
50
+ For guides and code examples you can go to https://www.paypro.nl/developers/docs.
31
51
 
32
52
  ## Contributing
33
53
  If you want to contribute to this project you can fork the repository. Create a new branch, add your feature and create a pull request. We will look at your request and determine if we want to add it.
data/Rakefile CHANGED
@@ -1,2 +1,4 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'rspec/core/rake_task'
2
4
  Rspec::Core::RakeTask.new('spec')
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.1
1
+ 1.0.0
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'paypro'
2
4
 
3
5
  client = PayPro::Client.new('b507a4d8ea7911f0d955383852990df3')