humpass 0.1.11 → 0.1.12

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: 8fd96abc7b4f0334dedd08b5b7337e4bfa9c592f
4
- data.tar.gz: b09e50592fd32e81d871488f8ce5b29dc270f0ca
3
+ metadata.gz: 2fcc74a7b202f5c49b6b0054ae3be85cbbfe303d
4
+ data.tar.gz: f671249e960a33b0fe1e7839848ce57cff5d0766
5
5
  SHA512:
6
- metadata.gz: 3c313626b5c92fa9e7673111951287c92ae4ef320ec200b4a286d6a3abda7d77e8f554c95bd8a4083b7947fac2273a64335a5f9f527d425a9fb67f88f2a0d716
7
- data.tar.gz: a615d26d4acc6a25b387f9f4b1da161b6b28676c10ff6099f4c6a2892e49ec5f05146ed207be58b8d61b688047a9fa64fbdc89dc7c6b0bb5db22df10f0eaafd5
6
+ metadata.gz: 4c613789ab1682add33b0cdc5fea0c73bf2d0362b2aa52d3782442cd4c333c4c3304d1757354955ca2809bdd929aeca1880ea703248a1a1b078576a5feaeaa09
7
+ data.tar.gz: 12089959b0941e2dd39b760794749c527d7035eb51ca7b78e471b7edfe6c5a2a3c8193aea1172eaee3508ef1c87a6c58c66ef1555efe20a7d34a4a63f2adef38
@@ -11,7 +11,7 @@ module Humpass
11
11
  class LockWord
12
12
  attr_reader :words
13
13
  def initialize
14
- @words = File.readlines(File.join(File.dirname(File.expand_path(__FILE__)), 'assets/words.txt'))
14
+ @words = File.readlines('words.txt')
15
15
  .sample(15)
16
16
  .map { |w| w.strip }
17
17
  end
@@ -1,3 +1,3 @@
1
1
  module Humpass
2
- VERSION = "0.1.11"
2
+ VERSION = "0.1.12"
3
3
  end
File without changes
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: humpass
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.11
4
+ version: 0.1.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gabriel Hamdan
@@ -73,7 +73,6 @@ files:
73
73
  - LICENSE.txt
74
74
  - README.md
75
75
  - Rakefile
76
- - assets/words.txt
77
76
  - bin/console
78
77
  - bin/setup
79
78
  - exe/humpass
@@ -86,6 +85,7 @@ files:
86
85
  - lib/humpass/lock_word.rb
87
86
  - lib/humpass/password_generator.rb
88
87
  - lib/humpass/version.rb
88
+ - lib/humpass/words.txt
89
89
  homepage: https://github.com/Hamdan85/humpass
90
90
  licenses:
91
91
  - MIT