sugarcube 2.6.0 → 2.7.0

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: 59b551a58040280320469188bf30b751bee4e062
4
- data.tar.gz: ebf8472951bc198247c9715bf05aea8952870a19
3
+ metadata.gz: 59757f8b7a396072ad53d78db3f253161b316d10
4
+ data.tar.gz: 0851849e7663ce99213fa96871dddc73c8d14dc8
5
5
  SHA512:
6
- metadata.gz: 5d49b189a7ff773fb3d1d1b193ad0e1fefa850936e0a6673e9d5434f896aaa95f86d1be641c5d9976b8caa91673a6b6853dcbc5634616635553fa5542527484a
7
- data.tar.gz: 5cbc73132ef608109bd957c0ff684fea6dbd218985e00d7751fdc56e999ee4b9661a287766b3e5e32c6c9edc23cc9ee02c49e770a443e4d15cd16d24adf6d455
6
+ metadata.gz: 1d1a02cd6ff28804163b3872470f23ac54cebe0daa080f6541b7216efc0241ce23ae692a61f39c88f493a817c87995952413e38976049364ee8fd9242336df79
7
+ data.tar.gz: 95c15c190c8c5c66589825ff7de7cc8bcc4c2f8672ec93750bb2acfac7a55e0e4007fc3f13859eed0a209af2ad5e664fc7511b8bbd93a71434510154f23f8489
@@ -0,0 +1,11 @@
1
+ class UIButton
2
+
3
+ def title
4
+ titleForState(UIControlStateNormal)
5
+ end
6
+
7
+ def setTitle(value)
8
+ setTitle(value, forState: UIControlStateNormal)
9
+ end
10
+
11
+ end
@@ -1,3 +1,3 @@
1
1
  module SugarCube
2
- Version = '2.6.0'
2
+ Version = '2.7.0'
3
3
  end
@@ -140,4 +140,28 @@ describe "UIView animation methods" do
140
140
  (opts & UIViewAnimationOptionAllowUserInteraction).should == 0
141
141
  end
142
142
 
143
+ it 'should have a forward_fiend! animation' do
144
+ -> do
145
+ @view.forward_fiend!
146
+ end.should.not.raise
147
+ end
148
+
149
+ it 'should have a back_fiend! animation' do
150
+ -> do
151
+ @view.back_fiend!
152
+ end.should.not.raise
153
+ end
154
+
155
+ it 'should have a wiggle animation' do
156
+ -> do
157
+ @view.wiggle
158
+ end.should.not.raise
159
+ end
160
+
161
+ it 'should have a dont_wiggle method' do
162
+ -> do
163
+ @view.dont_wiggle
164
+ end.should.not.raise
165
+ end
166
+
143
167
  end
@@ -137,16 +137,4 @@ describe "UIView animation methods" do
137
137
  end
138
138
  end
139
139
 
140
- it 'should have a wiggle animation' do
141
- -> do
142
- @view.wiggle
143
- end.should.not.raise
144
- end
145
-
146
- it 'should have a dont_wiggle method' do
147
- -> do
148
- @view.dont_wiggle
149
- end.should.not.raise
150
- end
151
-
152
140
  end
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: 2.6.0
4
+ version: 2.7.0
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-09-25 00:00:00.000000000 Z
14
+ date: 2014-09-29 00:00:00.000000000 Z
15
15
  dependencies: []
16
16
  description: |
17
17
  == Description
@@ -139,6 +139,7 @@ files:
139
139
  - lib/ios/sugarcube-uikit/nsattributedstring.rb
140
140
  - lib/ios/sugarcube-uikit/nsstring.rb
141
141
  - lib/ios/sugarcube-uikit/symbol.rb
142
+ - lib/ios/sugarcube-uikit/uibutton.rb
142
143
  - lib/ios/sugarcube-uikit/uifont.rb
143
144
  - lib/ios/sugarcube-uikit/uiimage.rb
144
145
  - lib/ios/sugarcube-uikit/uilabel.rb