beyond-rails 1.0.15 → 1.0.16

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/src/js/components/TagInput.js +4 -0
  3. metadata +18 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5f4828fd3221f4e4d2bb2ccc09fcdaaf57a849123bd963c0cb83ae386bdb1b5c
4
- data.tar.gz: 66c59442f6440c8a3b266169fb8380fbfa6fe6a45091a11c9a9d270cbdd1863e
3
+ metadata.gz: b780979f87486b16c2ea25af18ad8a37a103e556aed14f811a8fd7f1eb1c750f
4
+ data.tar.gz: 8575fdd96a7871e13a93456a1445f873a7088b38d8498a7ec5f42811a23fcacf
5
5
  SHA512:
6
- metadata.gz: 765c43a69e7ebd7ec7c907238b59a6001a54af2d360fe5ef41db8f6079ca714f8aa82f2399dbe49880ffe022e06cbe10397cb889c62f8aba52f7e04e422becc2
7
- data.tar.gz: f197ec3643d6bf1f96c619e85e59ba2782787ce9c601ece34748b56531c32071aefd96fcd0d6a91dc7fa915b14faca13673969e6fa610cb54c5c00e787cc8207
6
+ metadata.gz: cd2eb48dc13b325b990b9ce0cdbf6ff231f1f068aab15c0d44f1dc2b24cca12a2f02402e7965923b9f22239fde8e1f1191f33b219b0165f085a3d8bd83302004
7
+ data.tar.gz: dda98c04a231066f187a1d02e68b0b39c05ca526ee652cb567e4a1c4fd8ba8aa184961480666db8668c0299cc3966ddfcfc030fb02423a5e1bfd6c942abc06fa
@@ -241,6 +241,10 @@ export default class TagInput {
241
241
  lastValue = input.value
242
242
  })
243
243
 
244
+ this.addEvent(input, 'blur', () => {
245
+ this.addTagIfNeeded()
246
+ })
247
+
244
248
  this.addEvent(input, 'input', event => {
245
249
  this.suggestInputIfNeeded(input.value)
246
250
  this.raf(() => {
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: beyond-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.15
4
+ version: 1.0.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - kmsheng
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2022-05-04 00:00:00.000000000 Z
12
+ date: 2022-06-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sassc
@@ -55,30 +55,42 @@ dependencies:
55
55
  name: actionpack
56
56
  requirement: !ruby/object:Gem::Requirement
57
57
  requirements:
58
- - - "~>"
58
+ - - ">="
59
59
  - !ruby/object:Gem::Version
60
60
  version: '5.0'
61
+ - - "<"
62
+ - !ruby/object:Gem::Version
63
+ version: '7.0'
61
64
  type: :runtime
62
65
  prerelease: false
63
66
  version_requirements: !ruby/object:Gem::Requirement
64
67
  requirements:
65
- - - "~>"
68
+ - - ">="
66
69
  - !ruby/object:Gem::Version
67
70
  version: '5.0'
71
+ - - "<"
72
+ - !ruby/object:Gem::Version
73
+ version: '7.0'
68
74
  - !ruby/object:Gem::Dependency
69
75
  name: activemodel
70
76
  requirement: !ruby/object:Gem::Requirement
71
77
  requirements:
72
- - - "~>"
78
+ - - ">="
73
79
  - !ruby/object:Gem::Version
74
80
  version: '5.0'
81
+ - - "<"
82
+ - !ruby/object:Gem::Version
83
+ version: '7.0'
75
84
  type: :runtime
76
85
  prerelease: false
77
86
  version_requirements: !ruby/object:Gem::Requirement
78
87
  requirements:
79
- - - "~>"
88
+ - - ">="
80
89
  - !ruby/object:Gem::Version
81
90
  version: '5.0'
91
+ - - "<"
92
+ - !ruby/object:Gem::Version
93
+ version: '7.0'
82
94
  - !ruby/object:Gem::Dependency
83
95
  name: will_paginate
84
96
  requirement: !ruby/object:Gem::Requirement