webs 0.1.41 → 0.1.42

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 'rubygems'
3
3
  require 'rake'
4
4
  require 'echoe'
5
5
 
6
- Echoe.new('webs', '0.1.41') do |p|
6
+ Echoe.new('webs', '0.1.42') do |p|
7
7
  p.description = "Reusable webs stuff."
8
8
  p.url = "https://colczak@github.com/websdev/websgem.git"
9
9
  p.author = "Chuck Olczak"
data/lib/helper/tags.rb CHANGED
@@ -59,7 +59,10 @@ module Webs
59
59
  end
60
60
 
61
61
  def html_options options
62
- ' ' + options.each_key.select{ |k| !options[k].blank? }.collect{|k| "#{k.to_s}=\"#{options[k]}\"" }.join(' ') if options.any?
62
+ return ' ' if options.empty?
63
+ opt_str = ' '
64
+ options.each_key { |k| opt_str += "#{k.to_s}=\"#{options[k]}\" " if !options[k].blank? }
65
+ opt_str
63
66
  end
64
67
 
65
68
  def parse_fwml_options tagname, options
data/lib/webs.rb CHANGED
@@ -7,7 +7,7 @@ require dir + 'helper/params'
7
7
  require dir + 'helper/tags'
8
8
 
9
9
  module Webs
10
- VERSION = '0.1.41'.freeze
10
+ VERSION = '0.1.42'.freeze
11
11
 
12
12
  def self.app_title
13
13
  APP_NAME.titleize
data/webs.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{webs}
5
- s.version = "0.1.41"
5
+ s.version = "0.1.42"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Chuck Olczak"]
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: webs
3
3
  version: !ruby/object:Gem::Version
4
- hash: 73
4
+ hash: 79
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 41
10
- version: 0.1.41
9
+ - 42
10
+ version: 0.1.42
11
11
  platform: ruby
12
12
  authors:
13
13
  - Chuck Olczak