culturecode-acts_as_taggable 1.0.1 → 1.0.2

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: fc8e85fd59671c728f7ec013b4ea74f846f38d0f4157b05955e6446404e210fa
4
- data.tar.gz: a8a6cda8da86ed122251b2afe61e4dfadbf62759ee4eebc0603b3003a711ba9a
3
+ metadata.gz: 10a06d3f044e44dff881a3e5c813aa5f0340aca850e4e2a8e9ab0bada47a3bb9
4
+ data.tar.gz: 41edad26dc5435161722c087e6e7fe54562fac49facf132d88b7733a171de0e6
5
5
  SHA512:
6
- metadata.gz: b433dfd42530a7ff6288b4c3b1a61c92a01d223da68953592b19e5565558456b1651ae838384a1ea6b84c21b78badd259af1a6c8e7d1024e0a28b7dc9fd9a3c1
7
- data.tar.gz: db130939990cbd4e21645ca0310a22f2cbf90dab705bfb1d6089f944c9332240ba647ce9482af0b6d208808ccef3913ba90d560f794ee7bdf0c6f01b7a917ccf
6
+ metadata.gz: 3d56e39b3deb691d67f3c4abb7fbf70dac0f7f7a856ac3eef09ae7965390d14425ef358d59ee2059cd17d93cecda979f3f3c8819f9720afc8264e90b6e271a64
7
+ data.tar.gz: 6d1ea09a57b7c9aa70fca6f4a65ed0db03579037f9c20618f7010efb2319d185601ace6790486940f52ce3e68bdade1ad76c632cb884e149de2f6dd04a24b998
@@ -71,7 +71,7 @@ module ActsAsTaggable
71
71
 
72
72
  # Given an unsanitized string or list of tags, Returns a list of tags
73
73
  def find_tags(*input)
74
- input = input.flatten
74
+ input = input.flatten.compact
75
75
  input = input.first if input.one?
76
76
  case input
77
77
  when Tag
@@ -1,3 +1,3 @@
1
1
  module ActsAsTaggable
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: culturecode-acts_as_taggable
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nicholas Jakobsen
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2020-05-23 00:00:00.000000000 Z
12
+ date: 2020-06-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activerecord