padrino-admin 0.14.3 → 0.14.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
- SHA1:
3
- metadata.gz: af098da5b4599456856fcf28b4dc777e74ad954b
4
- data.tar.gz: '002492da1aa7af15679a5ba74acde2b65e993a77'
2
+ SHA256:
3
+ metadata.gz: a312922b4674fdc843e54500f47ab78c445e054641fa4878dcfe975332bee5f6
4
+ data.tar.gz: 7b43249f79c7fc018b3f4045fb5f8edd19eff9882f21bdf66812aade232b9599
5
5
  SHA512:
6
- metadata.gz: 21c3e5d3735ff47af36cbe4c73b38a0433692a9510ed4704be73479c32a7ef2cbbb9214f0c2fe8059daa0b66b705bfcbeb62b4a5e86738d187a5389e41021775
7
- data.tar.gz: 21370466d330b8c786765b28b285c5f6c02589f45c9a6176427296c5efe1ec30654ae5d427c736bd1d6918c9256727bcd7d5574b158719bfaee5efa75233b732
6
+ metadata.gz: 69c3cfa64000f1ff5563cad36ffb311de62acb369610ad9f60daed0f6f0c87e0519335860c8443dbd6e7133b3f116a548b424f1f3ce8e939939b08bd1925a24b
7
+ data.tar.gz: 99cc30583bea138f90e01fb30f8dec57f24b75bef76bd6cf62ed48b30189de2286a7d67b58334d9bce2f7c9da5889d13294a9dc4777508622fea6b863467c952
@@ -27,7 +27,7 @@ class <%= @model_name %>
27
27
  # This method is for authentication purpose.
28
28
  #
29
29
  def self.authenticate(email, password)
30
- account = where(:email => /#{Regexp.escape(email)}/i).first if email.present?
30
+ account = where(:email => /#{Object::Regexp.escape(email)}/i).first if email.present?
31
31
  account && account.has_password?(password) ? account : nil
32
32
  end
33
33
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: padrino-admin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.3
4
+ version: 0.14.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Padrino Team
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2018-02-23 00:00:00.000000000 Z
14
+ date: 2018-11-05 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: padrino-core
@@ -19,28 +19,28 @@ dependencies:
19
19
  requirements:
20
20
  - - '='
21
21
  - !ruby/object:Gem::Version
22
- version: 0.14.3
22
+ version: 0.14.4
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
27
  - - '='
28
28
  - !ruby/object:Gem::Version
29
- version: 0.14.3
29
+ version: 0.14.4
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: padrino-helpers
32
32
  requirement: !ruby/object:Gem::Requirement
33
33
  requirements:
34
34
  - - '='
35
35
  - !ruby/object:Gem::Version
36
- version: 0.14.3
36
+ version: 0.14.4
37
37
  type: :runtime
38
38
  prerelease: false
39
39
  version_requirements: !ruby/object:Gem::Requirement
40
40
  requirements:
41
41
  - - '='
42
42
  - !ruby/object:Gem::Version
43
- version: 0.14.3
43
+ version: 0.14.4
44
44
  - !ruby/object:Gem::Dependency
45
45
  name: therubyracer
46
46
  requirement: !ruby/object:Gem::Requirement
@@ -291,7 +291,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
291
291
  version: 1.3.6
292
292
  requirements: []
293
293
  rubyforge_project: padrino-admin
294
- rubygems_version: 2.6.12
294
+ rubygems_version: 2.7.8
295
295
  signing_key:
296
296
  specification_version: 4
297
297
  summary: Admin Dashboard for Padrino