xipai 0.0.1a → 0.0.1b
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/xipai/arrangement/base.rb +0 -1
- data/lib/xipai/arrangement/lottery.rb +3 -1
- data/lib/xipai/arrangement/order.rb +3 -1
- data/lib/xipai/arrangement/pair.rb +3 -1
- data/lib/xipai/arrangement/team.rb +3 -1
- data/lib/xipai/core.rb +1 -1
- data/lib/xipai/result.rb +0 -1
- data/lib/xipai/table_set.rb +6 -1
- data/lib/xipai/version.rb +1 -1
- data/lib/xipai.rb +1 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9e2c0ac127cdf00a75dbc2b9b084c7cc7ecf91e3393f9d4b012765dbf832a79b
|
4
|
+
data.tar.gz: 85c6bdb5c9d9bfea3b712487df70caa1a6ab1f47bd3828e5903f2ac892dfec00
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1093b0cc3ae1d08b41cd072d52e4d6b2976e5af7e180d3f45380229e5b1ba1029950a00e1fc3bfd5a46fd69495932387dcaf506586ac8715863de6827e0b57a8
|
7
|
+
data.tar.gz: ed65fd343756949b837a68eacf052bee4ccd4ab0d5baccaf904fac14b9ce1c06db4903ea9f3ed918fe8dbb0a9f3ff6b6ee1d5c448bc65807cd4116d7cb38707d
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# Xipai
|
2
2
|
|
3
3
|
Reproducible based on seeds or random shuffling tool.
|
4
4
|
|
@@ -27,7 +27,7 @@ Commands:
|
|
27
27
|
xipai lottery -A, --items=ITEMS -m, --number-of-winners=N # Reproducible based on seeds or random shuffling, then extruct lottery winner.
|
28
28
|
xipai pair -K, --key-items=KEY_ITEMS -V, --value-items=VALUE_ITEMS # Reproducible based on seeds or random shuffling, then pairing key-items and value-items.
|
29
29
|
xipai replay -c, --replay-yaml=REPLAY_YAML # Replay shuffling with xipai-replay yaml
|
30
|
-
xipai order -A, --items=ITEMS
|
30
|
+
xipai order -A, --items=ITEMS # Reproducible based on seeds or random shuffling.
|
31
31
|
xipai team -A, --items=ITEMS -m, --number-of-members=N # Reproducible based on seeds or random shuffling, then create teams
|
32
32
|
xipai version # Show xipai version
|
33
33
|
```
|
@@ -1,6 +1,8 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require File.expand_path("../../xipai", File.dirname(__FILE__))
|
3
|
+
require File.expand_path("../../xipai/core", File.dirname(__FILE__))
|
4
|
+
require File.expand_path("../../xipai/result", File.dirname(__FILE__))
|
5
|
+
require File.expand_path("../../xipai/arrangement/base", File.dirname(__FILE__))
|
4
6
|
require "optional"
|
5
7
|
|
6
8
|
module Xipai
|
@@ -1,6 +1,8 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require File.expand_path("../../xipai", File.dirname(__FILE__))
|
3
|
+
require File.expand_path("../../xipai/core", File.dirname(__FILE__))
|
4
|
+
require File.expand_path("../../xipai/result", File.dirname(__FILE__))
|
5
|
+
require File.expand_path("../../xipai/arrangement/base", File.dirname(__FILE__))
|
4
6
|
|
5
7
|
module Xipai
|
6
8
|
module Arrangement
|
@@ -1,6 +1,8 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require File.expand_path("../../xipai", File.dirname(__FILE__))
|
3
|
+
require File.expand_path("../../xipai/core", File.dirname(__FILE__))
|
4
|
+
require File.expand_path("../../xipai/result", File.dirname(__FILE__))
|
5
|
+
require File.expand_path("../../xipai/arrangement/base", File.dirname(__FILE__))
|
4
6
|
require "optional"
|
5
7
|
|
6
8
|
module Xipai
|
@@ -1,6 +1,8 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require File.expand_path("../../xipai", File.dirname(__FILE__))
|
3
|
+
require File.expand_path("../../xipai/core", File.dirname(__FILE__))
|
4
|
+
require File.expand_path("../../xipai/result", File.dirname(__FILE__))
|
5
|
+
require File.expand_path("../../xipai/arrangement/base", File.dirname(__FILE__))
|
4
6
|
|
5
7
|
module Xipai
|
6
8
|
module Arrangement
|
data/lib/xipai/core.rb
CHANGED
data/lib/xipai/result.rb
CHANGED
data/lib/xipai/table_set.rb
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
3
|
+
Dir.glob(
|
4
|
+
"arrangement/*.rb", base: File.dirname(__FILE__)
|
5
|
+
).each do |mode_name|
|
6
|
+
require "#{File.dirname(__FILE__)}/#{mode_name}"
|
7
|
+
end
|
8
|
+
|
4
9
|
require "yaml"
|
5
10
|
require "optional"
|
6
11
|
|
data/lib/xipai/version.rb
CHANGED
data/lib/xipai.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: xipai
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.1b
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hiroshi IKEGAMI
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-10-
|
11
|
+
date: 2021-10-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|