simple_model_view 0.1.3 → 0.1.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: 7be793d68e9e35d5c07d0b74e0632b45a69eab112ddb766f83549dd88deb0167
4
- data.tar.gz: 894444ed831d2750d7169d07f160bf667ea58f7b8f1f435e3e41d59458726678
3
+ metadata.gz: 164311a9bb5ffabe4d687523face9a09ec8c060d056d8b1f5f79f97174c525e7
4
+ data.tar.gz: 60e15aa8e5810c0d8de9ede3b17cac55f4cbb0460f4cf120075e715041b48ecd
5
5
  SHA512:
6
- metadata.gz: c4ba918e143a7025875bb7672013513362bddaba71c36b57399cf35621e006aefb06e694f7994b30b4dae71e14ade59fe6da7c25e5f0855846848ce7e91b104a
7
- data.tar.gz: 425ea95a24a11e4239987ae1bbb1823f2f1e16aa1216387cd21dbdeeb5d338f699db6734f8163074766ac2212944827c95289cce7c3a5a057e742a5a9527c40b
6
+ metadata.gz: 64b3dedbb5ee9c72e9b8927a16f20c0039c4443f701870aa17dcdcd124b83a8447d18ce47a333bf66fa1603287d4c143bea0cd4864b67a3eb00bcd2d487d3d8a
7
+ data.tar.gz: 8704db907d53e9259fa4962189497bf96d810d36bc36d4e31a110509d4012227d36b00094344bcd29e6927309f7cc20584ac1bd2d5268bffc8e4df59e7079d31
@@ -1,3 +1,7 @@
1
+ ## 0.1.4
2
+ * Fixed bug with rendering collection with block
3
+ * Updated rack to 2.0.8
4
+
1
5
  ## 0.1.3
2
6
  * Added configuration feature.
3
7
 
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- simple_model_view (0.1.3)
4
+ simple_model_view (0.1.4)
5
5
  actionview (>= 5.0)
6
6
 
7
7
  GEM
@@ -47,7 +47,7 @@ GEM
47
47
  parallel (1.19.1)
48
48
  parser (2.6.5.0)
49
49
  ast (~> 2.4.0)
50
- rack (2.0.7)
50
+ rack (2.0.8)
51
51
  rack-test (1.1.0)
52
52
  rack (>= 1.0, < 3)
53
53
  rails-dom-testing (2.0.3)
@@ -119,7 +119,9 @@ module SimpleModelView # rubocop:disable
119
119
  def render_collection(collection)
120
120
  template.content_tag :ul do
121
121
  collection.each do |el|
122
- template.concat(template.content_tag(:li, (yield el)))
122
+ block_concat do
123
+ template.content_tag(:li) { yield el }
124
+ end
123
125
  end
124
126
  end
125
127
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SimpleModelView
4
- VERSION = '0.1.3'
4
+ VERSION = '0.1.4'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple_model_view
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yuriy Esaulov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-12-06 00:00:00.000000000 Z
11
+ date: 2019-12-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionview