keyboard_battle 0.0.2
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/Gemfile +4 -0
- data/Gemfile.lock +24 -0
- data/LICENSE +22 -0
- data/README.md +29 -0
- data/Rakefile +2 -0
- data/bin/keyboard_battle +5 -0
- data/keyboard_battle.gemspec +23 -0
- data/lib/keyboard_battle/command_dispatcher.rb +45 -0
- data/lib/keyboard_battle/exercise.rb +64 -0
- data/lib/keyboard_battle/keyboard.rb +58 -0
- data/lib/keyboard_battle/report.rb +20 -0
- data/lib/keyboard_battle/version.rb +3 -0
- data/lib/keyboard_battle.rb +4 -0
- data/spec/keyboard_battle/command_dispatcher_spec.rb +25 -0
- data/spec/keyboard_battle/exercise_spec.rb +56 -0
- data/spec/keyboard_battle/keyboard_spec.rb +8 -0
- data/spec/keyboard_battle/report_spec.rb +20 -0
- data/spec/spec_helper.rb +1 -0
- data/texts/alice_underground.txt +839 -0
- data/texts/declaration_of_independence.txt +63 -0
- data/texts/gullivers.txt +1283 -0
- data/texts/qbf.txt +4 -0
- metadata +95 -0
data/texts/qbf.txt
ADDED
metadata
ADDED
@@ -0,0 +1,95 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: keyboard_battle
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.2
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Ben Cullen-Kerney
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2012-12-08 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: rspec
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
22
|
+
type: :development
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0'
|
30
|
+
description: Keyboard Battle compares the performance of keyboard layouts according
|
31
|
+
to reach effort and alternation effort.
|
32
|
+
email:
|
33
|
+
- ben@beancuke.com
|
34
|
+
executables:
|
35
|
+
- keyboard_battle
|
36
|
+
extensions: []
|
37
|
+
extra_rdoc_files: []
|
38
|
+
files:
|
39
|
+
- Gemfile
|
40
|
+
- Gemfile.lock
|
41
|
+
- LICENSE
|
42
|
+
- README.md
|
43
|
+
- Rakefile
|
44
|
+
- bin/keyboard_battle
|
45
|
+
- keyboard_battle.gemspec
|
46
|
+
- lib/keyboard_battle.rb
|
47
|
+
- lib/keyboard_battle/command_dispatcher.rb
|
48
|
+
- lib/keyboard_battle/exercise.rb
|
49
|
+
- lib/keyboard_battle/keyboard.rb
|
50
|
+
- lib/keyboard_battle/report.rb
|
51
|
+
- lib/keyboard_battle/version.rb
|
52
|
+
- spec/keyboard_battle/command_dispatcher_spec.rb
|
53
|
+
- spec/keyboard_battle/exercise_spec.rb
|
54
|
+
- spec/keyboard_battle/keyboard_spec.rb
|
55
|
+
- spec/keyboard_battle/report_spec.rb
|
56
|
+
- spec/spec_helper.rb
|
57
|
+
- texts/alice_underground.txt
|
58
|
+
- texts/declaration_of_independence.txt
|
59
|
+
- texts/gullivers.txt
|
60
|
+
- texts/qbf.txt
|
61
|
+
homepage: ''
|
62
|
+
licenses: []
|
63
|
+
post_install_message:
|
64
|
+
rdoc_options: []
|
65
|
+
require_paths:
|
66
|
+
- lib
|
67
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
68
|
+
none: false
|
69
|
+
requirements:
|
70
|
+
- - ! '>='
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
version: '0'
|
73
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
74
|
+
none: false
|
75
|
+
requirements:
|
76
|
+
- - ! '>='
|
77
|
+
- !ruby/object:Gem::Version
|
78
|
+
version: '0'
|
79
|
+
requirements: []
|
80
|
+
rubyforge_project:
|
81
|
+
rubygems_version: 1.8.24
|
82
|
+
signing_key:
|
83
|
+
specification_version: 3
|
84
|
+
summary: KeyboardBattle is a simple program that compares the performance of keyboard
|
85
|
+
layouts according to two metrics, reach effort (travel from the home row being increasingly
|
86
|
+
effortful) and alternation effort (typing consecutive keys with a single hand being
|
87
|
+
more effortful). For both, a lower value means less effort. The program comes with
|
88
|
+
the QWERTY, Dvorak, and Colemak layouts. The format for a keyboard layout description
|
89
|
+
file can be discerned from lib/keyboards/*.txt.
|
90
|
+
test_files:
|
91
|
+
- spec/keyboard_battle/command_dispatcher_spec.rb
|
92
|
+
- spec/keyboard_battle/exercise_spec.rb
|
93
|
+
- spec/keyboard_battle/keyboard_spec.rb
|
94
|
+
- spec/keyboard_battle/report_spec.rb
|
95
|
+
- spec/spec_helper.rb
|