bubble-wrap 1.0.0.pre.2 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +4 -2
- data/lib/bubble-wrap/version.rb +1 -1
- data/motion/core/kvo.rb +3 -1
- metadata +15 -12
data/README.md
CHANGED
@@ -207,8 +207,10 @@ class ExampleViewController < UIViewController
|
|
207
207
|
include BW::KVO
|
208
208
|
|
209
209
|
def viewDidLoad
|
210
|
-
|
211
|
-
|
210
|
+
@label = UILabel.alloc.initWithFrame [[20,20],[280,44]]
|
211
|
+
@label.text = ""
|
212
|
+
view.addSubview @label
|
213
|
+
|
212
214
|
observe(@label, "text") do |old_value, new_value|
|
213
215
|
puts "Hello from viewDidLoad!"
|
214
216
|
end
|
data/lib/bubble-wrap/version.rb
CHANGED
data/motion/core/kvo.rb
CHANGED
@@ -4,7 +4,9 @@
|
|
4
4
|
# include BW::KVO
|
5
5
|
#
|
6
6
|
# def viewDidLoad
|
7
|
-
# @label =
|
7
|
+
# @label = UILabel.alloc.initWithFrame [[20,20],[280,44]]
|
8
|
+
# @label.text = ""
|
9
|
+
# view.addSubview @label
|
8
10
|
#
|
9
11
|
# observe(@label, "text") do |old_value, new_value|
|
10
12
|
# puts "Changed #{old_value} to #{new_value}"
|
metadata
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bubble-wrap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0
|
5
|
-
prerelease:
|
4
|
+
version: 1.0.0
|
5
|
+
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Matt Aimonetti
|
@@ -11,11 +11,11 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2012-06-
|
14
|
+
date: 2012-06-12 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: bacon
|
18
|
-
requirement: &
|
18
|
+
requirement: &70246769796440 !ruby/object:Gem::Requirement
|
19
19
|
none: false
|
20
20
|
requirements:
|
21
21
|
- - ! '>='
|
@@ -23,10 +23,10 @@ dependencies:
|
|
23
23
|
version: '0'
|
24
24
|
type: :development
|
25
25
|
prerelease: false
|
26
|
-
version_requirements: *
|
26
|
+
version_requirements: *70246769796440
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: mocha-on-bacon
|
29
|
-
requirement: &
|
29
|
+
requirement: &70246769811720 !ruby/object:Gem::Requirement
|
30
30
|
none: false
|
31
31
|
requirements:
|
32
32
|
- - ! '>='
|
@@ -34,10 +34,10 @@ dependencies:
|
|
34
34
|
version: '0'
|
35
35
|
type: :development
|
36
36
|
prerelease: false
|
37
|
-
version_requirements: *
|
37
|
+
version_requirements: *70246769811720
|
38
38
|
- !ruby/object:Gem::Dependency
|
39
39
|
name: rake
|
40
|
-
requirement: &
|
40
|
+
requirement: &70246769810980 !ruby/object:Gem::Requirement
|
41
41
|
none: false
|
42
42
|
requirements:
|
43
43
|
- - ! '>='
|
@@ -45,7 +45,7 @@ dependencies:
|
|
45
45
|
version: '0'
|
46
46
|
type: :development
|
47
47
|
prerelease: false
|
48
|
-
version_requirements: *
|
48
|
+
version_requirements: *70246769810980
|
49
49
|
description: RubyMotion wrappers and helpers (Ruby for iOS) - Making Cocoa APIs more
|
50
50
|
Ruby like, one API at a time. Fork away and send your pull request.
|
51
51
|
email:
|
@@ -166,13 +166,16 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
166
166
|
version: '0'
|
167
167
|
segments:
|
168
168
|
- 0
|
169
|
-
hash:
|
169
|
+
hash: -3665187214777741337
|
170
170
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
171
171
|
none: false
|
172
172
|
requirements:
|
173
|
-
- - ! '
|
173
|
+
- - ! '>='
|
174
174
|
- !ruby/object:Gem::Version
|
175
|
-
version:
|
175
|
+
version: '0'
|
176
|
+
segments:
|
177
|
+
- 0
|
178
|
+
hash: -3665187214777741337
|
176
179
|
requirements: []
|
177
180
|
rubyforge_project:
|
178
181
|
rubygems_version: 1.8.16
|