teacup 2.1.5 → 2.1.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- teacup (2.1.5)
4
+ teacup (2.1.6)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -256,7 +256,7 @@ module Teacup
256
256
  def auto(layout_view=top_level_view, layout_subviews={}, &layout_block)
257
257
  raise "gem install 'motion-layout'" unless defined? Motion::Layout
258
258
 
259
- styled_subviews = top_level_view.subviews.select { |v| v.stylename }
259
+ styled_subviews = layout_view.subviews.select { |v| v.stylename }
260
260
  styled_subviews.each do |view|
261
261
  if ! layout_subviews[view.stylename.to_s]
262
262
  layout_subviews[view.stylename.to_s] = view
@@ -1,5 +1,5 @@
1
1
  module Teacup
2
2
 
3
- VERSION = '2.1.5'
3
+ VERSION = '2.1.6'
4
4
 
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: teacup
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.5
4
+ version: 2.1.6
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: 2013-07-29 00:00:00.000000000 Z
12
+ date: 2013-07-31 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: ! 'Teacup is a community-driven DSL for making CSS-like styling, and
15
15
  layouts for