RedAlert 1.4 → 1.5
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 +4 -4
- data/README.md +1 -1
- data/lib/project/alert_controller_provider.rb +2 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4333379e166fd96f05e16b162f4b105ed7084be1
|
|
4
|
+
data.tar.gz: 1c8f71bff3d4ea336fa5446c598f63c4e7b47052
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 433175018b4b2397711086b1524f95e6d33c76cd9bbb15e297214952b87d908cc1da9ddcf537e1c5da5062e867a08bfbd29201fa28a4cc86fddba216ecca097d
|
|
7
|
+
data.tar.gz: bd1c52c845661ae3e47378ded98e306344ace853bd23ccca1835aab21810d62e853d9222d78264b36f76003d0423917fc611676a095f704e75ff48ae3ac6eed1
|
data/README.md
CHANGED
|
@@ -103,7 +103,7 @@ You can even use the `make_button` helper to create custom buttons to add:
|
|
|
103
103
|
If you want to present your alert in :sheet style and you are on iPad, you have to provide the `:source` for the popover (either a UIView or a UIBarButtonItem)
|
|
104
104
|
```ruby
|
|
105
105
|
rmq.append(UIButton, :my_button).on(:tap) do |sender|
|
|
106
|
-
rmq.app.alert(title: "Actions!", message: "Alert from a Popover.", actions: [:ok, :cancel], style:sheet, source: sender)
|
|
106
|
+
rmq.app.alert(title: "Actions!", message: "Alert from a Popover.", actions: [:ok, :cancel], style: :sheet, source: sender)
|
|
107
107
|
end
|
|
108
108
|
```
|
|
109
109
|
|
|
@@ -79,7 +79,8 @@ module RubyMotionQuery
|
|
|
79
79
|
end
|
|
80
80
|
|
|
81
81
|
def show
|
|
82
|
-
rmq.view_controller.
|
|
82
|
+
view_controller = rmq.view_controller.childModalViewController || rmq.view_controller
|
|
83
|
+
view_controller.presentViewController(@alert_controller, animated: @opts[:animated], completion: nil)
|
|
83
84
|
end
|
|
84
85
|
|
|
85
86
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: RedAlert
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: '1.
|
|
4
|
+
version: '1.5'
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Gant Laborde
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2016-01-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: ruby_motion_query
|
|
@@ -79,7 +79,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
79
79
|
version: '0'
|
|
80
80
|
requirements: []
|
|
81
81
|
rubyforge_project:
|
|
82
|
-
rubygems_version: 2.4.5
|
|
82
|
+
rubygems_version: 2.4.5.1
|
|
83
83
|
signing_key:
|
|
84
84
|
specification_version: 4
|
|
85
85
|
summary: RMQ Plugin adds efficient and dynamic alerts/sheets for RubyMotion Apps on
|