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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dbb79124827dba0dbba2f548f6248c0773fbc7eb
4
- data.tar.gz: 1f094cabe4fd3ad811e8dff4e282cf1c6579ee05
3
+ metadata.gz: a5b96025262856164455456dfcb5fd811c9a8b87
4
+ data.tar.gz: 52861b244be201c1d8f32adcf279498cb6c4e19e
5
5
  SHA512:
6
- metadata.gz: 93e97236dc4b5f98582a976acfba276d5b1811e7d3a8e955f4ec799d0110d22bafa5c42caea1d7d4f205d9825590f1cb21611cb6fe7b97e68f04b30f6bb7f305
7
- data.tar.gz: 7f51de66669f39a469f99a8c31aa2d540ba17ffcd792265b576a764fde5d769aa5c1b68af43ecc87869404342f31c58e625f3255f6ec4554f8c8340307f684cf
6
+ metadata.gz: 34fcc571eb15f5b1bf90dc6b7b1abbbdd68a5babb8d910cf5ee269d87057888ca9bfd8e6ff8450e00a3335b51c435f034daaa5f21caac4c62be8a9ce25cafeff
7
+ data.tar.gz: 73b3d6bbe13fded0cf3fe934c81b9b54993bb6ae5dae3f6129d209598fea510cb7a8d18e03fa5dfbc867cf4881dddc7ca6fa9cf6279685661655b4ece1cc8e63
@@ -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 c
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 = self.promotion_table_data.cell(index_path: index_path, unfiltered: true)
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
 
@@ -1,3 +1,3 @@
1
1
  module ProMotion
2
- VERSION = "2.4.1" unless defined?(ProMotion::VERSION)
2
+ VERSION = "2.4.2" unless defined?(ProMotion::VERSION)
3
3
  end
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.1
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-18 00:00:00.000000000 Z
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.4.6
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