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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 97e582f2591ac7772c13ed1d8c23c601f07764e8
4
- data.tar.gz: 9be2259d8ab34ebacafa82642f92d34b31909c25
3
+ metadata.gz: bb7708bfc9b282ecd8422b4752d96e480ed51bf8
4
+ data.tar.gz: 46dbb1ba84facf6eaffc11f8ece2b5f9982bf674
5
5
  SHA512:
6
- metadata.gz: 11a817352f163a58cfd309bd071d5c6c0283eab67f18f0a96a722e69c0b6b38d401f78c907ff1bf8533d0f8df644f9c9f49c94eb7af9fdaa157f776c66d4ae94
7
- data.tar.gz: 9801354af968c992bd23b3e2475feb8f5ad2c37f6f0134984ec2172810eb5686620917fbe5934f94b125dad2f41281c2f0f790ada889ef840d46b39c97c6a4f3
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
- After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
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"
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Humpass
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
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.0
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
  - - ">="