ProMotion 2.4.1 → 2.4.2
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/lib/ProMotion.rb +2 -0
- data/lib/ProMotion/table/data/table_data.rb +1 -1
- data/lib/ProMotion/table/table.rb +1 -1
- data/lib/ProMotion/version.rb +1 -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: a5b96025262856164455456dfcb5fd811c9a8b87
|
4
|
+
data.tar.gz: 52861b244be201c1d8f32adcf279498cb6c4e19e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 34fcc571eb15f5b1bf90dc6b7b1abbbdd68a5babb8d910cf5ee269d87057888ca9bfd8e6ff8450e00a3335b51c435f034daaa5f21caac4c62be8a9ce25cafeff
|
7
|
+
data.tar.gz: 73b3d6bbe13fded0cf3fe934c81b9b54993bb6ae5dae3f6129d209598fea510cb7a8d18e03fa5dfbc867cf4881dddc7ca6fa9cf6279685661655b4ece1cc8e63
|
data/lib/ProMotion.rb
CHANGED
@@ -2,6 +2,8 @@ unless defined?(Motion::Project::Config)
|
|
2
2
|
raise "The ProMotion gem must be required within a RubyMotion project Rakefile."
|
3
3
|
end
|
4
4
|
|
5
|
+
require 'motion_print'
|
6
|
+
|
5
7
|
Motion::Project::App.setup do |app|
|
6
8
|
core_lib = File.join(File.dirname(__FILE__), 'ProMotion')
|
7
9
|
insert_point = app.files.find_index { |file| file =~ /^(?:\.\/)?app\// } || 0
|
@@ -27,7 +27,7 @@ module ProMotion
|
|
27
27
|
params = index_path_to_section_index(params)
|
28
28
|
table_section = params[:unfiltered] ? self.data[params[:section]] : self.section(params[:section])
|
29
29
|
c = table_section[:cells].at(params[:index].to_i)
|
30
|
-
set_data_cell_defaults
|
30
|
+
set_data_cell_defaults(c)
|
31
31
|
end
|
32
32
|
|
33
33
|
def delete_cell(params={})
|
@@ -214,7 +214,7 @@ module ProMotion
|
|
214
214
|
end
|
215
215
|
|
216
216
|
def tableView(_, canEditRowAtIndexPath:index_path)
|
217
|
-
data_cell =
|
217
|
+
data_cell = cell_at(index_path: index_path, unfiltered: true)
|
218
218
|
[:insert,:delete].include?(data_cell[:editing_style])
|
219
219
|
end
|
220
220
|
|
data/lib/ProMotion/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ProMotion
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.4.
|
4
|
+
version: 2.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jamon Holmgren
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2015-05-
|
13
|
+
date: 2015-05-21 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: methadone
|
@@ -199,7 +199,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
199
199
|
version: '0'
|
200
200
|
requirements: []
|
201
201
|
rubyforge_project:
|
202
|
-
rubygems_version: 2.
|
202
|
+
rubygems_version: 2.2.0
|
203
203
|
signing_key:
|
204
204
|
specification_version: 4
|
205
205
|
summary: ProMotion is a fast way to get started building RubyMotion apps. Instead
|