bard-tag_field 0.7.1 → 0.7.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 273e3dda2a790b12547aa1aecc3b897fcf114f667fe5e3b5c0d991b41e61c24f
4
- data.tar.gz: 12174ee0c8167b487dd2081b32220ac257874bf26e1cbaab1d51f7b422497b55
3
+ metadata.gz: ad6d1685db89455fb1d44ccdd6641f7ec9b5f20be3cfc88e97a287e2088e90e9
4
+ data.tar.gz: 8a402e9bfc1d0bcb67086107cdfa94234c735c0620e39411935ea54424d9886c
5
5
  SHA512:
6
- metadata.gz: 1ae7bf9a3ff6260c925d22a890581e1995dd6e1327002abb91f70f9064c3c339f34517b92e5cc2ef24d78fcad67873c5fbb991240815f85bb2acf74333c1ccf1
7
- data.tar.gz: 43cbe858f1ecad6feed1fd80006bb3939af4c3c1963921973ae24c9cffb52eb67e3620d346b97a46d572325e7a889af07a1aedb78aa62b92899afb54227cafc7
6
+ metadata.gz: 6d01b085ffe5cbbf37d594cbfbdab8cd08b72ecc7b53624df3bf3cd112e7d26759d48ece096b630873377dbe5348ba2d677d98e5b2007f2f9a14fbd9808177a9
7
+ data.tar.gz: f5a9a5e5a2b666aeb6c7fcd34b49c50fa397ee5f516a123e1c0edb62b94d1abe3d67aea1e42746232aff9227f6788b261fa7c99c6cb6cf5eb226b405f99f2872
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
22
22
  # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
23
23
  spec.files = Dir.chdir(File.expand_path(__dir__)) do
24
24
  `git ls-files -z`.split("\x0").reject do |f|
25
- (f == __FILE__) || f.match(%r{\A(?:(?:test|spec|features)/|\.(?:git|travis|circleci)|appveyor)})
25
+ (f == __FILE__) || f.match(%r{\A(?:(?:test|spec|features|public)/|config\.ru|\.(?:git|travis|circleci)|appveyor)})
26
26
  end
27
27
  end
28
28
  spec.bindir = "exe"
@@ -11,14 +11,13 @@ module Bard
11
11
  html_options = options
12
12
  options = choices
13
13
  choices = nil
14
- when Array
15
- # tag_field(:method, choices_array, { class: "form-control" })
16
- html_options = options if options.is_a?(Hash)
17
14
  when NilClass
18
15
  # tag_field(:method)
19
16
  html_options = options
20
17
  options = {}
21
18
  end
19
+ # Array: choices/options/html_options are already correctly positioned;
20
+ # both options and html_options are merged below, matching Rails' select.
22
21
 
23
22
  # Merge options and html_options for Rails compatibility
24
23
  merged_options = objectify_options(options.merge(html_options))
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Bard
4
4
  module TagField
5
- VERSION = "0.7.1"
5
+ VERSION = "0.7.2"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bard-tag_field
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.1
4
+ version: 0.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Micah Geisel
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2026-05-17 00:00:00.000000000 Z
11
+ date: 2026-05-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails