humpass 0.1.8 → 0.1.9
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/.gitignore +0 -1
- data/.idea/.rakeTasks +7 -0
- data/Gemfile.lock +1 -1
- data/humpass.gemspec +1 -1
- data/lib/humpass.rb +1 -1
- data/lib/humpass/data_structure.rb +2 -2
- data/lib/humpass/version.rb +1 -1
- metadata +3 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d8f47061c803d9fb1e0c1751a50177d2ecd43953
|
4
|
+
data.tar.gz: 985b1c2ffa9c42e151f7d59318e14a6310f23fed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1d63dafb0d839951d932a753bc992622d8b9b95c488a48dcdaba41100d069f2a201225eae338d9dc45872e9d820c4ec5c4bc47df1f0c2ce2f03dbddb5888a593
|
7
|
+
data.tar.gz: 41d9a32c16841d76c8f269b4ff378c7bd23f86188b928ec93acc15e80a6db945b72cbd0d3fb1d878127fbaca2396bea0ac300697cfb999454ac3c3956474e090
|
data/.gitignore
CHANGED
data/.idea/.rakeTasks
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<Settings><!--This file was automatically generated by Ruby plugin.
|
3
|
+
You are allowed to:
|
4
|
+
1. Remove rake task
|
5
|
+
2. Add existing rake tasks
|
6
|
+
To add existing rake tasks automatically delete this file and reload the project.
|
7
|
+
--><RakeGroup description="" fullCmd="" taksId="rake"><RakeTask description="Build humpass-0.1.0.gem into the pkg directory" fullCmd="build" taksId="build" /><RakeTask description="Remove any temporary products" fullCmd="clean" taksId="clean" /><RakeTask description="Remove any generated files" fullCmd="clobber" taksId="clobber" /><RakeTask description="Build and install humpass-0.1.0.gem into system gems" fullCmd="install" taksId="install" /><RakeGroup description="" fullCmd="" taksId="install"><RakeTask description="Build and install humpass-0.1.0.gem into system gems without network access" fullCmd="install:local" taksId="local" /></RakeGroup><RakeTask description="Create tag v0.1.0 and build and push humpass-0.1.0.gem to TODO: Set to 'http://mygemserver.com'" fullCmd="release[remote]" taksId="release[remote]" /><RakeTask description="Run RSpec code examples" fullCmd="spec" taksId="spec" /><RakeTask description="" fullCmd="default" taksId="default" /><RakeTask description="" fullCmd="release" taksId="release" /><RakeGroup description="" fullCmd="" taksId="release"><RakeTask description="" fullCmd="release:guard_clean" taksId="guard_clean" /><RakeTask description="" fullCmd="release:rubygem_push" taksId="rubygem_push" /><RakeTask description="" fullCmd="release:source_control_push" taksId="source_control_push" /></RakeGroup></RakeGroup></Settings>
|
data/Gemfile.lock
CHANGED
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.rb
CHANGED
@@ -15,7 +15,7 @@ module Humpass
|
|
15
15
|
raise 'Configuration not sat!' if Humpass.configuration.nil?
|
16
16
|
new_database_initialize if database.read.empty?
|
17
17
|
get_structure_from_database
|
18
|
-
|
18
|
+
Humpass.set_lock_words(self.lock_words)
|
19
19
|
end
|
20
20
|
|
21
21
|
def new_database_initialize
|
@@ -26,7 +26,7 @@ module Humpass
|
|
26
26
|
def init_structure
|
27
27
|
{
|
28
28
|
master_password: Digest::SHA2.new(256).hexdigest(Humpass.configuration.master_password),
|
29
|
-
lock_words:
|
29
|
+
lock_words: Humpass::LockWord.new.words,
|
30
30
|
passwords: []
|
31
31
|
}
|
32
32
|
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.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gabriel Hamdan
|
@@ -62,6 +62,7 @@ extra_rdoc_files: []
|
|
62
62
|
files:
|
63
63
|
- ".DS_Store"
|
64
64
|
- ".gitignore"
|
65
|
+
- ".idea/.rakeTasks"
|
65
66
|
- ".idea/misc.xml"
|
66
67
|
- ".idea/modules.xml"
|
67
68
|
- ".idea/vcs.xml"
|
@@ -94,6 +95,7 @@ post_install_message:
|
|
94
95
|
rdoc_options: []
|
95
96
|
require_paths:
|
96
97
|
- lib
|
98
|
+
- assets
|
97
99
|
required_ruby_version: !ruby/object:Gem::Requirement
|
98
100
|
requirements:
|
99
101
|
- - ">="
|