combinatorial_puzzle_solver 0.1.0 → 0.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/README.md CHANGED
@@ -43,7 +43,7 @@ Given the file `example_puzzles/simple`:
43
43
  027459306
44
44
 
45
45
 
46
- Invoking `./solve_sudoku example_puzzles/simple -i` will return exit code `0` and output:
46
+ Invoking `solve_sudoku example_puzzles/simple -i` will return exit code `0` and output:
47
47
 
48
48
  9 6|8 1 3|5 4
49
49
  2 1| 4 5| 6 3
@@ -91,7 +91,7 @@ Given the file `example_puzzles/medium`:
91
91
 
92
92
 
93
93
 
94
- Invoking `./solve_sudoku example_puzzles/simple example_puzzles/medium -i` will return exit code `0` and output:
94
+ Invoking `solve_sudoku example_puzzles/simple example_puzzles/medium -i` will return exit code `0` and output:
95
95
 
96
96
  9 6|8 1 3|5 4
97
97
  2 1| 4 5| 6 3
@@ -127,7 +127,7 @@ Given the file `example_puzzles/4x4`:
127
127
  this is a tiny puzzle 0040100000030100
128
128
 
129
129
 
130
- Invoking `./solve_sudoku example_puzzles/4x4 -i -4` will return exit code `0` and output:
130
+ Invoking `solve_sudoku example_puzzles/4x4 -i -4` will return exit code `0` and output:
131
131
 
132
132
  |4
133
133
  1 |
@@ -153,7 +153,7 @@ Given the file `example_puzzles/simple`:
153
153
  027459306
154
154
 
155
155
 
156
- Invoking `./solve_sudoku example_puzzles/simple -o` will return exit code `0` and output:
156
+ Invoking `solve_sudoku example_puzzles/simple -o` will return exit code `0` and output:
157
157
 
158
158
  9 7 6|8 1 3|5 4 2
159
159
  2 8 1|7 4 5|9 6 3
@@ -185,7 +185,7 @@ Given the file `example_puzzles/simple`:
185
185
  027459306
186
186
 
187
187
 
188
- Invoking `./solve_sudoku example_puzzles/simple -o -s` will return exit code `0` and output:
188
+ Invoking `solve_sudoku example_puzzles/simple -o -s` will return exit code `0` and output:
189
189
 
190
190
  [1,2]=7
191
191
  [8,3]=8
@@ -254,7 +254,7 @@ Given the file `example_puzzles/4x4`:
254
254
  this is a tiny puzzle 0040100000030100
255
255
 
256
256
 
257
- Invoking `./solve_sudoku example_puzzles/4x4 --4x4 -p` will return exit code `0` and output:
257
+ Invoking `solve_sudoku example_puzzles/4x4 --4x4 -p` will return exit code `0` and output:
258
258
 
259
259
  |4
260
260
  1 | 2
@@ -352,7 +352,7 @@ Given the file `example_puzzles/medium`:
352
352
 
353
353
 
354
354
 
355
- Invoking `./solve_sudoku example_puzzles/medium -i -o -r` will return exit code `256` and output:
355
+ Invoking `solve_sudoku example_puzzles/medium -i -o -r` will return exit code `256` and output:
356
356
 
357
357
  |3 1|
358
358
  9| |
@@ -396,7 +396,7 @@ Given the file `example_puzzles/hard`:
396
396
  470|001|000
397
397
 
398
398
 
399
- Invoking `./solve_sudoku example_puzzles/hard -i -o -r` will return exit code `256` and output:
399
+ Invoking `solve_sudoku example_puzzles/hard -i -o -r` will return exit code `256` and output:
400
400
 
401
401
  |2 | 6 3
402
402
  3 | 5|4 1
@@ -442,7 +442,7 @@ Given the file `example_puzzles/simple`:
442
442
  027459306
443
443
 
444
444
 
445
- Invoking `./solve_sudoku example_puzzles/simple -s -c 3` will return exit code `0` and output:
445
+ Invoking `solve_sudoku example_puzzles/simple -s -c 3` will return exit code `0` and output:
446
446
 
447
447
  [1,2]=7
448
448
  [8,3]=8
@@ -79,7 +79,7 @@ end
79
79
  # @return [Hash] the example
80
80
  def execute(example)
81
81
  argv = example[:input_files] + example[:argv]
82
- example[:command] = "./solve_sudoku #{argv.join(' ')}"
82
+ example[:command] = "solve_sudoku #{argv.join(' ')}"
83
83
  full_command = "./exe/#{example[:command]}"
84
84
 
85
85
  Open3.popen3(full_command) {|stdin, stdout, stderr, wait_thr|
@@ -1,4 +1,4 @@
1
1
  module CombinatorialPuzzleSolver
2
2
  # the current version
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: combinatorial_puzzle_solver
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -135,7 +135,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
135
135
  version: '0'
136
136
  segments:
137
137
  - 0
138
- hash: 3113729172667928250
138
+ hash: -1031401458551401259
139
139
  required_rubygems_version: !ruby/object:Gem::Requirement
140
140
  none: false
141
141
  requirements:
@@ -144,7 +144,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
144
144
  version: '0'
145
145
  segments:
146
146
  - 0
147
- hash: 3113729172667928250
147
+ hash: -1031401458551401259
148
148
  requirements: []
149
149
  rubyforge_project:
150
150
  rubygems_version: 1.8.23