shopapp 0.2.66 → 0.2.67

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: 1ab3510550961182efe5202fab0dec53daed323cda2bc2d78f68741c75c299c4
4
- data.tar.gz: 5395ac541e8df3a1ad2a477a3bf8722a015fe24641b7228c980829b8ae018f37
3
+ metadata.gz: 9d027c6f21b4d8853222c8c2ec2d2a8ed73c8539ddfed1198cac272835ca0d30
4
+ data.tar.gz: 00cdadce9a12b39ad422eb690afa6899a81c646b074cd91ae6a3454752b12c8d
5
5
  SHA512:
6
- metadata.gz: 7f1742f0a1befdd9a050c00d704dab6d923df515bb0c3b79457e6e4f9d525fefe03d527cc1119bb5debae9a925eba20d0da8bccf92de6fe6af8f921f962b05eb
7
- data.tar.gz: b3593ab5587b4496e89115303afab1f3e805b78653ef2512e1d10294c281d8c2fd2ce33b5a2f8357f216d1e85fb6eea965dd289072e35a87eb28ca50d7c321e8
6
+ metadata.gz: a8ac31a92fba30b166b38108208273536ec4363d37fcc91b4185740ce9aab30eebe6012a55b312aa16abd81541a6119d4a5208fc50e6cdab5315fd6e9dd99a0e
7
+ data.tar.gz: 7060fba84857eaf91f929b97f9ebf75494719f56a9a0f6c9ff0ac85be995bbbf1bc3c5f11e7d0522dc06204c8a21e34aebb4ead24d0933e9ebb3668b2cd5a575
data/README.md CHANGED
@@ -93,4 +93,4 @@ shopapp to support i18n, add two methods to your ApplicationController:
93
93
 
94
94
  To build new version of this gem, change the version in shopapp.gemspec and run:
95
95
 
96
- git push; gem build shopapp.gemspec ; gem push shopapp-0.2.66.gem; gem install shopapp
96
+ gem build shopapp.gemspec ; gem push shopapp-0.2.67.gem; gem install shopapp
@@ -15,7 +15,9 @@ class ShopappLoginController < ApplicationController
15
15
  elsif params['logged_in'] == 'true'
16
16
  authenticate_user! true
17
17
  else
18
- redirect_to "#{Rails.configuration.settings['authlift_url']}softly_verify_login"
18
+ destination = URI("#{Rails.configuration.settings['authlift_url']}softly_verify_login")
19
+ destination.query = { return_path: request.url }.to_query
20
+ redirect_to destination.to_s
19
21
  end
20
22
  end
21
23
  end
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'shopapp'
3
- s.version = '0.2.66'
4
- s.date = '2019-09-26'
3
+ s.version = '0.2.67'
4
+ s.date = '2019-09-27'
5
5
  s.summary = 'Do a shoplift.'
6
6
  s.description = 'Ha! Art thou Bedlam? Dost thou thirst base Trojan, to have me fold up Parca\'s fatal web? Hence!\
7
7
  I am qualmish at the smell of leek.'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shopapp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.66
4
+ version: 0.2.67
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zeljko
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-09-26 00:00:00.000000000 Z
11
+ date: 2019-09-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties