ecm_news2 2.0.9 → 2.0.10

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
  SHA1:
3
- metadata.gz: 0d502de2878e2918dfa9d97bf9b80699db1ba58f
4
- data.tar.gz: 3ad26bd2f97d1cbc19acb39fd6d89c7abaf5dede
3
+ metadata.gz: 89cfb6c7ce0c5723892332204477751e65d91374
4
+ data.tar.gz: c7c40cd8d493cbc21e06c9ce3f4008a63c04076b
5
5
  SHA512:
6
- metadata.gz: 9883561dc7defd1a216caffc45c8e5a728686117790c423ddfcab1a369a6701745bcba1978f3e47aa95bcb4ae0a94aab2fb062f77fe25edef29c6d19bbc30ce3
7
- data.tar.gz: 024fff8ff9ae3f29f7d6b26fc1e143f9708418f1c15c48df7463e8f070fa417eee2272cd602b727099c614997ad045eaaf65cee9b2f15a86afe587ac9b41b118
6
+ metadata.gz: 43c15695390e39f1ab8415c825058da7fb4093c242710f3abdd29ef75d8bd9f10bbf1fb31769d99e7aaa3ff069313d662f11274ef3b271485f8c96922ea1d3a9
7
+ data.tar.gz: cd9db0fee8b03fe183525591d689127bd7d8bb1da4b13cff0774939c3f931df5218a994c35eb726d4d1d2f354917ec29f9d7ddf20d43abf6f1f08d9ea5d87189
@@ -2,7 +2,9 @@
2
2
  <% content_for :title, t('ecm.news.news') %>
3
3
  <h1><%= t('ecm.news.news') %></h1>
4
4
 
5
- <%= render :partial => 'item_in_list', :collection => @items, :as => :item %>
5
+ <% @items.each_with_index do |item, index| %>
6
+ <%= render partial: 'item_in_list', locals: { item: item, index: (index + 1) } %>
7
+ <% end %>
6
8
 
7
9
  <%= paginate @items, theme: 'twitter-bootstrap-3' %>
8
10
 
@@ -1,5 +1,5 @@
1
1
  module Ecm
2
2
  module News
3
- VERSION = '2.0.9'
3
+ VERSION = '2.0.10'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ecm_news2
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.9
4
+ version: 2.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roberto Vasquez Angel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-01-29 00:00:00.000000000 Z
11
+ date: 2017-01-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails