dumb_password_rails 0.1.7 → 0.1.8

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
  SHA1:
3
- metadata.gz: da87ce3a1f70329c5e98bac0100655d1d131db55
4
- data.tar.gz: 33d65d1f97777e052b6c5420e74d379efc72d13a
3
+ metadata.gz: 304b14a4a68553866778c527aab1c43ba6374899
4
+ data.tar.gz: 51485286758ce2ea2bc7e4468b718b230664ac54
5
5
  SHA512:
6
- metadata.gz: 4fa91ef4a3cc67986c14d10fa376a7d937dd051809cc94f3dbaeb99b7eef4f90266d69c106d64105155f490cf745947f057f3c9ec7bdfd2f2ea345fb4e2a705e
7
- data.tar.gz: 8e22d38c602f51383fd93e1ea1ed1e4b617fd1e233697e40e118e1f8ecbc452958f9ef65f6aa2ea1bce04d03af8cd386b0bc44ad05393347f4f92f9f1d1eeb6a
6
+ metadata.gz: 63028b13f68edf0eef93eb90bebcc6a32ff0f919bfb3f96917cc5d85f5c3ba208acac77c5da2a65c6dfefce3104ac45387a9796df97591b54f7e54f2fb251f6c
7
+ data.tar.gz: f10c5f1d0b7d1a9b0e774f9051a4c1771e0121fae085c867c2e052465a189a4043dcb66b176017fa6a9f3ae88090b0cea5f881c20e422bc59e8c29c17efe697d
@@ -14,10 +14,6 @@ Gem::Specification.new do |spec|
14
14
  spec.homepage = "https://www.github.com/arinzeokeke/dumb_password_rails"
15
15
  spec.license = "MIT"
16
16
 
17
- # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
18
- # to allow pushing to a single host or delete this section to allow pushing to any host.
19
-
20
-
21
17
  spec.files = `git ls-files -z`.split("\x0").reject do |f|
22
18
  f.match(%r{^(test|spec|features)/})
23
19
  end
@@ -9,8 +9,7 @@ require 'active_model'
9
9
  passwords = passwordFile.readlines
10
10
  passwords.map! {|d| d.strip}
11
11
  passwords = passwords.sort
12
- return true if passwords.include?(value)
13
- false
12
+ passwords.include?(value)
14
13
  end
15
14
 
16
15
  def validate_each(record, attribute, value)
@@ -2,4 +2,4 @@ require 'active_model'
2
2
  module DumbPasswordRails
3
3
 
4
4
 
5
- #end
5
+ end
@@ -1,3 +1,3 @@
1
1
  module DumbPasswordRails
2
- VERSION = "0.1.7"
2
+ VERSION = "0.1.8"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dumb_password_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Okeke Arinze
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-04-25 00:00:00.000000000 Z
11
+ date: 2017-04-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler