ultimate-base 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ultimate-base (0.2.0)
4
+ ultimate-base (0.2.1)
5
5
 
6
6
  GEM
7
7
  remote: http://rubygems.org/
@@ -53,9 +53,12 @@
53
53
  @warning "concat_class()", "refactoring with underscore"
54
54
  @uniq(@compact(arguments).join(" ").split(/\s+/)).join(" ")
55
55
 
56
- @html_options_to_s = (html_options) =>
56
+ @html_options_to_s = (html_options, prefix = "") =>
57
57
  if $.isPlainObject(html_options)
58
- (" #{key}=\"#{value}\"" for key, value of html_options when typeof value isnt "undefined").join("")
58
+ prefix = "#{prefix}-" if prefix
59
+ (for key, value of html_options when typeof value isnt "undefined"
60
+ if $.isPlainObject(value) then @html_options_to_s(value, "#{prefix}#{key}") else " #{prefix}#{key}=\"#{value}\""
61
+ ).join("")
59
62
  else
60
63
  ""
61
64
 
@@ -1,5 +1,5 @@
1
1
  module Ultimate
2
2
  module Base
3
- VERSION = "0.2.0"
3
+ VERSION = "0.2.1"
4
4
  end
5
5
  end
@@ -7,7 +7,7 @@ Gem::Specification.new do |s|
7
7
  s.version = Ultimate::Base::VERSION
8
8
  s.authors = ["Dmitry KODer Karpunin"]
9
9
  s.email = ["koderfunk@gmail.com"]
10
- s.homepage = "http://github.com/KODer/ultimate-base"
10
+ s.homepage = "http://github.com/KODerFunk/ultimate-base"
11
11
  s.summary = %q{Ultimate UI core, base helpers and improves for Ruby on Rails Front-end}
12
12
  s.description = %q{Ultimate UI core, base helpers and improves for Ruby on Rails Front-end}
13
13
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ultimate-base
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-08-07 00:00:00.000000000 Z
12
+ date: 2012-08-10 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Ultimate UI core, base helpers and improves for Ruby on Rails Front-end
15
15
  email:
@@ -75,7 +75,7 @@ files:
75
75
  - lib/ultimate-base/extensions/sass_script_functions.rb
76
76
  - lib/ultimate-base/version.rb
77
77
  - ultimate-base.gemspec
78
- homepage: http://github.com/KODer/ultimate-base
78
+ homepage: http://github.com/KODerFunk/ultimate-base
79
79
  licenses: []
80
80
  post_install_message:
81
81
  rdoc_options: []