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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2f75eb1f87292aacf0db18c23e9f37be6b27ef132b6bcadaf0d2aed11b02282e
4
- data.tar.gz: 2341a6a565247d3833abbdf183d65bd6ea68aba41cc2a59629af79cb4522f2bd
3
+ metadata.gz: 8dea79d03c5603fa091d66e9cd4b308a3245dc863741be4a7ef209ce4b3d4453
4
+ data.tar.gz: ac73e1ae0aa914f181b0599a19112f4555457b90619e66e49d9f09f81859fe20
5
5
  SHA512:
6
- metadata.gz: 88d523f79576b51505de0c83eec8a572d398c948f4766e7e6f9bcfd9fca0cbddc973d79d543ad8d1318086c8b1fec9cc784dd99e1df4d3e1f8982024d9d92d76
7
- data.tar.gz: d643d50d2213a1ed0e40beabb4ed7008c8fd2aa55b63c6fd2a13a43ddd2e4d3641a85b8f1831273068f3e4a9c6eb18710f133bba0d0c1863a3c794be0cf325ed
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
- Travis and Appveyor CI uses [scripts/toolchains.sh](scripts/toolchains.sh) directly.
163
- Cirrus and Circle CI uses prebuilt [scripts/test-images](scripts/test-images).
164
- Cirrus CI uses amd64 image, Circle CI - i686.
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
 
@@ -7,7 +7,7 @@ class OCG
7
7
  class Options
8
8
  def initialize(options)
9
9
  Validation.validate_options options
10
- @options = Hash[options.map { |name, values| [name, values.to_a] }]
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 = Hash[@options.map { |name, _values| [name, 0] }]
23
+ @value_indexes = @options.transform_values { |_values| 0 }
24
24
  end
25
25
 
26
26
  def reset
@@ -2,5 +2,5 @@
2
2
  # Copyright (c) 2019 AUTHORS, MIT License.
3
3
 
4
4
  class OCG
5
- VERSION = "1.1.2".freeze
5
+ VERSION = "1.1.3".freeze
6
6
  end
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.2
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-01-02 00:00:00.000000000 Z
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.0.6
149
+ rubygems_version: 3.1.2
150
150
  signing_key:
151
151
  specification_version: 4
152
152
  summary: Option combination generator.