teacup 0.3.3 → 0.3.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -42,13 +42,13 @@ module Teacup
42
42
  target.class.ancestors.each do |ancestor|
43
43
  handled = false
44
44
  if Teacup.handlers[ancestor].has_key? key
45
- NSLog "#{ancestor.name} is handling #{key} = #{value.inspect}" if target.respond_to? :debug and target.debug
45
+ NSLog "#{ancestor.name} is handling #{key} = #{value.inspect}" # if target.respond_to? :debug and target.debug
46
46
  Teacup.handlers[ancestor][key].call(target, value)
47
47
  handled = true
48
48
  break
49
49
  end
50
- return if handled
51
50
  end
51
+ return if handled
52
52
 
53
53
  # you can send methods to subviews (e.g. UIButton#titleLabel) and CALayers
54
54
  # (e.g. UIView#layer) by assigning a hash to a style name.
@@ -1,5 +1,5 @@
1
1
  module Teacup
2
2
 
3
- VERSION = '0.3.3'
3
+ VERSION = '0.3.4'
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: 0.3.3
4
+ version: 0.3.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: