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.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -5
  3. data/VERSION +1 -1
  4. data/multipassify.gemspec +2 -2
  5. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 20df9608cc54f95dffb28bd167c469a4be4191cc
4
- data.tar.gz: 3b2e8bcba2729d3cb7be408a23bd17c9b11c60af
3
+ metadata.gz: 46e201367077efc82730fa27a6c5ef8675168bdd
4
+ data.tar.gz: bfc68438910a6213ec10aaa6b05de751e22a18a2
5
5
  SHA512:
6
- metadata.gz: 24fed9203e48f628b1c921edf816a4c2f3d29e886e99cf315d03cb49a8d24a6be18b4d9b5ff87788fc3276bdf7455cb3b833fb8ee50a7049840bdb3151df88e9
7
- data.tar.gz: ac2f1d5685125275a6865d10d64bd85fd97b73cdc6ce5186e591c8819fd6fcfa08bae081edf14cc1ac3a1d6f6610f0b5a427ce8aba7c6e75c13da448060dfb41
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('multipassify');
19
+ require 'multipassify'
20
20
 
21
21
  # Construct the Multipassify encoder
22
- multipassify = Multipassify.new("SHOPIFY MULTIPASS SECRET");
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, "yourstorename.myshopify.com");
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.1.2
@@ -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.1 ruby lib
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.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]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: multipassify
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Renato Alves