g5_authenticatable 1.1.4.rc.3 → 1.1.4

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: e74c38d95750b70b8b198f527d8858515193d93cf159ec3bb32a3f2ec9550792
4
- data.tar.gz: 327e55153e4d16072604be7d2cbdb1a91cedffc12274be168270ba4b965bc74d
3
+ metadata.gz: 4617126352782d18bf0c6bb72fbd85f3feb784b561cda8fb623801e45d35a675
4
+ data.tar.gz: 0cdd7ff2d8fd862be0167046d6ee4bb6d23184992e1256407d04696ba5fcd9b1
5
5
  SHA512:
6
- metadata.gz: abc319374e833a5e300f6030a1043440a0af1c5d5f276639cef7eb725e8b57c7f1df05460b85501a2d406cd76fb166ba1aa950a713b6cc8d31046d036d79121e
7
- data.tar.gz: f5572982ec70b6cdc36676f0aacf5f56f84509dd4a43bca45e2cd21736d32e631d9aa3a1fb2116c46362c64ed2c842fc72588a3eff66139679347aed3c5a8cd3
6
+ metadata.gz: 15208f7f4318839a000fc90b6f6b7b8ab509912a9c6f8c876499bbdb20f9e98c8cd9f8ce616365e550c6ce91572315c692762c917bd0f5933a0482c239886cec
7
+ data.tar.gz: 80b84e38924c14487e32a7f7971f59bf2bd7df1431b0a2f263a5b1849a1f2ea682324e84d55feb55daf746bf262401b1a02ffc0ef7ff2c41e85f75eca13beed1
@@ -0,0 +1,13 @@
1
+ // This is a manifest file that'll be compiled into application.js, which will include all the files
2
+ // listed below.
3
+ //
4
+ // Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
5
+ // or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
6
+ //
7
+ // It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
8
+ // compiled file.
9
+ //
10
+ // Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
11
+ // about supported directives.
12
+ //
13
+ //= require_tree .
@@ -0,0 +1,34 @@
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 styles
10
+ * defined in the other CSS/SCSS files in this directory. It is generally better to create a new
11
+ * file per style scope.
12
+ *
13
+ *= require_tree .
14
+ *= require_self
15
+ */
16
+
17
+ body {
18
+ padding: 50px;
19
+ font-family: "Open Sans", sans-serif;
20
+ }
21
+
22
+ .error {
23
+ font-size: 24px;
24
+ }
25
+
26
+ .button {
27
+ background-color: #68A5C8;
28
+ border: none;
29
+ border-radius: 5px;
30
+ color: white;
31
+ padding: 10px;
32
+ text-align: center;
33
+ text-decoration: none;
34
+ }
@@ -1,7 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module G5Authenticatable
4
- # For handling errors returned by the auth server
5
4
  class ErrorController < G5Authenticatable::ApplicationController
6
5
  def auth_error
7
6
  flash[:error] = 'There was a problem with the Auth Server!'
@@ -1 +1 @@
1
- <%=link_to "Main App", main_app.root_path%>
1
+ <%=link_to 'Return to main app', main_app.root_path, class: 'button' %>
@@ -2,7 +2,7 @@
2
2
  <html>
3
3
  <head>
4
4
  <title>G5Authenticatable</title>
5
- <%= stylesheet_link_tag "g5_authenticatable/application", :media => "all" %>
5
+ <%= stylesheet_link_tag "g5_authenticatable/application", :media => 'all' %>
6
6
  <%= javascript_include_tag "g5_authenticatable/application" %>
7
7
  <%= csrf_meta_tags %>
8
8
  </head>
@@ -0,0 +1 @@
1
+ Rails.application.config.assets.precompile += %w( g5_authenticatable/application.css g5_authenticatable/application.js )
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
22
22
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
23
23
  spec.require_paths = ['lib']
24
24
 
25
- spec.add_dependency 'devise_g5_authenticatable', '1.0.2.rc.3'
25
+ spec.add_dependency 'devise_g5_authenticatable', '~> 1.0.3'
26
26
  spec.add_dependency 'g5_authenticatable_api', '~> 1.0'
27
27
  spec.add_dependency 'rolify', '~> 5.1.0'
28
28
  spec.add_dependency 'pundit', '~> 1.0'
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module G5Authenticatable
4
- VERSION = '1.1.4.rc.3'
4
+ VERSION = '1.1.4'
5
5
  end
@@ -13,7 +13,6 @@
13
13
  ActiveRecord::Schema.define(version: 2018_06_21_044009) do
14
14
 
15
15
  # These are extensions that must be enabled in order to support this database
16
- enable_extension "hstore"
17
16
  enable_extension "plpgsql"
18
17
 
19
18
  create_table "g5_authenticatable_roles", id: :serial, force: :cascade do |t|
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: g5_authenticatable
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.4.rc.3
4
+ version: 1.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - maeve
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-11-11 00:00:00.000000000 Z
11
+ date: 2019-12-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: devise_g5_authenticatable
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '='
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 1.0.2.rc.3
19
+ version: 1.0.3
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '='
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 1.0.2.rc.3
26
+ version: 1.0.3
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: g5_authenticatable_api
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -127,6 +127,8 @@ files:
127
127
  - LICENSE
128
128
  - README.md
129
129
  - Rakefile
130
+ - app/assets/javascripts/g5_authenticatable/application.js
131
+ - app/assets/stylesheets/g5_authenticatable/application.css
130
132
  - app/controllers/concerns/g5_authenticatable/authorization.rb
131
133
  - app/controllers/g5_authenticatable/application_controller.rb
132
134
  - app/controllers/g5_authenticatable/error_controller.rb
@@ -142,6 +144,7 @@ files:
142
144
  - app/services/g5_authenticatable/impersonate_sessionable.rb
143
145
  - app/views/g5_authenticatable/error/auth_error.html.erb
144
146
  - app/views/layouts/g5_authenticatable/application.html.erb
147
+ - config/initializers/assets.rb
145
148
  - config/initializers/devise.rb
146
149
  - config/initializers/impersonate_strategy.rb
147
150
  - config/initializers/rolify.rb
@@ -303,9 +306,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
303
306
  version: '0'
304
307
  required_rubygems_version: !ruby/object:Gem::Requirement
305
308
  requirements:
306
- - - ">"
309
+ - - ">="
307
310
  - !ruby/object:Gem::Version
308
- version: 1.3.1
311
+ version: '0'
309
312
  requirements: []
310
313
  rubyforge_project:
311
314
  rubygems_version: 2.7.6