prime_sliding_action 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +6 -14
- data/lib/prime_sliding_action/sliding_cell_view.rb +3 -1
- data/lib/prime_sliding_action/version.rb +1 -1
- metadata +15 -16
checksums.yaml
CHANGED
@@ -1,15 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
metadata.gz: !binary |-
|
9
|
-
Y2I4MGZmMWVlODM1YjdkNTIzYzQ5NTVjMzM1YjMwYTFjNmY4MDQ1ZGI2MTM4
|
10
|
-
ZDk0MTQ2MDgzNGRmMjlmZDIzNzM5ZGVlM2M3YjQzOTliYTVkMGYwN2M2ZTNl
|
11
|
-
NGMyNTg4MzcxYmRlZWU3YmMwMmI5MzBlYTNlYTZkNmY3YmIzMTA=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
Y2MwZGNjZTdhNWM0NmYzODRhY2QwNDlmNmU4Zjg1NTRjMmJhNzQwNTE4ZTA0
|
14
|
-
Nzc0M2I0OTE0ZDI0MTAzNDNiMjdkZTZhMGVhOTEwYzhkNGFjNWU1YTQ5ZTNk
|
15
|
-
ZGZlYjAxMWU5N2IzOGYyNmUxYjc0Njg0MmExNjhkNjQ1NDQ4YjU=
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: de4ba6c43e696054f330cbdc638cd19a0a74e4fc
|
4
|
+
data.tar.gz: 25f7208124d7c4fee5cdaafb2c1df41ca23aab4a
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: be642ccb67f6cbc694ea028a8135b74aa0559ef8dd08fde95ee30e5a2065e05091dcb9837befb064f4fac46353bf5c65695bfef07e87c52a65fdda697e9ee3df
|
7
|
+
data.tar.gz: 100bc3ecfc8044d1b75a323520acae54381d2f57de78b15ff804e985204311fc4c2356765fc9a0e5a7c99131c6170e023717e5a41cde63df485b744df22ba832
|
@@ -49,7 +49,7 @@ class SlidingCellView < MPTableCellWithSection
|
|
49
49
|
# iOS 8
|
50
50
|
if self.scroll_view.is_a?(UITableViewCellContentView)
|
51
51
|
self.scroll_view.removeFromSuperview
|
52
|
-
self.scroll_view =
|
52
|
+
self.scroll_view = UIScrollView.alloc.initWithFrame(self.bounds)
|
53
53
|
self.scroll_view.setBackgroundColor(:clear.uicolor)
|
54
54
|
self.scroll_view.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight
|
55
55
|
self.scroll_view.top = 0
|
@@ -106,6 +106,7 @@ class SlidingCellView < MPTableCellWithSection
|
|
106
106
|
self.scroll_view.setContentOffset CGPointMake(current_x, 0)
|
107
107
|
end
|
108
108
|
end
|
109
|
+
0
|
109
110
|
end
|
110
111
|
|
111
112
|
def tap
|
@@ -115,6 +116,7 @@ class SlidingCellView < MPTableCellWithSection
|
|
115
116
|
else
|
116
117
|
hide_actions
|
117
118
|
end
|
119
|
+
0
|
118
120
|
end
|
119
121
|
|
120
122
|
def show_actions
|
metadata
CHANGED
@@ -1,69 +1,69 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: prime_sliding_action
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
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-08-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cocoapods
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: motion-cocoapods
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '0'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: motion-require
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '0'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: motion-prime
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: 0.9.9.1
|
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
68
|
version: 0.9.9.1
|
69
69
|
description: Add sliding action cells support to MotionPrime.
|
@@ -73,14 +73,14 @@ executables: []
|
|
73
73
|
extensions: []
|
74
74
|
extra_rdoc_files: []
|
75
75
|
files:
|
76
|
+
- README.md
|
77
|
+
- lib/prime_sliding_action.rb
|
76
78
|
- lib/prime_sliding_action/config.rb
|
77
79
|
- lib/prime_sliding_action/sliding_cell_container_mixin.rb
|
78
80
|
- lib/prime_sliding_action/sliding_cell_element.rb
|
79
81
|
- lib/prime_sliding_action/sliding_cell_section_mixin.rb
|
80
82
|
- lib/prime_sliding_action/sliding_cell_view.rb
|
81
83
|
- lib/prime_sliding_action/version.rb
|
82
|
-
- lib/prime_sliding_action.rb
|
83
|
-
- README.md
|
84
84
|
homepage: ''
|
85
85
|
licenses:
|
86
86
|
- MIT
|
@@ -91,19 +91,18 @@ require_paths:
|
|
91
91
|
- lib
|
92
92
|
required_ruby_version: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- -
|
94
|
+
- - ">="
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0'
|
97
97
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
98
98
|
requirements:
|
99
|
-
- -
|
99
|
+
- - ">="
|
100
100
|
- !ruby/object:Gem::Version
|
101
101
|
version: '0'
|
102
102
|
requirements: []
|
103
103
|
rubyforge_project:
|
104
|
-
rubygems_version: 2.
|
104
|
+
rubygems_version: 2.2.2
|
105
105
|
signing_key:
|
106
106
|
specification_version: 4
|
107
107
|
summary: Add sliding action cells support to MotionPrime.
|
108
108
|
test_files: []
|
109
|
-
has_rdoc:
|