bubble-wrap 1.2.0 → 1.3.0.osx
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 +8 -8
- data/CHANGELOG.md +4 -2
- data/Gemfile.lock +1 -1
- data/README.md +217 -7
- data/Rakefile +23 -2
- data/lib/bubble-wrap/camera.rb +10 -6
- data/lib/bubble-wrap/core.rb +14 -1
- data/lib/bubble-wrap/ext/motion_project_app.rb +8 -0
- data/lib/bubble-wrap/font.rb +3 -1
- data/lib/bubble-wrap/http.rb +2 -0
- data/lib/bubble-wrap/loader.rb +17 -2
- data/lib/bubble-wrap/location.rb +9 -6
- data/lib/bubble-wrap/media.rb +10 -6
- data/lib/bubble-wrap/test.rb +6 -1
- data/lib/bubble-wrap/ui.rb +5 -2
- data/lib/bubble-wrap/version.rb +2 -7
- data/motion/core.rb +6 -1
- data/motion/core/app.rb +3 -64
- data/motion/core/device.rb +0 -55
- data/motion/core/device/{camera.rb → ios/camera.rb} +0 -0
- data/motion/core/device/{camera_wrapper.rb → ios/camera_wrapper.rb} +0 -0
- data/motion/core/device/ios/screen.rb +75 -0
- data/motion/core/device/osx/screen.rb +18 -0
- data/motion/core/device/screen.rb +1 -69
- data/motion/core/ios/app.rb +71 -0
- data/motion/core/ios/device.rb +59 -0
- data/motion/core/osx/app.rb +15 -0
- data/motion/core/osx/device.rb +6 -0
- data/motion/core/string.rb +3 -2
- data/motion/http.rb +0 -364
- data/motion/http/query.rb +367 -0
- data/motion/http/response.rb +32 -0
- data/motion/test_suite_delegate.rb +58 -0
- data/motion/ui/ui_alert_view.rb +169 -0
- data/motion/ui/ui_bar_button_item.rb +55 -53
- data/motion/util/constants.rb +34 -32
- data/samples/alert/.gitignore +16 -0
- data/samples/alert/Gemfile +3 -0
- data/samples/alert/Rakefile +10 -0
- data/samples/alert/app/app_delegate.rb +8 -0
- data/samples/alert/app/controllers/alert_view_controller.rb +74 -0
- data/samples/alert/resources/Default-568h@2x.png +0 -0
- data/samples/alert/spec/main_spec.rb +9 -0
- data/samples/media/.gitignore +16 -0
- data/samples/media/Rakefile +11 -0
- data/samples/media/app/app_delegate.rb +8 -0
- data/samples/media/app/controllers/play_controller.rb +46 -0
- data/samples/media/resources/Default-568h@2x.png +0 -0
- data/samples/media/resources/test.mp3 +0 -0
- data/samples/media/spec/main_spec.rb +9 -0
- data/samples/osx/Gemfile +3 -0
- data/samples/osx/Gemfile.lock +10 -0
- data/samples/osx/Rakefile +11 -0
- data/samples/osx/app/app_delegate.rb +69 -0
- data/samples/osx/app/menu.rb +108 -0
- data/samples/osx/resources/Credits.rtf +29 -0
- data/samples/osx/spec/main_spec.rb +9 -0
- data/spec/motion/core/app_spec.rb +5 -164
- data/spec/motion/core/device/{camera_spec.rb → ios/camera_spec.rb} +0 -0
- data/spec/motion/core/device/{camera_wrapper_spec.rb → ios/camera_wrapper_spec.rb} +0 -0
- data/spec/motion/core/device/ios/device_spec.rb +74 -0
- data/spec/motion/core/device/{screen_spec.rb → ios/screen_spec.rb} +2 -1
- data/spec/motion/core/device/osx/screen_spec.rb +26 -0
- data/spec/motion/core/device_spec.rb +0 -71
- data/spec/motion/core/ios/app_spec.rb +180 -0
- data/spec/motion/core/kvo_spec.rb +23 -7
- data/spec/motion/core/ns_index_path_spec.rb +10 -2
- data/spec/motion/core/osx/app_spec.rb +15 -0
- data/spec/motion/core/string_spec.rb +11 -5
- data/spec/motion/core_spec.rb +13 -2
- data/spec/motion/http/query_spec.rb +731 -0
- data/spec/motion/http/response_spec.rb +44 -0
- data/spec/motion/http_spec.rb +0 -722
- data/spec/motion/{core → ui}/gestures_spec.rb +0 -0
- data/spec/motion/ui/ui_alert_view_spec.rb +1188 -0
- data/spec/motion/{core → ui}/ui_bar_button_item_spec.rb +80 -24
- data/spec/motion/{core → ui}/ui_control_spec.rb +0 -0
- data/spec/motion/util/constants_spec.rb +4 -4
- metadata +86 -26
@@ -24,7 +24,11 @@ describe BW::UIBarButtonItem do
|
|
24
24
|
end
|
25
25
|
|
26
26
|
it "has the correct class" do
|
27
|
-
@subject.class.should.equal(UIBarButtonItem)
|
27
|
+
@subject.class.should.equal(BW::UIBarButtonItem)
|
28
|
+
end
|
29
|
+
|
30
|
+
it "has the correct superclass" do
|
31
|
+
@subject.superclass.should.equal(::UIBarButtonItem)
|
28
32
|
end
|
29
33
|
|
30
34
|
it "has the correct style" do
|
@@ -53,7 +57,11 @@ describe BW::UIBarButtonItem do
|
|
53
57
|
end
|
54
58
|
|
55
59
|
it "has the correct class" do
|
56
|
-
@subject.class.should.equal(UIBarButtonItem)
|
60
|
+
@subject.class.should.equal(BW::UIBarButtonItem)
|
61
|
+
end
|
62
|
+
|
63
|
+
it "has the correct superclass" do
|
64
|
+
@subject.superclass.should.equal(::UIBarButtonItem)
|
57
65
|
end
|
58
66
|
|
59
67
|
it "has the correct style" do
|
@@ -83,7 +91,11 @@ describe BW::UIBarButtonItem do
|
|
83
91
|
end
|
84
92
|
|
85
93
|
it "has the correct class" do
|
86
|
-
@subject.class.should.equal(UIBarButtonItem)
|
94
|
+
@subject.class.should.equal(BW::UIBarButtonItem)
|
95
|
+
end
|
96
|
+
|
97
|
+
it "has the correct superclass" do
|
98
|
+
@subject.superclass.should.equal(::UIBarButtonItem)
|
87
99
|
end
|
88
100
|
|
89
101
|
it "has the correct style" do
|
@@ -114,7 +126,11 @@ describe BW::UIBarButtonItem do
|
|
114
126
|
end
|
115
127
|
|
116
128
|
it "has the correct class" do
|
117
|
-
@subject.class.should.equal(UIBarButtonItem)
|
129
|
+
@subject.class.should.equal(BW::UIBarButtonItem)
|
130
|
+
end
|
131
|
+
|
132
|
+
it "has the correct superclass" do
|
133
|
+
@subject.superclass.should.equal(::UIBarButtonItem)
|
118
134
|
end
|
119
135
|
|
120
136
|
it "has the correct style" do
|
@@ -158,7 +174,11 @@ describe BW::UIBarButtonItem do
|
|
158
174
|
end
|
159
175
|
|
160
176
|
it "has the correct class" do
|
161
|
-
@subject.class.should.equal(UIBarButtonItem)
|
177
|
+
@subject.class.should.equal(BW::UIBarButtonItem)
|
178
|
+
end
|
179
|
+
|
180
|
+
it "has the correct superclass" do
|
181
|
+
@subject.superclass.should.equal(::UIBarButtonItem)
|
162
182
|
end
|
163
183
|
|
164
184
|
it "has the correct system item" do
|
@@ -183,7 +203,11 @@ describe BW::UIBarButtonItem do
|
|
183
203
|
end
|
184
204
|
|
185
205
|
it "has the correct class" do
|
186
|
-
@subject.class.should.equal(UIBarButtonItem)
|
206
|
+
@subject.class.should.equal(BW::UIBarButtonItem)
|
207
|
+
end
|
208
|
+
|
209
|
+
it "has the correct superclass" do
|
210
|
+
@subject.superclass.should.equal(::UIBarButtonItem)
|
187
211
|
end
|
188
212
|
|
189
213
|
it "has the correct system item" do
|
@@ -211,7 +235,11 @@ describe BW::UIBarButtonItem do
|
|
211
235
|
end
|
212
236
|
|
213
237
|
it "has the correct class" do
|
214
|
-
@subject.class.should.equal(UIBarButtonItem)
|
238
|
+
@subject.class.should.equal(BW::UIBarButtonItem)
|
239
|
+
end
|
240
|
+
|
241
|
+
it "has the correct superclass" do
|
242
|
+
@subject.superclass.should.equal(::UIBarButtonItem)
|
215
243
|
end
|
216
244
|
|
217
245
|
it "has a custom view" do
|
@@ -234,7 +262,11 @@ describe BW::UIBarButtonItem do
|
|
234
262
|
end
|
235
263
|
|
236
264
|
it "has the correct class" do
|
237
|
-
@subject.class.should.equal(UIBarButtonItem)
|
265
|
+
@subject.class.should.equal(BW::UIBarButtonItem)
|
266
|
+
end
|
267
|
+
|
268
|
+
it "has the correct superclass" do
|
269
|
+
@subject.superclass.should.equal(::UIBarButtonItem)
|
238
270
|
end
|
239
271
|
|
240
272
|
it "has a custom view" do
|
@@ -249,17 +281,17 @@ describe BW::UIBarButtonItem do
|
|
249
281
|
|
250
282
|
#################################################################################################
|
251
283
|
|
252
|
-
describe ".
|
284
|
+
describe ".new" do
|
253
285
|
describe "not given options" do
|
254
286
|
it "raises an exception" do
|
255
|
-
exception = should.raise(ArgumentError) { BW::UIBarButtonItem.
|
287
|
+
exception = should.raise(ArgumentError) { BW::UIBarButtonItem.new }
|
256
288
|
exception.message.should.equal("invalid options - {}")
|
257
289
|
end
|
258
290
|
end
|
259
291
|
|
260
292
|
describe "given unknown options" do
|
261
293
|
it "raises an exception" do
|
262
|
-
exception = should.raise(ArgumentError) { BW::UIBarButtonItem.
|
294
|
+
exception = should.raise(ArgumentError) { BW::UIBarButtonItem.new(:unknown => true) }
|
263
295
|
exception.message.should.equal("invalid options - {:unknown=>true}")
|
264
296
|
end
|
265
297
|
end
|
@@ -274,7 +306,7 @@ describe BW::UIBarButtonItem do
|
|
274
306
|
end
|
275
307
|
|
276
308
|
it "raises an exception" do
|
277
|
-
exception = should.raise(ArgumentError) { BW::UIBarButtonItem.
|
309
|
+
exception = should.raise(ArgumentError) { BW::UIBarButtonItem.new(@options) }
|
278
310
|
exception.message.should.equal("invalid object - #{@options.values_at(:title, :image)}")
|
279
311
|
end
|
280
312
|
end
|
@@ -285,11 +317,15 @@ describe BW::UIBarButtonItem do
|
|
285
317
|
before do
|
286
318
|
@options = { :styled => :plain, :title => "Friends" }
|
287
319
|
@target = -> { true }
|
288
|
-
@subject = BW::UIBarButtonItem.
|
320
|
+
@subject = BW::UIBarButtonItem.new(@options, &@target)
|
289
321
|
end
|
290
322
|
|
291
323
|
it "has the correct class" do
|
292
|
-
@subject.class.should.equal(UIBarButtonItem)
|
324
|
+
@subject.class.should.equal(BW::UIBarButtonItem)
|
325
|
+
end
|
326
|
+
|
327
|
+
it "has the correct superclass" do
|
328
|
+
@subject.superclass.should.equal(::UIBarButtonItem)
|
293
329
|
end
|
294
330
|
|
295
331
|
it "has the correct style" do
|
@@ -315,11 +351,15 @@ describe BW::UIBarButtonItem do
|
|
315
351
|
before do
|
316
352
|
@options = { :styled => :bordered, :image => UIImage.alloc.init }
|
317
353
|
@target = -> { true }
|
318
|
-
@subject = BW::UIBarButtonItem.
|
354
|
+
@subject = BW::UIBarButtonItem.new(@options, &@target)
|
319
355
|
end
|
320
356
|
|
321
357
|
it "has the correct class" do
|
322
|
-
@subject.class.should.equal(UIBarButtonItem)
|
358
|
+
@subject.class.should.equal(BW::UIBarButtonItem)
|
359
|
+
end
|
360
|
+
|
361
|
+
it "has the correct superclass" do
|
362
|
+
@subject.superclass.should.equal(::UIBarButtonItem)
|
323
363
|
end
|
324
364
|
|
325
365
|
it "has the correct style" do
|
@@ -349,11 +389,15 @@ describe BW::UIBarButtonItem do
|
|
349
389
|
:landscape => UIImage.alloc.init
|
350
390
|
}
|
351
391
|
@target = -> { true }
|
352
|
-
@subject = BW::UIBarButtonItem.
|
392
|
+
@subject = BW::UIBarButtonItem.new(@options, &@target)
|
353
393
|
end
|
354
394
|
|
355
395
|
it "has the correct class" do
|
356
|
-
@subject.class.should.equal(UIBarButtonItem)
|
396
|
+
@subject.class.should.equal(BW::UIBarButtonItem)
|
397
|
+
end
|
398
|
+
|
399
|
+
it "has the correct superclass" do
|
400
|
+
@subject.superclass.should.equal(::UIBarButtonItem)
|
357
401
|
end
|
358
402
|
|
359
403
|
it "has the correct style" do
|
@@ -383,11 +427,15 @@ describe BW::UIBarButtonItem do
|
|
383
427
|
before do
|
384
428
|
@options = { :system => :save }
|
385
429
|
@target = -> { true }
|
386
|
-
@subject = BW::UIBarButtonItem.
|
430
|
+
@subject = BW::UIBarButtonItem.new(@options, &@target)
|
387
431
|
end
|
388
432
|
|
389
433
|
it "has the correct class" do
|
390
|
-
@subject.class.should.equal(UIBarButtonItem)
|
434
|
+
@subject.class.should.equal(BW::UIBarButtonItem)
|
435
|
+
end
|
436
|
+
|
437
|
+
it "has the correct superclass" do
|
438
|
+
@subject.superclass.should.equal(::UIBarButtonItem)
|
391
439
|
end
|
392
440
|
|
393
441
|
it "has the correct system item" do
|
@@ -409,11 +457,15 @@ describe BW::UIBarButtonItem do
|
|
409
457
|
before do
|
410
458
|
@options = { :custom => UIView.alloc.init }
|
411
459
|
@target = -> { true }
|
412
|
-
@subject = BW::UIBarButtonItem.
|
460
|
+
@subject = BW::UIBarButtonItem.new(@options, &@target)
|
413
461
|
end
|
414
462
|
|
415
463
|
it "has the correct class" do
|
416
|
-
@subject.class.should.equal(UIBarButtonItem)
|
464
|
+
@subject.class.should.equal(BW::UIBarButtonItem)
|
465
|
+
end
|
466
|
+
|
467
|
+
it "has the correct superclass" do
|
468
|
+
@subject.superclass.should.equal(::UIBarButtonItem)
|
417
469
|
end
|
418
470
|
|
419
471
|
it "has a custom view" do
|
@@ -433,11 +485,15 @@ describe BW::UIBarButtonItem do
|
|
433
485
|
before do
|
434
486
|
@options = { :view => UIView.alloc.init }
|
435
487
|
@target = -> { true }
|
436
|
-
@subject = BW::UIBarButtonItem.
|
488
|
+
@subject = BW::UIBarButtonItem.new(@options, &@target)
|
437
489
|
end
|
438
490
|
|
439
491
|
it "has the correct class" do
|
440
|
-
@subject.class.should.equal(UIBarButtonItem)
|
492
|
+
@subject.class.should.equal(BW::UIBarButtonItem)
|
493
|
+
end
|
494
|
+
|
495
|
+
it "has the correct superclass" do
|
496
|
+
@subject.superclass.should.equal(::UIBarButtonItem)
|
441
497
|
end
|
442
498
|
|
443
499
|
it "has a custom view" do
|
File without changes
|
@@ -1,6 +1,6 @@
|
|
1
1
|
describe BubbleWrap::Constants do
|
2
2
|
describe ".get" do
|
3
|
-
BubbleWrap::Constants.register
|
3
|
+
BubbleWrap::Constants.register NSStringEncodingConversionAllowLossy, NSStringEncodingConversionExternalRepresentation
|
4
4
|
|
5
5
|
|
6
6
|
it "should return integer passed" do
|
@@ -12,15 +12,15 @@ describe BubbleWrap::Constants do
|
|
12
12
|
end
|
13
13
|
|
14
14
|
it "should return the correct integer for a string" do
|
15
|
-
BW::Constants.get("
|
15
|
+
BW::Constants.get("NSStringEncodingConversion", "allow_lossy").should == NSStringEncodingConversionAllowLossy
|
16
16
|
end
|
17
17
|
|
18
18
|
it "should return the correct integer for a symbol" do
|
19
|
-
BW::Constants.get("
|
19
|
+
BW::Constants.get("NSStringEncodingConversion", :allow_lossy).should == NSStringEncodingConversionAllowLossy
|
20
20
|
end
|
21
21
|
|
22
22
|
it "should bitmask array values" do
|
23
|
-
BW::Constants.get("
|
23
|
+
BW::Constants.get("NSStringEncodingConversion", :allow_lossy, :external_representation).should == (NSStringEncodingConversionAllowLossy | NSStringEncodingConversionExternalRepresentation)
|
24
24
|
end
|
25
25
|
end
|
26
26
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bubble-wrap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.0.osx
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Aimonetti
|
@@ -14,7 +14,7 @@ authors:
|
|
14
14
|
autorequire:
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
|
-
date: 2013-
|
17
|
+
date: 2013-05-09 00:00:00.000000000 Z
|
18
18
|
dependencies:
|
19
19
|
- !ruby/object:Gem::Dependency
|
20
20
|
name: mocha
|
@@ -90,21 +90,29 @@ extra_rdoc_files:
|
|
90
90
|
- motion/core.rb
|
91
91
|
- motion/core/app.rb
|
92
92
|
- motion/core/device.rb
|
93
|
-
- motion/core/device/camera.rb
|
94
|
-
- motion/core/device/camera_wrapper.rb
|
93
|
+
- motion/core/device/ios/camera.rb
|
94
|
+
- motion/core/device/ios/camera_wrapper.rb
|
95
|
+
- motion/core/device/ios/screen.rb
|
96
|
+
- motion/core/device/osx/screen.rb
|
95
97
|
- motion/core/device/screen.rb
|
98
|
+
- motion/core/ios/app.rb
|
99
|
+
- motion/core/ios/device.rb
|
96
100
|
- motion/core/json.rb
|
97
101
|
- motion/core/kvo.rb
|
98
102
|
- motion/core/ns_index_path.rb
|
99
103
|
- motion/core/ns_notification_center.rb
|
100
104
|
- motion/core/ns_url_request.rb
|
101
105
|
- motion/core/ns_user_defaults.rb
|
106
|
+
- motion/core/osx/app.rb
|
107
|
+
- motion/core/osx/device.rb
|
102
108
|
- motion/core/persistence.rb
|
103
109
|
- motion/core/pollute.rb
|
104
110
|
- motion/core/string.rb
|
105
111
|
- motion/core/time.rb
|
106
112
|
- motion/font/font.rb
|
107
113
|
- motion/http.rb
|
114
|
+
- motion/http/query.rb
|
115
|
+
- motion/http/response.rb
|
108
116
|
- motion/location/location.rb
|
109
117
|
- motion/location/pollute.rb
|
110
118
|
- motion/media/media.rb
|
@@ -122,6 +130,7 @@ extra_rdoc_files:
|
|
122
130
|
- motion/test_suite_delegate.rb
|
123
131
|
- motion/ui/gestures.rb
|
124
132
|
- motion/ui/pollute.rb
|
133
|
+
- motion/ui/ui_alert_view.rb
|
125
134
|
- motion/ui/ui_bar_button_item.rb
|
126
135
|
- motion/ui/ui_control.rb
|
127
136
|
- motion/ui/ui_view_controller.rb
|
@@ -130,28 +139,35 @@ extra_rdoc_files:
|
|
130
139
|
- spec/lib/bubble-wrap/ext/motion_project_config_spec.rb
|
131
140
|
- spec/lib/motion_stub.rb
|
132
141
|
- spec/motion/core/app_spec.rb
|
133
|
-
- spec/motion/core/device/camera_spec.rb
|
134
|
-
- spec/motion/core/device/camera_wrapper_spec.rb
|
135
|
-
- spec/motion/core/device/
|
142
|
+
- spec/motion/core/device/ios/camera_spec.rb
|
143
|
+
- spec/motion/core/device/ios/camera_wrapper_spec.rb
|
144
|
+
- spec/motion/core/device/ios/device_spec.rb
|
145
|
+
- spec/motion/core/device/ios/screen_spec.rb
|
146
|
+
- spec/motion/core/device/osx/screen_spec.rb
|
136
147
|
- spec/motion/core/device_spec.rb
|
137
|
-
- spec/motion/core/
|
148
|
+
- spec/motion/core/ios/app_spec.rb
|
138
149
|
- spec/motion/core/json_spec.rb
|
139
150
|
- spec/motion/core/kvo_spec.rb
|
140
151
|
- spec/motion/core/ns_index_path_spec.rb
|
141
152
|
- spec/motion/core/ns_notification_center_spec.rb
|
153
|
+
- spec/motion/core/osx/app_spec.rb
|
142
154
|
- spec/motion/core/persistence_spec.rb
|
143
155
|
- spec/motion/core/string_spec.rb
|
144
156
|
- spec/motion/core/time_spec.rb
|
145
|
-
- spec/motion/core/ui_bar_button_item_spec.rb
|
146
|
-
- spec/motion/core/ui_control_spec.rb
|
147
157
|
- spec/motion/core_spec.rb
|
148
158
|
- spec/motion/font/font_spec.rb
|
159
|
+
- spec/motion/http/query_spec.rb
|
160
|
+
- spec/motion/http/response_spec.rb
|
149
161
|
- spec/motion/http_spec.rb
|
150
162
|
- spec/motion/location/location_spec.rb
|
151
163
|
- spec/motion/media/player_spec.rb
|
152
164
|
- spec/motion/reactor/eventable_spec.rb
|
153
165
|
- spec/motion/reactor_spec.rb
|
154
166
|
- spec/motion/rss_parser_spec.rb
|
167
|
+
- spec/motion/ui/gestures_spec.rb
|
168
|
+
- spec/motion/ui/ui_alert_view_spec.rb
|
169
|
+
- spec/motion/ui/ui_bar_button_item_spec.rb
|
170
|
+
- spec/motion/ui/ui_control_spec.rb
|
155
171
|
- spec/motion/util/constants_spec.rb
|
156
172
|
files:
|
157
173
|
- .gitignore
|
@@ -189,21 +205,29 @@ files:
|
|
189
205
|
- motion/core.rb
|
190
206
|
- motion/core/app.rb
|
191
207
|
- motion/core/device.rb
|
192
|
-
- motion/core/device/camera.rb
|
193
|
-
- motion/core/device/camera_wrapper.rb
|
208
|
+
- motion/core/device/ios/camera.rb
|
209
|
+
- motion/core/device/ios/camera_wrapper.rb
|
210
|
+
- motion/core/device/ios/screen.rb
|
211
|
+
- motion/core/device/osx/screen.rb
|
194
212
|
- motion/core/device/screen.rb
|
213
|
+
- motion/core/ios/app.rb
|
214
|
+
- motion/core/ios/device.rb
|
195
215
|
- motion/core/json.rb
|
196
216
|
- motion/core/kvo.rb
|
197
217
|
- motion/core/ns_index_path.rb
|
198
218
|
- motion/core/ns_notification_center.rb
|
199
219
|
- motion/core/ns_url_request.rb
|
200
220
|
- motion/core/ns_user_defaults.rb
|
221
|
+
- motion/core/osx/app.rb
|
222
|
+
- motion/core/osx/device.rb
|
201
223
|
- motion/core/persistence.rb
|
202
224
|
- motion/core/pollute.rb
|
203
225
|
- motion/core/string.rb
|
204
226
|
- motion/core/time.rb
|
205
227
|
- motion/font/font.rb
|
206
228
|
- motion/http.rb
|
229
|
+
- motion/http/query.rb
|
230
|
+
- motion/http/response.rb
|
207
231
|
- motion/location/location.rb
|
208
232
|
- motion/location/pollute.rb
|
209
233
|
- motion/media/media.rb
|
@@ -221,12 +245,20 @@ files:
|
|
221
245
|
- motion/test_suite_delegate.rb
|
222
246
|
- motion/ui/gestures.rb
|
223
247
|
- motion/ui/pollute.rb
|
248
|
+
- motion/ui/ui_alert_view.rb
|
224
249
|
- motion/ui/ui_bar_button_item.rb
|
225
250
|
- motion/ui/ui_control.rb
|
226
251
|
- motion/ui/ui_view_controller.rb
|
227
252
|
- motion/util/constants.rb
|
228
253
|
- resources/atom.xml
|
229
254
|
- resources/test.mp3
|
255
|
+
- samples/alert/.gitignore
|
256
|
+
- samples/alert/Gemfile
|
257
|
+
- samples/alert/Rakefile
|
258
|
+
- samples/alert/app/app_delegate.rb
|
259
|
+
- samples/alert/app/controllers/alert_view_controller.rb
|
260
|
+
- samples/alert/resources/Default-568h@2x.png
|
261
|
+
- samples/alert/spec/main_spec.rb
|
230
262
|
- samples/camera/Gemfile
|
231
263
|
- samples/camera/README.md
|
232
264
|
- samples/camera/Rakefile
|
@@ -252,6 +284,20 @@ files:
|
|
252
284
|
- samples/location/app/controllers/image_list_controller.rb
|
253
285
|
- samples/location/app/models/places.rb
|
254
286
|
- samples/location/spec/main_spec.rb
|
287
|
+
- samples/media/.gitignore
|
288
|
+
- samples/media/Rakefile
|
289
|
+
- samples/media/app/app_delegate.rb
|
290
|
+
- samples/media/app/controllers/play_controller.rb
|
291
|
+
- samples/media/resources/Default-568h@2x.png
|
292
|
+
- samples/media/resources/test.mp3
|
293
|
+
- samples/media/spec/main_spec.rb
|
294
|
+
- samples/osx/Gemfile
|
295
|
+
- samples/osx/Gemfile.lock
|
296
|
+
- samples/osx/Rakefile
|
297
|
+
- samples/osx/app/app_delegate.rb
|
298
|
+
- samples/osx/app/menu.rb
|
299
|
+
- samples/osx/resources/Credits.rtf
|
300
|
+
- samples/osx/spec/main_spec.rb
|
255
301
|
- spec/lib/bubble-wrap/ext/motion_project_app_spec.rb
|
256
302
|
- spec/lib/bubble-wrap/ext/motion_project_config_spec.rb
|
257
303
|
- spec/lib/bubble-wrap/requirement/path_manipulation_spec.rb
|
@@ -259,28 +305,35 @@ files:
|
|
259
305
|
- spec/lib/bubble-wrap_spec.rb
|
260
306
|
- spec/lib/motion_stub.rb
|
261
307
|
- spec/motion/core/app_spec.rb
|
262
|
-
- spec/motion/core/device/camera_spec.rb
|
263
|
-
- spec/motion/core/device/camera_wrapper_spec.rb
|
264
|
-
- spec/motion/core/device/
|
308
|
+
- spec/motion/core/device/ios/camera_spec.rb
|
309
|
+
- spec/motion/core/device/ios/camera_wrapper_spec.rb
|
310
|
+
- spec/motion/core/device/ios/device_spec.rb
|
311
|
+
- spec/motion/core/device/ios/screen_spec.rb
|
312
|
+
- spec/motion/core/device/osx/screen_spec.rb
|
265
313
|
- spec/motion/core/device_spec.rb
|
266
|
-
- spec/motion/core/
|
314
|
+
- spec/motion/core/ios/app_spec.rb
|
267
315
|
- spec/motion/core/json_spec.rb
|
268
316
|
- spec/motion/core/kvo_spec.rb
|
269
317
|
- spec/motion/core/ns_index_path_spec.rb
|
270
318
|
- spec/motion/core/ns_notification_center_spec.rb
|
319
|
+
- spec/motion/core/osx/app_spec.rb
|
271
320
|
- spec/motion/core/persistence_spec.rb
|
272
321
|
- spec/motion/core/string_spec.rb
|
273
322
|
- spec/motion/core/time_spec.rb
|
274
|
-
- spec/motion/core/ui_bar_button_item_spec.rb
|
275
|
-
- spec/motion/core/ui_control_spec.rb
|
276
323
|
- spec/motion/core_spec.rb
|
277
324
|
- spec/motion/font/font_spec.rb
|
325
|
+
- spec/motion/http/query_spec.rb
|
326
|
+
- spec/motion/http/response_spec.rb
|
278
327
|
- spec/motion/http_spec.rb
|
279
328
|
- spec/motion/location/location_spec.rb
|
280
329
|
- spec/motion/media/player_spec.rb
|
281
330
|
- spec/motion/reactor/eventable_spec.rb
|
282
331
|
- spec/motion/reactor_spec.rb
|
283
332
|
- spec/motion/rss_parser_spec.rb
|
333
|
+
- spec/motion/ui/gestures_spec.rb
|
334
|
+
- spec/motion/ui/ui_alert_view_spec.rb
|
335
|
+
- spec/motion/ui/ui_bar_button_item_spec.rb
|
336
|
+
- spec/motion/ui/ui_control_spec.rb
|
284
337
|
- spec/motion/util/constants_spec.rb
|
285
338
|
homepage: http://bubblewrap.io/
|
286
339
|
licenses: []
|
@@ -296,9 +349,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
296
349
|
version: '0'
|
297
350
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
298
351
|
requirements:
|
299
|
-
- - ! '
|
352
|
+
- - ! '>'
|
300
353
|
- !ruby/object:Gem::Version
|
301
|
-
version:
|
354
|
+
version: 1.3.1
|
302
355
|
requirements: []
|
303
356
|
rubyforge_project:
|
304
357
|
rubygems_version: 2.0.3
|
@@ -314,26 +367,33 @@ test_files:
|
|
314
367
|
- spec/lib/bubble-wrap_spec.rb
|
315
368
|
- spec/lib/motion_stub.rb
|
316
369
|
- spec/motion/core/app_spec.rb
|
317
|
-
- spec/motion/core/device/camera_spec.rb
|
318
|
-
- spec/motion/core/device/camera_wrapper_spec.rb
|
319
|
-
- spec/motion/core/device/
|
370
|
+
- spec/motion/core/device/ios/camera_spec.rb
|
371
|
+
- spec/motion/core/device/ios/camera_wrapper_spec.rb
|
372
|
+
- spec/motion/core/device/ios/device_spec.rb
|
373
|
+
- spec/motion/core/device/ios/screen_spec.rb
|
374
|
+
- spec/motion/core/device/osx/screen_spec.rb
|
320
375
|
- spec/motion/core/device_spec.rb
|
321
|
-
- spec/motion/core/
|
376
|
+
- spec/motion/core/ios/app_spec.rb
|
322
377
|
- spec/motion/core/json_spec.rb
|
323
378
|
- spec/motion/core/kvo_spec.rb
|
324
379
|
- spec/motion/core/ns_index_path_spec.rb
|
325
380
|
- spec/motion/core/ns_notification_center_spec.rb
|
381
|
+
- spec/motion/core/osx/app_spec.rb
|
326
382
|
- spec/motion/core/persistence_spec.rb
|
327
383
|
- spec/motion/core/string_spec.rb
|
328
384
|
- spec/motion/core/time_spec.rb
|
329
|
-
- spec/motion/core/ui_bar_button_item_spec.rb
|
330
|
-
- spec/motion/core/ui_control_spec.rb
|
331
385
|
- spec/motion/core_spec.rb
|
332
386
|
- spec/motion/font/font_spec.rb
|
387
|
+
- spec/motion/http/query_spec.rb
|
388
|
+
- spec/motion/http/response_spec.rb
|
333
389
|
- spec/motion/http_spec.rb
|
334
390
|
- spec/motion/location/location_spec.rb
|
335
391
|
- spec/motion/media/player_spec.rb
|
336
392
|
- spec/motion/reactor/eventable_spec.rb
|
337
393
|
- spec/motion/reactor_spec.rb
|
338
394
|
- spec/motion/rss_parser_spec.rb
|
395
|
+
- spec/motion/ui/gestures_spec.rb
|
396
|
+
- spec/motion/ui/ui_alert_view_spec.rb
|
397
|
+
- spec/motion/ui/ui_bar_button_item_spec.rb
|
398
|
+
- spec/motion/ui/ui_control_spec.rb
|
339
399
|
- spec/motion/util/constants_spec.rb
|