ecs_compose 0.1.0.pre26 → 0.1.0.pre28

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/ecs_compose/compare.rb +3 -0
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: be50de9cd4fa54757a557a57ad8f30a6e600acc1
4
- data.tar.gz: 5b0ddfed2870445d82fee42e8ab325f7c4ee0f4e
3
+ metadata.gz: 62436596ba3a020cb588f41c9feb3c2c91327e5e
4
+ data.tar.gz: 1211be0c76536e59e7b0c84393a35c863740f50d
5
5
  SHA512:
6
- metadata.gz: 98fed5d3058dd67d385426ff19c10425ee2b99ec4239ab99ceaee3f38695409cff0a0c7695776a4554fe99fe67de031d57391bf6988b98b9c08ebfac206de57f
7
- data.tar.gz: b58f20d5927e3c4092b338ab931f257046ce47286ebcb28e839fdbc7cbb3f740eb20049d02180cdc916742b6c8f5bd46e35797d03bb7a4271247884427738f31
6
+ metadata.gz: d32532baf40f46b339999f47815300bda1cea9dcb5af5dfeb9428fd6ce4b40d1913c8e0dcccc1d211b010e7c7892c3b5f862fda0903742760fb3d7aba11d7d48
7
+ data.tar.gz: 1998e1cefc8b7a262d7d1c7098554604fbf8037a17c27ba45a90edd69f82adaa96a1819efb2e7c38cb8fcf2690bdbb134f74283d796c220e226aed026ed5d11b
@@ -11,6 +11,9 @@ module EcsCompose
11
11
  val.sort_by do |item|
12
12
  if item.instance_of?(Hash)
13
13
  item.to_a.sort
14
+ elsif item.instance_of?(Array)
15
+ # for an array of arrays, just return 1
16
+ 1
14
17
  else
15
18
  item
16
19
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ecs_compose
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.pre26
4
+ version: 0.1.0.pre28
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Kidd