ion_in_motion 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f0c960b2eefe2ce0b342d856f55c8805b38c7d89
4
- data.tar.gz: 176c19dfd665f7230305a72dcd7b7754c3d94d32
3
+ metadata.gz: afcd8664e0d5b8e9564313129a05e3b261dcc586
4
+ data.tar.gz: 5224059af9ad483117a32f1e01804f34b32e883d
5
5
  SHA512:
6
- metadata.gz: dbc2a751f7f4c6c3263e77ad89c5e8cacb9606e3a733fd422add9061bfd9975d9cbfe8140c2d7055cb1d5a6e7a5c2185fd1b20d578d2c106fdb849eda27e5993
7
- data.tar.gz: d03abb50a38c26134bd9c89a198617a93d80cc38385e5ac6c1b7c18e5fa54164b7a7a9390af4ddaf532e31793ff63694139a1e33d54870a5d6cb787528072641
6
+ metadata.gz: 38563cbb94ff5fb3e25839a61f9128afda0b32b90ab0b62c37369fb0d52bb35cbbf171b17794724d7d61bcbe51dc8e3ac3c9d4232996461e65835e9ece926a5d
7
+ data.tar.gz: 7e60fb68d7188defa703cfaca804e7f4e85c4769bf41fd42a73cc7f337c272029699066389b974c273b34e4ef6b30b5ea8943474b4bf9f909aeb35d0ea16d6d2
@@ -1,7 +1,7 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
  Gem::Specification.new do |gem|
3
3
  gem.name = "ion_in_motion"
4
- gem.version = '0.1.5'
4
+ gem.version = '0.1.6'
5
5
  gem.summary = "Easy use of IonIcons in RubyMotion projects"
6
6
  gem.description = "Easily create UILabels, UIImages and UIButtons containing IonIcons in RubyMotion projects."
7
7
  gem.files = `git ls-files`.split("\n")
data/lib/ion/ion.rb CHANGED
@@ -58,7 +58,7 @@ module Ion
58
58
  color = opts[:color].nil? ? :black.uicolor : opts[:color]
59
59
  color = color_from_string(color) if color.is_a? String
60
60
  opts[:size] ||= 30.0
61
- lb = UILabel.alloc.initWithSize(CGRect.new([0,0],[opts[:size], opts[:size]]))
61
+ lb = UILabel.alloc.initWithSize(CGSize.new([opts[:size], opts[:size]]))
62
62
  lb.setFont(font(opts[:size]))
63
63
  lb.text = icon[icon_name]
64
64
  lb.textAlignment = 1
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ion_in_motion
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Egan