cartoonist-comics 0.0.13 → 0.0.14

Sign up to get free protection for your applications and to get access to all the features.
@@ -55,10 +55,12 @@ class ComicController < CartoonistController
55
55
 
56
56
  private
57
57
  def feed_contents
58
- result = comic_cache.read "feed"
58
+ key = "feed"
59
+ key = "#{key}-mobile" if mobile?
60
+ result = comic_cache.read key
59
61
  return result if result
60
62
  result = ComicFeed.new Comic.feed
61
- comic_cache.write "feed", result
63
+ comic_cache.write key, result
62
64
  result
63
65
  end
64
66
 
@@ -21,8 +21,6 @@
21
21
  <%= @comic.formatted_description %>
22
22
  </div>
23
23
 
24
- <% if mobile? %>
25
- <p class="title-text">
26
- <%= @comic.title_text %>
27
- </p>
28
- <% end %>
24
+ <p class="title-text mobile-only">
25
+ <%= @comic.title_text %>
26
+ </p>
@@ -2,7 +2,7 @@ module CartoonistComics
2
2
  class Version
3
3
  class << self
4
4
  def to_s
5
- "0.0.13"
5
+ "0.0.14"
6
6
  end
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cartoonist-comics
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.13
4
+ version: 0.0.14
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,19 +9,19 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-11-10 00:00:00.000000000 Z
12
+ date: 2012-11-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: cartoonist
16
- requirement: &15022640 !ruby/object:Gem::Requirement
16
+ requirement: &11443300 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - =
20
20
  - !ruby/object:Gem::Version
21
- version: 0.0.13
21
+ version: 0.0.14
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *15022640
24
+ version_requirements: *11443300
25
25
  description: This core plugin for Cartoonist adds comics.
26
26
  email: reasonnumber@gmail.com
27
27
  executables: []