zugzwang 0.1.0 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 05635fe914744c367688b19ab78385de0e45e6318df66f4faa9d8ed6b5abd1e4
4
- data.tar.gz: 28b8c4bd1cba55ec00eaf22b79a32080986b831d1c838aaac044c71253eaa9cb
3
+ metadata.gz: 7df00460ffab7463316f2df42fb45f0a20224b87ab2b803e7eb6192d9e149335
4
+ data.tar.gz: fe14f61bff34d14883223560f288c69ffa6a6faed565b54cc244f916d8a0f73d
5
5
  SHA512:
6
- metadata.gz: fcc0d318197c440aca40a3dcaa802d357eaa1040b1005512d4b4b8ce6517d78e00f1b97a74bb041c1690db0f95d2d427a52fa23167602d434c6014458cb8eca3
7
- data.tar.gz: de45f7027ab502d57b6519b4581d303d051349f38c484f1394c1ed3bb13d1a1550c046d1a537b8288f3b70497e5b7b747408aa76a3b5465838a6082c0cddaa90
6
+ metadata.gz: ba14773c23dc599248c36f5dc4d98ae17c0fe18e87a402ece3191384f1009ad03ef1b9aa2296f914a8f8043617bf35bf553ad19dc4c0944efffffb51fc073a80
7
+ data.tar.gz: dfa68a49e5b5e84fd47b51a2d304b74319fd87f73a7ee672386f46ee0a8886005acb2f5632e6ae6b4d4e10aceaa0c635e01f70060ee6c760c59208d403e44961
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- zugzwang (0.1.0)
4
+ zugzwang (0.1.2)
5
5
  ruby-progressbar (~> 1.9)
6
6
  sequel (~> 5.9)
7
7
  sqlite3 (~> 1.3)
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
@@ -1,3 +1,3 @@
1
1
  module Zugzwang
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.2"
3
3
  end
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 = "exe"
21
- spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
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.0
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Edwin Onuonga
8
8
  autorequire:
9
- bindir: exe
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__)
data/bin/setup DELETED
@@ -1,8 +0,0 @@
1
- #!/usr/bin/env bash
2
- set -euo pipefail
3
- IFS=$'\n\t'
4
- set -vx
5
-
6
- bundle install
7
-
8
- # Do any other automated setup that you need to do here