cartoonist-comics 0.0.20.1 → 0.0.20.2

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: dd60e352cab5cf5a0cdff8db846e3e829781d7a9
4
- data.tar.gz: de5b1a5111b03a2cf639a5c5c06014b5ce3353e6
3
+ metadata.gz: 81584fee2fa1b2af6bfdc5a443244945f88c4c27
4
+ data.tar.gz: f2b102d4804fbcee77835217ae982ab64d04d355
5
5
  SHA512:
6
- metadata.gz: 8474bd47ab8e165c35413565a31790905da4fc2acaeddd3989ea0b28de8f5e4e2bda4946db9d87e28fe30f1dc751cec12b5c4ef9955591fb7679f6657fb1b875
7
- data.tar.gz: 3900b68be1aa083ee3f8f59f27cacf3f4827a8dc333bceec7d1ec1493c4194339bad7bee99b44aea40cb5be1bc0a7ef3562ed55dfdeab614af64c2be33204001
6
+ metadata.gz: 6cd4418539f51d41087db83c52fa275b6e3f9f9e4c66824fe767c55b731b2981cba8276e6f597c371ed57ce505aaba76fb158392ceeb1b49e4f5cc375e0479b5
7
+ data.tar.gz: 1c5b6987565af578df687f8174055793a6bb35994db6e6be799e80ea672b5dc352a8027b96b3e63fdbef78e1555ddf46e79d09846046b077e9f80e834e4fc885
@@ -5,16 +5,14 @@
5
5
  <% enable_disqus! :path => "comic/#{@comic.number}", :title => @comic.title, :category => Setting[:disqus_comic_category] %>
6
6
 
7
7
  <% content_for :additional_meta_tags do %>
8
- <% if Kernel.const_defined? :Twitter %>
9
- <% if Twitter.current_user && Twitter.current_user.screen_name %>
10
- <meta name="twitter:card" content="photo">
11
- <meta name="twitter:site" content="@<%= Twitter.current_user.screen_name %>">
12
- <meta name="twitter:creator" content="@<%= Twitter.current_user.screen_name %>">
13
- <meta name="twitter:title" content="<%= @comic.title %>">
14
- <meta name="twitter:image" content="<%= @comic.absolute_img_url %>">
15
- <meta name="twitter:image:width" content="<%= @comic.img_width %>">
16
- <meta name="twitter:image:height" content="<%= @comic.img_height %>">
17
- <% end %>
8
+ <% if Setting::Meta.include?(:twitter_handle) && Setting[:twitter_handle].present? %>
9
+ <meta name="twitter:card" content="photo">
10
+ <meta name="twitter:site" content="@<%= Setting[:twitter_handle] %>">
11
+ <meta name="twitter:creator" content="@<%= Setting[:twitter_handle] %>">
12
+ <meta name="twitter:title" content="<%= @comic.title %>">
13
+ <meta name="twitter:image" content="<%= @comic.absolute_img_url %>">
14
+ <meta name="twitter:image:width" content="<%= @comic.img_width %>">
15
+ <meta name="twitter:image:height" content="<%= @comic.img_height %>">
18
16
  <% end %>
19
17
  <% end %>
20
18
 
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "cartoonist-comics"
3
- s.version = "0.0.20.1"
3
+ s.version = "0.0.20.2"
4
4
  s.date = Time.now.strftime "%Y-%m-%d"
5
5
  s.summary = "Cartoonist Comics"
6
6
  s.description = "This core plugin for Cartoonist adds comics."
@@ -10,6 +10,6 @@ Gem::Specification.new do |s|
10
10
  s.files = `git ls-files`.split("\n")
11
11
  s.require_paths = ["lib"]
12
12
  s.homepage = "http://reasonnumber.com/cartoonist"
13
- s.add_dependency "cartoonist", "~> 0.0.20.1"
13
+ s.add_dependency "cartoonist", "~> 0.0.20.2"
14
14
  s.add_dependency "rmagick", "~> 2.13"
15
15
  end
@@ -2,7 +2,7 @@ module CartoonistComics
2
2
  class Version
3
3
  class << self
4
4
  def to_s
5
- "0.0.20.1"
5
+ "0.0.20.2"
6
6
  end
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cartoonist-comics
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.20.1
4
+ version: 0.0.20.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Virata-Stone
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-05 00:00:00.000000000 Z
11
+ date: 2013-12-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cartoonist
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ~>
18
18
  - !ruby/object:Gem::Version
19
- version: 0.0.20.1
19
+ version: 0.0.20.2
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ~>
25
25
  - !ruby/object:Gem::Version
26
- version: 0.0.20.1
26
+ version: 0.0.20.2
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rmagick
29
29
  requirement: !ruby/object:Gem::Requirement