bard-tag_field 0.4.1 → 0.5.0

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.
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "rails", "~> 8.1.0"
6
+
7
+ gemspec path: "../"
Binary file
@@ -0,0 +1,16 @@
1
+ {
2
+ "type": "module",
3
+ "scripts": {
4
+ "clean": "rm -f ../app/assets/javascripts/input-tag.js",
5
+ "build": "rollup -c"
6
+ },
7
+ "devDependencies": {
8
+ "@rollup/plugin-commonjs": "^28.0.8",
9
+ "@rollup/plugin-node-resolve": "^16.0.3",
10
+ "rollup": "^4.52.5"
11
+ },
12
+ "dependencies": {
13
+ "@botandrose/input-tag": "0.4.2"
14
+ },
15
+ "packageManager": "bun@latest"
16
+ }
@@ -3,19 +3,19 @@ require_relative "field"
3
3
  module Bard
4
4
  module TagField
5
5
  module FormBuilder
6
- def bard_tag_field method, choices = nil, options = {}, html_options = {}, &block
6
+ def tag_field method, choices = nil, options = {}, html_options = {}, &block
7
7
  # Handle different method signatures to match Rails select helper
8
8
  case choices
9
9
  when Hash
10
- # bard_tag_field(:method, { class: "form-control" })
10
+ # tag_field(:method, { class: "form-control" })
11
11
  html_options = options
12
12
  options = choices
13
13
  choices = nil
14
14
  when Array
15
- # bard_tag_field(:method, choices_array, { class: "form-control" })
15
+ # tag_field(:method, choices_array, { class: "form-control" })
16
16
  html_options = options if options.is_a?(Hash)
17
17
  when NilClass
18
- # bard_tag_field(:method)
18
+ # tag_field(:method)
19
19
  html_options = options
20
20
  options = {}
21
21
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Bard
4
4
  module TagField
5
- VERSION = "0.4.1"
5
+ VERSION = "0.5.0"
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.4.1
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Micah Geisel
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2025-08-27 00:00:00.000000000 Z
11
+ date: 2025-10-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -75,22 +75,24 @@ extra_rdoc_files: []
75
75
  files:
76
76
  - ".rspec"
77
77
  - Appraisals
78
+ - CLAUDE.md
78
79
  - Gemfile
79
80
  - LICENSE
80
81
  - README.md
81
82
  - Rakefile
82
83
  - app/assets/javascripts/input-tag.js
83
- - bard-tag/.gitignore
84
- - bard-tag/bun.lockb
85
- - bard-tag/index.js
86
- - bard-tag/package.json
87
- - bard-tag/rollup.config.js
88
84
  - bard-tag_field.gemspec
89
85
  - bin/console
90
86
  - bin/setup
91
87
  - gemfiles/rails_7.1.gemfile
92
88
  - gemfiles/rails_7.2.gemfile
93
89
  - gemfiles/rails_8.0.gemfile
90
+ - gemfiles/rails_8.1.gemfile
91
+ - input-tag/.gitignore
92
+ - input-tag/bun.lockb
93
+ - input-tag/index.js
94
+ - input-tag/package.json
95
+ - input-tag/rollup.config.js
94
96
  - lib/bard/tag_field.rb
95
97
  - lib/bard/tag_field/cucumber.rb
96
98
  - lib/bard/tag_field/field.rb
data/bard-tag/bun.lockb DELETED
Binary file
@@ -1,15 +0,0 @@
1
- {
2
- "type": "module",
3
- "scripts": {
4
- "clean": "rm -f ../app/assets/javascripts/input-tag.js",
5
- "build": "rollup -c"
6
- },
7
- "devDependencies": {
8
- "@rollup/plugin-commonjs": "^25.0.7",
9
- "@rollup/plugin-node-resolve": "^15.2.3",
10
- "rollup": "^4.5.2"
11
- },
12
- "dependencies": {
13
- "@botandrose/input-tag": "0.3.0"
14
- }
15
- }
File without changes
File without changes
File without changes