sugarcube 1.5.7 → 1.5.8

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b5a26a34821f7e128fc77deb73d1d9f1c299383d
4
- data.tar.gz: 3f21df5e08d4bff1541d7ef7da121e94c398fd61
3
+ metadata.gz: b8dbbc1d4e5f7c49ce2780738d89a4ba64350ac2
4
+ data.tar.gz: 0afa5689aad18f713f60ad58ac6148950d56c5bf
5
5
  SHA512:
6
- metadata.gz: 6da549843226fa1e4eb3c01da1372b62fc260ac809550777fb1c508b32abf97f70b24c8d0b7c92a4ccc0bbdea8c63fbbf810a8659ac33433cd6fd76e48a88dd6
7
- data.tar.gz: 43e4e72088762944ee9379cc5d2fb86183c5034c85943442f05c9136e840863490723d6b97f6ca47bc80895893f047e76a2d1744ae174d00acfacb8eef7f20b8
6
+ metadata.gz: d04fcfd788daaafb0684826016f0112933b94d94d2d234961c4c0a0673b5594dc87a5e4474ac3219b615e7f896372dced9f029db11948585d54e5162a6875a68
7
+ data.tar.gz: 857c8b05d77e56b62faf0ea07212e8fbf9e836249f425f1dbff80a7d433b47467f9a63f381d7d93afd9f2ff5cdd4a4dd3a858b9619db8df12a1eca93cc65be61
data/.travis.yml CHANGED
@@ -1,5 +1,4 @@
1
1
  language: objective-c
2
2
  before_install:
3
3
  - (ruby --version)
4
- - mkdir -p ~/Library/RubyMotion/build
5
4
  - sudo motion update
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- sugarcube (1.5.7)
4
+ sugarcube (1.5.8)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -1,3 +1,3 @@
1
1
  module SugarCube
2
- Version = '1.5.7'
2
+ Version = '1.5.8'
3
3
  end
@@ -7,11 +7,11 @@ class Symbol
7
7
  end
8
8
 
9
9
  def uicolor(alpha=nil)
10
- if Symbol.uicolors.has_key? self
10
+ if Symbol.uicolors.has_key?(self) || Symbol.uicolors__deprecated.has_key?(self)
11
11
  # iOS colors
12
12
  color = UIColor.send(SugarCube.look_in(self, Symbol.uicolors, Symbol.uicolors__deprecated))
13
13
 
14
- if not alpha.nil?
14
+ if alpha
15
15
  color = color.colorWithAlphaComponent(alpha.to_f)
16
16
  end
17
17
  elsif Symbol.css_colors_cache.has_key? self
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sugarcube
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.7
4
+ version: 1.5.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Colin T.A. Gray
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2014-04-16 00:00:00.000000000 Z
14
+ date: 2014-04-18 00:00:00.000000000 Z
15
15
  dependencies: []
16
16
  description: |
17
17
  == Description