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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 43d8acb6f057ab8a1af500f7c179ab11799e76a5a00936e3b75c2e8d89ebf31b
4
- data.tar.gz: c1eca08d776bb20638e544ccf4263a65cabde137bbc821f871b0f0898b7b062d
3
+ metadata.gz: 6461a5f813239f2db7afda73dda7e4e84c1b9c73bda974873acc12bec653a180
4
+ data.tar.gz: 53713f1e659f0872ce6aebe42f886f831aecebaf0485aad67e946ebdc03a7b6d
5
5
  SHA512:
6
- metadata.gz: 5560e86452000ea065de2721466104a8c1f108db0b57c608c8248ab84565e317db518ea93be0ea2bad3f148075ac78666fed7c48674f59978af07196d485a8b6
7
- data.tar.gz: 0b384297f71a53a34f3def7fe0542ed993e5fb9c09160f0ec4f10b39a4481a83503d7e5b38337f4eea597eba6c3f73adecce59d551886b6d1bfc6d137e61452d
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module GlueGun
4
- VERSION = "0.1.30"
4
+ VERSION = "0.1.31"
5
5
  end
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.30
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-28 00:00:00.000000000 Z
11
+ date: 2024-10-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel