simplificator-activist 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -10,7 +10,7 @@ module Activist
10
10
  end
11
11
  end
12
12
 
13
- def section_block(title)
13
+ def section_block(title, options = {})
14
14
  builder = Builder.new(self)
15
15
  yield builder
16
16
  content_tag(:div,
@@ -19,7 +19,7 @@ module Activist
19
19
  content_tag(:h2, title, :class => :title) +
20
20
  content_tag(:div, builder.content, :class => :inner),
21
21
  :class => :content),
22
- :class => :block)
22
+ :class => [:block, options[:block_class]])
23
23
  end
24
24
  end
25
25
  end
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{simplificator-activist}
5
- s.version = "0.0.1"
5
+ s.version = "0.0.2"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["pascalbetz"]
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 1
9
- version: 0.0.1
8
+ - 2
9
+ version: 0.0.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - pascalbetz