rabbit-theme-groonga 1.0.3 → 1.0.6

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: 109e6c031b432d2b689f8efe77c5d0d542c575bd
4
- data.tar.gz: 7614f794b464b74b5fef739a05ce741261638305
3
+ metadata.gz: 93771c687a571de574a68b094d10c27682e9527a
4
+ data.tar.gz: 668f5c643144e0afd493deb7884fa4104bf24baf
5
5
  SHA512:
6
- metadata.gz: 0f13d6ef13aa1d0ea1a41178779668967ba57032ca83dde3e02de1041e04be75f82b018ef04f4f0dc858f99ed03da58ff9d68ed5af2fcc1ae0851535326de1d9
7
- data.tar.gz: d3b8c2f8d9a36c47be122b57928c38e0fe1c892be455df1da5a2fceb436fef82c8daa7a9e22f9febad49a01fe4a74d9dbe4ceb2cf7dbffb9fd9ef228c6baf3f2
6
+ metadata.gz: cf3f64339e5b71e4e3a71dd10d85b5a1edaddc9e71ea40045afa092fc9661a2b9b9d1bdf5b009fe49ec02eadb738b4c07afcd5d60a1f17f28edeaad230080b05
7
+ data.tar.gz: 5c864269d58400b0ca5374ba4a898c8f2c81acb1b0915a6fd4459332302158dc94c2ff89e083201f5538b8ca7e2486a0ce49a83485be388200f43ce766cccc3f
data/Rakefile CHANGED
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2013 Groonga Project
1
+ # Copyright (C) 2013-2016 Groonga Project
2
2
  #
3
3
  # License: CC BY 3.0
4
4
 
@@ -6,6 +6,7 @@ require "rabbit/task/theme"
6
6
 
7
7
  spec = nil
8
8
  Rabbit::Task::Theme.new do |task|
9
+ task.required_rabbit_version = ">= 2.2.0"
9
10
  spec = task.spec
10
11
  end
11
12
 
@@ -2,7 +2,7 @@
2
2
  id: groonga
3
3
  tags:
4
4
  - groonga
5
- version: 1.0.3
5
+ version: 1.0.6
6
6
  licenses:
7
7
  - CC BY 3.0
8
8
  author:
Binary file
Binary file
data/theme.rb CHANGED
@@ -96,7 +96,10 @@ include_theme("default")
96
96
  @icon_images = @groonga_icon_images
97
97
  include_theme("icon")
98
98
 
99
- @groonga_slide_logo_image ||= "#{@groonga_product}-icon-full-size.svg"
99
+ @groonga_slide_logo_image ||= lambda do |slide|
100
+ product = slide["groonga-product"] || @groonga_product
101
+ "#{product}-icon-full-size.svg"
102
+ end
100
103
  @slide_logo_image = @groonga_slide_logo_image
101
104
  @slide_logo_position = Proc.new do |slide, canvas, loader|
102
105
  x = slide.margin_left
@@ -191,6 +194,14 @@ match(Slide, Body) do |bodies|
191
194
  end
192
195
  end
193
196
 
197
+ match("**", Emphasis) do |texts|
198
+ texts.each do |text|
199
+ product = text.slide["groonga-product"] || @groonga_product
200
+ emphasis_color = colors[product][:emphasis]
201
+ prop_set("foreground", emphasis_color)
202
+ end
203
+ end
204
+
194
205
  @lightning_talk_proc_name = "lightning-groonga"
195
206
  @lightning_talk_as_large_as_possible = true
196
207
  include_theme("lightning-talk-toolkit")
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rabbit-theme-groonga
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Groonga Project
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-24 00:00:00.000000000 Z
11
+ date: 2017-02-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rabbit
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 2.0.2
19
+ version: 2.2.0
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: 2.0.2
26
+ version: 2.2.0
27
27
  description: The Rabbit theme for Groonga family.
28
28
  email:
29
29
  - groonga@groonga.org
@@ -81,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
81
81
  version: '0'
82
82
  requirements: []
83
83
  rubyforge_project:
84
- rubygems_version: 2.2.2
84
+ rubygems_version: 2.5.2
85
85
  signing_key:
86
86
  specification_version: 4
87
87
  summary: Groogna theme