sugarcube 0.20.15 → 0.20.16
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.
- data/Gemfile.lock +1 -1
- data/README.md +1 -1
- data/lib/sugarcube/modal.rb +2 -2
- data/lib/sugarcube/version.rb +1 -1
- metadata +2 -2
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
|
@@ -38,7 +38,7 @@ Cocoa-wrappage.
|
|
|
38
38
|
SugarCube started out as a [Fusionbox][] project (see the
|
|
39
39
|
[announcement][fusionbox announcement]), but as its popularity increased, the
|
|
40
40
|
decision was made to offer it to the rubymotion community, in the spirit of
|
|
41
|
-
open-source and collaboration. It is a great
|
|
41
|
+
open-source and collaboration. It is a great complement to [teacup][],
|
|
42
42
|
especially when paired with [sweettea][]!
|
|
43
43
|
|
|
44
44
|
Documentation
|
data/lib/sugarcube/modal.rb
CHANGED
|
@@ -35,9 +35,9 @@ class UIViewController
|
|
|
35
35
|
SugarCube::Modal.present_modal_in_nav(view_ctlr, options, &block)
|
|
36
36
|
end
|
|
37
37
|
|
|
38
|
-
def dismiss_modal(
|
|
38
|
+
def dismiss_modal(options={}, &block)
|
|
39
39
|
options = options.merge(target: self)
|
|
40
|
-
SugarCube::Modal.dismiss_modal(
|
|
40
|
+
SugarCube::Modal.dismiss_modal(options, &block)
|
|
41
41
|
end
|
|
42
42
|
|
|
43
43
|
end
|
data/lib/sugarcube/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sugarcube
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.20.
|
|
4
|
+
version: 0.20.16
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -13,7 +13,7 @@ authors:
|
|
|
13
13
|
autorequire:
|
|
14
14
|
bindir: bin
|
|
15
15
|
cert_chain: []
|
|
16
|
-
date: 2013-04-
|
|
16
|
+
date: 2013-04-25 00:00:00.000000000 Z
|
|
17
17
|
dependencies: []
|
|
18
18
|
description: ! '== Description
|
|
19
19
|
|