multipassify 1.1.1 → 1.1.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 +4 -4
- data/README.md +5 -5
- data/VERSION +1 -1
- data/multipassify.gemspec +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 46e201367077efc82730fa27a6c5ef8675168bdd
|
4
|
+
data.tar.gz: bfc68438910a6213ec10aaa6b05de751e22a18a2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2fb66f59b709336245fe7f5b479a3ab9f233a24a3270e60b9bf548f4859834cea4a0dafeb6f25b24cfed89325d4c5954717e5e571029a5bb112cccc47a4e5544
|
7
|
+
data.tar.gz: febd2dff4bd73cfe895802428a8ea9cedaba32d3e4252328ce99e4820fc0af3229cbca7534909aefa66a6c816f81153bf103214cdefe4c7fbd601e24b464cb93
|
data/README.md
CHANGED
@@ -16,19 +16,19 @@ To use Multipass an Enterprise / Plus plan is required. The Multipass secret can
|
|
16
16
|
Make sure "Accounts are required" or "Accounts are optional" is selected and Multipass is enabled.
|
17
17
|
|
18
18
|
``` ruby
|
19
|
-
require
|
19
|
+
require 'multipassify'
|
20
20
|
|
21
21
|
# Construct the Multipassify encoder
|
22
|
-
multipassify = Multipassify.new
|
22
|
+
multipassify = Multipassify.new 'SHOPIFY MULTIPASS SECRET'
|
23
23
|
|
24
24
|
# Create your customer data hash
|
25
|
-
customer_data = { email: 'test@example.com', remote_ip:'USERS IP ADDRESS', return_to:"http://some.url"}
|
25
|
+
customer_data = { email: 'test@example.com', remote_ip:'USERS IP ADDRESS', return_to:"http://some.url"}
|
26
26
|
|
27
27
|
# Encode a Multipass token
|
28
|
-
token = multipassify.encode(customer_data)
|
28
|
+
token = multipassify.encode(customer_data)
|
29
29
|
|
30
30
|
# Generate a Shopify multipass URL to your shop
|
31
|
-
url = multipassify.generate_url(customer_data,
|
31
|
+
url = multipassify.generate_url(customer_data, 'yourstorename.myshopify.com')
|
32
32
|
|
33
33
|
# Generates a URL like: https://yourstorename.myshopify.com/account/login/multipass/<MULTIPASS-TOKEN>
|
34
34
|
```
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.2
|
data/multipassify.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Juwelier::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: multipassify 1.1.
|
5
|
+
# stub: multipassify 1.1.2 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "multipassify".freeze
|
9
|
-
s.version = "1.1.
|
9
|
+
s.version = "1.1.2"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib".freeze]
|