foobara-files-generator 0.0.4 → 0.0.5

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: 657b1114c81b65a65cca8b96f94be3cca8de20c0bcf7de14065a8239ce4ddc0a
4
- data.tar.gz: a68fef2ab8df0d2c1da0aeaa02dcfb7161c9224fd4905a86c3696d339c7d08e9
3
+ metadata.gz: 582f4d8d9181bc813f61b852cbac39898e1b7f6d7269bab9a311e797f9be4f0b
4
+ data.tar.gz: be104c5b5f734afd1def3939b7f50ed89cb3715ed3bfb8579d26a9d38c5ad9e0
5
5
  SHA512:
6
- metadata.gz: 569a0deee47a1fa61582d0f022da52d883030667087892fe109e2935dbd2ace2766a645de81e790d35f84323cd21e47d80fc295c0bf198a7b77d60a160c04b9a
7
- data.tar.gz: f0b51d9d6bcf021934d6e795a677cf1a52850f363d48475c1ce76fcecfb64f16eba5b3ef5c0ce7da02a29f0448fdf87bd5cb9fa332ba3c2434a827ce20c28701
6
+ metadata.gz: 2ca5762ec9d22dcaa728b921ca770b88eca09f8ad7b83439a52aabd05e1f1b5e7286fd9be3fee9ad6dc9c8ec82ec72cdfe9ed9ed8e7d8beeafd2f7a6dd5f3ba0
7
+ data.tar.gz: 3cdc6959cccf0557e6b5656bdb0f529a158a58e829e1c6d292ddf804f8eda416c3b71c4010495726382f3c190e76dc2cba338baf520063e6f95e3d0a09f30cf7
data/CHANGELOG.md CHANGED
@@ -1,6 +1,7 @@
1
1
  ## [0.0.4] - 2025-01-06
2
2
 
3
3
  - Bump Ruby to 3.4.1
4
+ - Fix dependencies bug when dependencies is a set
4
5
 
5
6
  ## [0.0.3] - 2024-07-22
6
7
 
@@ -69,7 +69,11 @@ module Foobara
69
69
  end
70
70
 
71
71
  def dependencies_to_generate
72
- Util.array(dependencies)
72
+ if dependencies.is_a?(::Set)
73
+ dependencies
74
+ else
75
+ Util.array(dependencies)
76
+ end
73
77
  end
74
78
 
75
79
  def generate(elements_to_generate)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foobara-files-generator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miles Georgi