prime_sliding_action 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YmEyNTYzMDA2NjdlNTBiMWExNjZhMGE0NjRlODY2OWU1ODY0N2RlMw==
4
+ NDU5YTQzMjhiYjU3MDI2NDAzMzZjNjNhYTlhYTI3N2NmOTk4ZjU5MQ==
5
5
  data.tar.gz: !binary |-
6
- YzQ3OWE5NjgyYzAxMDUwMjRjZWUyMmFmMjg0ZmQ5NjdkNjkxNzUxMg==
6
+ OWE0NWNiODE5MzY5MzU4ZTIzMDFlNzZiNTMxYTQ3OTE0ZGVjNzE5NQ==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- ZTBkZDdmNzA4YWM3YWVlZGQ0NDVhNmU4OGU3YjZmZDU0MjZkNzA4NDFhY2Fk
10
- Njg4YWI5Mzg5YTNkYTc0NDg0YjdiZjUyMjcxYjA5MWRhYTFkMDdmNjAyNDU0
11
- NWZiNzZiYjQ4YTYzNmUzNTA1YjgxMTFhNTlhNWU1ZjgyMmQ2MDM=
9
+ ZTQ1NzE3YmQ2OGIwYmFjNzEzY2QxZjQzMjNmM2YyMWQwNWFmMDRjMmFjY2U3
10
+ ZWQ4ZmZhNjZiOTM0NjZkOGJlMWVlYjc5OWVhNWRjZTQyMDBiNzIxNWNlZjMx
11
+ NzQ1NDNlMDZjOGNkY2NkODVmY2U2NGJkOWE4ZDVjZjk4YjFkYWE=
12
12
  data.tar.gz: !binary |-
13
- NTcwYTA2YTljZmUxYTc4MTMwNzBhYzg0YTZiZWMwMjZiOWExZTk4ZjlhZDRk
14
- NTNiNWE2MGRjODBkNGVlMDcyZTUzMDQ0N2UzYzM3OGYxMzEzMTBmYmJmMjFh
15
- ZGQwMzA0NDhjN2UzNWFiNGY3NzM2NGVlM2U4Y2MxODlhMmQwZDI=
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: 320 + @sliding_action_buttons_offset,
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.set_options button, styles: styles
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]
@@ -1,3 +1,3 @@
1
1
  module PrimeSlidingAction
2
- VERSION = '0.2.0'
2
+ VERSION = '0.2.1'
3
3
  end
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.0
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-03-27 00:00:00.000000000 Z
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.6
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.6
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: