sudo_rails 0.4.0 → 0.4.1

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: ba7183412184ec9c6e3308162ec026f8ae7711d97513dc776b3229354853f0f6
4
- data.tar.gz: 63ded2e09b66ea79ddca371e07d3bdf77a5b5a3c46fe61a7594268007a778d6a
3
+ metadata.gz: 1aa6956d2120662918a32a2836cfcfb942b3a0bea1b030220259fa6817e8d1c6
4
+ data.tar.gz: a606c584d4f250e429b1b95f1bc24081cb8778b244c3c981d552650434cd818a
5
5
  SHA512:
6
- metadata.gz: 16a22d1457fe839e85ff5f0471dbce6733295afc5ce115eec7c910e94dc7d0eaca30949c954c968b00e724f8da5bdfdc66131a89e72e58b87339c39ea55e21c9
7
- data.tar.gz: ec8f62cd6aa3befff139e64910086b3961a1f6c6850cb8260f0df5cfbbfb17d14657a8018aa00c34c2fb0744511ebeb4a17a61d2fd27511a541b371da852beb9
6
+ metadata.gz: 2706d6bcaf8a48c6bfa240035bb3b96f2f31455191e675436aa901d5e89e87a4b712db12d523d07c887104fc42d94e475b90e27dadf0c681e07fd5083991a0ca
7
+ data.tar.gz: 81a8c15d835268f6efb29836a7da163558b1abcc454c11fb3c53e8439f74df0f7950f9ec1ae1d217a08ef2a1238399b0da0563d90973014ee9c3ee47ae5b21ac
data/README.md CHANGED
@@ -75,6 +75,8 @@ end
75
75
 
76
76
  Using the `custom_logo`, `primary_color` and `background_color` options, you can customize the confirmation page. In case you want full control of the styles, you can use your own layout (and consequently your own styles too) using the `layout` option.
77
77
 
78
+ See some [examples here](support/images/).
79
+
78
80
  ### Confirmation strategy
79
81
 
80
82
  You should define how to validate the password using the `confirm_strategy` option. It must be a `lambda`, which will receive 2 arguments: the controller instance (`context`) and the password from the user.
@@ -1,3 +1,3 @@
1
1
  module SudoRails
2
- VERSION = "0.4.0"
2
+ VERSION = "0.4.1"
3
3
  end
data/lib/sudo_rails.rb CHANGED
@@ -2,6 +2,7 @@ require "sudo_rails/version"
2
2
  require "sudo_rails/controller_ext"
3
3
  require "sudo_rails/styling"
4
4
  require "sudo_rails/engine"
5
+ require "sassc-rails"
5
6
 
6
7
  module SudoRails
7
8
  class << self
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sudo_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - markets
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-05-20 00:00:00.000000000 Z
11
+ date: 2019-05-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -25,7 +25,7 @@ dependencies:
25
25
  - !ruby/object:Gem::Version
26
26
  version: '4.2'
27
27
  - !ruby/object:Gem::Dependency
28
- name: sass-rails
28
+ name: sassc-rails
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - ">="