bluecherries 0.0.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 +7 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +13 -0
- data/README.md +47 -0
- data/Rakefile +1 -0
- data/bluecherries.gemspec +23 -0
- data/lib/bluecherries.rb +5 -0
- data/lib/bluecherries/version.rb +3 -0
- metadata +82 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 0e2917cb78ec89bb88db554c88cd242bdd320de9
|
4
|
+
data.tar.gz: 70a8956f16bac35356a67579ca48b422150b6169
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 4d7599ff34e1af5ff8850c8abbfb213546e1d31431f718423672a2ec83559be63c7d982efb4e4b97348a023c3cb3835181b286c7fcdea61d16d819dbaf5b794b
|
7
|
+
data.tar.gz: 0634c2ab40a8f4256bb352803fad723169bbfcd4eee78ca576a57485ebac8863d5f172c56701d553176b8b36cf6bb6bf5adfb312167344436f7942c6ec0497d3
|
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
|
2
|
+
Version 2, December 2004
|
3
|
+
|
4
|
+
Copyright 2013 linduxed
|
5
|
+
|
6
|
+
Everyone is permitted to copy and distribute verbatim or modified
|
7
|
+
copies of this license document, and changing it is allowed as long
|
8
|
+
as the name is changed.
|
9
|
+
|
10
|
+
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
|
11
|
+
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
12
|
+
|
13
|
+
0. You just DO WHAT THE FUCK YOU WANT TO.
|
data/README.md
ADDED
@@ -0,0 +1,47 @@
|
|
1
|
+
# BlueCherries
|
2
|
+
|
3
|
+
The three kinds of password generators that I come across are the following:
|
4
|
+
|
5
|
+
1. Generates random characters, often with some user provided
|
6
|
+
requirements/limitations. These are often the hardest to remember.
|
7
|
+
2. Generates "pronounceable random character passwords" where it still works
|
8
|
+
more or less like the first category, but with fairly readable syllables.
|
9
|
+
3. The ["XKCD passwords"](http://xkcd.com/936/) which are just a number of
|
10
|
+
words after each other.
|
11
|
+
|
12
|
+
The problem with all of these is that they don't care about how easy it is to
|
13
|
+
type them quickly. This project seeks to create a generator which takes the
|
14
|
+
easy-to-remember passwords of category #3, but chooses words which are easy to
|
15
|
+
type on a given keyboard layout. This is done by prioritizing finger rolls,
|
16
|
+
hand alteration and staying as close to the home row as possible (among other
|
17
|
+
things, it'll probably be more than that).
|
18
|
+
|
19
|
+
Generation of passwords like those from category #1 (with the benefit of being
|
20
|
+
easier to type) could probably also be done but this is a secondary objective
|
21
|
+
for the moment.
|
22
|
+
|
23
|
+
## Installation
|
24
|
+
|
25
|
+
Add this line to your application's Gemfile:
|
26
|
+
|
27
|
+
gem 'bluecherries'
|
28
|
+
|
29
|
+
And then execute:
|
30
|
+
|
31
|
+
$ bundle
|
32
|
+
|
33
|
+
Or install it yourself as:
|
34
|
+
|
35
|
+
$ gem install bluecherries
|
36
|
+
|
37
|
+
## Usage
|
38
|
+
|
39
|
+
TODO: Make the gem do something before writing usage instructions.
|
40
|
+
|
41
|
+
## Contributing
|
42
|
+
|
43
|
+
1. Fork it
|
44
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
45
|
+
3. Commit your changes (`git commit -am 'Add some feature'`)
|
46
|
+
4. Push to the branch (`git push origin my-new-feature`)
|
47
|
+
5. Create new Pull Request
|
data/Rakefile
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require "bundler/gem_tasks"
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'bluecherries/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "bluecherries"
|
8
|
+
spec.version = BlueCherries::VERSION
|
9
|
+
spec.authors = ["linduxed"]
|
10
|
+
spec.email = ["linduxed@gmail.com"]
|
11
|
+
spec.description = %q{Goes through a dictionary of available words and then ranks these according to how easy they are to type on a provided keyboard layout. A password is then generated by combining top ranked words.}
|
12
|
+
spec.summary = %q{Generates passwords that are easy to type.}
|
13
|
+
spec.homepage = "https://github.com/linduxed/bluecherries"
|
14
|
+
spec.license = "WTFPL"
|
15
|
+
|
16
|
+
spec.files = `git ls-files`.split($/)
|
17
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
|
+
spec.require_paths = ["lib"]
|
20
|
+
|
21
|
+
spec.add_development_dependency "bundler", "~> 1.3"
|
22
|
+
spec.add_development_dependency "rake"
|
23
|
+
end
|
data/lib/bluecherries.rb
ADDED
metadata
ADDED
@@ -0,0 +1,82 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: bluecherries
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- linduxed
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2013-06-24 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ~>
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.3'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ~>
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.3'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
description: Goes through a dictionary of available words and then ranks these according
|
42
|
+
to how easy they are to type on a provided keyboard layout. A password is then generated
|
43
|
+
by combining top ranked words.
|
44
|
+
email:
|
45
|
+
- linduxed@gmail.com
|
46
|
+
executables: []
|
47
|
+
extensions: []
|
48
|
+
extra_rdoc_files: []
|
49
|
+
files:
|
50
|
+
- Gemfile
|
51
|
+
- LICENSE.txt
|
52
|
+
- README.md
|
53
|
+
- Rakefile
|
54
|
+
- bluecherries.gemspec
|
55
|
+
- lib/bluecherries.rb
|
56
|
+
- lib/bluecherries/version.rb
|
57
|
+
homepage: https://github.com/linduxed/bluecherries
|
58
|
+
licenses:
|
59
|
+
- WTFPL
|
60
|
+
metadata: {}
|
61
|
+
post_install_message:
|
62
|
+
rdoc_options: []
|
63
|
+
require_paths:
|
64
|
+
- lib
|
65
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - '>='
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0'
|
70
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
71
|
+
requirements:
|
72
|
+
- - '>='
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: '0'
|
75
|
+
requirements: []
|
76
|
+
rubyforge_project:
|
77
|
+
rubygems_version: 2.0.2
|
78
|
+
signing_key:
|
79
|
+
specification_version: 4
|
80
|
+
summary: Generates passwords that are easy to type.
|
81
|
+
test_files: []
|
82
|
+
has_rdoc:
|