├── .github └── workflows │ └── ci.yml ├── .gitignore ├── CHANGELOG.md ├── Gemfile ├── MIT-LICENSE ├── README.md ├── Rakefile ├── action_view-attributes.gemspec ├── app └── helpers │ ├── .keep │ └── action_view │ └── attributes │ └── application_helper.rb ├── bin └── rails ├── config └── routes.rb ├── lib ├── action_view-attributes.rb ├── action_view │ ├── README.md │ ├── attributes.rb │ └── attributes │ │ ├── engine.rb │ │ ├── tag_builder.rb │ │ └── with_options_backport.rb └── tasks │ └── action_view-attributes.rake └── test ├── dummy ├── Rakefile ├── app │ ├── assets │ │ ├── config │ │ │ └── manifest.js │ │ ├── images │ │ │ └── .keep │ │ └── stylesheets │ │ │ └── application.css │ ├── channels │ │ └── application_cable │ │ │ ├── channel.rb │ │ │ └── connection.rb │ ├── controllers │ │ ├── application_controller.rb │ │ ├── concerns │ │ │ └── .keep │ │ └── examples_controller.rb │ ├── helpers │ │ └── application_helper.rb │ ├── javascript │ │ └── packs │ │ │ └── application.js │ ├── jobs │ │ └── application_job.rb │ ├── mailers │ │ └── application_mailer.rb │ ├── models │ │ ├── application_record.rb │ │ └── concerns │ │ │ └── .keep │ └── views │ │ └── layouts │ │ ├── application.html.erb │ │ ├── mailer.html.erb │ │ └── mailer.text.erb ├── bin │ ├── rails │ ├── rake │ └── setup ├── config.ru ├── config │ ├── application.rb │ ├── boot.rb │ ├── cable.yml │ ├── database.yml │ ├── environment.rb │ ├── environments │ │ ├── development.rb │ │ ├── production.rb │ │ └── test.rb │ ├── initializers │ │ ├── application_controller_renderer.rb │ │ ├── assets.rb │ │ ├── backtrace_silencers.rb │ │ ├── content_security_policy.rb │ │ ├── cookies_serializer.rb │ │ ├── filter_parameter_logging.rb │ │ ├── inflections.rb │ │ ├── mime_types.rb │ │ ├── permissions_policy.rb │ │ └── wrap_parameters.rb │ ├── locales │ │ └── en.yml │ ├── puma.rb │ ├── routes.rb │ └── storage.yml ├── lib │ └── assets │ │ └── .keep ├── log │ └── .keep └── public │ ├── 404.html │ ├── 422.html │ ├── 500.html │ ├── apple-touch-icon-precomposed.png │ ├── apple-touch-icon.png │ └── favicon.ico ├── helpers └── action_view │ └── attributes │ └── application_helper_test.rb ├── integration └── helpers_test.rb └── test_helper.rb /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seanpdoyle/action_view-attributes/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seanpdoyle/action_view-attributes/HEAD/.gitignore -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seanpdoyle/action_view-attributes/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seanpdoyle/action_view-attributes/HEAD/Gemfile -------------------------------------------------------------------------------- /MIT-LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seanpdoyle/action_view-attributes/HEAD/MIT-LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seanpdoyle/action_view-attributes/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seanpdoyle/action_view-attributes/HEAD/Rakefile -------------------------------------------------------------------------------- /action_view-attributes.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seanpdoyle/action_view-attributes/HEAD/action_view-attributes.gemspec -------------------------------------------------------------------------------- /app/helpers/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/helpers/action_view/attributes/application_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seanpdoyle/action_view-attributes/HEAD/app/helpers/action_view/attributes/application_helper.rb -------------------------------------------------------------------------------- /bin/rails: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seanpdoyle/action_view-attributes/HEAD/bin/rails -------------------------------------------------------------------------------- /config/routes.rb: -------------------------------------------------------------------------------- 1 | Rails.application.routes.draw do 2 | end 3 | -------------------------------------------------------------------------------- /lib/action_view-attributes.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seanpdoyle/action_view-attributes/HEAD/lib/action_view-attributes.rb -------------------------------------------------------------------------------- /lib/action_view/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seanpdoyle/action_view-attributes/HEAD/lib/action_view/README.md -------------------------------------------------------------------------------- /lib/action_view/attributes.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seanpdoyle/action_view-attributes/HEAD/lib/action_view/attributes.rb -------------------------------------------------------------------------------- /lib/action_view/attributes/engine.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seanpdoyle/action_view-attributes/HEAD/lib/action_view/attributes/engine.rb -------------------------------------------------------------------------------- /lib/action_view/attributes/tag_builder.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seanpdoyle/action_view-attributes/HEAD/lib/action_view/attributes/tag_builder.rb -------------------------------------------------------------------------------- /lib/action_view/attributes/with_options_backport.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seanpdoyle/action_view-attributes/HEAD/lib/action_view/attributes/with_options_backport.rb -------------------------------------------------------------------------------- /lib/tasks/action_view-attributes.rake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seanpdoyle/action_view-attributes/HEAD/lib/tasks/action_view-attributes.rake -------------------------------------------------------------------------------- /test/dummy/Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seanpdoyle/action_view-attributes/HEAD/test/dummy/Rakefile -------------------------------------------------------------------------------- /test/dummy/app/assets/config/manifest.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seanpdoyle/action_view-attributes/HEAD/test/dummy/app/assets/config/manifest.js -------------------------------------------------------------------------------- /test/dummy/app/assets/images/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/dummy/app/assets/stylesheets/application.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seanpdoyle/action_view-attributes/HEAD/test/dummy/app/assets/stylesheets/application.css -------------------------------------------------------------------------------- /test/dummy/app/channels/application_cable/channel.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seanpdoyle/action_view-attributes/HEAD/test/dummy/app/channels/application_cable/channel.rb -------------------------------------------------------------------------------- /test/dummy/app/channels/application_cable/connection.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seanpdoyle/action_view-attributes/HEAD/test/dummy/app/channels/application_cable/connection.rb -------------------------------------------------------------------------------- /test/dummy/app/controllers/application_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seanpdoyle/action_view-attributes/HEAD/test/dummy/app/controllers/application_controller.rb -------------------------------------------------------------------------------- /test/dummy/app/controllers/concerns/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/dummy/app/controllers/examples_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seanpdoyle/action_view-attributes/HEAD/test/dummy/app/controllers/examples_controller.rb -------------------------------------------------------------------------------- /test/dummy/app/helpers/application_helper.rb: -------------------------------------------------------------------------------- 1 | module ApplicationHelper 2 | end 3 | -------------------------------------------------------------------------------- /test/dummy/app/javascript/packs/application.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seanpdoyle/action_view-attributes/HEAD/test/dummy/app/javascript/packs/application.js -------------------------------------------------------------------------------- /test/dummy/app/jobs/application_job.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seanpdoyle/action_view-attributes/HEAD/test/dummy/app/jobs/application_job.rb -------------------------------------------------------------------------------- /test/dummy/app/mailers/application_mailer.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seanpdoyle/action_view-attributes/HEAD/test/dummy/app/mailers/application_mailer.rb -------------------------------------------------------------------------------- /test/dummy/app/models/application_record.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seanpdoyle/action_view-attributes/HEAD/test/dummy/app/models/application_record.rb -------------------------------------------------------------------------------- /test/dummy/app/models/concerns/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/dummy/app/views/layouts/application.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seanpdoyle/action_view-attributes/HEAD/test/dummy/app/views/layouts/application.html.erb -------------------------------------------------------------------------------- /test/dummy/app/views/layouts/mailer.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seanpdoyle/action_view-attributes/HEAD/test/dummy/app/views/layouts/mailer.html.erb -------------------------------------------------------------------------------- /test/dummy/app/views/layouts/mailer.text.erb: -------------------------------------------------------------------------------- 1 | <%= yield %> 2 | -------------------------------------------------------------------------------- /test/dummy/bin/rails: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seanpdoyle/action_view-attributes/HEAD/test/dummy/bin/rails -------------------------------------------------------------------------------- /test/dummy/bin/rake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seanpdoyle/action_view-attributes/HEAD/test/dummy/bin/rake -------------------------------------------------------------------------------- /test/dummy/bin/setup: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seanpdoyle/action_view-attributes/HEAD/test/dummy/bin/setup -------------------------------------------------------------------------------- /test/dummy/config.ru: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seanpdoyle/action_view-attributes/HEAD/test/dummy/config.ru -------------------------------------------------------------------------------- /test/dummy/config/application.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seanpdoyle/action_view-attributes/HEAD/test/dummy/config/application.rb -------------------------------------------------------------------------------- /test/dummy/config/boot.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seanpdoyle/action_view-attributes/HEAD/test/dummy/config/boot.rb -------------------------------------------------------------------------------- /test/dummy/config/cable.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seanpdoyle/action_view-attributes/HEAD/test/dummy/config/cable.yml -------------------------------------------------------------------------------- /test/dummy/config/database.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seanpdoyle/action_view-attributes/HEAD/test/dummy/config/database.yml -------------------------------------------------------------------------------- /test/dummy/config/environment.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seanpdoyle/action_view-attributes/HEAD/test/dummy/config/environment.rb -------------------------------------------------------------------------------- /test/dummy/config/environments/development.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seanpdoyle/action_view-attributes/HEAD/test/dummy/config/environments/development.rb -------------------------------------------------------------------------------- /test/dummy/config/environments/production.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seanpdoyle/action_view-attributes/HEAD/test/dummy/config/environments/production.rb -------------------------------------------------------------------------------- /test/dummy/config/environments/test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seanpdoyle/action_view-attributes/HEAD/test/dummy/config/environments/test.rb -------------------------------------------------------------------------------- /test/dummy/config/initializers/application_controller_renderer.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seanpdoyle/action_view-attributes/HEAD/test/dummy/config/initializers/application_controller_renderer.rb -------------------------------------------------------------------------------- /test/dummy/config/initializers/assets.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seanpdoyle/action_view-attributes/HEAD/test/dummy/config/initializers/assets.rb -------------------------------------------------------------------------------- /test/dummy/config/initializers/backtrace_silencers.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seanpdoyle/action_view-attributes/HEAD/test/dummy/config/initializers/backtrace_silencers.rb -------------------------------------------------------------------------------- /test/dummy/config/initializers/content_security_policy.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seanpdoyle/action_view-attributes/HEAD/test/dummy/config/initializers/content_security_policy.rb -------------------------------------------------------------------------------- /test/dummy/config/initializers/cookies_serializer.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seanpdoyle/action_view-attributes/HEAD/test/dummy/config/initializers/cookies_serializer.rb -------------------------------------------------------------------------------- /test/dummy/config/initializers/filter_parameter_logging.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seanpdoyle/action_view-attributes/HEAD/test/dummy/config/initializers/filter_parameter_logging.rb -------------------------------------------------------------------------------- /test/dummy/config/initializers/inflections.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seanpdoyle/action_view-attributes/HEAD/test/dummy/config/initializers/inflections.rb -------------------------------------------------------------------------------- /test/dummy/config/initializers/mime_types.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seanpdoyle/action_view-attributes/HEAD/test/dummy/config/initializers/mime_types.rb -------------------------------------------------------------------------------- /test/dummy/config/initializers/permissions_policy.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seanpdoyle/action_view-attributes/HEAD/test/dummy/config/initializers/permissions_policy.rb -------------------------------------------------------------------------------- /test/dummy/config/initializers/wrap_parameters.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seanpdoyle/action_view-attributes/HEAD/test/dummy/config/initializers/wrap_parameters.rb -------------------------------------------------------------------------------- /test/dummy/config/locales/en.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seanpdoyle/action_view-attributes/HEAD/test/dummy/config/locales/en.yml -------------------------------------------------------------------------------- /test/dummy/config/puma.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seanpdoyle/action_view-attributes/HEAD/test/dummy/config/puma.rb -------------------------------------------------------------------------------- /test/dummy/config/routes.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seanpdoyle/action_view-attributes/HEAD/test/dummy/config/routes.rb -------------------------------------------------------------------------------- /test/dummy/config/storage.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seanpdoyle/action_view-attributes/HEAD/test/dummy/config/storage.yml -------------------------------------------------------------------------------- /test/dummy/lib/assets/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/dummy/log/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/dummy/public/404.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seanpdoyle/action_view-attributes/HEAD/test/dummy/public/404.html -------------------------------------------------------------------------------- /test/dummy/public/422.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seanpdoyle/action_view-attributes/HEAD/test/dummy/public/422.html -------------------------------------------------------------------------------- /test/dummy/public/500.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seanpdoyle/action_view-attributes/HEAD/test/dummy/public/500.html -------------------------------------------------------------------------------- /test/dummy/public/apple-touch-icon-precomposed.png: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/dummy/public/apple-touch-icon.png: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/dummy/public/favicon.ico: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/helpers/action_view/attributes/application_helper_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seanpdoyle/action_view-attributes/HEAD/test/helpers/action_view/attributes/application_helper_test.rb -------------------------------------------------------------------------------- /test/integration/helpers_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seanpdoyle/action_view-attributes/HEAD/test/integration/helpers_test.rb -------------------------------------------------------------------------------- /test/test_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seanpdoyle/action_view-attributes/HEAD/test/test_helper.rb --------------------------------------------------------------------------------