fusionary-easel_helpers 0.2.12 → 0.2.13

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -3,7 +3,7 @@ require 'rake/testtask'
3
3
  require 'rake/rdoctask'
4
4
  require 'echoe'
5
5
 
6
- Echoe.new("easel_helpers", "0.2.12") do |p|
6
+ Echoe.new("easel_helpers", "0.2.13") do |p|
7
7
  p.description = "Fusionary Rails View Helpers"
8
8
  p.url = "http://github.com/fusionary/easel_helpers"
9
9
  p.author = "Joshua Clayton"
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{easel_helpers}
5
- s.version = "0.2.12"
5
+ s.version = "0.2.13"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Joshua Clayton"]
@@ -163,7 +163,7 @@ module EaselHelpers
163
163
  end
164
164
 
165
165
  css_classes = clean_css_classes(css_classes, {"last" => last_column})
166
- content_tag(options[:tag] || :div,
166
+ content_tag(options.delete(:tag) || :div,
167
167
  capture(&block),
168
168
  {:class => css_classes}.merge(options))
169
169
  end
@@ -215,7 +215,7 @@ class GridHelperTest < EaselHelpers::ViewTestCase
215
215
 
216
216
  should "allow tag overriding" do
217
217
  show_view %(<% column :tag => :section do %>content<% end %>) do
218
- assert_select "section.col-24", "content"
218
+ assert_select "section.col-24:not([tag=section])", "content"
219
219
  end
220
220
  end
221
221
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fusionary-easel_helpers
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.12
4
+ version: 0.2.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joshua Clayton