bulma_form_builder 0.2.1 → 0.3.0

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: e51f26b98a29477b64bd28c5a422a0b1a988c80bd2e8e4b97366e4d35680248a
4
- data.tar.gz: 45e6f7c0aa54c619ad54a72e226b3fa7d81e27d62f2926e498c82435163baa31
3
+ metadata.gz: a60707625f70120427987e72f117880d109b3b193bae3ccfb0a2688c2d607509
4
+ data.tar.gz: b21b3ae5a78ab04ab1d51143ff70c8192208253c10512b130f2653d18c9c51e0
5
5
  SHA512:
6
- metadata.gz: 5c551a24eea9f8354628905b3c5dab4430d774823b7245b5add50d590fbbf1db562fb1e7df4cdff903340f1ff81ecef41210a57ba64570371c6bcf950400c3ea
7
- data.tar.gz: dd921cae6c47172576cba3a5631e6dc250e997e26989bfc4d81760620cc0c73dd103bf21f47c847837b75e860c4029a9dc4001bede44f797aa845bb6f9c90e1a
6
+ metadata.gz: 45184ec85d0155745d7fb6ed99dcd572732000fe7078fd9ad448fe35552ac8f87598e21fe71e533e15d82a23728d830295e508b2b9e321ca41d485d0ed75cce1
7
+ data.tar.gz: e3bc137abc06fb49efdab1768ba125cbfce97f1de0a56e28b94d964674e0bffd5e5865e5030fc7610155d36d2c4148311147e992af9a0e27ef0cf5b9352d0a8c
@@ -1,3 +1,8 @@
1
+ ## 0.3.0
2
+
3
+ - Add url_field
4
+ - Update dependency
5
+
1
6
  ## 0.2.1
2
7
 
3
8
  - Support the check_box helpter option
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
22
22
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
23
23
  spec.require_paths = ["lib"]
24
24
 
25
- spec.add_dependency "rails", ">= 5.2.0"
25
+ spec.add_dependency "rails", ">= 6.0.3.3"
26
26
 
27
27
  spec.add_development_dependency "bundler", "~> 2.0"
28
28
  spec.add_development_dependency "rake"
@@ -16,6 +16,7 @@ module BulmaFormBuilder
16
16
 
17
17
  include BulmaFormBuilder::Inputs::Base
18
18
  include BulmaFormBuilder::Inputs::EmailField
19
+ include BulmaFormBuilder::Inputs::UrlField
19
20
  include BulmaFormBuilder::Inputs::DateField
20
21
  include BulmaFormBuilder::Inputs::TimeField
21
22
  include BulmaFormBuilder::Inputs::MonthField
@@ -4,6 +4,7 @@ require 'bulma_form_builder/inputs/collection_check_boxes'
4
4
  require 'bulma_form_builder/inputs/collection_radio_buttons'
5
5
  require 'bulma_form_builder/inputs/date_field'
6
6
  require 'bulma_form_builder/inputs/email_field'
7
+ require 'bulma_form_builder/inputs/url_field'
7
8
  require 'bulma_form_builder/inputs/month_field'
8
9
  require 'bulma_form_builder/inputs/number_field'
9
10
  require 'bulma_form_builder/inputs/password_field'
@@ -3,7 +3,7 @@ module BulmaFormBuilder
3
3
  module Base
4
4
  extend ActiveSupport::Concern
5
5
 
6
- ELEMENTS_WITH_INPUT_CLASS = %i[email_field number_field password_field text_field].freeze
6
+ ELEMENTS_WITH_INPUT_CLASS = %i[email_field url_field number_field password_field text_field].freeze
7
7
 
8
8
  class_methods do
9
9
  def bulma_field(field_name)
@@ -0,0 +1,13 @@
1
+ module BulmaFormBuilder
2
+ module Inputs
3
+ module UrlField
4
+ extend ActiveSupport::Concern
5
+
6
+ include Base
7
+
8
+ included do
9
+ bulma_field(:url_field)
10
+ end
11
+ end
12
+ end
13
+ end
@@ -1,3 +1,3 @@
1
1
  module BulmaFormBuilder
2
- VERSION = '0.2.1'
2
+ VERSION = '0.3.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bulma_form_builder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - aki77
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-07-30 00:00:00.000000000 Z
11
+ date: 2020-10-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 5.2.0
19
+ version: 6.0.3.3
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: 5.2.0
26
+ version: 6.0.3.3
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -76,7 +76,6 @@ extra_rdoc_files: []
76
76
  files:
77
77
  - ".gitignore"
78
78
  - ".rspec"
79
- - ".travis.yml"
80
79
  - CHANGELOG.md
81
80
  - CODE_OF_CONDUCT.md
82
81
  - Gemfile
@@ -108,6 +107,7 @@ files:
108
107
  - lib/bulma_form_builder/inputs/text_area.rb
109
108
  - lib/bulma_form_builder/inputs/text_field.rb
110
109
  - lib/bulma_form_builder/inputs/time_field.rb
110
+ - lib/bulma_form_builder/inputs/url_field.rb
111
111
  - lib/bulma_form_builder/railtie.rb
112
112
  - lib/bulma_form_builder/version.rb
113
113
  homepage: https://github.com/aki77/bulma_form_builder
@@ -1,7 +0,0 @@
1
- ---
2
- sudo: false
3
- language: ruby
4
- cache: bundler
5
- rvm:
6
- - 2.6.3
7
- before_install: gem install bundler -v 2.0.2