ocg 1.1.2 → 1.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -3
- data/lib/ocg/options.rb +2 -2
- data/lib/ocg/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8dea79d03c5603fa091d66e9cd4b308a3245dc863741be4a7ef209ce4b3d4453
|
4
|
+
data.tar.gz: ac73e1ae0aa914f181b0599a19112f4555457b90619e66e49d9f09f81859fe20
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d0f9622a5c2c79142bf97050528e2315332d0a4f638e6c31690d59d13376032f7e2b46b0461628d04eea86075c7cf958507051ce4cf6516450f7c966da849296
|
7
|
+
data.tar.gz: 07dc74425e9b8a1f3b582bf613b9608510a02ee669f2ed1d44d20f07130f3269be1b09d6c10e2c3ff8a48a68490d9dcdf810be34d12c309e99b5fa22b8de7be3
|
data/README.md
CHANGED
@@ -159,9 +159,11 @@ complete_generator = almost_complete_generator.mix(
|
|
159
159
|
|
160
160
|
## CI
|
161
161
|
|
162
|
-
|
163
|
-
|
164
|
-
|
162
|
+
See universal test script [scripts/ci_test.sh](scripts/ci_test.sh) for CI.
|
163
|
+
Please visit [scripts/test-images](scripts/test-images).
|
164
|
+
You can run this test script using many native and cross images.
|
165
|
+
|
166
|
+
Cirrus CI uses `x86_64-pc-linux-gnu` image, Circle CI - `x86_64-gentoo-linux-musl` image.
|
165
167
|
|
166
168
|
## License
|
167
169
|
|
data/lib/ocg/options.rb
CHANGED
@@ -7,7 +7,7 @@ class OCG
|
|
7
7
|
class Options
|
8
8
|
def initialize(options)
|
9
9
|
Validation.validate_options options
|
10
|
-
@options =
|
10
|
+
@options = options.transform_values(&:to_a)
|
11
11
|
|
12
12
|
# End to start is more traditional way of making combinations.
|
13
13
|
@keys = @options.keys.reverse
|
@@ -20,7 +20,7 @@ class OCG
|
|
20
20
|
end
|
21
21
|
|
22
22
|
protected def reset_value_indexes
|
23
|
-
@value_indexes =
|
23
|
+
@value_indexes = @options.transform_values { |_values| 0 }
|
24
24
|
end
|
25
25
|
|
26
26
|
def reset
|
data/lib/ocg/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ocg
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Aladjev
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-06-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: codecov
|
@@ -146,7 +146,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
146
146
|
- !ruby/object:Gem::Version
|
147
147
|
version: '0'
|
148
148
|
requirements: []
|
149
|
-
rubygems_version: 3.
|
149
|
+
rubygems_version: 3.1.2
|
150
150
|
signing_key:
|
151
151
|
specification_version: 4
|
152
152
|
summary: Option combination generator.
|