go_sso 0.5.0 → 0.5.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 904cedd809a2f4bb6f9ddc5ab11b8ed3cae039228ab577d69179141b0cdaf1e5
4
- data.tar.gz: 1f5e0e051a65b642a2cd67451fed20331addafd217f9743811fc737128debb13
3
+ metadata.gz: 320274593f49723cf702dec25459697259730ae73a88a0167944fb4e9225a034
4
+ data.tar.gz: 68f2087b1f54d1391b1f3dc74f39bc5413715976a567e318c86e8d6a8bf28e2f
5
5
  SHA512:
6
- metadata.gz: '079edece6cd52dc37af2f776c93dcbf25f98c33761d05b1b9aaa5fe2157257fbfb8a5680d0eb335208a643f69a1db9a7c6dd0f038cd44ac4e8b3c7eb075ab644'
7
- data.tar.gz: b19abc01a2637483138f1c11d420eb34f004118e9494b45dff14b173c16dda5ecb0c9a02e989eb3de80cea6936dbaf287484e3bb6ef61f0d891df5a56104ddd2
6
+ metadata.gz: 59970425c07d5681938c7bce15604b19146acb79b96a0fe237e2242e03037458a6df75e4cacdc6e8f7fa9b6711f6345dd8e84b3a85a26d176fa72f4f07ecb906
7
+ data.tar.gz: 2e3033f922d3a11a36adfe465820b4cdf879098ca0092d2557c7f6bec571baef4ce12286bc8b1e75b8c89ed88ac331d3e8db7476826ded534f8de048a2b02afc
@@ -64,7 +64,7 @@ module GoSso
64
64
  end
65
65
 
66
66
  def current_path
67
- @request.path_info
67
+ @request.path_info.chomp("/")
68
68
  end
69
69
 
70
70
  def request
@@ -1,3 +1,3 @@
1
1
  module GoSso
2
- VERSION = '0.5.0'
2
+ VERSION = '0.5.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: go_sso
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yi Feng
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-05-07 00:00:00.000000000 Z
11
+ date: 2023-05-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: oauth2
@@ -118,13 +118,7 @@ files:
118
118
  - MIT-LICENSE
119
119
  - README.md
120
120
  - Rakefile
121
- - app/assets/config/go_sso_manifest.js
122
- - app/assets/stylesheets/go_sso/application.css
123
121
  - app/controllers/go_sso/application_controller.rb
124
- - app/helpers/go_sso/application_helper.rb
125
- - app/jobs/go_sso/application_job.rb
126
- - app/mailers/go_sso/application_mailer.rb
127
- - app/views/layouts/go_sso/application.html.erb
128
122
  - config/routes.rb
129
123
  - lib/go_sso.rb
130
124
  - lib/go_sso/controllers/helpers.rb
@@ -133,7 +127,6 @@ files:
133
127
  - lib/go_sso/middleware.rb
134
128
  - lib/go_sso/user.rb
135
129
  - lib/go_sso/version.rb
136
- - lib/tasks/go_sso_tasks.rake
137
130
  homepage: https://github.com/yfxie/go_sso
138
131
  licenses:
139
132
  - MIT
@@ -1 +0,0 @@
1
- //= link_directory ../stylesheets/go_sso .css
@@ -1,15 +0,0 @@
1
- /*
2
- * This is a manifest file that'll be compiled into application.css, which will include all the files
3
- * listed below.
4
- *
5
- * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
6
- * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
7
- *
8
- * You're free to add application-wide styles to this file and they'll appear at the bottom of the
9
- * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
10
- * files in this directory. Styles in this file should be added after the last require_* statement.
11
- * It is generally better to create a new file per style scope.
12
- *
13
- *= require_tree .
14
- *= require_self
15
- */
@@ -1,4 +0,0 @@
1
- module GoSso
2
- module ApplicationHelper
3
- end
4
- end
@@ -1,4 +0,0 @@
1
- module GoSso
2
- class ApplicationJob < ActiveJob::Base
3
- end
4
- end
@@ -1,6 +0,0 @@
1
- module GoSso
2
- class ApplicationMailer < ActionMailer::Base
3
- default from: 'from@example.com'
4
- layout 'mailer'
5
- end
6
- end
@@ -1,15 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>Go sso</title>
5
- <%= csrf_meta_tags %>
6
- <%= csp_meta_tag %>
7
-
8
- <%= stylesheet_link_tag "go_sso/application", media: "all" %>
9
- </head>
10
- <body>
11
-
12
- <%= yield %>
13
-
14
- </body>
15
- </html>
@@ -1,4 +0,0 @@
1
- # desc "Explaining what the task does"
2
- # task :go_sso do
3
- # # Task goes here
4
- # end