humpass 0.1.0 → 0.1.1
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 +4 -4
- data/README.md +1 -5
- data/humpass.gemspec +1 -1
- data/lib/humpass/lock_word.rb +1 -1
- data/lib/humpass/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bb7708bfc9b282ecd8422b4752d96e480ed51bf8
|
4
|
+
data.tar.gz: 46dbb1ba84facf6eaffc11f8ece2b5f9982bf674
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 808bbd5ad12e18a8f013a6b4be83f7ce1f9666c9e03f7d0cf9bc2bfc152aa9542d0da2bcb8b2bcebc5265c773019212f62427564521530f25ed293ba2a9c1dd2
|
7
|
+
data.tar.gz: 7a69a5b8ea048e88bb400a87ef3b144db2019df7b60574ea03d0b611673bb4f3dc2ca370070a68c98d22231b31f96278c3164dfca49d118447555a4f56faf993
|
data/README.md
CHANGED
@@ -1,7 +1,5 @@
|
|
1
1
|
# Humpass
|
2
2
|
|
3
|
-
Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/humpass`. To experiment with that code, run `bin/console` for an interactive prompt.
|
4
|
-
|
5
3
|
Ruby Application for Creating random passwords and storing them secured.
|
6
4
|
|
7
5
|
## Installation
|
@@ -30,9 +28,7 @@ To get instructions
|
|
30
28
|
|
31
29
|
## Development
|
32
30
|
|
33
|
-
|
34
|
-
|
35
|
-
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
31
|
+
Feel free to help me out!
|
36
32
|
|
37
33
|
## Contributing
|
38
34
|
|
data/humpass.gemspec
CHANGED
@@ -28,7 +28,7 @@ Gem::Specification.new do |spec|
|
|
28
28
|
end
|
29
29
|
spec.bindir = "exe"
|
30
30
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
31
|
-
spec.require_paths = ["lib"]
|
31
|
+
spec.require_paths = ["lib", "assets"]
|
32
32
|
|
33
33
|
spec.add_development_dependency "bundler", "~> 1.16.a"
|
34
34
|
spec.add_development_dependency "rake", "~> 10.0"
|
data/lib/humpass/lock_word.rb
CHANGED
@@ -11,7 +11,7 @@ module Humpass
|
|
11
11
|
class LockWord
|
12
12
|
attr_reader :words
|
13
13
|
def initialize
|
14
|
-
@words = File.readlines('assets/words.txt')
|
14
|
+
@words = File.readlines(File.join(File.dirname(File.expand_path(__FILE__)), '../assets/words.txt'))
|
15
15
|
.sample(15)
|
16
16
|
.map { |w| w.strip }
|
17
17
|
end
|
data/lib/humpass/version.rb
CHANGED
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.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gabriel Hamdan
|
@@ -95,6 +95,7 @@ post_install_message:
|
|
95
95
|
rdoc_options: []
|
96
96
|
require_paths:
|
97
97
|
- lib
|
98
|
+
- assets
|
98
99
|
required_ruby_version: !ruby/object:Gem::Requirement
|
99
100
|
requirements:
|
100
101
|
- - ">="
|