Skip to content

Commit db671da

Browse files
committed
Bumped version number, fixed a few specs, misc
1 parent 9b17202 commit db671da

5 files changed

Lines changed: 14 additions & 6 deletions

File tree

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
ruby_motion_query (0.3.0)
4+
ruby_motion_query (0.3.5)
55

66
GEM
77
remote: https://rubygems.org/

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,11 @@ RMQ **doesn't require any** other wrapper or gem.
3939
4040
Some of the code in RMQ came from BubbleWrap and Sugarcube. Not too much but some did. I thank you BubbleWrap and Sugarcube teams for your work.
4141

42+
## Quick Start
43+
- `gem install ruby_motion_query`
44+
- `rmq create my_app`
45+
- `cd my_app`
46+
- `rake retina=4`
4247

4348
## Installation
4449

motion/ruby_motion_query/stylers/ui_button_styler.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,15 @@ def color
2222
def background_color=(value)
2323
@view.tintColor = value
2424
end
25+
def background_color
26+
@view.tintColor
27+
end
2528
def tint_color=(value)
2629
@view.tintColor = value
2730
end
31+
def tint_color
32+
@view.tintColor
33+
end
2834

2935
def image_normal=(value)
3036
@view.setImage value, forState: UIControlStateNormal

ruby_motion_query.gemspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# -*- encoding: utf-8 -*-
22

3-
Version = "0.3.0"
3+
Version = "0.3.5"
44

55
Gem::Specification.new do |spec|
66
spec.name = 'ruby_motion_query'
77
spec.summary = 'RubyMotionQuery - RMQ'
8-
spec.description = 'RubyMotionQuery - RMQ - A light, nonpolluting, jQuery-like library for RubyMotion'
8+
spec.description = 'RubyMotionQuery - RMQ - A fast, non-magical, non-polluting, jQuery-like library for RubyMotion'
99
spec.authors = ["Todd Werth", "InfiniteRed"]
1010
spec.email = 'todd@infinitered.com'
1111
spec.homepage = "http://infinitered.com/rmq"

spec/stylers/_ui_view_styler.rb

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ def ui_view_kitchen_sink(st)
5656
view = @vc.rmq.append(@view_klass, :my_style).get
5757
view.origin.x.should == 1
5858
view.origin.y.should == 2
59-
view.backgroundColor.should == UIColor.redColor
6059
end
6160

6261
it 'should return the view from the styler' do
@@ -83,7 +82,6 @@ def ui_view_kitchen_sink(st)
8382
@vc.rmq(view).apply_style(:my_style)
8483
view.origin.x.should == 1
8584
view.origin.y.should == 2
86-
view.backgroundColor.should == UIColor.redColor
8785
end
8886

8987
it 'should allow styling by passing a block to the style method' do
@@ -98,7 +96,6 @@ def ui_view_kitchen_sink(st)
9896
view.origin.x.should == 4
9997
view.origin.y.should == 5
10098
view.layer.zPosition.should == 99
101-
view.backgroundColor.should == UIColor.blueColor
10299
end
103100

104101

0 commit comments

Comments
 (0)