barion 0.5.0 → 0.5.2

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: 28e8f48530892a81c10e2b8cc4711acc215a64c1798646863ed2723d133c3818
4
- data.tar.gz: 8997771b29049b4d42d1f4f6449d54967b7b5fe41e178ead0b17cb4591e32711
3
+ metadata.gz: d23899cd1faa26a462818468992333505e31cd8e527d66ade714702290b2e3a7
4
+ data.tar.gz: df04e95e6e1f285378797a7306db42e552dd141d670fa20ccd60a75a7c446002
5
5
  SHA512:
6
- metadata.gz: e0e2d5affbdfb951cdedc75f9ca35e39783fb37a6d31dfb3876a98fc3f4fea0bd0da9415f8e21ca37ae503618c679256ae49ee812f77e817b369cb36379449b0
7
- data.tar.gz: 71a40b6f41f281730d3e4d8a3056dafc216234db833a5155c82536bf11ad4eca66d8fa31e6d4242d005349913a237a4d2c523ff54e60d5254fc4e2043bf89d0f
6
+ metadata.gz: 16e2f44b1383f74650297f1aff71d07c5e97250ac46ceec969e1ce5f82fec035b22db528135415d7a738c5daf3207f314f001b523e486d7e1e14b3923c2a9183
7
+ data.tar.gz: 25ab29e074d382de0dcd7d1f6e26db12393925551a9e8728f9a231b377429c731d2e0eb018c141fd6340a2ef41179f07ada1b6fda0bc3a9cf74759e9b3cfd845
data/README.md CHANGED
@@ -61,6 +61,26 @@ You have to open the shop Details from the `Action` dropdown of your shop. Pleas
61
61
  [Implementing the Base Barion Pixel](https://docs.barion.com/Implementing_the_Base_Barion_Pixel)
62
62
 
63
63
  Your Barion Pixel ID can be found in the Details page of your Barion shop. Every webshop (with a unique POSKey) has a different Barion Pixel ID. You can find your Barion Pixel ID in your Barion wallet: click `Manage my shops` menu, `Actions` next to your shop and then `Details`.
64
+ This gem provides helpers to inject base Barion Pixel implementation into your layout as below:
65
+
66
+ ```html
67
+ <html>
68
+ <head>
69
+ ...
70
+ <!-- Adds JS implementation with Pixel ID -->
71
+ <%= pixel_pixel_basic_js %>
72
+
73
+ <!-- Adds no script supported implementation with Pixel ID -->
74
+ <%= pixel_basic_noscript %>
75
+
76
+ <!-- Combines the above two together -->
77
+ <%= pixel_basic_tags %>
78
+ </head>
79
+ <body>
80
+ ...
81
+ </body>
82
+ </html>
83
+ ```
64
84
 
65
85
  #### Sandbox (default: true)
66
86
 
data/lib/barion/engine.rb CHANGED
@@ -18,8 +18,4 @@ module Barion
18
18
  # so we can call .include
19
19
  include ::Barion::PixelHelper
20
20
  end
21
-
22
- def self.deprecator
23
- @deprecator ||= ActiveSupport::Deprecation.new('1.0', 'Barion')
24
- end
25
21
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Barion
4
- VERSION = '0.5.0'
4
+ VERSION = '0.5.2'
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.5.0
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Péter Nagy
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-03-17 00:00:00.000000000 Z
11
+ date: 2024-06-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -104,7 +104,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
104
104
  - !ruby/object:Gem::Version
105
105
  version: '0'
106
106
  requirements: []
107
- rubygems_version: 3.5.3
107
+ rubygems_version: 3.5.11
108
108
  signing_key:
109
109
  specification_version: 4
110
110
  summary: Barion payment engine for Ruby on Rails