barion 0.2.2 → 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: 8a286fd4543a12a4a0e6c6b00bd4cfe6472e55b62694baf934cfd1e18c0489a2
4
- data.tar.gz: 2918e5a424eaa773e5b6035228dba68342c2c92fb450f78726239509eccc4b84
3
+ metadata.gz: aeb71eb691ad4f09c11b3f5246ad237236276876b06cc35889a48e8689f6a03c
4
+ data.tar.gz: 0eb0087ca813923da627c2bea6f9b8fc5d4e990aaf751d134c7077d578602b4b
5
5
  SHA512:
6
- metadata.gz: 42364b0560ad8edf2595ee6ba616d846a08f7cec8436494adf2670692b2824ef6e6097683db93869a0fdfe8b67e16ce53f8a8c4665cc0f8b8325966434f78bd7
7
- data.tar.gz: 16758d2eb74100bcbcbb9c599c0923700a850f5ee312c763dcb6925ba9b06a923dd160ad841d2c23d8120a8d2b463bcee01fe0bb551e130b9716ae39d809d8df
6
+ metadata.gz: f46e09f30aa52d8228347bf832dc8653f96fd14194dcc78e456f4ece99c02bde9496e0923829296e4b205f612bf20edc754a8d10419075f0cfed109b590f34e3
7
+ data.tar.gz: 798eec6a3fc31cded9b55ac1225855d918e522ec44272d956be3865f64effb0fd121110dd0bdef6250dfbfc0ae417c432b9a53f4be2cca1fc03956d9a70cd4d1
data/README.md CHANGED
@@ -22,7 +22,7 @@ Or install it yourself as:
22
22
  $ gem install barion
23
23
  ```
24
24
  ## Usage
25
- ### Intitalization
25
+ ### Initalization
26
26
  After installing the gem you have to initalize it.
27
27
  Just create a file in `config/initializers/barion.rb` with the below content:
28
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
  #
@@ -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
  #
@@ -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
  #
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.2'
4
+ VERSION = '0.3.3'
5
5
  end
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.2
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: 2022-01-04 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
@@ -153,7 +153,7 @@ dependencies:
153
153
  description: " This is a Ruby-on-Rails engine to use the Barion Payment Gateway in
154
154
  any RoR application.\n"
155
155
  email:
156
- - peter@nagy.consulting
156
+ - peter@antronin.consulting
157
157
  executables: []
158
158
  extensions: []
159
159
  extra_rdoc_files: []
@@ -194,12 +194,12 @@ files:
194
194
  - lib/barion/version.rb
195
195
  - lib/tasks/auto_annotate_models.rake
196
196
  - lib/tasks/barion_tasks.rake
197
- homepage: https://www.nagy.consulting
197
+ homepage: https://antronin.consulting
198
198
  licenses:
199
199
  - MIT
200
200
  metadata:
201
201
  rubygems_mfa_required: 'true'
202
- post_install_message:
202
+ post_install_message:
203
203
  rdoc_options: []
204
204
  require_paths:
205
205
  - lib
@@ -207,15 +207,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
207
207
  requirements:
208
208
  - - ">="
209
209
  - !ruby/object:Gem::Version
210
- version: 2.5.0
210
+ version: 2.7.0
211
211
  required_rubygems_version: !ruby/object:Gem::Requirement
212
212
  requirements:
213
213
  - - ">="
214
214
  - !ruby/object:Gem::Version
215
215
  version: '0'
216
216
  requirements: []
217
- rubygems_version: 3.2.22
218
- signing_key:
217
+ rubygems_version: 3.2.33
218
+ signing_key:
219
219
  specification_version: 4
220
220
  summary: Barion payment engine for Ruby on Rails
221
221
  test_files: []