barion 0.5.0 → 0.5.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/README.md +20 -0
- data/lib/barion/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 611496f7b1fb886173917b2602801c6e06616157386e1946fc3c126daa5e8e91
|
4
|
+
data.tar.gz: c9190682e267624f4f3a05e597255ec136a023385d74c3a1eabd547f1eb26510
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 30784325a4ad023aa0582ca59430ff5e7609e6020dbb2548afe70aa026eb9c0abd4ad375f2aea57fcb8e8d0b4a115c1dbee99b99dd24cd8c887616ea70b31fbc
|
7
|
+
data.tar.gz: 543aa965c0e8695bac259823c0f0b8f820debf428053f4a68ee6dd7837800a986c0574592c2e62b0c29dc742ebb7f43ade6c8af7b8507f3623662d5b486c0b62
|
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/version.rb
CHANGED
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.
|
4
|
+
version: 0.5.1
|
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-
|
11
|
+
date: 2024-03-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|