modalist 2.3.3 → 2.3.4

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: 0d15713483f772cfae5452bfca58529b5cf71244ca3de0696c648e4c809ed9e3
4
- data.tar.gz: b23398977d53a7d710eb2136792833883d1f980b9415ed43924d0556332acf0f
3
+ metadata.gz: 3500c1313cb4f424574ce126edb1add33a9ab67a4b55779693580db1e030fc3a
4
+ data.tar.gz: 4ed0d8e6b145c935ff156cb1e486cab7707c3f57b12a00fb96cd0fddb3fa2222
5
5
  SHA512:
6
- metadata.gz: 3ef7cf58ffdedbbf028ce5c192658c1b480d441cb2cb8e1a24deb22467e8f34debc519de8ea60864feb667718776e6f3a357abde1c302cc314c2ae0231f1df07
7
- data.tar.gz: f29ddc1133d47f176a809d8a9280866f73435d7914e41af915a4136a968056c7df29c6040216cf3e4d74c545b13a43d3670c3e0df52f17541883484238c1d597
6
+ metadata.gz: 32971d260d109395c3a7750904231a90ad6aac8a2e1a408a8a90b00a3cd1a475fcbc245d566777d3d83337bae0103fbcada0ff5852732c2b2ed97a36606c993e
7
+ data.tar.gz: 957ac36004ecb2c30a54a8cc51cfd54a1bba6cec7cc4739aa200335a343cd224610548c58ffa94c2c14734a9dfb1202e64b38696316c6d3bd048e68ac9f60682
@@ -3,7 +3,7 @@
3
3
  module Modalist
4
4
  module ModalHelper
5
5
  def modalist_class_hierarchy(options = [], delimiter = ' ')
6
- options.map(&:inspect).join(delimiter).delete('",[]', '')
6
+ options.join(delimiter)
7
7
  end
8
8
  end
9
9
  end
@@ -14,6 +14,6 @@
14
14
  </div>
15
15
  <% end %>
16
16
 
17
- <div class="modalist--content-body <%= modalist_class_hierarchy [params[:controller].split('/').each { |n| n }, action_name] %>">
17
+ <div class="modalist--content-body <%= modalist_class_hierarchy([params[:controller].split('/'), action_name]) %>">
18
18
  <%= yield %>
19
19
  </div>
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Modalist
4
- VERSION = '2.3.3'
4
+ VERSION = '2.3.4'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: modalist
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.3
4
+ version: 2.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonas Hübotter
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-08-19 00:00:00.000000000 Z
11
+ date: 2018-08-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionpack
@@ -116,7 +116,7 @@ files:
116
116
  - lib/modalist/engine.rb
117
117
  - lib/modalist/railtie.rb
118
118
  - lib/modalist/version.rb
119
- homepage: https://github.com/jonhue/modalist-ruby
119
+ homepage: https://github.com/jonhue/modalist-rails
120
120
  licenses:
121
121
  - MIT
122
122
  metadata: {}