zugzwang 0.1.0 → 0.1.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.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +2 -4
- data/lib/zugzwang/version.rb +1 -1
- data/zugzwang.gemspec +2 -2
- metadata +4 -5
- data/bin/console +0 -14
- data/bin/setup +0 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7df00460ffab7463316f2df42fb45f0a20224b87ab2b803e7eb6192d9e149335
|
4
|
+
data.tar.gz: fe14f61bff34d14883223560f288c69ffa6a6faed565b54cc244f916d8a0f73d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ba14773c23dc599248c36f5dc4d98ae17c0fe18e87a402ece3191384f1009ad03ef1b9aa2296f914a8f8043617bf35bf553ad19dc4c0944efffffb51fc073a80
|
7
|
+
data.tar.gz: dfa68a49e5b5e84fd47b51a2d304b74319fd87f73a7ee672386f46ee0a8886005acb2f5632e6ae6b4d4e10aceaa0c635e01f70060ee6c760c59208d403e44961
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -116,7 +116,7 @@ $ zugzwang create [DATABASE] *[ITEMS] --extension, --extension=EXTENSION
|
|
116
116
|
> - `games` - Generates a database file called `games` (with extension specified by flag) in the current directory.
|
117
117
|
> - `path/to/db/games` - Generates a database file called `games` (with extension specified by flag) in the `path/to/db` directory, which the user is prompted to create if it does not exist.
|
118
118
|
|
119
|
-
- `*[ITEMS]` - The PGN files to parse (or directory to recursively search for PGN files), separated by spaces.
|
119
|
+
- `*[ITEMS]` - The PGN files to parse (or directory to recursively search for PGN files), separated by spaces.
|
120
120
|
|
121
121
|
Patterns are accepted, and an argument is assumed to be a directory if no extension is given.
|
122
122
|
|
@@ -135,7 +135,7 @@ $ zugzwang create [DATABASE] *[ITEMS] --extension, --extension=EXTENSION
|
|
135
135
|
|
136
136
|
Expected file extensions are `sql sqlite sqlite3 db`, but it is possible to override this restriction and try to generate a database with any extension, provided it is compatible with Sequel's database class constructor.
|
137
137
|
|
138
|
-
Ideally, the extension should be specified at the end of the command.
|
138
|
+
Ideally, the extension should be specified at the end of the command.
|
139
139
|
|
140
140
|
> **Examples**:
|
141
141
|
>
|
@@ -164,8 +164,6 @@ $ zugzwang create [DATABASE] *[ITEMS] --extension, --extension=EXTENSION
|
|
164
164
|
|
165
165
|
## Development
|
166
166
|
|
167
|
-
After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
168
|
-
|
169
167
|
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
170
168
|
|
171
169
|
## Contributing
|
data/lib/zugzwang/version.rb
CHANGED
data/zugzwang.gemspec
CHANGED
@@ -17,8 +17,8 @@ Gem::Specification.new do |spec|
|
|
17
17
|
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
|
18
18
|
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
19
19
|
end
|
20
|
-
spec.bindir = "
|
21
|
-
spec.executables = spec.files.grep(%r{^
|
20
|
+
spec.bindir = "bin"
|
21
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
22
22
|
spec.require_paths = ["lib"]
|
23
23
|
|
24
24
|
spec.add_development_dependency "bundler", "~> 1.16"
|
metadata
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zugzwang
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Edwin Onuonga
|
8
8
|
autorequire:
|
9
|
-
bindir:
|
9
|
+
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
date: 2018-07-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
@@ -111,7 +111,8 @@ dependencies:
|
|
111
111
|
description:
|
112
112
|
email:
|
113
113
|
- edwinonuonga@gmail.com
|
114
|
-
executables:
|
114
|
+
executables:
|
115
|
+
- zugzwang
|
115
116
|
extensions: []
|
116
117
|
extra_rdoc_files: []
|
117
118
|
files:
|
@@ -121,8 +122,6 @@ files:
|
|
121
122
|
- LICENSE
|
122
123
|
- README.md
|
123
124
|
- Rakefile
|
124
|
-
- bin/console
|
125
|
-
- bin/setup
|
126
125
|
- bin/zugzwang
|
127
126
|
- lib/zugzwang.rb
|
128
127
|
- lib/zugzwang/cli.rb
|
data/bin/console
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
|
3
|
-
require "bundler/setup"
|
4
|
-
require "zugzwang"
|
5
|
-
|
6
|
-
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
-
# with your gem easier. You can also use a different console, if you like.
|
8
|
-
|
9
|
-
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
-
# require "pry"
|
11
|
-
# Pry.start
|
12
|
-
|
13
|
-
require "irb"
|
14
|
-
IRB.start(__FILE__)
|