glue_gun_dsl 0.1.30 → 0.1.31
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/glue_gun/dsl.rb +2 -2
- data/lib/glue_gun/version.rb +1 -1
- 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: 6461a5f813239f2db7afda73dda7e4e84c1b9c73bda974873acc12bec653a180
|
4
|
+
data.tar.gz: 53713f1e659f0872ce6aebe42f886f831aecebaf0485aad67e946ebdc03a7b6d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3d97dc1ad5ba7c295d758664b971b436d7e178db7db79e4f5122102b4d6e5747a2bc863ed47fe6c7972ef655fd83d8fe5cb840bb5179e86cdbaf6fa1edbe2260
|
7
|
+
data.tar.gz: fa4c9a63540556184489bd4985d2cfb3f09a004631a182bd5479d8c4a864651c569f72c2b3f9ecf4cc07c65c6801b99307740e523a7a31764b8f88ef42d65779
|
data/lib/glue_gun/dsl.rb
CHANGED
@@ -395,7 +395,7 @@ module GlueGun
|
|
395
395
|
option_name, init_args = determine_option_name(init_args, instance)
|
396
396
|
end
|
397
397
|
|
398
|
-
option_config = option_configs[option_name]
|
398
|
+
option_config = option_configs[option_name.to_sym]
|
399
399
|
|
400
400
|
raise ArgumentError, "Unknown #{component_type} option '#{option_name}'" unless option_config
|
401
401
|
|
@@ -490,7 +490,7 @@ module GlueGun
|
|
490
490
|
next unless configuration.is_a?(Hash)
|
491
491
|
|
492
492
|
key = configuration.keys.first
|
493
|
-
if key.nil? || allowed_configs.exclude?(key)
|
493
|
+
if key.nil? || allowed_configs.exclude?(key.to_sym)
|
494
494
|
raise ArgumentError,
|
495
495
|
"Unknown #{component_type} option: #{init_args.keys.first}."
|
496
496
|
end
|
data/lib/glue_gun/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: glue_gun_dsl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.31
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brett Shollenberger
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-10-
|
11
|
+
date: 2024-10-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemodel
|