feedcellar-web 0.4.2 → 0.4.3

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: f3dadd52a9a10e3c7b3747a538a9367314c58826
4
- data.tar.gz: 6c416a0f26fd62050dd4049294677381a5f12dc7
3
+ metadata.gz: 72eb3c01eb4f352febe8c82c72146d27c96aa08f
4
+ data.tar.gz: c7fcc7ff4d00f820bc24dcd39bca1c972b2ff6b5
5
5
  SHA512:
6
- metadata.gz: 1a7ef8200c6558470a1f08f46c3ebb7368e19538243c9be273a2bac49cff85063acec29d26b484715d131d43fde84f30c56c4e9d7399245e6540d2e50647380b
7
- data.tar.gz: 3574831e84ee5e026f42623e3629bce9ad4811243ade5595cd26cf050ed7866f1ddf7b033d1d8bf11469cdd2c21f1babe8e262cd77d01cc5e77e8ec4543d9d03
6
+ metadata.gz: ca2a990851a6aa433390ca3bd2eee0114155f28fa157a5c90c3fe3a82cfce22cf744554da2c5cd0c48b6bf3f8ae5a3472d924ff779aebd4ea471ca7905d58106
7
+ data.tar.gz: ef8ca6f8534be71600c42915a1933c4a080c7d568ad3e1a9b2a355a8a1781673d4993200230882d1e365267cd2ee26d5ce151b260914f53c2ebaf947d0459a4d
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- feedcellar-web (0.4.2)
4
+ feedcellar-web (0.4.3)
5
5
  feedcellar (>= 0.6.0)
6
6
  haml
7
7
  kaminari
@@ -41,7 +41,7 @@ GEM
41
41
  backports (3.6.8)
42
42
  builder (3.2.2)
43
43
  erubis (2.7.0)
44
- feedcellar (0.7.0)
44
+ feedcellar (0.7.1)
45
45
  parallel
46
46
  rroonga (>= 5.0.0)
47
47
  thor
data/NEWS.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # NEWS
2
2
 
3
+ ## 0.4.3: 2016-02-17
4
+
5
+ ### Changes
6
+
7
+ #### Improvements
8
+
9
+ * Used the latest Feedcellar.
10
+
11
+ #### Fixed
12
+
13
+ * Don't paginate drilldown source.
14
+
3
15
  ## 0.4.2: 2016-02-17
4
16
 
5
17
  ### Changes
@@ -79,11 +79,11 @@ module Feedcellar
79
79
  @feeds = search(words, options)
80
80
  page = (params[:page] || 1).to_i
81
81
  size = (params[:n_per_page] || 50).to_i
82
- @feeds = @feeds.paginate([["date", :desc]],
83
- page: page,
84
- size: size)
85
- @feeds.extend(PaginationProxy)
86
- @feeds
82
+ @paginated_feeds = @feeds.paginate([["date", :desc]],
83
+ page: page,
84
+ size: size)
85
+ @paginated_feeds.extend(PaginationProxy)
86
+ @paginated_feeds
87
87
  end
88
88
 
89
89
  def search(words, options={})
@@ -18,6 +18,6 @@
18
18
 
19
19
  module Feedcellar
20
20
  module Web
21
- VERSION = "0.4.2"
21
+ VERSION = "0.4.3"
22
22
  end
23
23
  end
@@ -1,10 +1,10 @@
1
- - if @feeds.total_pages > 1
2
- = paginate(@feeds)
1
+ - if @paginated_feeds.total_pages > 1
2
+ = paginate(@paginated_feeds)
3
3
  %ul
4
- - @feeds.each do |feed|
4
+ - @paginated_feeds.each do |feed|
5
5
  %li
6
6
  %p
7
7
  = feed.date.strftime("%Y-%m-%d")
8
8
  = link_to("#{feed.title} - #{feed.resource.title}", feed.link)
9
- - if @feeds.total_pages > 1
10
- = paginate(@feeds)
9
+ - if @paginated_feeds.total_pages > 1
10
+ = paginate(@paginated_feeds)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: feedcellar-web
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Masafumi Yokoyama