to_pass 0.9.0 → 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.
- data/.gemtest +0 -0
- data/.travis.yml +1 -0
- data/.vclog/rules.rb +35 -0
- data/.yardopts +6 -0
- data/Gemfile +14 -0
- data/README.rdoc +1 -1
- data/Rakefile +144 -0
- data/TODO +9 -23
- data/bin/password_of +1 -5
- data/bin/to_pass +1 -5
- data/data/to_pass/config +1 -1
- data/doc/CHANGELOG +209 -94
- data/lib/to_pass/algorithm_reader.rb +1 -1
- data/lib/to_pass/base.rb +2 -1
- data/lib/to_pass/cli.rb +41 -16
- data/lib/to_pass/directories.rb +31 -2
- data/lib/to_pass/file_reader.rb +2 -2
- data/lib/to_pass/version.rb +1 -1
- data/setup.rb +1368 -0
- data/test/fixtures/user_config +3 -0
- data/test/helper.rb +64 -9
- data/test/test_base.rb +8 -24
- data/test/test_cli.rb +66 -27
- data/test/test_configs.rb +11 -4
- data/test/test_directories.rb +48 -0
- data/test/tests.watchr +4 -1
- data/to_pass.gemspec +34 -0
- metadata +18 -6
data/.gemtest
ADDED
File without changes
|
data/.travis.yml
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
script: "rake test:all"
|
data/.vclog/rules.rb
ADDED
@@ -0,0 +1,35 @@
|
|
1
|
+
set :major, 1, "Major Enhancements"
|
2
|
+
# set :general, 0, General Enhancements (or so)
|
3
|
+
set :bug, -1, "Bug Fixes"
|
4
|
+
set :minor, -2, "Minor Enhancements, Refactorings and Cleanups"
|
5
|
+
set :admin, -3, "Administrative Changes"
|
6
|
+
|
7
|
+
on /(Bug|bug|fix |fixed)/ do
|
8
|
+
:bug
|
9
|
+
end
|
10
|
+
|
11
|
+
on /move|change|corrected/ do
|
12
|
+
:minor
|
13
|
+
end
|
14
|
+
on /cleanup|housekeeping|refactor|extract|abstract/ do
|
15
|
+
:minor
|
16
|
+
end
|
17
|
+
|
18
|
+
on /(^updated|TODO)/ do
|
19
|
+
:admin
|
20
|
+
end
|
21
|
+
on /bump|tag|Merge branch/i do
|
22
|
+
:admin
|
23
|
+
end
|
24
|
+
on /comment|year|github/ do
|
25
|
+
:admin
|
26
|
+
end
|
27
|
+
|
28
|
+
# on /^(\w+):/ do |word|
|
29
|
+
# word.to_sym
|
30
|
+
# end
|
31
|
+
#
|
32
|
+
# on /\[(\w+)\]\s*$/ do |word|
|
33
|
+
# word.to_sym
|
34
|
+
# end
|
35
|
+
|
data/.yardopts
ADDED
data/Gemfile
ADDED
data/README.rdoc
CHANGED
@@ -19,7 +19,7 @@ to_pass is distributed as rubygem
|
|
19
19
|
If you want to install from source, you can download a tarball or zipfile from
|
20
20
|
github.
|
21
21
|
|
22
|
-
$ curl -L https://github.com/kronn/to_pass/tarball/
|
22
|
+
$ curl -L https://github.com/kronn/to_pass/tarball/v1.0.0 -o to_pass.tar.gz
|
23
23
|
$ tar -xzf to_pass.tar.gz
|
24
24
|
$ cd kronn-to_pass-HASHVALUE
|
25
25
|
$ ./setup.rb install
|
data/Rakefile
ADDED
@@ -0,0 +1,144 @@
|
|
1
|
+
# vim:ft=ruby:fileencoding=utf-8
|
2
|
+
|
3
|
+
# documentation tasks
|
4
|
+
begin
|
5
|
+
desc 'rebuild documentation'
|
6
|
+
task :doc do
|
7
|
+
[:'documentation:rdoc', :'documentation:man', :'documentation:vclog'].each do |task_symbol|
|
8
|
+
task = Rake::Task[task_symbol]
|
9
|
+
task.invoke unless task.nil?
|
10
|
+
end
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
14
|
+
namespace :documentation do
|
15
|
+
begin
|
16
|
+
require 'sdoc'
|
17
|
+
rescue LoadError
|
18
|
+
end
|
19
|
+
|
20
|
+
begin
|
21
|
+
require 'rake/rdoctask'
|
22
|
+
Rake::RDocTask.new() do |rdoc|
|
23
|
+
require File.expand_path('../lib/to_pass/version', __FILE__)
|
24
|
+
|
25
|
+
rdoc.rdoc_dir = 'doc/rdoc'
|
26
|
+
rdoc.title = "#{ToPass::APP_NAME} #{ToPass::VERSION}"
|
27
|
+
rdoc.options << '--fmt=shtml'
|
28
|
+
rdoc.options << '--all'
|
29
|
+
rdoc.options << '--charset=utf-8'
|
30
|
+
rdoc.template = 'direct'
|
31
|
+
|
32
|
+
ToPass::EXTRA_RDOC_FILES.each do |file|
|
33
|
+
rdoc.rdoc_files.include(file)
|
34
|
+
end
|
35
|
+
rdoc.rdoc_files.include('lib/**/*.rb')
|
36
|
+
rdoc.rdoc_files.include('data/**/*.rb')
|
37
|
+
end
|
38
|
+
rescue LoadError
|
39
|
+
end
|
40
|
+
|
41
|
+
begin
|
42
|
+
require 'ronn'
|
43
|
+
|
44
|
+
desc 'generate manpages for project'
|
45
|
+
task :man do
|
46
|
+
[1,5].each do |section|
|
47
|
+
files = Dir["./man/*#{section}.ronn"]
|
48
|
+
`ronn --html --roff --style=toc #{files.join(' ')}`
|
49
|
+
target_dir = "./man/man#{section}/"
|
50
|
+
FileUtils.mkdir_p target_dir
|
51
|
+
FileUtils.mv Dir["./man/*.#{section}.html"], target_dir
|
52
|
+
FileUtils.mv Dir["./man/*.#{section}"], target_dir
|
53
|
+
end
|
54
|
+
end
|
55
|
+
rescue LoadError
|
56
|
+
end
|
57
|
+
|
58
|
+
if Gem.available?('vclog')
|
59
|
+
desc 'generate changelog from commit-messages'
|
60
|
+
task :vclog do
|
61
|
+
puts 'Generating CHANGELOG...'
|
62
|
+
`vclog release -f gnu -l '-2' > doc/CHANGELOG`
|
63
|
+
end
|
64
|
+
end
|
65
|
+
end
|
66
|
+
|
67
|
+
desc "run tests"
|
68
|
+
task :test => :'test:normal'
|
69
|
+
|
70
|
+
namespace :test do
|
71
|
+
task :normal do
|
72
|
+
require File.expand_path('../test/all', __FILE__)
|
73
|
+
end
|
74
|
+
|
75
|
+
desc "run benchmarked tests"
|
76
|
+
task :benchmark do
|
77
|
+
ENV['BENCHMARK'] = 'yes'
|
78
|
+
Rake::Task[:'test:normal'].invoke
|
79
|
+
end
|
80
|
+
|
81
|
+
desc "run tests from a separated directory"
|
82
|
+
task :standalone do
|
83
|
+
begin
|
84
|
+
puts 'installing for standalone-tests'
|
85
|
+
system('ruby ./setup.rb install 1>/dev/null')
|
86
|
+
FileUtils.mkdir_p(stand_alone_test_path)
|
87
|
+
FileUtils.cp_r('./test/.', stand_alone_test_path)
|
88
|
+
FileUtils.cd(stand_alone_test_path) do
|
89
|
+
STDOUT.sync = true
|
90
|
+
system('RUBYOPTS="" ruby all.rb')
|
91
|
+
@standalone_result = $?
|
92
|
+
end
|
93
|
+
ensure
|
94
|
+
Rake::Task[:'test:cleanup'].invoke
|
95
|
+
end
|
96
|
+
end
|
97
|
+
task :cleanup do
|
98
|
+
puts 'cleanup installation for standalone-tests'
|
99
|
+
FileUtils.rm_rf(stand_alone_test_path, :secure => true)
|
100
|
+
system('ruby ./setup.rb uninstall --force 1>/dev/null')
|
101
|
+
end
|
102
|
+
|
103
|
+
desc "run complete tests (for CI)"
|
104
|
+
task :all do
|
105
|
+
# shelling out to ensure the tests run now, not at_exit
|
106
|
+
puts 'running normal testsuite'
|
107
|
+
system('rake test:normal')
|
108
|
+
normal_result = $?
|
109
|
+
|
110
|
+
puts 'running standalone tests'
|
111
|
+
Rake::Task[:'test:standalone'].invoke
|
112
|
+
Rake::Task[:'test:cleanup'].invoke
|
113
|
+
|
114
|
+
exit(exit_state(normal_result, @standalone_result))
|
115
|
+
end
|
116
|
+
|
117
|
+
def exit_state(normal, standalone)
|
118
|
+
if normal and normal.exited? and standalone and standalone.exited?
|
119
|
+
normal.exitstatus.to_i + standalone.exitstatus.to_i
|
120
|
+
else
|
121
|
+
1
|
122
|
+
end
|
123
|
+
end
|
124
|
+
|
125
|
+
def stand_alone_test_path
|
126
|
+
'./tmp/stand_alone_tests/'
|
127
|
+
end
|
128
|
+
end
|
129
|
+
|
130
|
+
desc "list available algorithms"
|
131
|
+
task :algorithms, :needs => [:to_pass] do
|
132
|
+
ToPass::Cli.algorithms
|
133
|
+
end
|
134
|
+
|
135
|
+
desc "list available converters"
|
136
|
+
task :converters, :needs => [:to_pass] do
|
137
|
+
ToPass::Cli.converters
|
138
|
+
end
|
139
|
+
|
140
|
+
task :to_pass do
|
141
|
+
require File.expand_path('../lib/to_pass', __FILE__)
|
142
|
+
end
|
143
|
+
|
144
|
+
task :default => :test
|
data/TODO
CHANGED
@@ -1,35 +1,21 @@
|
|
1
1
|
CURRENT
|
2
2
|
============================================================================
|
3
|
-
✔
|
4
|
-
- Improve CLI-Code
|
5
|
-
✔ rescue OptionParser::InvalidOption with help screen
|
6
|
-
✔ add ability to execute commands == handle CLI with Thor ?
|
7
|
-
=> done with switches to avoid having a transform command
|
8
|
-
✔ add command to output available converters
|
9
|
-
✔ add command to output available algorithms
|
10
|
-
- add option '-c, --config PATH - Configuration Path (default is ~/.to_pass)'
|
11
|
-
- add command to generate configuration path
|
12
|
-
✔ make default algorithm configurable in .to_passrc [kronn/to_pass GH-1]
|
13
|
-
|
3
|
+
✔ release 1.0.0, finally
|
14
4
|
|
15
5
|
UP NEXT
|
16
6
|
============================================================================
|
17
|
-
- make secure algorithm default
|
18
|
-
- make tests faster
|
19
|
-
- integrate better with YARD
|
20
|
-
- add the TODO file, the doc/ directory
|
21
|
-
- also show protected and private methods because I want to have a complete documentation
|
22
|
-
- make ConverterReader a better child of FileReader
|
23
7
|
|
24
8
|
|
25
9
|
SOMEDAY
|
26
10
|
============================================================================
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
11
|
+
- test on windows
|
12
|
+
- move decision wether a string is a word or a sentence into algorithm definition.
|
13
|
+
- add task to validate user supplied algorithms and converters
|
14
|
+
- check out and maybe integrate https://github.com/stephencelis/rdoctest
|
15
|
+
- i18n && l10n of messages
|
16
|
+
- ?? replace Rake with Thor
|
17
|
+
- make ConverterReader a better child of FileReader
|
18
|
+
- make tests faster
|
33
19
|
|
34
20
|
|
35
21
|
LEGEND
|
data/bin/password_of
CHANGED
data/bin/to_pass
CHANGED
data/data/to_pass/config
CHANGED
data/doc/CHANGELOG
CHANGED
@@ -1,83 +1,206 @@
|
|
1
1
|
RELEASE HISTORY
|
2
2
|
|
3
|
-
|
3
|
+
v1.0.0 / 2011-02-15
|
4
|
+
|
5
|
+
release version 1.0.0, finally (Matthias Viehweger kronn@kronn.de)
|
6
|
+
|
7
|
+
Changes:
|
8
|
+
|
9
|
+
* 20 General Enhancements
|
10
|
+
|
11
|
+
* integrate with travis, potentially
|
12
|
+
* integrate better with YARD
|
13
|
+
* postpone things which are not urgent right now
|
14
|
+
* mark as done whats done
|
15
|
+
* add option to setup the configuration directory
|
16
|
+
* make the error-msg a little more readable
|
17
|
+
* ToPass::Directories[:all] is special like [:standard]
|
18
|
+
* enable custom config directory in cli
|
19
|
+
* enable options (currently: path) on ToPass::Base
|
20
|
+
* let the user_alg be copied to a custom directory
|
21
|
+
* added option to tweak the configuration path, not fully working but a help message for a nonexistant path is shown
|
22
|
+
* using Proc.new instead of &block
|
23
|
+
* add the ability to extend the directories which are searched
|
24
|
+
* make secure algorithm default
|
25
|
+
* correct path to supplied config in tests.watchr
|
26
|
+
* write down idea completely :)
|
27
|
+
* include all project files in gemspec (except for .gitignore) for gemtest and completeness
|
28
|
+
* add .gemtest to enable `gem test to_pass`
|
29
|
+
* make redgreen optional in Gemfile
|
30
|
+
* ToPass::Base#password returns the password
|
31
|
+
|
32
|
+
* 3 Bug Fixes
|
33
|
+
|
34
|
+
* fix wrongly setup test
|
35
|
+
* Bugfix to ensure the right directories are searched
|
36
|
+
* Bugfix: the directory-list should be generateable out of the box
|
37
|
+
|
38
|
+
* 8 Minor Enhancements, Refactorings and Cleanups
|
39
|
+
|
40
|
+
* add rake-task to regenerate the changelog with vclog
|
41
|
+
* change help message of to_pass -c /nonexistant
|
42
|
+
* extract directory creation/teardown into test-helper method
|
43
|
+
* change the search directory list for all file-readers
|
44
|
+
* reliably test user-configs and remove unnecessary defaults in executables
|
45
|
+
* housekeeping
|
46
|
+
* abstract the way fixtures are put into the filesystem (along with some improvements)
|
47
|
+
* extract user_dir into method
|
48
|
+
|
49
|
+
|
50
|
+
v0.9.0 / 2011-02-01
|
51
|
+
|
52
|
+
tag v0.9.0 (Matthias Viehweger <kronn@kronn.de>)
|
53
|
+
|
54
|
+
Changes:
|
55
|
+
|
56
|
+
* 9 General Enhancements
|
57
|
+
|
58
|
+
* IM IN UR PROJEKTZ, WATHCIN UR TESTZ
|
59
|
+
* made the filename optional and added some hard-coded defaults
|
60
|
+
* make default algorithm configurable in ~/.to_pass/config
|
61
|
+
* added a ConfigReader which can read the built-in configuration and (later on) user-supplied configurations
|
62
|
+
* added a basic file_reader-class which will be the basis for the algorithm- and converterreader
|
63
|
+
* added a note on how to make a gem purely optional (and, by accident) not installable through bundle install
|
64
|
+
* starting .to_passrc-feature
|
65
|
+
* added ability to output available algorithms and converters
|
66
|
+
* The test can now be run separated from the source-tree, thereby only testing the library itself. This is useful if you want to package the library, and reorganize the directory structure.
|
67
|
+
|
68
|
+
* 8 Minor Enhancements, Refactorings and Cleanups
|
69
|
+
|
70
|
+
* moved code around
|
71
|
+
* moved converter-testing into the right test-class
|
72
|
+
* moved configuration testing into its own test class
|
73
|
+
* changed ConverterReader to be a subclass of FileReader
|
74
|
+
* change AlgorithmReader to be a subclass of FileReader
|
75
|
+
* added some coded notes for a changeable configuration path
|
76
|
+
* moved output of converters into Cli-class
|
77
|
+
* moved output of algorithms into Cli-class
|
78
|
+
|
79
|
+
|
80
|
+
v0.8.0 / 2010-12-15
|
81
|
+
|
82
|
+
tag v0.8.0 (Matthias Viehweger <kronn@kronn.de>)
|
83
|
+
|
84
|
+
Changes:
|
85
|
+
|
86
|
+
* 12 General Enhancements
|
87
|
+
|
88
|
+
* append the lib-dir to the LOAD_PATH instead of the basedir
|
89
|
+
* try harder to discover the right to_pass for stand-alone tests
|
90
|
+
* use File.expand_path better
|
91
|
+
* let test run normal and stand-alone with one rake task
|
92
|
+
* express gemspec-test without using Pathname
|
93
|
+
* require Pathname in the test/helper to avoid loading issues
|
94
|
+
* working on rake test:standalone and planing a rake test:all
|
95
|
+
* added test:stand_alone Raketask
|
96
|
+
* added stand-alone tests
|
97
|
+
* Gemfile: group optional stuff in an 'optional' group
|
98
|
+
* rescue OptionParser::InvalidOption with help screen
|
99
|
+
* started development after 0.7.0
|
100
|
+
|
101
|
+
* 1 Bug Fixes
|
102
|
+
|
103
|
+
* fix vim-modelines
|
104
|
+
|
105
|
+
* 6 Minor Enhancements, Refactorings and Cleanups
|
106
|
+
|
107
|
+
* remove obsolete stand_alone-test directory
|
108
|
+
* extracted ruby_data_dir to cope with inconsistencies
|
109
|
+
* begin refactoring standalone-rake task
|
110
|
+
* move rake test to rake test:normal
|
111
|
+
* testcode change to have tests run separately
|
112
|
+
* corrected path to lib-directory
|
113
|
+
|
114
|
+
|
115
|
+
v0.7.0 / 2010-10-25
|
4
116
|
|
5
117
|
tag v0.7.0 (Matthias Viehweger <kronn@kronn.de>)
|
6
118
|
|
7
119
|
Changes:
|
8
120
|
|
9
|
-
*
|
121
|
+
* 18 General Enhancements
|
10
122
|
|
11
123
|
* setup the $LOAD_PATH better
|
12
124
|
* added ability to include RELEASE_NOTES (which are then also displayed after installing...)
|
13
125
|
* made gem-release an optional development dependency
|
14
|
-
* properly namespace documentation tasks in Rakefile
|
15
|
-
* add the ability to Benchmark tests
|
16
126
|
* added truly optional gems to Gemfile to have some means to install them
|
17
|
-
*
|
18
|
-
*
|
127
|
+
* add the ability to Benchmark tests
|
128
|
+
* properly namespace documentation tasks in Rakefile
|
19
129
|
* added doc/CHANGELOG
|
20
|
-
* moved LICENSE into doc directory
|
21
130
|
* declare the constants defensively
|
22
|
-
* move meta-information into version.rb-file
|
23
|
-
* updated idea/todo list
|
24
131
|
* include LICENSE again in Documentation
|
25
|
-
* move tests to [test/all, test/helper]-pattern
|
26
|
-
* the gem has all the files which are under version control
|
27
|
-
* ruby 1.9.2 compatibility
|
28
132
|
* don't rely on . being in $LOAD_PATH anymore (1.9.2 compat)
|
29
|
-
*
|
30
|
-
*
|
31
|
-
* fixed manpage locations and links
|
133
|
+
* ruby 1.9.2 compatibility
|
134
|
+
* the gem has all the files which are under version control
|
32
135
|
* Version 0.6.0 brings mostly "debian compatiblity" as far as i can test it for now.
|
33
|
-
* added note on redgreen, which is purely optional
|
34
|
-
* documentation update
|
35
136
|
* include all methods in RDoc to make it actually useful
|
137
|
+
* documentation update
|
138
|
+
* added note on redgreen, which is purely optional
|
36
139
|
* added data-dir to gemspec
|
37
|
-
* extracted ToPass::DIRECTORIES into a real class
|
38
140
|
* assume Debian compatibility for now
|
39
141
|
|
142
|
+
* 3 Bug Fixes
|
143
|
+
|
144
|
+
* fixed typos
|
145
|
+
* fix vim-modeline (works as ruby 1.9 encoding-hint also)
|
146
|
+
* fixed manpage locations and links
|
147
|
+
|
148
|
+
* 6 Minor Enhancements, Refactorings and Cleanups
|
149
|
+
|
150
|
+
* moved list of extra_rdoc_files into version.rb
|
151
|
+
* moved LICENSE into doc directory
|
152
|
+
* move meta-information into version.rb-file
|
153
|
+
* move tests to [test/all, test/helper]-pattern
|
154
|
+
* removed redundant require
|
155
|
+
* extracted ToPass::DIRECTORIES into a real class
|
156
|
+
|
40
157
|
|
41
|
-
v0.6.0 / 2010-08-
|
158
|
+
v0.6.0 / 2010-08-19
|
42
159
|
|
43
160
|
tag v0.6.0 (Matthias Viehweger <kronn@kronn.de>)
|
44
161
|
|
45
162
|
Changes:
|
46
163
|
|
47
|
-
*
|
164
|
+
* 8 General Enhancements
|
48
165
|
|
49
166
|
* check off 'use setup.rb' as this part works
|
50
167
|
* added setup.rb-leftovers to .gitignore
|
51
|
-
* updated TODO
|
52
168
|
* ronn is a development dependency
|
53
|
-
* move manpages into the right directory after creation for setup.rb compatibility
|
54
|
-
* fix typo and whitespace in setup.rb
|
55
|
-
* moved algorithms and converters into namespaced data-dirs
|
56
169
|
* added setup.rb
|
57
|
-
* moved converters into the right place
|
58
170
|
* some documentation
|
59
|
-
* refactored reader-classes to use ToPass::DIRECTORIES
|
60
171
|
* rewrote the ToPass::DIRECTORIES-Table into an anonymous Class
|
61
172
|
* prepared central lookup point for directories
|
62
|
-
* moved algorithms into data-dir (think /usr/share/to_pass)
|
63
173
|
* last maintainance steps to go to version 0.5.2 and leave jeweler behind.
|
174
|
+
|
175
|
+
* 1 Bug Fixes
|
176
|
+
|
177
|
+
* fix typo and whitespace in setup.rb
|
178
|
+
|
179
|
+
* 6 Minor Enhancements, Refactorings and Cleanups
|
180
|
+
|
181
|
+
* move manpages into the right directory after creation for setup.rb compatibility
|
182
|
+
* moved algorithms and converters into namespaced data-dirs
|
183
|
+
* moved converters into the right place
|
184
|
+
* refactored reader-classes to use ToPass::DIRECTORIES
|
185
|
+
* moved algorithms into data-dir (think /usr/share/to_pass)
|
64
186
|
* removed jeweler-part of Rakefile
|
65
187
|
|
66
188
|
|
67
|
-
v0.5.2 / 2010-08-
|
189
|
+
v0.5.2 / 2010-08-10
|
68
190
|
|
69
191
|
tag v0.5.2 (Matthias Viehweger <kronn@kronn.de>)
|
70
192
|
|
71
193
|
Changes:
|
72
194
|
|
73
|
-
*
|
195
|
+
* 3 General Enhancements
|
74
196
|
|
75
|
-
* moved meta-information into version.rb
|
76
197
|
* rewrote gemspec to not depend on jeweler
|
77
198
|
* added jeweler-generated gemfile
|
78
199
|
* create a Gemfile with definitions from gemspec to install dependencies easier
|
79
|
-
|
80
|
-
|
200
|
+
|
201
|
+
* 1 Minor Enhancements, Refactorings and Cleanups
|
202
|
+
|
203
|
+
* moved meta-information into version.rb
|
81
204
|
|
82
205
|
|
83
206
|
v0.5.1 / 2010-07-26
|
@@ -86,11 +209,9 @@ Version bump to 0.5.1 (Matthias Viehweger kronn@kronn.de)
|
|
86
209
|
|
87
210
|
Changes:
|
88
211
|
|
89
|
-
*
|
212
|
+
* 1 Minor Enhancements, Refactorings and Cleanups
|
90
213
|
|
91
214
|
* changed behaviour of expand_below converter
|
92
|
-
* maintained TODO-list
|
93
|
-
* Version bump to 0.5.0
|
94
215
|
|
95
216
|
|
96
217
|
v0.5.0 / 2010-07-26
|
@@ -99,16 +220,13 @@ Version bump to 0.5.0 (Matthias Viehweger kronn@kronn.de)
|
|
99
220
|
|
100
221
|
Changes:
|
101
222
|
|
102
|
-
*
|
223
|
+
* 18 General Enhancements
|
103
224
|
|
104
225
|
* added tests for the bundled algorithms
|
105
226
|
* added converter "expand_below"
|
106
227
|
* added converter "reverse"
|
107
228
|
* added new converter ideas as empty tests
|
108
|
-
* refactored converters-test
|
109
229
|
* added a 'secure' algorithm which generate fairly secure passwords
|
110
|
-
* added remove_repetition converter
|
111
|
-
* moved downcase-test into converter-testcase
|
112
230
|
* pathnames in exception-messages should be readable
|
113
231
|
* added hint to password_of in manpage.
|
114
232
|
* finished to_pass-algorithm(5)
|
@@ -118,13 +236,20 @@ Changes:
|
|
118
236
|
* added draft for to_pass-algorithm(5)
|
119
237
|
* added to_pass-converter(5)
|
120
238
|
* add man index
|
121
|
-
* fix typos in to_pass(1)
|
122
239
|
* added Raketask to generate manpages
|
123
240
|
* added downcase converter
|
124
241
|
* added man page for to_pass(1)
|
125
242
|
* use the right binary name for the help output
|
126
|
-
|
127
|
-
|
243
|
+
|
244
|
+
* 1 Bug Fixes
|
245
|
+
|
246
|
+
* fix typos in to_pass(1)
|
247
|
+
|
248
|
+
* 3 Minor Enhancements, Refactorings and Cleanups
|
249
|
+
|
250
|
+
* refactored converters-test
|
251
|
+
* added remove_repetition converter
|
252
|
+
* moved downcase-test into converter-testcase
|
128
253
|
|
129
254
|
|
130
255
|
v0.4.0 / 2010-06-29
|
@@ -133,11 +258,10 @@ Version bump to 0.4.0 (Matthias Viehweger kronn@kronn.de)
|
|
133
258
|
|
134
259
|
Changes:
|
135
260
|
|
136
|
-
*
|
261
|
+
* 2 General Enhancements
|
137
262
|
|
138
263
|
* output available algorithms with `rake algorithms`
|
139
264
|
* output a list of available converter with `rake converters`
|
140
|
-
* Version bump to 0.3.0
|
141
265
|
|
142
266
|
|
143
267
|
v0.3.0 / 2010-06-29
|
@@ -146,26 +270,28 @@ Version bump to 0.3.0 (Matthias Viehweger kronn@kronn.de)
|
|
146
270
|
|
147
271
|
Changes:
|
148
272
|
|
149
|
-
*
|
273
|
+
* 7 General Enhancements
|
150
274
|
|
151
275
|
* reorganized converter to utilize the ConverterReader to find and load the conversions
|
152
276
|
* rename table to replace in algorithms
|
153
|
-
* rename StringConversions to Converters and moved individual algorithms into single files
|
154
|
-
* fix typo in documentation
|
155
277
|
* Tie ConverterReader into Converter
|
156
|
-
* add ConverterReader-class
|
157
278
|
* disable the inclusion of StringConversion-Module
|
279
|
+
* add ConverterReader-class
|
280
|
+
* improved pipe usage
|
281
|
+
* made sdoc optional
|
282
|
+
|
283
|
+
* 2 Bug Fixes
|
284
|
+
|
285
|
+
* fix typo in documentation
|
286
|
+
* fixed the directory-name in the test_helper (thanks, CI)
|
287
|
+
|
288
|
+
* 5 Minor Enhancements, Refactorings and Cleanups
|
289
|
+
|
290
|
+
* rename StringConversions to Converters and moved individual algorithms into single files
|
158
291
|
* remove the current task from the "someday"-section
|
159
292
|
* extracted converters info their own classes
|
160
|
-
* improved pipe usage
|
161
|
-
* added manpage-help to TODO
|
162
|
-
* added Debian compatibility as as TODO
|
163
293
|
* move algorithms-directory into the to_pass-dir for portability
|
164
|
-
* extended TODO with some more ideas
|
165
|
-
* fixed the directory-name in the test_helper (thanks, CI)
|
166
294
|
* removed jeweler-specific code
|
167
|
-
* made sdoc optional
|
168
|
-
* Version bump to 0.2.4
|
169
295
|
|
170
296
|
|
171
297
|
v0.2.4 / 2010-06-24
|
@@ -174,11 +300,13 @@ Version bump to 0.2.4 (Matthias Viehweger kronn@kronn.de)
|
|
174
300
|
|
175
301
|
Changes:
|
176
302
|
|
177
|
-
*
|
303
|
+
* 1 General Enhancements
|
178
304
|
|
179
|
-
* moved CLI-interface into its own class (including some debugging along the way)
|
180
305
|
* added encoding-info to all ruby files
|
181
|
-
|
306
|
+
|
307
|
+
* 1 Bug Fixes
|
308
|
+
|
309
|
+
* moved CLI-interface into its own class (including some debugging along the way)
|
182
310
|
|
183
311
|
|
184
312
|
v0.2.3 / 2010-06-14
|
@@ -187,9 +315,12 @@ Version bump to 0.2.3 (Matthias Viehweger kronn@kronn.de)
|
|
187
315
|
|
188
316
|
Changes:
|
189
317
|
|
190
|
-
*
|
318
|
+
* 1 General Enhancements
|
191
319
|
|
192
320
|
* tested integration with user-dir algorithms
|
321
|
+
|
322
|
+
* 1 Bug Fixes
|
323
|
+
|
193
324
|
* fixed directory lookup of user-dir
|
194
325
|
|
195
326
|
|
@@ -199,26 +330,26 @@ bumped version because of upcoming release (Matthias Viehweger kronn@kronn.de)
|
|
199
330
|
|
200
331
|
Changes:
|
201
332
|
|
202
|
-
*
|
333
|
+
* 12 General Enhancements
|
203
334
|
|
204
335
|
* renamed the library from to_pwd to to_pass
|
205
|
-
* moved string_conversion-tests into its own testcase.
|
206
|
-
* removed rcov-Tasks as it does not produce useful information
|
207
|
-
* readded TODO and some coded thoughts
|
208
336
|
* activated rcov in the Rakefile
|
209
337
|
* documented the code
|
210
338
|
* added APP_NAME constant
|
211
339
|
* added VERSION-constant
|
212
|
-
* deleted TODO as it's empty at the moment
|
213
340
|
* shortended tests
|
214
341
|
* made AlgorithmReader#load_from_file use the load_path
|
215
|
-
* removed unused tests
|
216
342
|
* added AlgorithmReader#load_path
|
217
343
|
* added an AlgorithmReader
|
218
344
|
* excluded packaged gems and documentation from project
|
219
345
|
* made dependency on sdoc explicit
|
220
346
|
* added documentation (sdoc) task and tweaked README
|
221
|
-
|
347
|
+
|
348
|
+
* 3 Minor Enhancements, Refactorings and Cleanups
|
349
|
+
|
350
|
+
* moved string_conversion-tests into its own testcase.
|
351
|
+
* removed rcov-Tasks as it does not produce useful information
|
352
|
+
* removed unused tests
|
222
353
|
|
223
354
|
|
224
355
|
v0.2.1 / 2010-06-03
|
@@ -227,13 +358,9 @@ Version bump to 0.2.1 (Matthias Viehweger kronn@kronn.de)
|
|
227
358
|
|
228
359
|
Changes:
|
229
360
|
|
230
|
-
* 1
|
231
|
-
|
232
|
-
* Version bump to 0.2.0
|
361
|
+
* 1 Minor Enhancements, Refactorings and Cleanups
|
233
362
|
|
234
|
-
*
|
235
|
-
|
236
|
-
* redgreen is only needed and wanted for tests
|
363
|
+
* cleanup: redgreen is only needed and wanted for tests
|
237
364
|
|
238
365
|
|
239
366
|
v0.2.0 / 2010-05-30
|
@@ -242,33 +369,21 @@ Version bump to 0.2.0 (Matthias Viehweger kronn@kronn.de)
|
|
242
369
|
|
243
370
|
Changes:
|
244
371
|
|
245
|
-
*
|
246
|
-
|
247
|
-
* deleted outdated version
|
248
|
-
* moved dependency-requirements into man lib-file
|
249
|
-
|
250
|
-
* 29 General Enhancements
|
372
|
+
* 22 General Enhancements
|
251
373
|
|
252
374
|
* preparation for creating a gem from this library
|
253
375
|
* added Rakefile to run all tests
|
254
376
|
* added module for direct integration into existing objects.
|
255
|
-
* fixed usage with pipes
|
256
377
|
* some more integration tests and basic_en-algorithm
|
257
378
|
* baseclass and integration-test added
|
258
|
-
* refactoring
|
259
379
|
* testing if multiple rules are applied
|
260
380
|
* test extended to cover alternate scenario of case swapping
|
261
|
-
* comment out old implementation
|
262
|
-
* removed tests of methods which are neither needed nor used externally
|
263
381
|
* case swapping ignores numbers
|
264
382
|
* naming improved
|
265
383
|
* first module-definition added
|
266
384
|
* test and implementation for string converter added
|
267
|
-
* refactored executable towards OptionParser usage
|
268
385
|
* renamed lib-file
|
269
386
|
* added draft for algorithm spec
|
270
|
-
* changed indentation from tabs to spaces
|
271
|
-
* added TODO
|
272
387
|
* basic executable added and gitignore added for algorithms
|
273
388
|
* PasswordString contains a String, its not really a String
|
274
389
|
* Datei in richtiges Verzeichnis geschoben
|
@@ -279,16 +394,16 @@ Changes:
|
|
279
394
|
* README added
|
280
395
|
* Initial commit
|
281
396
|
|
397
|
+
* 1 Bug Fixes
|
282
398
|
|
283
|
-
|
284
|
-
|
285
|
-
Current Development (Matthias Viehweger)
|
286
|
-
|
287
|
-
Changes:
|
399
|
+
* fixed usage with pipes
|
288
400
|
|
289
|
-
*
|
401
|
+
* 6 Minor Enhancements, Refactorings and Cleanups
|
290
402
|
|
291
|
-
*
|
292
|
-
*
|
293
|
-
*
|
403
|
+
* cleanup: deleted outdated version
|
404
|
+
* cleanup: moved dependency-requirements into man lib-file
|
405
|
+
* refactoring
|
406
|
+
* removed tests of methods which are neither needed nor used externally
|
407
|
+
* refactored executable towards OptionParser usage
|
408
|
+
* changed indentation from tabs to spaces
|
294
409
|
|