chop 0.25.1 → 0.25.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: f53842373f4008147af52ccaa536a0feba22f09f21f6a817a03843b97a63677f
4
- data.tar.gz: 606f70be3cec864c4475f45a8dcd9356c79b153aa338129f4ada6819bac5f354
3
+ metadata.gz: 60f2038bae8b6de4d0f84113ad67cc767801680b44cabd7cd3c6bcecd1c5713a
4
+ data.tar.gz: cb31b02477ae71c42a6efc29c223746482b0e1dc6d59a1feb024e37eed2aad4b
5
5
  SHA512:
6
- metadata.gz: 9adfc4c43d158774acc43ffe64f95826614e88734482ba16cb989f4e3150bc88026384b60f29601b3d059eebb80db53b04717f30537976fdcc3d4f3c022c61f6
7
- data.tar.gz: 91474fd0c048d4fbf61fa91becadc0cee1ffe88ebcda94a718380abde85b5b3c5bf0bfd7417ec5f239ee23fa6c99045eeb5784c7d4b63c89d08450ef5f709882
6
+ metadata.gz: 72533d44429257e54a7c6136e8df1ac6550d0d528bc28c101923daff40f83db159c411b2e8a374dbd42adb12ffb34bc17b1ec2a1de994418cf3348cdcf8f3720
7
+ data.tar.gz: ba0e4264a9472e4f0a9c5ad58c699d0008263627f9b036edebe7f2ebad1cc7f5569d7f1d07860cd95cc58c90ae78024bdc0af699d4608a846cd318f632405086
@@ -113,6 +113,10 @@ module Chop
113
113
  end
114
114
  end
115
115
 
116
+ def get_value
117
+ checkboxes.select(&:checked?).map(&:value).join(", ")
118
+ end
119
+
116
120
  private
117
121
 
118
122
  def checkboxes
@@ -1,3 +1,3 @@
1
1
  module Chop
2
- VERSION = "0.25.1"
2
+ VERSION = "0.25.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.25.1
4
+ version: 0.25.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Micah Geisel
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-03-08 00:00:00.000000000 Z
11
+ date: 2020-03-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord