senha 0.0.4 → 1.0.0
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/Gemfile +2 -2
- data/LICENSE +1 -1
- data/NEWS.markdown +3 -0
- data/README.markdown +10 -5
- data/Rakefile +1 -1
- data/bin/senha +1 -1
- data/lib/senha.rb +4 -3
- data/lib/senha/base.rb +1 -1
- data/lib/senha/base/generator.rb +1 -1
- data/lib/senha/cli.rb +1 -1
- data/lib/senha/cli/application.rb +1 -1
- data/senha.gemspec +23 -24
- metadata +5 -6
- data/Gemfile.lock +0 -23
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 976f45c124e6f9623d76a0eb43520de74968634b
|
|
4
|
+
data.tar.gz: 459297a6f237291cf85b28476dfc0eba80a4c323
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a473c465ea8b3c1f7ea7456884e345431b7e34d64428b54d6cb82d4da93de8f746adaa99fa949d5de7873e203a2a9413cfd54197f84ba93d73402263a365242c
|
|
7
|
+
data.tar.gz: d7a819e56d45f3316019c3cffd51bbd0ecb5a3fe3cda9812391c6dc2a16d8cc2eeb19ca20b73f4f048ba31666b195bea512ef8c43e87901523746bfab48ec442
|
data/Gemfile
CHANGED
data/LICENSE
CHANGED
data/NEWS.markdown
CHANGED
data/README.markdown
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
# senha
|
|
1
|
+
# senha [](http://badge.fury.io/rb/senha) [](https://travis-ci.org/hammackj/senha)
|
|
2
2
|
|
|
3
3
|
Senha is a password generation tool for making random passwords based on a input requirement.
|
|
4
4
|
|
|
5
|
+
Senha is Portuguese for 'password', says [Google translate](https://translate.google.com/#pt/en/senha).
|
|
6
|
+
|
|
5
7
|
#Installation
|
|
6
8
|
Senha is released through [RubyGems](http://www.rubygems.org). This allows for an easier installation.
|
|
7
9
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
+
% gem update
|
|
11
|
+
% gem install senha
|
|
10
12
|
|
|
11
13
|
# Usage
|
|
12
14
|
|
|
@@ -14,10 +16,13 @@ Using senha is relatively simple. Some example usage would be:
|
|
|
14
16
|
|
|
15
17
|
% senha -l
|
|
16
18
|
kpsyzatdpu
|
|
19
|
+
|
|
17
20
|
% senha -n
|
|
18
21
|
3993355865
|
|
22
|
+
|
|
19
23
|
% senha -a --length 20
|
|
20
24
|
M;w%Bwh8z-1NwYiS,#8h
|
|
25
|
+
|
|
21
26
|
% senha -a --length 20 --count 10
|
|
22
27
|
:QGZz:FqV88B4CQoPgiG
|
|
23
28
|
@m,obU-50uyI!#7-7l8A
|
|
@@ -31,7 +36,7 @@ Using senha is relatively simple. Some example usage would be:
|
|
|
31
36
|
#TyFKmzVTVer,;E-0^ro
|
|
32
37
|
|
|
33
38
|
# Issues
|
|
34
|
-
If you have any problems, bugs or feature requests please use the [github issue tracker](http://github.com/
|
|
39
|
+
If you have any problems, bugs or feature requests please use the [github issue tracker](http://github.com/hammack/senha/issues).
|
|
35
40
|
|
|
36
41
|
# Contact
|
|
37
|
-
You can reach me at senha[at]arxopia[dot]com.
|
|
42
|
+
You can reach me at senha[at]arxopia[dot]com, http://www.arxopia.com, or contact hammackj on IRC @ irc.freenode.net, #risu
|
data/Rakefile
CHANGED
data/bin/senha
CHANGED
data/lib/senha.rb
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright (c) 2010-
|
|
1
|
+
# Copyright (c) 2010-2016 Arxopia LLC.
|
|
2
2
|
# All rights reserved.
|
|
3
3
|
#
|
|
4
4
|
# Redistribution and use in source and binary forms, with or without
|
|
@@ -26,8 +26,9 @@
|
|
|
26
26
|
|
|
27
27
|
module Senha
|
|
28
28
|
APP_NAME = "senha"
|
|
29
|
-
VERSION = "0.0
|
|
30
|
-
|
|
29
|
+
VERSION = "1.0.0"
|
|
30
|
+
HOME_PAGE = "http://hammackj.github.io/senha"
|
|
31
|
+
DEFAULT_LENGTH = 15
|
|
31
32
|
end
|
|
32
33
|
|
|
33
34
|
require 'optparse'
|
data/lib/senha/base.rb
CHANGED
data/lib/senha/base/generator.rb
CHANGED
data/lib/senha/cli.rb
CHANGED
data/senha.gemspec
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright (c) 2010-
|
|
1
|
+
# Copyright (c) 2010-2016 Arxopia LLC.
|
|
2
2
|
# All rights reserved.
|
|
3
3
|
#
|
|
4
4
|
# Redistribution and use in source and binary forms, with or without
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
|
|
22
22
|
# OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
|
23
23
|
# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
|
|
24
|
-
#OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
|
25
|
-
#OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
24
|
+
# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
|
25
|
+
# OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
26
26
|
|
|
27
27
|
base = __FILE__
|
|
28
28
|
$:.unshift(File.join(File.dirname(base), 'lib'))
|
|
@@ -30,25 +30,24 @@ $:.unshift(File.join(File.dirname(base), 'lib'))
|
|
|
30
30
|
require 'senha'
|
|
31
31
|
|
|
32
32
|
Gem::Specification.new do |s|
|
|
33
|
-
s.name
|
|
34
|
-
s.version
|
|
35
|
-
s.homepage
|
|
36
|
-
s.summary
|
|
37
|
-
s.description
|
|
38
|
-
s.license
|
|
39
|
-
|
|
40
|
-
s.author
|
|
41
|
-
s.email
|
|
42
|
-
|
|
43
|
-
s.files
|
|
44
|
-
s.default_executable
|
|
45
|
-
s.executables
|
|
46
|
-
s.require_paths
|
|
47
|
-
|
|
48
|
-
s.has_rdoc
|
|
49
|
-
s.extra_rdoc_files
|
|
50
|
-
|
|
51
|
-
s.
|
|
52
|
-
s.rubyforge_project
|
|
53
|
-
|
|
33
|
+
s.name = "#{Senha::APP_NAME}"
|
|
34
|
+
s.version = Senha::VERSION
|
|
35
|
+
s.homepage = Senha::HOME_PAGE
|
|
36
|
+
s.summary = "#{Senha::APP_NAME}"
|
|
37
|
+
s.description = "#{Senha::APP_NAME} is a simple password generation tool"
|
|
38
|
+
s.license = "BSD"
|
|
39
|
+
|
|
40
|
+
s.author = "Jacob Hammack"
|
|
41
|
+
s.email = "senha@arxopia.com"
|
|
42
|
+
|
|
43
|
+
s.files = Dir['[A-Z]*'] + Dir['lib/**/*'] + ['senha.gemspec']
|
|
44
|
+
s.default_executable = "#{Senha::APP_NAME}"
|
|
45
|
+
s.executables = ["#{Senha::APP_NAME}"]
|
|
46
|
+
s.require_paths = ["lib"]
|
|
47
|
+
|
|
48
|
+
s.has_rdoc = 'yard'
|
|
49
|
+
s.extra_rdoc_files = ["README.markdown", "LICENSE", "NEWS.markdown"]
|
|
50
|
+
|
|
51
|
+
s.required_ruby_version = '>= 2.0.0'
|
|
52
|
+
s.rubyforge_project = "#{Senha::APP_NAME}"
|
|
54
53
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: senha
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0
|
|
4
|
+
version: 1.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jacob Hammack
|
|
@@ -10,7 +10,7 @@ bindir: bin
|
|
|
10
10
|
cert_chain: []
|
|
11
11
|
date: 2015-12-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
|
-
description: senha is a password generation tool
|
|
13
|
+
description: senha is a simple password generation tool
|
|
14
14
|
email: senha@arxopia.com
|
|
15
15
|
executables:
|
|
16
16
|
- senha
|
|
@@ -21,7 +21,6 @@ extra_rdoc_files:
|
|
|
21
21
|
- NEWS.markdown
|
|
22
22
|
files:
|
|
23
23
|
- Gemfile
|
|
24
|
-
- Gemfile.lock
|
|
25
24
|
- LICENSE
|
|
26
25
|
- NEWS.markdown
|
|
27
26
|
- README.markdown
|
|
@@ -34,7 +33,7 @@ files:
|
|
|
34
33
|
- lib/senha/cli.rb
|
|
35
34
|
- lib/senha/cli/application.rb
|
|
36
35
|
- senha.gemspec
|
|
37
|
-
homepage: http://
|
|
36
|
+
homepage: http://hammackj.github.io/senha
|
|
38
37
|
licenses:
|
|
39
38
|
- BSD
|
|
40
39
|
metadata: {}
|
|
@@ -46,12 +45,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
46
45
|
requirements:
|
|
47
46
|
- - ">="
|
|
48
47
|
- !ruby/object:Gem::Version
|
|
49
|
-
version:
|
|
48
|
+
version: 2.0.0
|
|
50
49
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
51
50
|
requirements:
|
|
52
51
|
- - ">="
|
|
53
52
|
- !ruby/object:Gem::Version
|
|
54
|
-
version:
|
|
53
|
+
version: '0'
|
|
55
54
|
requirements: []
|
|
56
55
|
rubyforge_project: senha
|
|
57
56
|
rubygems_version: 2.4.5.1
|
data/Gemfile.lock
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
GEM
|
|
2
|
-
remote: https://rubygems.org/
|
|
3
|
-
specs:
|
|
4
|
-
docile (1.1.5)
|
|
5
|
-
json (1.8.3)
|
|
6
|
-
minitest (5.8.3)
|
|
7
|
-
rake (10.4.2)
|
|
8
|
-
simplecov (0.11.0)
|
|
9
|
-
docile (~> 1.1.0)
|
|
10
|
-
json (~> 1.8)
|
|
11
|
-
simplecov-html (~> 0.10.0)
|
|
12
|
-
simplecov-html (0.10.0)
|
|
13
|
-
|
|
14
|
-
PLATFORMS
|
|
15
|
-
ruby
|
|
16
|
-
|
|
17
|
-
DEPENDENCIES
|
|
18
|
-
minitest (~> 5.0)
|
|
19
|
-
rake (~> 10.4.2)
|
|
20
|
-
simplecov
|
|
21
|
-
|
|
22
|
-
BUNDLED WITH
|
|
23
|
-
1.10.6
|