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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +20 -0
  3. data/lib/barion/version.rb +1 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 28e8f48530892a81c10e2b8cc4711acc215a64c1798646863ed2723d133c3818
4
- data.tar.gz: 8997771b29049b4d42d1f4f6449d54967b7b5fe41e178ead0b17cb4591e32711
3
+ metadata.gz: 611496f7b1fb886173917b2602801c6e06616157386e1946fc3c126daa5e8e91
4
+ data.tar.gz: c9190682e267624f4f3a05e597255ec136a023385d74c3a1eabd547f1eb26510
5
5
  SHA512:
6
- metadata.gz: e0e2d5affbdfb951cdedc75f9ca35e39783fb37a6d31dfb3876a98fc3f4fea0bd0da9415f8e21ca37ae503618c679256ae49ee812f77e817b369cb36379449b0
7
- data.tar.gz: 71a40b6f41f281730d3e4d8a3056dafc216234db833a5155c82536bf11ad4eca66d8fa31e6d4242d005349913a237a4d2c523ff54e60d5254fc4e2043bf89d0f
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
 
@@ -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.1'
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.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-17 00:00:00.000000000 Z
11
+ date: 2024-03-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails