rabbit-theme-nyankosakana 1.0.2 → 1.0.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: 149e7126c2741497e24ed65b48cf6b03ca0871e3
4
- data.tar.gz: b79d78a2bbe3105d2de8c4f6cf406b667803fccb
3
+ metadata.gz: b6f7295036d89fc13e4e0e41d6b98a730bf91a1d
4
+ data.tar.gz: 47ac9209fe90d9bfae2709686cf03ba12f3b1dbe
5
5
  SHA512:
6
- metadata.gz: 4b2b3d794c60a33ab3bba5f26a4001cc4d996d4c8dcce463c7c5397aeb425a02d679134ca1596d5eb9fd1f84dbaae23b1bc583a3b8bbbcb0e317dd95bd457c0d
7
- data.tar.gz: 270d935198ff781f90b44b37f08cc0d18956429ac2a62ecc2dbbcd9176aab6cc82d731dcd8ecb5cadd847de2fc07850f49ad9a36ed92639eba86d3f0bb2da518
6
+ metadata.gz: 60186f23a425c2ab812a3813769ae0c241ebd662078d1ebf2a4fe95c65946bbb2c90f82bcbdbf3b44faab8718be5aff8597f5a2ccf43c2c255c51fcc544dd613
7
+ data.tar.gz: 65c30d657e911dd0bbf6ceeff4ace95cbe1f164046a670b774a1a17a1de06c48d0f7565f78b8a8fc41ddde1b03aab5b54f18626db2d1c03464367f2c09034d77
@@ -3,7 +3,7 @@ id: nyankosakana
3
3
  tags:
4
4
  - nyanko
5
5
  - sakana
6
- version: 1.0.2
6
+ version: 1.0.3
7
7
  licenses:
8
8
  - GPLv2+
9
9
  - CC BY-SA 3.0
Binary file
Binary file
data/theme.rb CHANGED
@@ -1,11 +1,18 @@
1
1
  @lightning_talk_proc_name = "lightning-nyankosakana"
2
- @lightning_talk_as_large_as_possible = true
2
+ @lightning_talk_as_large_as_possible = false
3
3
  include_theme("lightning-talk-toolkit")
4
+ include_theme("title-on-image-toolkit")
4
5
 
5
6
  match(Slide) do |slides|
6
7
  slides.each do |slide|
7
8
  if slide.lightning_talk?
8
9
  slide.lightning_talk
10
+ elsif slide.title_on_image? and slide["enable-title-on-image"] == "true"
11
+ slide.headline.padding_top = @space
12
+ slide.headline.padding_bottom = @space
13
+
14
+ params = {}
15
+ slide.title_on_image(params)
9
16
  end
10
17
  end
11
18
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rabbit-theme-nyankosakana
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Masafumi Yokoyama
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-11-10 00:00:00.000000000 Z
11
+ date: 2013-11-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rabbit
@@ -24,28 +24,7 @@ dependencies:
24
24
  - - '>='
25
25
  - !ruby/object:Gem::Version
26
26
  version: 2.0.2
27
- description: |-
28
- The cat has running after a fish.
29
-
30
- ## For author
31
-
32
- ### Show
33
-
34
- rake
35
-
36
- ### Publish
37
-
38
- rake publish
39
-
40
- ## For users
41
-
42
- ### Install
43
-
44
- gem install rabbit-theme-nyankosakana
45
-
46
- ### Show
47
-
48
- rabbit -t rabbit-theme-nyankosakana rabbit-theme-benchmark-ja.gem
27
+ description: The cat has running after a fish.
49
28
  email:
50
29
  - myokoym@gmail.com
51
30
  executables: []
@@ -88,5 +67,5 @@ rubyforge_project:
88
67
  rubygems_version: 2.0.3
89
68
  signing_key:
90
69
  specification_version: 4
91
- summary: '# The cat and a fish'
70
+ summary: The cat and a fish
92
71
  test_files: []