prime_sliding_action 0.2.0 → 0.2.1
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
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
NDU5YTQzMjhiYjU3MDI2NDAzMzZjNjNhYTlhYTI3N2NmOTk4ZjU5MQ==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
OWE0NWNiODE5MzY5MzU4ZTIzMDFlNzZiNTMxYTQ3OTE0ZGVjNzE5NQ==
|
|
7
7
|
!binary "U0hBNTEy":
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
ZTQ1NzE3YmQ2OGIwYmFjNzEzY2QxZjQzMjNmM2YyMWQwNWFmMDRjMmFjY2U3
|
|
10
|
+
ZWQ4ZmZhNjZiOTM0NjZkOGJlMWVlYjc5OWVhNWRjZTQyMDBiNzIxNWNlZjMx
|
|
11
|
+
NzQ1NDNlMDZjOGNkY2NkODVmY2U2NGJkOWE4ZDVjZjk4YjFkYWE=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
ZDUwMTE3NmExOGQ4MGRlNzZiYjFiOGRiYmNmNmU0MDlkN2NlYzc1NjA3OWNl
|
|
14
|
+
YjFmNTVhZDJjMDk1ZjFlMTMwYmM3MTBjZmNmNTAzNDI4YzczMGJlODgyN2I2
|
|
15
|
+
ZDgzMTQ0MTcyMzRlNTY3ODZiNTJkZDY5MDljMTkzOTkwMDRkN2E=
|
|
@@ -17,12 +17,12 @@ class SlidingCellView < MPCellWithSection
|
|
|
17
17
|
button = @section.screen.add_view MPButton,
|
|
18
18
|
top: 0,
|
|
19
19
|
width: 80,
|
|
20
|
-
left:
|
|
20
|
+
left: @section.screen.view.width + @sliding_action_buttons_offset,
|
|
21
21
|
height: cell_height,
|
|
22
22
|
title_color: options[:title_color] || :white,
|
|
23
23
|
title: options[:title],
|
|
24
24
|
background_color: options[:background_color] || options[:color] || :red
|
|
25
|
-
@section.screen.
|
|
25
|
+
@section.screen.set_options_for button, styles: styles
|
|
26
26
|
@sliding_action_buttons_offset += button.width
|
|
27
27
|
button.on :touch do
|
|
28
28
|
button.off(:touch) if options[:unbind]
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: prime_sliding_action
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Iskander Haziev
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-
|
|
11
|
+
date: 2014-05-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cocoapods
|
|
@@ -58,14 +58,14 @@ dependencies:
|
|
|
58
58
|
requirements:
|
|
59
59
|
- - ! '>='
|
|
60
60
|
- !ruby/object:Gem::Version
|
|
61
|
-
version: 0.9.
|
|
61
|
+
version: 0.9.7
|
|
62
62
|
type: :runtime
|
|
63
63
|
prerelease: false
|
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
|
65
65
|
requirements:
|
|
66
66
|
- - ! '>='
|
|
67
67
|
- !ruby/object:Gem::Version
|
|
68
|
-
version: 0.9.
|
|
68
|
+
version: 0.9.7
|
|
69
69
|
description: Add sliding action cells support to MotionPrime.
|
|
70
70
|
email:
|
|
71
71
|
- gvalmon@gmail.com
|
|
@@ -106,3 +106,4 @@ signing_key:
|
|
|
106
106
|
specification_version: 4
|
|
107
107
|
summary: Add sliding action cells support to MotionPrime.
|
|
108
108
|
test_files: []
|
|
109
|
+
has_rdoc:
|