doku 1.1.0 → 1.1.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.
- data/LICENSE +22 -0
- data/README.rdoc +1 -1
- data/Rakefile +12 -10
- data/VERSION +1 -1
- metadata +29 -34
data/LICENSE
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
Copyright (c) 2012 David Grayson.
|
|
2
|
+
|
|
3
|
+
Permission is hereby granted, free of charge, to any person
|
|
4
|
+
obtaining a copy of this software and associated documentation
|
|
5
|
+
files (the "Software"), to deal in the Software without
|
|
6
|
+
restriction, including without limitation the rights to use,
|
|
7
|
+
copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
8
|
+
copies of the Software, and to permit persons to whom the
|
|
9
|
+
Software is furnished to do so, subject to the following
|
|
10
|
+
conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be
|
|
13
|
+
included in all copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
16
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
|
17
|
+
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
18
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
|
19
|
+
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
20
|
+
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
21
|
+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
|
22
|
+
OTHER DEALINGS IN THE SOFTWARE.
|
data/README.rdoc
CHANGED
|
@@ -72,7 +72,7 @@ There are many directions this gem could go in. The direction will be determine
|
|
|
72
72
|
* Hooks for providing progress updates during the solving of hard puzzles.
|
|
73
73
|
* Outputting puzzles in SVG format. Could include SVG animations that show the process of solving the puzzle!
|
|
74
74
|
* More types of puzzles that are solvable (e.g. puzzles that have groups with fewer squares than the number of glyphs).
|
|
75
|
-
* Improve this page. Ideally the method names should be linkified on the {rubydoc.info page}[http://rubydoc.info/github/DavidEGrayson/doku/master], but I still want something presentable to be on the {github repository}[https://github.com/DavidEGrayson/doku]. Here's an example of a link that looks good on RubyDoc.info but not on github: {Doku::Sudoku Sudoku}. If either YARD or Github could be configured to use a different file on the front page, that would suffice!
|
|
75
|
+
* Improve this page. Ideally the method names should be linkified on the {rubydoc.info page}[http://rubydoc.info/github/DavidEGrayson/doku/master/frames], but I still want something presentable to be on the {github repository}[https://github.com/DavidEGrayson/doku]. Here's an example of a link that looks good on RubyDoc.info but not on github: {Doku::Sudoku Sudoku}. If either YARD or Github could be configured to use a different file on the front page, that would suffice!
|
|
76
76
|
|
|
77
77
|
To report bugs, use the {github issues page}[https://github.com/DavidEGrayson/doku/issues].
|
|
78
78
|
|
data/Rakefile
CHANGED
|
@@ -6,7 +6,7 @@ begin
|
|
|
6
6
|
require 'rspec/core/rake_task'
|
|
7
7
|
require 'yard'
|
|
8
8
|
rescue LoadError => e
|
|
9
|
-
$stderr.puts "Run `gem install bundler && bundle install` to install missing gems."
|
|
9
|
+
$stderr.puts e, "Run `gem install bundler && bundle install` to install missing gems."
|
|
10
10
|
exit 1
|
|
11
11
|
end
|
|
12
12
|
|
|
@@ -15,21 +15,23 @@ Jeweler::Tasks.new do |gem|
|
|
|
15
15
|
gem.name = "doku"
|
|
16
16
|
gem.homepage = "http://github.com/DavidEGrayson/doku"
|
|
17
17
|
gem.license = "MIT"
|
|
18
|
-
gem.files = %w{
|
|
19
|
-
|
|
18
|
+
gem.files = %w{
|
|
19
|
+
.document
|
|
20
|
+
*.txt
|
|
21
|
+
*.rdoc
|
|
22
|
+
VERSION
|
|
23
|
+
LICENSE
|
|
24
|
+
Gemfile
|
|
25
|
+
Rakefile
|
|
20
26
|
lib/doku.rb
|
|
21
27
|
lib/doku/*.rb
|
|
22
28
|
spec/*.rb
|
|
23
29
|
}
|
|
24
30
|
|
|
25
|
-
gem.summary = "
|
|
31
|
+
gem.summary = "Library for solving sudoku, hexadoku, and similar puzzles."
|
|
26
32
|
gem.description = <<END
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
solutions for them.
|
|
30
|
-
|
|
31
|
-
This gem contains a reusable, pure ruby implementation of the
|
|
32
|
-
Dancing Links algorithm by Donald Knuth.
|
|
33
|
+
Library for solving Sudoku-like puzzles (Sudoku, Hexadoku, and Hexamurai)
|
|
34
|
+
using the Dancing Links algorithm.
|
|
33
35
|
END
|
|
34
36
|
gem.email = "davidegrayson@gmail.com"
|
|
35
37
|
gem.authors = ["David Grayson"]
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.1.
|
|
1
|
+
1.1.1
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: doku
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.1
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,11 +9,11 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2012-02-
|
|
12
|
+
date: 2012-02-29 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: backports
|
|
16
|
-
requirement: &
|
|
16
|
+
requirement: &25162200 !ruby/object:Gem::Requirement
|
|
17
17
|
none: false
|
|
18
18
|
requirements:
|
|
19
19
|
- - ! '>='
|
|
@@ -21,10 +21,10 @@ dependencies:
|
|
|
21
21
|
version: '0'
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
|
-
version_requirements: *
|
|
24
|
+
version_requirements: *25162200
|
|
25
25
|
- !ruby/object:Gem::Dependency
|
|
26
26
|
name: rspec
|
|
27
|
-
requirement: &
|
|
27
|
+
requirement: &25161680 !ruby/object:Gem::Requirement
|
|
28
28
|
none: false
|
|
29
29
|
requirements:
|
|
30
30
|
- - ! '>='
|
|
@@ -32,10 +32,10 @@ dependencies:
|
|
|
32
32
|
version: '0'
|
|
33
33
|
type: :development
|
|
34
34
|
prerelease: false
|
|
35
|
-
version_requirements: *
|
|
35
|
+
version_requirements: *25161680
|
|
36
36
|
- !ruby/object:Gem::Dependency
|
|
37
37
|
name: bundler
|
|
38
|
-
requirement: &
|
|
38
|
+
requirement: &25161160 !ruby/object:Gem::Requirement
|
|
39
39
|
none: false
|
|
40
40
|
requirements:
|
|
41
41
|
- - ! '>='
|
|
@@ -43,10 +43,10 @@ dependencies:
|
|
|
43
43
|
version: '0'
|
|
44
44
|
type: :development
|
|
45
45
|
prerelease: false
|
|
46
|
-
version_requirements: *
|
|
46
|
+
version_requirements: *25161160
|
|
47
47
|
- !ruby/object:Gem::Dependency
|
|
48
48
|
name: jeweler
|
|
49
|
-
requirement: &
|
|
49
|
+
requirement: &25160640 !ruby/object:Gem::Requirement
|
|
50
50
|
none: false
|
|
51
51
|
requirements:
|
|
52
52
|
- - ~>
|
|
@@ -54,10 +54,10 @@ dependencies:
|
|
|
54
54
|
version: 1.6.2
|
|
55
55
|
type: :development
|
|
56
56
|
prerelease: false
|
|
57
|
-
version_requirements: *
|
|
57
|
+
version_requirements: *25160640
|
|
58
58
|
- !ruby/object:Gem::Dependency
|
|
59
59
|
name: rcov
|
|
60
|
-
requirement: &
|
|
60
|
+
requirement: &25160140 !ruby/object:Gem::Requirement
|
|
61
61
|
none: false
|
|
62
62
|
requirements:
|
|
63
63
|
- - ! '>='
|
|
@@ -65,10 +65,10 @@ dependencies:
|
|
|
65
65
|
version: '0'
|
|
66
66
|
type: :development
|
|
67
67
|
prerelease: false
|
|
68
|
-
version_requirements: *
|
|
68
|
+
version_requirements: *25160140
|
|
69
69
|
- !ruby/object:Gem::Dependency
|
|
70
70
|
name: yard
|
|
71
|
-
requirement: &
|
|
71
|
+
requirement: &25159620 !ruby/object:Gem::Requirement
|
|
72
72
|
none: false
|
|
73
73
|
requirements:
|
|
74
74
|
- - ! '>='
|
|
@@ -76,10 +76,10 @@ dependencies:
|
|
|
76
76
|
version: '0'
|
|
77
77
|
type: :development
|
|
78
78
|
prerelease: false
|
|
79
|
-
version_requirements: *
|
|
79
|
+
version_requirements: *25159620
|
|
80
80
|
- !ruby/object:Gem::Dependency
|
|
81
81
|
name: watchr
|
|
82
|
-
requirement: &
|
|
82
|
+
requirement: &25159100 !ruby/object:Gem::Requirement
|
|
83
83
|
none: false
|
|
84
84
|
requirements:
|
|
85
85
|
- - ! '>='
|
|
@@ -87,10 +87,10 @@ dependencies:
|
|
|
87
87
|
version: '0'
|
|
88
88
|
type: :development
|
|
89
89
|
prerelease: false
|
|
90
|
-
version_requirements: *
|
|
90
|
+
version_requirements: *25159100
|
|
91
91
|
- !ruby/object:Gem::Dependency
|
|
92
92
|
name: ruby-prof
|
|
93
|
-
requirement: &
|
|
93
|
+
requirement: &25158600 !ruby/object:Gem::Requirement
|
|
94
94
|
none: false
|
|
95
95
|
requirements:
|
|
96
96
|
- - ! '>='
|
|
@@ -98,10 +98,10 @@ dependencies:
|
|
|
98
98
|
version: '0'
|
|
99
99
|
type: :development
|
|
100
100
|
prerelease: false
|
|
101
|
-
version_requirements: *
|
|
101
|
+
version_requirements: *25158600
|
|
102
102
|
- !ruby/object:Gem::Dependency
|
|
103
103
|
name: linecache19
|
|
104
|
-
requirement: &
|
|
104
|
+
requirement: &25158080 !ruby/object:Gem::Requirement
|
|
105
105
|
none: false
|
|
106
106
|
requirements:
|
|
107
107
|
- - ! '>='
|
|
@@ -109,10 +109,10 @@ dependencies:
|
|
|
109
109
|
version: '0'
|
|
110
110
|
type: :development
|
|
111
111
|
prerelease: false
|
|
112
|
-
version_requirements: *
|
|
112
|
+
version_requirements: *25158080
|
|
113
113
|
- !ruby/object:Gem::Dependency
|
|
114
114
|
name: ruby-debug-base19
|
|
115
|
-
requirement: &
|
|
115
|
+
requirement: &25157540 !ruby/object:Gem::Requirement
|
|
116
116
|
none: false
|
|
117
117
|
requirements:
|
|
118
118
|
- - ! '>='
|
|
@@ -120,10 +120,10 @@ dependencies:
|
|
|
120
120
|
version: 0.11.26
|
|
121
121
|
type: :development
|
|
122
122
|
prerelease: false
|
|
123
|
-
version_requirements: *
|
|
123
|
+
version_requirements: *25157540
|
|
124
124
|
- !ruby/object:Gem::Dependency
|
|
125
125
|
name: ruby-debug19
|
|
126
|
-
requirement: &
|
|
126
|
+
requirement: &25156940 !ruby/object:Gem::Requirement
|
|
127
127
|
none: false
|
|
128
128
|
requirements:
|
|
129
129
|
- - ! '>='
|
|
@@ -131,26 +131,21 @@ dependencies:
|
|
|
131
131
|
version: '0'
|
|
132
132
|
type: :development
|
|
133
133
|
prerelease: false
|
|
134
|
-
version_requirements: *
|
|
135
|
-
description: ! '
|
|
134
|
+
version_requirements: *25156940
|
|
135
|
+
description: ! 'Library for solving Sudoku-like puzzles (Sudoku, Hexadoku, and Hexamurai)
|
|
136
136
|
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
solutions for them.
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
This gem contains a reusable, pure ruby implementation of the
|
|
143
|
-
|
|
144
|
-
Dancing Links algorithm by Donald Knuth.
|
|
137
|
+
using the Dancing Links algorithm.
|
|
145
138
|
|
|
146
139
|
'
|
|
147
140
|
email: davidegrayson@gmail.com
|
|
148
141
|
executables: []
|
|
149
142
|
extensions: []
|
|
150
143
|
extra_rdoc_files:
|
|
144
|
+
- LICENSE
|
|
151
145
|
- README.rdoc
|
|
152
146
|
files:
|
|
153
147
|
- Gemfile
|
|
148
|
+
- LICENSE
|
|
154
149
|
- README.rdoc
|
|
155
150
|
- Rakefile
|
|
156
151
|
- VERSION
|
|
@@ -194,5 +189,5 @@ rubyforge_project:
|
|
|
194
189
|
rubygems_version: 1.8.10
|
|
195
190
|
signing_key:
|
|
196
191
|
specification_version: 3
|
|
197
|
-
summary:
|
|
192
|
+
summary: Library for solving sudoku, hexadoku, and similar puzzles.
|
|
198
193
|
test_files: []
|