bubble-wrap 1.9.6 → 1.9.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.travis.yml +3 -9
- data/CHANGELOG.md +80 -76
- data/Gemfile.lock +2 -2
- data/README.md +1 -5
- data/Rakefile +2 -2
- data/bubble-wrap.gemspec +1 -1
- data/lib/bubble-wrap/camera.rb +1 -0
- data/lib/bubble-wrap/version.rb +1 -1
- data/motion/core/device/ios/camera.rb +0 -1
- data/motion/core/ios/device.rb +1 -1
- metadata +4 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: a8316b074fcb2a2fd16bc6440830631cb3eae4f736d80c8fe5b6f5fcd5d293f7
|
4
|
+
data.tar.gz: db25f5f15554cede5257d3a09e4aa7662c37d2d4dea6e76daf3354a05ab2e310
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 21987f4da57bea9d555ab983a1d18bc4891b40c14053c80f846813182670e26ccfc562aaf12b51c6bac43cfeb413789930959715cd0a7e4d34ebc0808ca593a6
|
7
|
+
data.tar.gz: e5830d48a13ef3e12938ff5bbaa6018a71d67af546ccc4c07df17f875f3bb8ea5b48106a249504d731263418456bc343c7afb1daa21b7935f511503776ba633c
|
data/.travis.yml
CHANGED
@@ -1,18 +1,12 @@
|
|
1
1
|
language: objective-c
|
2
|
-
osx_image:
|
2
|
+
osx_image: xcode8
|
3
3
|
before_install:
|
4
|
-
- (ruby --version)
|
5
|
-
- sudo chown -R travis ~/Library/RubyMotion
|
6
|
-
- sudo mkdir -p ~/Library/RubyMotion/build
|
7
|
-
- sudo chown -R travis ~/Library/RubyMotion/build
|
8
4
|
- sudo motion update
|
9
|
-
|
10
|
-
- Gemfile
|
5
|
+
- motion repo
|
11
6
|
script:
|
12
|
-
- bundle install --jobs=3 --retry=3
|
13
7
|
- bundle exec rake clean
|
14
8
|
- bundle exec rake spec
|
15
9
|
- bundle exec rake clean
|
16
|
-
- bundle exec rake spec target=
|
10
|
+
- bundle exec rake spec target=10
|
17
11
|
- bundle exec rake clean
|
18
12
|
- bundle exec rake spec osx=true
|
data/CHANGELOG.md
CHANGED
@@ -1,134 +1,138 @@
|
|
1
1
|
## Unreleased
|
2
2
|
|
3
|
-
[Commit history](https://github.com/rubymotion/BubbleWrap/compare/v1.9.
|
3
|
+
[Commit history](https://github.com/rubymotion-community/BubbleWrap/compare/v1.9.6...master)
|
4
|
+
|
5
|
+
## 1.9.6
|
6
|
+
|
7
|
+
[Commit history](https://github.com/rubymotion-community/BubbleWrap/compare/v1.9.5...v1.9.6)
|
4
8
|
|
5
9
|
## 1.9.5
|
6
10
|
|
7
|
-
[Commit history](https://github.com/rubymotion/BubbleWrap/compare/v1.9.4...v1.9.5)
|
11
|
+
[Commit history](https://github.com/rubymotion-community/BubbleWrap/compare/v1.9.4...v1.9.5)
|
8
12
|
|
9
|
-
* Fixed 'simulator?' so it returns the correct value, when running ios 8 or below on device. ([#481](https://github.com/rubymotion/BubbleWrap/pull/481))
|
13
|
+
* Fixed 'simulator?' so it returns the correct value, when running ios 8 or below on device. ([#481](https://github.com/rubymotion-community/BubbleWrap/pull/481))
|
10
14
|
|
11
15
|
## ~~1.9.3~~ 1.9.4
|
12
16
|
|
13
|
-
[Commit history](https://github.com/rubymotion/BubbleWrap/compare/v1.9.2...v1.9.4)
|
17
|
+
[Commit history](https://github.com/rubymotion-community/BubbleWrap/compare/v1.9.2...v1.9.4)
|
14
18
|
|
15
|
-
* Fixed `Device.simulator?` for iOS 9. ([#473](https://github.com/rubymotion/BubbleWrap/pull/473))
|
19
|
+
* Fixed `Device.simulator?` for iOS 9. ([#473](https://github.com/rubymotion-community/BubbleWrap/pull/473))
|
16
20
|
|
17
21
|
## 1.9.2
|
18
22
|
|
19
|
-
[Commit history](https://github.com/rubymotion/BubbleWrap/compare/v1.9.1...v1.9.2)
|
23
|
+
[Commit history](https://github.com/rubymotion-community/BubbleWrap/compare/v1.9.1...v1.9.2)
|
20
24
|
|
21
|
-
* Added `DependentDeferrable`. ([#469](https://github.com/rubymotion/BubbleWrap/pull/469))
|
25
|
+
* Added `DependentDeferrable`. ([#469](https://github.com/rubymotion-community/BubbleWrap/pull/469))
|
22
26
|
|
23
27
|
## 1.9.1
|
24
28
|
|
25
|
-
[Commit history](https://github.com/rubymotion/BubbleWrap/compare/v1.9.0...v1.9.1)
|
29
|
+
[Commit history](https://github.com/rubymotion-community/BubbleWrap/compare/v1.9.0...v1.9.1)
|
26
30
|
|
27
31
|
* Fix issue in loading iOS 8 constants for CoreLocation
|
28
32
|
|
29
33
|
## 1.9.0
|
30
34
|
|
31
|
-
[Commit history](https://github.com/rubymotion/BubbleWrap/compare/v1.8.0...v1.9.0)
|
32
|
-
|
33
|
-
* Add support for `keyboardType` on first input field of `BW::UIAlertView` ([#406](https://github.com/rubymotion/BubbleWrap/pull/406))
|
34
|
-
* Implement #+ and #- for NSIndexPath to incr/decr row ([#420](https://github.com/rubymotion/BubbleWrap/pull/420))
|
35
|
-
* Extract CoreMotion classes to make it easier to use and more maintainable ([#454](https://github.com/rubymotion/BubbleWrap/pull/454))
|
36
|
-
* Motion extract classes ([#454](https://github.com/rubymotion/BubbleWrap/pull/454))
|
37
|
-
* Added RSS fields: creator, category, encoded ([#461](https://github.com/rubymotion/BubbleWrap/pull/461))
|
38
|
-
* KVO `observe!` and ability to pass multiple key paths to `observe` ([#460](https://github.com/rubymotion/BubbleWrap/pull/460))
|
39
|
-
* `App.short_version` ([#466](https://github.com/rubymotion/BubbleWrap/pull/466))
|
40
|
-
* Bump the required version of iOS to >= 7 ([#424](https://github.com/rubymotion/BubbleWrap/pull/424))
|
41
|
-
* Bump the required version of iOS to >= 7 ([#424](https://github.com/rubymotion/BubbleWrap/pull/424))
|
42
|
-
* Fixes to CoreLocation ([#422](https://github.com/rubymotion/BubbleWrap/pull/422)) & ([#432](https://github.com/rubymotion/BubbleWrap/pull/432))
|
43
|
-
* Adds default text option to BW::UIAlertView ([#467](https://github.com/rubymotion/BubbleWrap/pull/467))
|
35
|
+
[Commit history](https://github.com/rubymotion-community/BubbleWrap/compare/v1.8.0...v1.9.0)
|
36
|
+
|
37
|
+
* Add support for `keyboardType` on first input field of `BW::UIAlertView` ([#406](https://github.com/rubymotion-community/BubbleWrap/pull/406))
|
38
|
+
* Implement #+ and #- for NSIndexPath to incr/decr row ([#420](https://github.com/rubymotion-community/BubbleWrap/pull/420))
|
39
|
+
* Extract CoreMotion classes to make it easier to use and more maintainable ([#454](https://github.com/rubymotion-community/BubbleWrap/pull/454))
|
40
|
+
* Motion extract classes ([#454](https://github.com/rubymotion-community/BubbleWrap/pull/454))
|
41
|
+
* Added RSS fields: creator, category, encoded ([#461](https://github.com/rubymotion-community/BubbleWrap/pull/461))
|
42
|
+
* KVO `observe!` and ability to pass multiple key paths to `observe` ([#460](https://github.com/rubymotion-community/BubbleWrap/pull/460))
|
43
|
+
* `App.short_version` ([#466](https://github.com/rubymotion-community/BubbleWrap/pull/466))
|
44
|
+
* Bump the required version of iOS to >= 7 ([#424](https://github.com/rubymotion-community/BubbleWrap/pull/424))
|
45
|
+
* Bump the required version of iOS to >= 7 ([#424](https://github.com/rubymotion-community/BubbleWrap/pull/424))
|
46
|
+
* Fixes to CoreLocation ([#422](https://github.com/rubymotion-community/BubbleWrap/pull/422)) & ([#432](https://github.com/rubymotion-community/BubbleWrap/pull/432))
|
47
|
+
* Adds default text option to BW::UIAlertView ([#467](https://github.com/rubymotion-community/BubbleWrap/pull/467))
|
44
48
|
* Bump the minimum required RubyMotion version to `3.12`.
|
45
49
|
|
46
50
|
## ... nothing to see here... move along.
|
47
51
|
|
48
52
|
## 1.4.0
|
49
53
|
|
50
|
-
[Commit history](https://github.com/rubymotion/BubbleWrap/compare/v1.3.0...v1.4.0)
|
51
|
-
|
52
|
-
* Added `BW::Mail` for sending emails ([#247](https://github.com/rubymotion/BubbleWrap/pull/247))
|
53
|
-
* Added `BW::SMS` for sending SMS/iMessages ([#287](https://github.com/rubymotion/BubbleWrap/pull/287))
|
54
|
-
* Added `App::Persistence.delete` ([#286](https://github.com/rubymotion/BubbleWrap/pull/286))
|
55
|
-
* Added `BW::HTTP::Response#error`, which is an `NSError` instance ([#284](https://github.com/rubymotion/BubbleWrap/pull/284))
|
56
|
-
* Added `BW::HTTP::Query#cancel` to chancel URL requests ([#278](https://github.com/rubymotion/BubbleWrap/pull/278))
|
57
|
-
* Added `App.info_plist` ([#273](https://github.com/rubymotion/BubbleWrap/pull/273/))
|
58
|
-
* Added `BW::Device.interface_orientation` ([#265](https://github.com/rubymotion/BubbleWrap/pull/265))
|
59
|
-
* Added `OPTIONS` request method to `BW::HTTP` ([#260](https://github.com/rubymotion/BubbleWrap/pull/260))
|
60
|
-
* Added `Time.iso8601_with_timezone` ([#255](https://github.com/rubymotion/BubbleWrap/pull/255))
|
61
|
-
* Added `:encoding` option to `BW::HTTP` ([#251](https://github.com/rubymotion/BubbleWrap/pull/251))
|
62
|
-
* Moved `BW::Reactor::Timer` and `BW::Reactor::PeriodicTimer` from `NSTimer` to GCD `Dispatch::Source.timer` ([#242](https://github.com/rubymotion/BubbleWrap/pull/242))
|
54
|
+
[Commit history](https://github.com/rubymotion-community/BubbleWrap/compare/v1.3.0...v1.4.0)
|
55
|
+
|
56
|
+
* Added `BW::Mail` for sending emails ([#247](https://github.com/rubymotion-community/BubbleWrap/pull/247))
|
57
|
+
* Added `BW::SMS` for sending SMS/iMessages ([#287](https://github.com/rubymotion-community/BubbleWrap/pull/287))
|
58
|
+
* Added `App::Persistence.delete` ([#286](https://github.com/rubymotion-community/BubbleWrap/pull/286))
|
59
|
+
* Added `BW::HTTP::Response#error`, which is an `NSError` instance ([#284](https://github.com/rubymotion-community/BubbleWrap/pull/284))
|
60
|
+
* Added `BW::HTTP::Query#cancel` to chancel URL requests ([#278](https://github.com/rubymotion-community/BubbleWrap/pull/278))
|
61
|
+
* Added `App.info_plist` ([#273](https://github.com/rubymotion-community/BubbleWrap/pull/273/))
|
62
|
+
* Added `BW::Device.interface_orientation` ([#265](https://github.com/rubymotion-community/BubbleWrap/pull/265))
|
63
|
+
* Added `OPTIONS` request method to `BW::HTTP` ([#260](https://github.com/rubymotion-community/BubbleWrap/pull/260))
|
64
|
+
* Added `Time.iso8601_with_timezone` ([#255](https://github.com/rubymotion-community/BubbleWrap/pull/255))
|
65
|
+
* Added `:encoding` option to `BW::HTTP` ([#251](https://github.com/rubymotion-community/BubbleWrap/pull/251))
|
66
|
+
* Moved `BW::Reactor::Timer` and `BW::Reactor::PeriodicTimer` from `NSTimer` to GCD `Dispatch::Source.timer` ([#242](https://github.com/rubymotion-community/BubbleWrap/pull/242))
|
63
67
|
* Option `:common_modes` for BW::Reactor::PeriodicTimer has been deprecated, it's not needed anymore.
|
64
|
-
* Fixed App#window (and thus `BW::Camera`) to work with iOS7 modals ([#305](https://github.com/rubymotion/BubbleWrap/pull/305))
|
65
|
-
* Fixed patches on `String` to be on `NSString` ([#292](https://github.com/rubymotion/BubbleWrap/pull/292))
|
66
|
-
* Fixed `BW::HTTP` success heuristic to match RFC 2616 ([#282](https://github.com/rubymotion/BubbleWrap/pull/282))
|
67
|
-
* Fixed `BW::HTTP` to correctly identify `false` parameters ([#261](https://github.com/rubymotion/BubbleWrap/issues/261) [#262](https://github.com/rubymotion/BubbleWrap/pull/262))
|
68
|
-
* Fixed `BW::Reactor` to correctly handle unregistered procs ([#253](https://github.com/rubymotion/BubbleWrap/pull/253))
|
69
|
-
* Fixed `BW::localized_string` to mirror Cocoa API by returning the `key` if no localization exists ([#181](https://github.com/rubymotion/BubbleWrap/pull/181))
|
70
|
-
* Addressed a few memory related problems ([#270](https://github.com/rubymotion/BubbleWrap/pull/270) [#275](https://github.com/rubymotion/BubbleWrap/pull/275) [#276](https://github.com/rubymotion/BubbleWrap/pull/276))
|
68
|
+
* Fixed App#window (and thus `BW::Camera`) to work with iOS7 modals ([#305](https://github.com/rubymotion-community/BubbleWrap/pull/305))
|
69
|
+
* Fixed patches on `String` to be on `NSString` ([#292](https://github.com/rubymotion-community/BubbleWrap/pull/292))
|
70
|
+
* Fixed `BW::HTTP` success heuristic to match RFC 2616 ([#282](https://github.com/rubymotion-community/BubbleWrap/pull/282))
|
71
|
+
* Fixed `BW::HTTP` to correctly identify `false` parameters ([#261](https://github.com/rubymotion-community/BubbleWrap/issues/261) [#262](https://github.com/rubymotion-community/BubbleWrap/pull/262))
|
72
|
+
* Fixed `BW::Reactor` to correctly handle unregistered procs ([#253](https://github.com/rubymotion-community/BubbleWrap/pull/253))
|
73
|
+
* Fixed `BW::localized_string` to mirror Cocoa API by returning the `key` if no localization exists ([#181](https://github.com/rubymotion-community/BubbleWrap/pull/181))
|
74
|
+
* Addressed a few memory related problems ([#270](https://github.com/rubymotion-community/BubbleWrap/pull/270) [#275](https://github.com/rubymotion-community/BubbleWrap/pull/275) [#276](https://github.com/rubymotion-community/BubbleWrap/pull/276))
|
71
75
|
|
72
76
|
## 1.3.0
|
73
77
|
|
74
|
-
[Commit history](https://github.com/rubymotion/BubbleWrap/compare/v1.2.0...v1.3.0)
|
78
|
+
[Commit history](https://github.com/rubymotion-community/BubbleWrap/compare/v1.2.0...v1.3.0)
|
75
79
|
|
76
|
-
* Added OS X support for RubyMotion 2.0 ([#233](https://github.com/rubymotion/BubbleWrap/pull/233)). BubbleWrap *drops support* for RubyMotion 1.x.
|
77
|
-
* Changed `BW::UIBarButtonItem` internals; `.build` is now deprecated and forwards to `.new` ([#226](https://github.com/rubymotion/BubbleWrap/pull/226))
|
78
|
-
* Changed `HTTP` to present credentials with an `Authorization` header *before* any requests are made, unless the `:present_credentials` option `== false` ([#199](https://github.com/rubymotion/BubbleWrap/pull/199))
|
79
|
-
* Fixed `HTTP` to not append a question-mark (`?`) at the end of URL requests with empty `:payload`s ([#221](https://github.com/rubymotion/BubbleWrap/pull/221))
|
80
|
-
* Fixed `HTTP` to correctly parameterize an array of hashes, Rails-style ([#219](https://github.com/rubymotion/BubbleWrap/pull/219))
|
80
|
+
* Added OS X support for RubyMotion 2.0 ([#233](https://github.com/rubymotion-community/BubbleWrap/pull/233)). BubbleWrap *drops support* for RubyMotion 1.x.
|
81
|
+
* Changed `BW::UIBarButtonItem` internals; `.build` is now deprecated and forwards to `.new` ([#226](https://github.com/rubymotion-community/BubbleWrap/pull/226))
|
82
|
+
* Changed `HTTP` to present credentials with an `Authorization` header *before* any requests are made, unless the `:present_credentials` option `== false` ([#199](https://github.com/rubymotion-community/BubbleWrap/pull/199))
|
83
|
+
* Fixed `HTTP` to not append a question-mark (`?`) at the end of URL requests with empty `:payload`s ([#221](https://github.com/rubymotion-community/BubbleWrap/pull/221))
|
84
|
+
* Fixed `HTTP` to correctly parameterize an array of hashes, Rails-style ([#219](https://github.com/rubymotion-community/BubbleWrap/pull/219))
|
81
85
|
|
82
86
|
## 1.2.0
|
83
87
|
|
84
|
-
[Commit history](https://github.com/rubymotion/BubbleWrap/compare/v1.1.5...v1.2.0)
|
88
|
+
[Commit history](https://github.com/rubymotion-community/BubbleWrap/compare/v1.1.5...v1.2.0)
|
85
89
|
|
86
|
-
* Added `BW::UIBarButtonItem`, a factory-esque wrapper for `UIBarButtonItem` ([#202](https://github.com/rubymotion/BubbleWrap/pull/202))
|
87
|
-
* Added `BW::Font`, a wrapper for creating `UIFont` objects ([#206](https://github.com/rubymotion/BubbleWrap/pull/206))
|
88
|
-
* Added `BW::Reactor::Eventable#off`, to remove `BW::Reactor` callbacks ([#205](https://github.com/rubymotion/BubbleWrap/pull/205))
|
89
|
-
* Added `BW::Constants.get`, which is a class to help wrapper creation ([#203](https://github.com/rubymotion/BubbleWrap/pull/203))
|
90
|
-
* Added `BW::Location.get_once` to grab only one location ([#197](https://github.com/rubymotion/BubbleWrap/pull/197))
|
91
|
-
* Added `App#environment`, to detect the current RubyMotion environment ([#191](https://github.com/rubymotion/BubbleWrap/pull/191))
|
92
|
-
* Added `:follow_urls` option to `BW::HTTP` ([#192](https://github.com/rubymotion/BubbleWrap/pull/192))
|
90
|
+
* Added `BW::UIBarButtonItem`, a factory-esque wrapper for `UIBarButtonItem` ([#202](https://github.com/rubymotion-community/BubbleWrap/pull/202))
|
91
|
+
* Added `BW::Font`, a wrapper for creating `UIFont` objects ([#206](https://github.com/rubymotion-community/BubbleWrap/pull/206))
|
92
|
+
* Added `BW::Reactor::Eventable#off`, to remove `BW::Reactor` callbacks ([#205](https://github.com/rubymotion-community/BubbleWrap/pull/205))
|
93
|
+
* Added `BW::Constants.get`, which is a class to help wrapper creation ([#203](https://github.com/rubymotion-community/BubbleWrap/pull/203))
|
94
|
+
* Added `BW::Location.get_once` to grab only one location ([#197](https://github.com/rubymotion-community/BubbleWrap/pull/197))
|
95
|
+
* Added `App#environment`, to detect the current RubyMotion environment ([#191](https://github.com/rubymotion-community/BubbleWrap/pull/191))
|
96
|
+
* Added `:follow_urls` option to `BW::HTTP` ([#192](https://github.com/rubymotion-community/BubbleWrap/pull/192))
|
93
97
|
* Added `:common_modes` option to `BW::Reactor`to change the runloop mode (#190)
|
94
|
-
* Added `:no_redirect` option to `BW::HTTP` ([#187](https://github.com/rubymotion/BubbleWrap/pull/187))
|
95
|
-
* Added `:cookies` option to `BW::HTTP` ([#204](https://github.com/rubymotion/BubbleWrap/pull/204))
|
98
|
+
* Added `:no_redirect` option to `BW::HTTP` ([#187](https://github.com/rubymotion-community/BubbleWrap/pull/187))
|
99
|
+
* Added `:cookies` option to `BW::HTTP` ([#204](https://github.com/rubymotion-community/BubbleWrap/pull/204))
|
96
100
|
|
97
101
|
## 1.1.5
|
98
102
|
|
99
|
-
[Commit history](https://github.com/rubymotion/BubbleWrap/compare/v1.1.4...v1.1.5)
|
103
|
+
[Commit history](https://github.com/rubymotion-community/BubbleWrap/compare/v1.1.4...v1.1.5)
|
100
104
|
|
101
|
-
* Fix `BW::Camera` view-controller selection process to pickup a window's `presentedViewController` ([#183](https://github.com/rubymotion/BubbleWrap/pull/183))
|
102
|
-
* Fix strings parsed in `BW::JSON` to be mutable ([#175](https://github.com/rubymotion/BubbleWrap/pull/175))
|
103
|
-
* Add option for `:credential_persistence`/`NSURLCredentialPersistence` in `BW::HTTP` ([#166](https://github.com/rubymotion/BubbleWrap/pull/166))
|
104
|
-
* Change `Device.wide_screen?` to `Device.long_screen?` ([#159](https://github.com/rubymotion/BubbleWrap/pull/159))
|
105
|
-
* String escaping fixes to `BW::HTTP` ([#160](https://github.com/rubymotion/BubbleWrap/pull/160) [#161](https://github.com/rubymotion/BubbleWrap/pull/161) [#162](https://github.com/rubymotion/BubbleWrap/pull/162))
|
105
|
+
* Fix `BW::Camera` view-controller selection process to pickup a window's `presentedViewController` ([#183](https://github.com/rubymotion-community/BubbleWrap/pull/183))
|
106
|
+
* Fix strings parsed in `BW::JSON` to be mutable ([#175](https://github.com/rubymotion-community/BubbleWrap/pull/175))
|
107
|
+
* Add option for `:credential_persistence`/`NSURLCredentialPersistence` in `BW::HTTP` ([#166](https://github.com/rubymotion-community/BubbleWrap/pull/166))
|
108
|
+
* Change `Device.wide_screen?` to `Device.long_screen?` ([#159](https://github.com/rubymotion-community/BubbleWrap/pull/159))
|
109
|
+
* String escaping fixes to `BW::HTTP` ([#160](https://github.com/rubymotion-community/BubbleWrap/pull/160) [#161](https://github.com/rubymotion-community/BubbleWrap/pull/161) [#162](https://github.com/rubymotion-community/BubbleWrap/pull/162))
|
106
110
|
* Add `Device.sdk_version`
|
107
111
|
|
108
112
|
## 1.1.4
|
109
113
|
|
110
|
-
[Commit history](https://github.com/rubymotion/BubbleWrap/compare/v1.1.3...v1.1.4)
|
114
|
+
[Commit history](https://github.com/rubymotion-community/BubbleWrap/compare/v1.1.3...v1.1.4)
|
111
115
|
|
112
|
-
* Support RubyMotion 1.24 or above (https://github.com/rubymotion/BubbleWrap/pull/143)
|
116
|
+
* Support RubyMotion 1.24 or above (https://github.com/rubymotion-community/BubbleWrap/pull/143)
|
113
117
|
* Fixed a problem with `when` events not properly handling multiple targets per event. Now defaults to one target per event with an option to append multiple targets.
|
114
118
|
|
115
119
|
## 1.1.3
|
116
120
|
|
117
|
-
[Commit history](https://github.com/rubymotion/BubbleWrap/compare/v1.1.2...v1.1.3)
|
121
|
+
[Commit history](https://github.com/rubymotion-community/BubbleWrap/compare/v1.1.2...v1.1.3)
|
118
122
|
|
119
123
|
|
120
124
|
## 1.1.2
|
121
125
|
|
122
|
-
[Commit history](https://github.com/rubymotion/BubbleWrap/compare/v1.1.1...v1.1.2)
|
126
|
+
[Commit history](https://github.com/rubymotion-community/BubbleWrap/compare/v1.1.1...v1.1.2)
|
123
127
|
|
124
128
|
* Fixed a problem with the load path.
|
125
|
-
* Added `format:` to the HTTP wrapper with [5 supported formats supported](https://github.com/rubymotion/BubbleWrap/pull/109) that sets the content type accordingly.
|
129
|
+
* Added `format:` to the HTTP wrapper with [5 supported formats supported](https://github.com/rubymotion-community/BubbleWrap/pull/109) that sets the content type accordingly.
|
126
130
|
* Default HTTP Content-Type for `POST` like requests is back to being
|
127
131
|
form url encoded.
|
128
132
|
|
129
133
|
## 1.1.1
|
130
134
|
|
131
|
-
[Commit history](https://github.com/rubymotion/BubbleWrap/compare/v1.1.0...v1.1.1)
|
135
|
+
[Commit history](https://github.com/rubymotion-community/BubbleWrap/compare/v1.1.0...v1.1.1)
|
132
136
|
|
133
137
|
### Enhancements
|
134
138
|
|
@@ -144,7 +148,7 @@
|
|
144
148
|
|
145
149
|
## 1.1.0
|
146
150
|
|
147
|
-
[Commit history](https://github.com/rubymotion/BubbleWrap/compare/v1.0.0...v1.1.0)
|
151
|
+
[Commit history](https://github.com/rubymotion-community/BubbleWrap/compare/v1.0.0...v1.1.0)
|
148
152
|
|
149
153
|
* Added `BubbleWrap::Reactor`, a simplified implementation of the Event Machine API on top of GCD.
|
150
154
|
* Added upload support to the HTTP wrapper.
|
@@ -160,7 +164,7 @@
|
|
160
164
|
|
161
165
|
## 1.0.0
|
162
166
|
|
163
|
-
[Commit history](https://github.com/rubymotion/BubbleWrap/compare/v0.4.0...v1.0.0)
|
167
|
+
[Commit history](https://github.com/rubymotion-community/BubbleWrap/compare/v0.4.0...v1.0.0)
|
164
168
|
|
165
169
|
* Improved the integration with RubyMotion build system.
|
166
170
|
* Improved test suite.
|
@@ -171,34 +175,34 @@
|
|
171
175
|
|
172
176
|
## 0.4.0
|
173
177
|
|
174
|
-
[Commit history](https://github.com/rubymotion/BubbleWrap/compare/v0.3.1...v0.4.0)
|
178
|
+
[Commit history](https://github.com/rubymotion-community/BubbleWrap/compare/v0.3.1...v0.4.0)
|
175
179
|
|
176
180
|
* Refactored the code and test suite to be more modular and to handle
|
177
181
|
dependencies. One can now require only a subset of BW such as `require 'bubble-wrap/core'` or 'bubble-wrap/http'
|
178
182
|
|
179
183
|
## 0.3.1
|
180
184
|
|
181
|
-
[Commit history](https://github.com/rubymotion/BubbleWrap/compare/v0.3.0...v0.3.1)
|
185
|
+
[Commit history](https://github.com/rubymotion-community/BubbleWrap/compare/v0.3.0...v0.3.1)
|
182
186
|
|
183
187
|
* Added App.run_after(delay){ }
|
184
188
|
* HTTP responses return true to ok? when the status code is 20x.
|
185
189
|
|
186
190
|
## 0.3.0
|
187
191
|
|
188
|
-
[Commit history](https://github.com/rubymotion/BubbleWrap/compare/v0.2.1...v0.3.0)
|
192
|
+
[Commit history](https://github.com/rubymotion-community/BubbleWrap/compare/v0.2.1...v0.3.0)
|
189
193
|
|
190
194
|
* Major refactoring preparing for 1.0
|
191
195
|
|
192
196
|
## 0.2.1
|
193
197
|
|
194
|
-
[Commit history](https://github.com/rubymotion/BubbleWrap/compare/v0.2.0...v0.2.1)
|
198
|
+
[Commit history](https://github.com/rubymotion-community/BubbleWrap/compare/v0.2.0...v0.2.1)
|
195
199
|
|
196
200
|
* Minor fix in the way the dependencies are set (had to monkey patch
|
197
201
|
RubyMotion)
|
198
202
|
|
199
203
|
## 0.2.0
|
200
204
|
|
201
|
-
[Commit history](https://github.com/rubymotion/BubbleWrap/compare/v0.1.2...v0.2.0)
|
205
|
+
[Commit history](https://github.com/rubymotion-community/BubbleWrap/compare/v0.1.2...v0.2.0)
|
202
206
|
|
203
207
|
* Added network activity notification to the HTTP wrapper.
|
204
208
|
* fixed a bug in the `NSNotificationCenter` wrapper.
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -2,13 +2,9 @@
|
|
2
2
|
|
3
3
|
A collection of (tested) helpers and wrappers used to wrap Cocoa Touch and AppKit code and provide more Ruby like APIs.
|
4
4
|
|
5
|
-
[BubbleWrap website](http://rubymotion.github.io/BubbleWrap/)
|
6
|
-
[BubbleWrap mailing list](https://groups.google.com/forum/#!forum/bubblewrap)
|
7
|
-
|
8
5
|
[![Code Climate](https://codeclimate.com/github/rubymotion/BubbleWrap.svg)](https://codeclimate.com/github/rubymotion/BubbleWrap)
|
9
6
|
[![Build Status](https://travis-ci.org/rubymotion/BubbleWrap.svg?branch=master)](https://travis-ci.org/rubymotion/BubbleWrap)
|
10
7
|
[![Gem Version](https://badge.fury.io/rb/bubble-wrap.png)](http://badge.fury.io/rb/bubble-wrap)
|
11
|
-
[![Dependency Status](https://gemnasium.com/rubymotion/BubbleWrap.png)](https://gemnasium.com/rubymotion/BubbleWrap)
|
12
8
|
|
13
9
|
## Installation
|
14
10
|
|
@@ -27,7 +23,7 @@ require 'bubble-wrap'
|
|
27
23
|
If you use Bundler:
|
28
24
|
|
29
25
|
```ruby
|
30
|
-
gem
|
26
|
+
gem 'bubble-wrap', '~> 1.9.6'
|
31
27
|
```
|
32
28
|
|
33
29
|
BubbleWrap is split into multiple modules so that you can easily choose which parts are included at compile-time.
|
data/Rakefile
CHANGED
@@ -1,5 +1,6 @@
|
|
1
|
-
require "bundler/gem_tasks"
|
2
1
|
$:.unshift("/Library/RubyMotion/lib")
|
2
|
+
$:.unshift("~/.rubymotion/rubymotion-templates")
|
3
|
+
require 'motion/project/template/gem/gem_tasks'
|
3
4
|
if ENV['osx']
|
4
5
|
require 'motion/project/template/osx'
|
5
6
|
else
|
@@ -32,7 +33,6 @@ Motion::Project::App.setup do |app|
|
|
32
33
|
app.spec_files -= Dir.glob("./spec/motion/#{package}/**/*.rb")
|
33
34
|
end
|
34
35
|
else
|
35
|
-
app.deployment_target = '7.1'
|
36
36
|
app.info_plist['NSLocationAlwaysUsageDescription'] = 'Description'
|
37
37
|
app.info_plist['NSLocationWhenInUseUsageDescription'] = 'Description'
|
38
38
|
|
data/bubble-wrap.gemspec
CHANGED
@@ -6,7 +6,7 @@ Gem::Specification.new do |gem|
|
|
6
6
|
gem.email = ['mattaimonetti@gmail.com', 'francis@ignition.hk', 'james@sociable.co.nz', 'clay.allsopp@gmail.com', 'dylan@dylanmarkow.com', 'jan@dreimannzelt.de', 'marin2211@gmail.com']
|
7
7
|
gem.description = 'RubyMotion wrappers and helpers (Ruby for iOS and OS X) - Making Cocoa APIs more Ruby like, one API at a time. Fork away and send your pull request.'
|
8
8
|
gem.summary = 'RubyMotion wrappers and helpers (Ruby for iOS and OS X) - Making Cocoa APIs more Ruby like, one API at a time. Fork away and send your pull request.'
|
9
|
-
gem.homepage = '
|
9
|
+
gem.homepage = 'https://github.com/rubymotion-community/BubbleWrap'
|
10
10
|
gem.license = 'MIT'
|
11
11
|
|
12
12
|
gem.files = `git ls-files`.split($\)
|
data/lib/bubble-wrap/camera.rb
CHANGED
@@ -7,6 +7,7 @@ BubbleWrap.require_ios("camera") do
|
|
7
7
|
BubbleWrap.require('motion/core/device/ios/*.rb') do
|
8
8
|
file('motion/core/device/ios/camera_wrapper.rb').depends_on 'motion/core/device/ios/camera.rb'
|
9
9
|
file('motion/core/device/ios/camera.rb').depends_on ['motion/core/ios/device.rb', 'motion/util/constants.rb']
|
10
|
+
file('motion/core/device/ios/camera.rb').uses_framework 'MobileCoreServices'
|
10
11
|
file('motion/core/device/ios/screen.rb').depends_on 'motion/core/ios/device.rb'
|
11
12
|
end
|
12
13
|
end
|
data/lib/bubble-wrap/version.rb
CHANGED
data/motion/core/ios/device.rb
CHANGED
@@ -46,7 +46,7 @@ module BubbleWrap
|
|
46
46
|
def simulator?
|
47
47
|
@simulator_state ||= begin
|
48
48
|
if ios_version.to_i >= 9
|
49
|
-
|
49
|
+
NSBundle.mainBundle.bundlePath !~ /^(\/private)?\/var/
|
50
50
|
else
|
51
51
|
!(UIDevice.currentDevice.model =~ /simulator/i).nil?
|
52
52
|
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.9.
|
4
|
+
version: 1.9.7
|
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:
|
17
|
+
date: 2019-09-20 00:00:00.000000000 Z
|
18
18
|
dependencies:
|
19
19
|
- !ruby/object:Gem::Dependency
|
20
20
|
name: mocha
|
@@ -405,7 +405,7 @@ files:
|
|
405
405
|
- spec/motion/ui/ui_view_wrapper_spec.rb
|
406
406
|
- spec/motion/util/constants_spec.rb
|
407
407
|
- spec/motion/util/deprecated_spec.rb
|
408
|
-
homepage:
|
408
|
+
homepage: https://github.com/rubymotion-community/BubbleWrap
|
409
409
|
licenses:
|
410
410
|
- MIT
|
411
411
|
metadata: {}
|
@@ -424,8 +424,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
424
424
|
- !ruby/object:Gem::Version
|
425
425
|
version: '0'
|
426
426
|
requirements: []
|
427
|
-
|
428
|
-
rubygems_version: 2.6.6
|
427
|
+
rubygems_version: 3.0.6
|
429
428
|
signing_key:
|
430
429
|
specification_version: 4
|
431
430
|
summary: RubyMotion wrappers and helpers (Ruby for iOS and OS X) - Making Cocoa APIs
|