locksmith 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.
@@ -0,0 +1,5 @@
1
+ lib/**/*.rb
2
+ bin/*
3
+ -
4
+ features/**/*.feature
5
+ LICENSE.txt
data/.rspec ADDED
@@ -0,0 +1 @@
1
+ --color
data/Gemfile ADDED
@@ -0,0 +1,10 @@
1
+ source "http://rubygems.org"
2
+
3
+ gem 'tuwaga', '>= 0.0.3'
4
+
5
+ group :development do
6
+ gem "rspec", "~> 2.3.0"
7
+ gem "bundler", "~> 1.0.0"
8
+ gem "jeweler", "~> 1.5.2"
9
+ gem "rcov", ">= 0"
10
+ end
@@ -0,0 +1,30 @@
1
+ GEM
2
+ remote: http://rubygems.org/
3
+ specs:
4
+ diff-lcs (1.1.2)
5
+ git (1.2.5)
6
+ jeweler (1.5.2)
7
+ bundler (~> 1.0.0)
8
+ git (>= 1.2.5)
9
+ rake
10
+ rake (0.8.7)
11
+ rcov (0.9.9)
12
+ rspec (2.3.0)
13
+ rspec-core (~> 2.3.0)
14
+ rspec-expectations (~> 2.3.0)
15
+ rspec-mocks (~> 2.3.0)
16
+ rspec-core (2.3.1)
17
+ rspec-expectations (2.3.0)
18
+ diff-lcs (~> 1.1.2)
19
+ rspec-mocks (2.3.0)
20
+ tuwaga (0.0.3)
21
+
22
+ PLATFORMS
23
+ ruby
24
+
25
+ DEPENDENCIES
26
+ bundler (~> 1.0.0)
27
+ jeweler (~> 1.5.2)
28
+ rcov
29
+ rspec (~> 2.3.0)
30
+ tuwaga (>= 0.0.3)
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2011 Yehezkiel Syamsuhadi
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,19 @@
1
+ = locksmith
2
+
3
+ Given a private password, domain name and optionally username, this library will generate a new password using a combination of alphabets, numbers and symbols.
4
+
5
+ == Contributing to locksmith
6
+
7
+ * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
8
+ * Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it
9
+ * Fork the project
10
+ * Start a feature/bugfix branch
11
+ * Commit and push until you are happy with your contribution
12
+ * Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
13
+ * Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
14
+
15
+ == Copyright
16
+
17
+ Copyright (c) 2011 Yehezkiel Syamsuhadi. See LICENSE.txt for
18
+ further details.
19
+
@@ -0,0 +1,50 @@
1
+ require 'rubygems'
2
+ require 'bundler'
3
+ begin
4
+ Bundler.setup(:default, :development)
5
+ rescue Bundler::BundlerError => e
6
+ $stderr.puts e.message
7
+ $stderr.puts "Run `bundle install` to install missing gems"
8
+ exit e.status_code
9
+ end
10
+ require 'rake'
11
+
12
+ require 'jeweler'
13
+ Jeweler::Tasks.new do |gem|
14
+ # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
15
+ gem.name = "locksmith"
16
+ gem.homepage = "http://github.com/yehezkielbs/locksmith"
17
+ gem.license = "MIT"
18
+ gem.summary = %Q{Given a private password, domain name and optionally username, this library will generate a new password using a combination of alphabets, numbers and symbols.}
19
+ gem.description = %Q{Given a private password, domain name and optionally username, this library will generate a new password using a combination of alphabets, numbers and symbols.}
20
+ gem.email = "yehezkielbs@gmail.com"
21
+ gem.authors = ["Yehezkiel Syamsuhadi"]
22
+ # Include your dependencies below. Runtime dependencies are required when using your gem,
23
+ # and development dependencies are only needed for development (ie running rake tasks, tests, etc)
24
+ # gem.add_runtime_dependency 'jabber4r', '> 0.1'
25
+ # gem.add_development_dependency 'rspec', '> 1.2.3'
26
+ end
27
+ Jeweler::RubygemsDotOrgTasks.new
28
+
29
+ require 'rspec/core'
30
+ require 'rspec/core/rake_task'
31
+ RSpec::Core::RakeTask.new(:spec) do |spec|
32
+ spec.pattern = FileList['spec/**/*_spec.rb']
33
+ end
34
+
35
+ RSpec::Core::RakeTask.new(:rcov) do |spec|
36
+ spec.pattern = 'spec/**/*_spec.rb'
37
+ spec.rcov = true
38
+ end
39
+
40
+ task :default => :spec
41
+
42
+ require 'rake/rdoctask'
43
+ Rake::RDocTask.new do |rdoc|
44
+ version = File.exist?('VERSION') ? File.read('VERSION') : ""
45
+
46
+ rdoc.rdoc_dir = 'rdoc'
47
+ rdoc.title = "locksmith #{version}"
48
+ rdoc.rdoc_files.include('README*')
49
+ rdoc.rdoc_files.include('lib/**/*.rb')
50
+ end
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 0.0.1
@@ -0,0 +1,103 @@
1
+ require 'rubygems'
2
+ require 'tuwaga'
3
+ require 'digest/md5'
4
+
5
+ class Locksmith
6
+ attr_accessor :private_password, :domain, :username
7
+ attr_reader :errors
8
+
9
+ @@alpha_hex = Tuwaga.new(16, 'abcdefghijklmnop')
10
+ @@symbol_hex = Tuwaga.new(16, '~!@#$%^&*()_+-={')
11
+ @@hex = Tuwaga.new(16)
12
+
13
+ def initialize private_password, domain, username, options
14
+ @private_password = private_password
15
+ @domain = domain
16
+ @username = username
17
+ @use_alphabet = options[:use_alphabet]
18
+ @use_number = options[:use_number]
19
+ @use_symbol = options[:use_symbol]
20
+
21
+ @errors = []
22
+ end
23
+
24
+ def use_alphabet?
25
+ @use_alphabet
26
+ end
27
+
28
+ def use_alphabet= use_alphabet
29
+ @use_alphabet = use_alphabet
30
+ end
31
+
32
+ def use_number?
33
+ @use_number
34
+ end
35
+
36
+ def use_number= use_number
37
+ @use_number = use_number
38
+ end
39
+
40
+ def use_symbol?
41
+ @use_symbol
42
+ end
43
+
44
+ def use_symbol= use_symbol
45
+ @use_symbol = use_symbol
46
+ end
47
+
48
+ def valid?
49
+ @errors = []
50
+
51
+ if !@private_password || @private_password.empty?
52
+ @errors << 'private password is required'
53
+ end
54
+
55
+ if !@domain || @domain.empty?
56
+ @errors << 'domain is required'
57
+ end
58
+
59
+ if !@use_alphabet && !@use_number && !@use_symbol
60
+ @errors << 'at least on of use_alphabet, use_number or use_symbol must be true'
61
+ end
62
+
63
+ (@errors.length == 0)
64
+ end
65
+
66
+ def generated_password
67
+ if valid?
68
+ raw = @private_password + @domain + (@username || '')
69
+ hex_string = Digest::MD5.hexdigest(raw)
70
+
71
+ result = ''
72
+
73
+ if @use_alphabet
74
+ result += @@alpha_hex.convert_from(hex_string[0, 1], @@hex).upcase
75
+ hex_string = hex_string[1, (hex_string.length - 1)]
76
+
77
+ result += @@alpha_hex.convert_from(hex_string[0, 1], @@hex).downcase
78
+ hex_string = hex_string[1, (hex_string.length - 1)]
79
+ end
80
+
81
+ if @use_number
82
+ result += @@hex.to_decimal(hex_string[0, 1]).to_s
83
+ hex_string = hex_string[1, (hex_string.length - 1)]
84
+ end
85
+
86
+ if @use_symbol
87
+ result += @@symbol_hex.convert_from(hex_string[0, 1], @@hex)
88
+ hex_string = hex_string[1, (hex_string.length - 1)]
89
+ end
90
+
91
+ base_x_symbols = ''
92
+ base_x_symbols += 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ' if @use_alphabet
93
+ base_x_symbols += '0123456789' if @use_number
94
+ base_x_symbols += '~!@#$%^&*()_+-={}|[]\\;\':"<>?,./' if @use_symbol
95
+ base_x = Tuwaga.new(base_x_symbols.length, base_x_symbols)
96
+ result += base_x.convert_from(hex_string, @@hex)
97
+
98
+ result
99
+ else
100
+ raise('Can not generate password: ' + @errors.join(', '))
101
+ end
102
+ end
103
+ end
@@ -0,0 +1,67 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = %q{locksmith}
8
+ s.version = "0.0.1"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Yehezkiel Syamsuhadi"]
12
+ s.date = %q{2011-02-22}
13
+ s.description = %q{Given a private password, domain name and optionally username, this library will generate a new password using a combination of alphabets, numbers and symbols.}
14
+ s.email = %q{yehezkielbs@gmail.com}
15
+ s.extra_rdoc_files = [
16
+ "LICENSE.txt",
17
+ "README.rdoc"
18
+ ]
19
+ s.files = [
20
+ ".document",
21
+ ".rspec",
22
+ "Gemfile",
23
+ "Gemfile.lock",
24
+ "LICENSE.txt",
25
+ "README.rdoc",
26
+ "Rakefile",
27
+ "VERSION",
28
+ "lib/locksmith.rb",
29
+ "locksmith.gemspec",
30
+ "spec/locksmith_spec.rb",
31
+ "spec/spec_helper.rb"
32
+ ]
33
+ s.homepage = %q{http://github.com/yehezkielbs/locksmith}
34
+ s.licenses = ["MIT"]
35
+ s.require_paths = ["lib"]
36
+ s.rubygems_version = %q{1.4.2}
37
+ s.summary = %q{Given a private password, domain name and optionally username, this library will generate a new password using a combination of alphabets, numbers and symbols.}
38
+ s.test_files = [
39
+ "spec/locksmith_spec.rb",
40
+ "spec/spec_helper.rb"
41
+ ]
42
+
43
+ if s.respond_to? :specification_version then
44
+ s.specification_version = 3
45
+
46
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
47
+ s.add_runtime_dependency(%q<tuwaga>, [">= 0.0.3"])
48
+ s.add_development_dependency(%q<rspec>, ["~> 2.3.0"])
49
+ s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
50
+ s.add_development_dependency(%q<jeweler>, ["~> 1.5.2"])
51
+ s.add_development_dependency(%q<rcov>, [">= 0"])
52
+ else
53
+ s.add_dependency(%q<tuwaga>, [">= 0.0.3"])
54
+ s.add_dependency(%q<rspec>, ["~> 2.3.0"])
55
+ s.add_dependency(%q<bundler>, ["~> 1.0.0"])
56
+ s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
57
+ s.add_dependency(%q<rcov>, [">= 0"])
58
+ end
59
+ else
60
+ s.add_dependency(%q<tuwaga>, [">= 0.0.3"])
61
+ s.add_dependency(%q<rspec>, ["~> 2.3.0"])
62
+ s.add_dependency(%q<bundler>, ["~> 1.0.0"])
63
+ s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
64
+ s.add_dependency(%q<rcov>, [">= 0"])
65
+ end
66
+ end
67
+
@@ -0,0 +1,135 @@
1
+ require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
2
+
3
+ describe 'Locksmith' do
4
+ before(:each) do
5
+ @private_password = 'private_password'
6
+ @domain = 'domain'
7
+ @username = 'username'
8
+ @options = {
9
+ :use_alphabet => true,
10
+ :use_number => true,
11
+ :use_symbol => true
12
+ }
13
+ @locksmith = Locksmith.new(@private_password, @domain, @username, @options)
14
+ end
15
+
16
+ it 'should save the attributes' do
17
+ @locksmith.private_password.should == @private_password
18
+ @locksmith.domain.should == @domain
19
+ @locksmith.username.should == @username
20
+ @locksmith.use_alphabet?.should == true
21
+ @locksmith.use_number?.should == true
22
+ @locksmith.use_symbol?.should == true
23
+ end
24
+
25
+ it 'should be able to change the attributes' do
26
+ [:private_password, :domain, :username].each do |attribute|
27
+ @locksmith.send(attribute).should == instance_variable_get('@' + attribute.to_s)
28
+
29
+ setter_name = attribute.to_s + '='
30
+ new_value = 'new ' + attribute.to_s
31
+ @locksmith.send(setter_name.to_sym, new_value)
32
+ @locksmith.send(attribute).should == new_value
33
+ end
34
+ [:use_alphabet, :use_number, :use_symbol].each do |attribute|
35
+ getter_name = attribute.to_s + '?'
36
+ @locksmith.send(getter_name.to_sym).should == @options[attribute]
37
+
38
+ setter_name = attribute.to_s + '='
39
+ new_value = 'new ' + attribute.to_s
40
+ @locksmith.send(setter_name.to_sym, new_value)
41
+ @locksmith.send(getter_name.to_sym).should == new_value
42
+ end
43
+ end
44
+
45
+ describe 'validation' do
46
+ it 'should be able to validate' do
47
+ @locksmith.valid?.should == true
48
+ @locksmith.errors.should == []
49
+ end
50
+
51
+ it 'should check the existance of private_password' do
52
+ @locksmith.private_password = ''
53
+ @locksmith.valid?.should == false
54
+ @locksmith.errors.should == ['private password is required']
55
+ end
56
+
57
+ it 'should check the existance of domain' do
58
+ @locksmith.domain = ''
59
+ @locksmith.valid?.should == false
60
+ @locksmith.errors.should == ['domain is required']
61
+ end
62
+
63
+ it 'at least one of use_alphabet or use_number or use_symbol must be true' do
64
+ @locksmith.use_alphabet = false
65
+ @locksmith.use_number = false
66
+ @locksmith.use_symbol = false
67
+ @locksmith.valid?.should == false
68
+ @locksmith.errors.should == ['at least on of use_alphabet, use_number or use_symbol must be true']
69
+ end
70
+ end
71
+
72
+ describe 'password generation' do
73
+ it 'should raise exception if it is not valid' do
74
+ @locksmith.domain = nil
75
+ lambda { @locksmith.generated_password }.should raise_error('Can not generate password: domain is required')
76
+ end
77
+
78
+ it 'should generate password if it is valid' do
79
+ @locksmith.generated_password.should_not be_nil
80
+ @locksmith.generated_password.should_not == ''
81
+ end
82
+
83
+ it 'should generate the same password if the attributes are the same' do
84
+ previous_password = @locksmith.generated_password
85
+ @locksmith.generated_password.should == previous_password
86
+ end
87
+
88
+ it 'should generate the different password if the attributes are not the same' do
89
+ previous_password = @locksmith.generated_password
90
+ @locksmith.domain = 'domain1'
91
+ @locksmith.generated_password.should_not == previous_password
92
+
93
+ previous_password = @locksmith.generated_password
94
+ @locksmith.private_password = 'private_password1'
95
+ @locksmith.generated_password.should_not == previous_password
96
+
97
+ previous_password = @locksmith.generated_password
98
+ @locksmith.username = 'username1'
99
+ @locksmith.generated_password.should_not == previous_password
100
+ end
101
+
102
+ it 'should start with upper case alphabet followed by lower case alphabet' do
103
+ @locksmith.generated_password.should match /^[A-Z][a-z]/
104
+ end
105
+
106
+ it 'should have alphabet, number, symbol in the first six characters' do
107
+ beginning = @locksmith.generated_password[0, 6]
108
+ beginning.should match /[a-z]/
109
+ beginning.should match /[A-Z]/
110
+ beginning.should match /\d/
111
+ beginning.should match /[~!@#\$%^&*()_+-={}|\[\]\\;':"<>?,.\/]/
112
+ end
113
+
114
+ it 'should generate alphabetic only password if requested' do
115
+ @locksmith.use_alphabet = true
116
+ @locksmith.use_number = false
117
+ @locksmith.use_symbol = false
118
+ @locksmith.generated_password.should match /^[A-Z][a-z][a-zA-Z]+$/
119
+ end
120
+
121
+ it 'should generate numeric only password if requested' do
122
+ @locksmith.use_alphabet = false
123
+ @locksmith.use_number = true
124
+ @locksmith.use_symbol = false
125
+ @locksmith.generated_password.should match /^\d+$/
126
+ end
127
+
128
+ it 'should generate symbolic only password if requested' do
129
+ @locksmith.use_alphabet = false
130
+ @locksmith.use_number = false
131
+ @locksmith.use_symbol = true
132
+ @locksmith.generated_password.should match /^[~!@#\$%^&*()_+-={}|\[\]\\;':"<>?,.\/]+$/
133
+ end
134
+ end
135
+ end
@@ -0,0 +1,12 @@
1
+ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
2
+ $LOAD_PATH.unshift(File.dirname(__FILE__))
3
+ require 'rspec'
4
+ require 'locksmith'
5
+
6
+ # Requires supporting files with custom matchers and macros, etc,
7
+ # in ./support/ and its subdirectories.
8
+ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}
9
+
10
+ RSpec.configure do |config|
11
+
12
+ end
metadata ADDED
@@ -0,0 +1,157 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: locksmith
3
+ version: !ruby/object:Gem::Version
4
+ hash: 29
5
+ prerelease:
6
+ segments:
7
+ - 0
8
+ - 0
9
+ - 1
10
+ version: 0.0.1
11
+ platform: ruby
12
+ authors:
13
+ - Yehezkiel Syamsuhadi
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain: []
17
+
18
+ date: 2011-02-22 00:00:00 +11:00
19
+ default_executable:
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
22
+ prerelease: false
23
+ name: tuwaga
24
+ type: :runtime
25
+ version_requirements: &id001 !ruby/object:Gem::Requirement
26
+ none: false
27
+ requirements:
28
+ - - ">="
29
+ - !ruby/object:Gem::Version
30
+ hash: 25
31
+ segments:
32
+ - 0
33
+ - 0
34
+ - 3
35
+ version: 0.0.3
36
+ requirement: *id001
37
+ - !ruby/object:Gem::Dependency
38
+ prerelease: false
39
+ name: rspec
40
+ type: :development
41
+ version_requirements: &id002 !ruby/object:Gem::Requirement
42
+ none: false
43
+ requirements:
44
+ - - ~>
45
+ - !ruby/object:Gem::Version
46
+ hash: 3
47
+ segments:
48
+ - 2
49
+ - 3
50
+ - 0
51
+ version: 2.3.0
52
+ requirement: *id002
53
+ - !ruby/object:Gem::Dependency
54
+ prerelease: false
55
+ name: bundler
56
+ type: :development
57
+ version_requirements: &id003 !ruby/object:Gem::Requirement
58
+ none: false
59
+ requirements:
60
+ - - ~>
61
+ - !ruby/object:Gem::Version
62
+ hash: 23
63
+ segments:
64
+ - 1
65
+ - 0
66
+ - 0
67
+ version: 1.0.0
68
+ requirement: *id003
69
+ - !ruby/object:Gem::Dependency
70
+ prerelease: false
71
+ name: jeweler
72
+ type: :development
73
+ version_requirements: &id004 !ruby/object:Gem::Requirement
74
+ none: false
75
+ requirements:
76
+ - - ~>
77
+ - !ruby/object:Gem::Version
78
+ hash: 7
79
+ segments:
80
+ - 1
81
+ - 5
82
+ - 2
83
+ version: 1.5.2
84
+ requirement: *id004
85
+ - !ruby/object:Gem::Dependency
86
+ prerelease: false
87
+ name: rcov
88
+ type: :development
89
+ version_requirements: &id005 !ruby/object:Gem::Requirement
90
+ none: false
91
+ requirements:
92
+ - - ">="
93
+ - !ruby/object:Gem::Version
94
+ hash: 3
95
+ segments:
96
+ - 0
97
+ version: "0"
98
+ requirement: *id005
99
+ description: Given a private password, domain name and optionally username, this library will generate a new password using a combination of alphabets, numbers and symbols.
100
+ email: yehezkielbs@gmail.com
101
+ executables: []
102
+
103
+ extensions: []
104
+
105
+ extra_rdoc_files:
106
+ - LICENSE.txt
107
+ - README.rdoc
108
+ files:
109
+ - .document
110
+ - .rspec
111
+ - Gemfile
112
+ - Gemfile.lock
113
+ - LICENSE.txt
114
+ - README.rdoc
115
+ - Rakefile
116
+ - VERSION
117
+ - lib/locksmith.rb
118
+ - locksmith.gemspec
119
+ - spec/locksmith_spec.rb
120
+ - spec/spec_helper.rb
121
+ has_rdoc: true
122
+ homepage: http://github.com/yehezkielbs/locksmith
123
+ licenses:
124
+ - MIT
125
+ post_install_message:
126
+ rdoc_options: []
127
+
128
+ require_paths:
129
+ - lib
130
+ required_ruby_version: !ruby/object:Gem::Requirement
131
+ none: false
132
+ requirements:
133
+ - - ">="
134
+ - !ruby/object:Gem::Version
135
+ hash: 3
136
+ segments:
137
+ - 0
138
+ version: "0"
139
+ required_rubygems_version: !ruby/object:Gem::Requirement
140
+ none: false
141
+ requirements:
142
+ - - ">="
143
+ - !ruby/object:Gem::Version
144
+ hash: 3
145
+ segments:
146
+ - 0
147
+ version: "0"
148
+ requirements: []
149
+
150
+ rubyforge_project:
151
+ rubygems_version: 1.4.2
152
+ signing_key:
153
+ specification_version: 3
154
+ summary: Given a private password, domain name and optionally username, this library will generate a new password using a combination of alphabets, numbers and symbols.
155
+ test_files:
156
+ - spec/locksmith_spec.rb
157
+ - spec/spec_helper.rb