bubble-wrap 1.8.0 → 1.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (70) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +14 -9
  3. data/CHANGELOG.md +21 -2
  4. data/Gemfile.lock +8 -5
  5. data/README.md +54 -3
  6. data/Rakefile +7 -1
  7. data/lib/bubble-wrap/camera.rb +1 -1
  8. data/lib/bubble-wrap/core.rb +1 -1
  9. data/lib/bubble-wrap/font.rb +1 -1
  10. data/lib/bubble-wrap/loader.rb +4 -4
  11. data/lib/bubble-wrap/media.rb +1 -1
  12. data/lib/bubble-wrap/motion.rb +7 -1
  13. data/lib/bubble-wrap/version.rb +2 -2
  14. data/motion/core/app.rb +4 -0
  15. data/motion/core/device/ios/camera_wrapper.rb +1 -1
  16. data/motion/core/device/ios/screen.rb +2 -2
  17. data/motion/core/device/osx/screen.rb +1 -1
  18. data/motion/core/device/screen.rb +1 -1
  19. data/motion/core/ios/device.rb +1 -1
  20. data/motion/core/ios/ns_index_path.rb +11 -0
  21. data/motion/core/json.rb +2 -2
  22. data/motion/core/kvo.rb +118 -55
  23. data/motion/core/ns_notification_center.rb +2 -2
  24. data/motion/core/ns_url_request.rb +2 -2
  25. data/motion/core/osx/device.rb +1 -1
  26. data/motion/core/string.rb +7 -7
  27. data/motion/font/font.rb +1 -1
  28. data/motion/ios/8/location_constants.rb +21 -0
  29. data/motion/location/location.rb +38 -18
  30. data/motion/mail/result.rb +1 -1
  31. data/motion/media/media.rb +1 -1
  32. data/motion/motion/accelerometer.rb +55 -0
  33. data/motion/motion/device_motion.rb +139 -0
  34. data/motion/motion/gyroscope.rb +55 -0
  35. data/motion/motion/magnetometer.rb +55 -0
  36. data/motion/motion/motion.rb +0 -288
  37. data/motion/reactor.rb +3 -3
  38. data/motion/reactor/deferrable.rb +32 -32
  39. data/motion/reactor/periodic_timer.rb +1 -1
  40. data/motion/reactor/queue.rb +6 -6
  41. data/motion/reactor/thread_aware_deferrable.rb +1 -1
  42. data/motion/reactor/timer.rb +1 -1
  43. data/motion/rss_parser.rb +6 -3
  44. data/motion/shortcut.rb +1 -1
  45. data/motion/sms/result.rb +1 -1
  46. data/motion/test_suite_delegate.rb +1 -1
  47. data/motion/ui/ui_activity_view_controller_wrapper.rb +6 -1
  48. data/motion/ui/ui_alert_view.rb +21 -1
  49. data/motion/util/deprecated.rb +1 -1
  50. data/samples/alert/Gemfile.lock +1 -1
  51. data/spec/lib/bubble-wrap/requirement_spec.rb +2 -2
  52. data/spec/lib/bubble-wrap_spec.rb +1 -1
  53. data/spec/lib/motion_stub.rb +1 -1
  54. data/spec/motion/core/app_spec.rb +6 -0
  55. data/spec/motion/core/device/osx/screen_spec.rb +1 -1
  56. data/spec/motion/core/ios/ns_index_path_spec.rb +20 -0
  57. data/spec/motion/core/kvo_spec.rb +171 -58
  58. data/spec/motion/core/ns_notification_center_spec.rb +3 -3
  59. data/spec/motion/core/string_spec.rb +16 -16
  60. data/spec/motion/core_spec.rb +3 -3
  61. data/spec/motion/font/font_spec.rb +1 -1
  62. data/spec/motion/location/location_spec.rb +61 -9
  63. data/spec/motion/mail/result_spec.rb +7 -7
  64. data/spec/motion/media/player_spec.rb +1 -1
  65. data/spec/motion/reactor/thread_aware_deferrable_spec.rb +3 -3
  66. data/spec/motion/sms/result_spec.rb +6 -6
  67. data/spec/motion/ui/ui_alert_view_spec.rb +59 -1
  68. data/spec/motion/util/deprecated_spec.rb +1 -1
  69. metadata +17 -4
  70. data/motion/ios/7/uiactivity_view_controller_constants.rb +0 -10
@@ -81,4 +81,4 @@ describe BubbleWrap::Deprecated do
81
81
  end
82
82
  end
83
83
  end
84
- end
84
+ 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.8.0
4
+ version: 1.9.0
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: 2015-03-13 00:00:00.000000000 Z
17
+ date: 2015-07-10 00:00:00.000000000 Z
18
18
  dependencies:
19
19
  - !ruby/object:Gem::Dependency
20
20
  name: mocha
@@ -111,6 +111,7 @@ extra_rdoc_files:
111
111
  - motion/core/device/screen.rb
112
112
  - motion/core/ios/app.rb
113
113
  - motion/core/ios/device.rb
114
+ - motion/core/ios/ns_index_path.rb
114
115
  - motion/core/json.rb
115
116
  - motion/core/kvo.rb
116
117
  - motion/core/ns_index_path.rb
@@ -124,13 +125,17 @@ extra_rdoc_files:
124
125
  - motion/core/string.rb
125
126
  - motion/core/time.rb
126
127
  - motion/font/font.rb
127
- - motion/ios/7/uiactivity_view_controller_constants.rb
128
+ - motion/ios/8/location_constants.rb
128
129
  - motion/location/location.rb
129
130
  - motion/location/pollute.rb
130
131
  - motion/mail/mail.rb
131
132
  - motion/mail/result.rb
132
133
  - motion/media/media.rb
133
134
  - motion/media/player.rb
135
+ - motion/motion/accelerometer.rb
136
+ - motion/motion/device_motion.rb
137
+ - motion/motion/gyroscope.rb
138
+ - motion/motion/magnetometer.rb
134
139
  - motion/motion/motion.rb
135
140
  - motion/network-indicator/network-indicator.rb
136
141
  - motion/reactor.rb
@@ -167,6 +172,7 @@ extra_rdoc_files:
167
172
  - spec/motion/core/device/osx/screen_spec.rb
168
173
  - spec/motion/core/device_spec.rb
169
174
  - spec/motion/core/ios/app_spec.rb
175
+ - spec/motion/core/ios/ns_index_path_spec.rb
170
176
  - spec/motion/core/json_spec.rb
171
177
  - spec/motion/core/kvo_spec.rb
172
178
  - spec/motion/core/ns_index_path_spec.rb
@@ -244,6 +250,7 @@ files:
244
250
  - motion/core/device/screen.rb
245
251
  - motion/core/ios/app.rb
246
252
  - motion/core/ios/device.rb
253
+ - motion/core/ios/ns_index_path.rb
247
254
  - motion/core/json.rb
248
255
  - motion/core/kvo.rb
249
256
  - motion/core/ns_index_path.rb
@@ -257,13 +264,17 @@ files:
257
264
  - motion/core/string.rb
258
265
  - motion/core/time.rb
259
266
  - motion/font/font.rb
260
- - motion/ios/7/uiactivity_view_controller_constants.rb
267
+ - motion/ios/8/location_constants.rb
261
268
  - motion/location/location.rb
262
269
  - motion/location/pollute.rb
263
270
  - motion/mail/mail.rb
264
271
  - motion/mail/result.rb
265
272
  - motion/media/media.rb
266
273
  - motion/media/player.rb
274
+ - motion/motion/accelerometer.rb
275
+ - motion/motion/device_motion.rb
276
+ - motion/motion/gyroscope.rb
277
+ - motion/motion/magnetometer.rb
267
278
  - motion/motion/motion.rb
268
279
  - motion/network-indicator/network-indicator.rb
269
280
  - motion/reactor.rb
@@ -357,6 +368,7 @@ files:
357
368
  - spec/motion/core/device/osx/screen_spec.rb
358
369
  - spec/motion/core/device_spec.rb
359
370
  - spec/motion/core/ios/app_spec.rb
371
+ - spec/motion/core/ios/ns_index_path_spec.rb
360
372
  - spec/motion/core/json_spec.rb
361
373
  - spec/motion/core/kvo_spec.rb
362
374
  - spec/motion/core/ns_index_path_spec.rb
@@ -429,6 +441,7 @@ test_files:
429
441
  - spec/motion/core/device/osx/screen_spec.rb
430
442
  - spec/motion/core/device_spec.rb
431
443
  - spec/motion/core/ios/app_spec.rb
444
+ - spec/motion/core/ios/ns_index_path_spec.rb
432
445
  - spec/motion/core/json_spec.rb
433
446
  - spec/motion/core/kvo_spec.rb
434
447
  - spec/motion/core/ns_index_path_spec.rb
@@ -1,10 +0,0 @@
1
- module BW
2
- # iOS 7 ONLY Constants for UIActivityViewController
3
- Constants.register(
4
- UIActivityTypeAddToReadingList,
5
- UIActivityTypePostToFlickr,
6
- UIActivityTypePostToVimeo,
7
- UIActivityTypePostToTencentWeibo,
8
- UIActivityTypeAirDrop
9
- )
10
- end