barion 0.2.1 → 0.3.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d3229d5af8ef41a61e9d980a295f360161e0b4483156e59cdb26a4037a68e547
4
- data.tar.gz: c316bca8eda9f15af9bdb65e0a91dfd189d585c8189f7a28bf403623467a253c
3
+ metadata.gz: aeb71eb691ad4f09c11b3f5246ad237236276876b06cc35889a48e8689f6a03c
4
+ data.tar.gz: 0eb0087ca813923da627c2bea6f9b8fc5d4e990aaf751d134c7077d578602b4b
5
5
  SHA512:
6
- metadata.gz: aff896bed6fbf128be1063d0fe7a40c2008a0b629184061d864894adc4a284f703f97f205d8e9964e0c71de6a827bdaf935d6b15b767f5197adad06212d5f4d8
7
- data.tar.gz: 964cd860ae2d098941a43bfeb3c9c6d2aff9114f30d20d99a291eb95a117d3c4150a8ae6d7406e2e372f9843db0dfe318a3fa7313accd8c2da851507968df928
6
+ metadata.gz: f46e09f30aa52d8228347bf832dc8653f96fd14194dcc78e456f4ece99c02bde9496e0923829296e4b205f612bf20edc754a8d10419075f0cfed109b590f34e3
7
+ data.tar.gz: 798eec6a3fc31cded9b55ac1225855d918e522ec44272d956be3865f64effb0fd121110dd0bdef6250dfbfc0ae417c432b9a53f4be2cca1fc03956d9a70cd4d1
data/README.md CHANGED
@@ -1,6 +1,7 @@
1
1
  # Barion
2
2
  ![Barion](https://github.com/Meter-reader/Barion/workflows/Ruby/badge.svg)
3
3
  [![codecov](https://codecov.io/gh/Meter-Reader/barion/branch/main/graph/badge.svg?token=DCOKCM7B2J)](https://codecov.io/gh/Meter-Reader/barion)
4
+ [![Gem Version](https://badge.fury.io/rb/barion.svg)](https://badge.fury.io/rb/barion)
4
5
 
5
6
  This is a Ruby-on-Rails engine to use the Barion Payment Gateway in any RoR application.
6
7
 
@@ -21,7 +22,7 @@ Or install it yourself as:
21
22
  $ gem install barion
22
23
  ```
23
24
  ## Usage
24
- ### Intitalization
25
+ ### Initalization
25
26
  After installing the gem you have to initalize it.
26
27
  Just create a file in `config/initializers/barion.rb` with the below content:
27
28
  ```ruby
@@ -1,6 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Barion
4
+ # Main controller for application
4
5
  class ApplicationController < ActionController::Base
5
6
  protect_from_forgery with: :exception
6
7
  end
@@ -15,7 +15,7 @@
15
15
  # zip :string(16)
16
16
  # created_at :datetime not null
17
17
  # updated_at :datetime not null
18
- # payment_id :bigint
18
+ # payment_id :integer
19
19
  #
20
20
  # Indexes
21
21
  #
File without changes
File without changes
@@ -22,7 +22,7 @@
22
22
  # created_at :datetime not null
23
23
  # updated_at :datetime not null
24
24
  # account_id :string(64)
25
- # payment_id :bigint
25
+ # payment_id :integer
26
26
  #
27
27
  # Indexes
28
28
  #
File without changes
@@ -15,8 +15,8 @@
15
15
  # transaction_type :integer
16
16
  # created_at :datetime not null
17
17
  # updated_at :datetime not null
18
- # payee_transactions_id :bigint
19
- # payment_id :bigint
18
+ # payee_transactions_id :integer
19
+ # payment_id :integer
20
20
  # pos_transaction_id :string not null
21
21
  # related_id :string
22
22
  # transaction_id :string
@@ -17,7 +17,7 @@
17
17
  # shipping_address_indicator :integer
18
18
  # created_at :datetime not null
19
19
  # updated_at :datetime not null
20
- # payment_id :bigint
20
+ # payment_id :integer
21
21
  #
22
22
  # Indexes
23
23
  #
File without changes
File without changes
File without changes
data/config/routes.rb CHANGED
@@ -3,7 +3,7 @@
3
3
  # == Route Map
4
4
  #
5
5
 
6
- ::Barion::Engine.routes.draw do
6
+ Barion::Engine.routes.draw do
7
7
  root to: 'main#land'
8
8
  post 'callback', to: 'main#callback', as: :gateway_callback
9
9
  get 'land', to: 'main#land', as: :gateway_back
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Barion
4
- VERSION = '0.2.1'
4
+ VERSION = '0.3.3'
5
5
  end
data/lib/barion.rb CHANGED
File without changes
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: barion
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Péter Nagy
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-03-26 00:00:00.000000000 Z
11
+ date: 2023-02-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '6.1'
19
+ version: '7.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '6.1'
26
+ version: '7.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rest-client
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '2.15'
47
+ version: '3.1'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '2.15'
54
+ version: '3.1'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: minitest
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -80,6 +80,20 @@ dependencies:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
82
  version: '13.0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: solargraph
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '0.44'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '0.44'
83
97
  - !ruby/object:Gem::Dependency
84
98
  name: sqlite3
85
99
  requirement: !ruby/object:Gem::Requirement
@@ -139,7 +153,7 @@ dependencies:
139
153
  description: " This is a Ruby-on-Rails engine to use the Barion Payment Gateway in
140
154
  any RoR application.\n"
141
155
  email:
142
- - peter@nagy.consulting
156
+ - peter@antronin.consulting
143
157
  executables: []
144
158
  extensions: []
145
159
  extra_rdoc_files: []
@@ -180,11 +194,12 @@ files:
180
194
  - lib/barion/version.rb
181
195
  - lib/tasks/auto_annotate_models.rake
182
196
  - lib/tasks/barion_tasks.rake
183
- homepage: https://www.nagy.consulting
197
+ homepage: https://antronin.consulting
184
198
  licenses:
185
199
  - MIT
186
- metadata: {}
187
- post_install_message:
200
+ metadata:
201
+ rubygems_mfa_required: 'true'
202
+ post_install_message:
188
203
  rdoc_options: []
189
204
  require_paths:
190
205
  - lib
@@ -192,15 +207,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
192
207
  requirements:
193
208
  - - ">="
194
209
  - !ruby/object:Gem::Version
195
- version: 2.5.0
210
+ version: 2.7.0
196
211
  required_rubygems_version: !ruby/object:Gem::Requirement
197
212
  requirements:
198
213
  - - ">="
199
214
  - !ruby/object:Gem::Version
200
215
  version: '0'
201
216
  requirements: []
202
- rubygems_version: 3.2.3
203
- signing_key:
217
+ rubygems_version: 3.2.33
218
+ signing_key:
204
219
  specification_version: 4
205
220
  summary: Barion payment engine for Ruby on Rails
206
221
  test_files: []