tgios 0.0.27 → 0.0.28

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
- OGZhNTM4MzNjNzZmMzQzOWI4NjU0YjA5MTQ4NWQxNTc2ZmNjMGZmYg==
4
+ YTY2MzY1YTFkNzVlNDMxOTIzN2I5Y2JmMWNlYTQ2MmQ1ZTI5NmZjMw==
5
5
  data.tar.gz: !binary |-
6
- M2QyMWIyZDQ0YTljZTNlNWM2NjI3ZmM4OWNjYmY1ZmZmZmYyN2QwNg==
6
+ NzU2NzBiYTZjYjc4ZDc3OGU3MjE4ZjJhYTEyNjUzMTM1NTliYmU2ZQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NjMwZmIxNGI3MDQ0NjUyNjA3OGNiYjQ4YTczYTU0N2FmYjY5ZjE3N2JiMDc4
10
- MjM3OTZmMWM0OTJhZDUwNzU1NTg5ZDQ3Nzc5ZGZlNzRlYWQ4NGY2NGM0MzI4
11
- ODRjZTZlMDdkZjAxZDgyOGI4YjYzY2RiYjczY2ZmNjYzNzczZmU=
9
+ MzBiYTgzN2Y5ZTcwOGNhYmFhMDQzZTU4NGE5OTVlN2QzYTg3M2QyMjlhMDkw
10
+ ZDVmMmJlNTAyNDJjNDlmMzIxN2FkZDE2ODA4NmVmOGE1ZDNkMjk1ZDBmOWU4
11
+ NGFjOTliYzA3ZmVjMjE0NDNmZTEzNDYzMWU1NmRlNTllN2U0NTQ=
12
12
  data.tar.gz: !binary |-
13
- MjdmMDVlOTYyZjVlMTZhOThiN2M0MDQ0MmQ3NTdlN2I3NTZmZjJlM2QwYmM0
14
- ODFlOGRhNzRhNGFkMzEwODNjNGRkZDlhYTY5OTc5NWVjYjBhMmE1MTJhNzIy
15
- NmFjZmFhOGMxZjQ2NjQzZGM1MmM4M2QyNjI4ZDMyNWQ4YzdmMTA=
13
+ Yjc4NWRmZTYyYzU1NzY1N2Q0YWJkNjQ3YjhiMWVjZDhiNGU5YjU3MjQ1NWRl
14
+ YjNiYWZlMjRmNGRjMjNmNGQ0ZWUxMTUzZDEwMjQxN2UyMzJmYjA0ZDcxZmE1
15
+ ZTE4YmE2NWYxZGIzNmEyZTI0MTAxOGU4ZmY2YzJlNjZjMWQ2MmE=
data/Gemfile.lock CHANGED
@@ -1,11 +1,11 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- tgios (0.0.27)
4
+ tgios (0.0.28)
5
5
  awesome_print_motion
6
6
  motion-layout
7
7
  plastic_cup (>= 0.1.1)
8
- sugarcube (= 1.1.0)
8
+ sugarcube (>= 1.1.0)
9
9
 
10
10
  GEM
11
11
  remote: https://rubygems.org/
@@ -66,6 +66,7 @@ module Tgios
66
66
  end
67
67
 
68
68
  def tableView(tableView, heightForRowAtIndexPath: index_path)
69
+ return @options[:height] unless @options[:height].nil?
69
70
  if @options[:lines]
70
71
  26 + 19 * (@options[:lines] || 2)
71
72
  else
@@ -258,6 +258,7 @@ module Tgios
258
258
 
259
259
  def update_cell_height(field_set, index_path)
260
260
  field_set = field_set[:child_field] unless field_set[:child_index].nil?
261
+ return field_set[:height] unless field_set[:height].nil?
261
262
  if field_set[:type] == :big_label || field_set[:type] == :checkbox
262
263
  26 + 19 * (field_set[:lines] || 2)
263
264
  elsif field_set[:type] == :text_view
@@ -150,7 +150,7 @@ module Tgios
150
150
 
151
151
  def update_cell_height(field_set, index_path)
152
152
  field_set = field_set[:child_field] unless field_set[:child_index].nil?
153
- return field_set[:height] if field_set[:height]
153
+ return field_set[:height] unless field_set[:height].nil?
154
154
  if field_set[:type] == :big_label || field_set[:type] == :checkbox
155
155
  26 + 19 * (field_set[:lines] || 2)
156
156
  elsif field_set[:type] == :text_view
data/lib/tgios/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Tgios
2
- VERSION = '0.0.27'
2
+ VERSION = '0.0.28'
3
3
  end
data/tgios.gemspec CHANGED
@@ -19,7 +19,7 @@ A package of ruby-motion libraries written by our team.
19
19
  gem.files = `git ls-files`.split($\)
20
20
  gem.require_paths = ['lib']
21
21
  gem.test_files = gem.files.grep(%r{^spec/})
22
- gem.add_dependency 'sugarcube', '1.1.0'
22
+ gem.add_dependency 'sugarcube', '>=1.1.0'
23
23
  #gem.add_dependency 'sugarcube-classic'
24
24
  gem.add_dependency 'awesome_print_motion'
25
25
  gem.add_dependency 'motion-layout'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tgios
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.27
4
+ version: 0.0.28
5
5
  platform: ruby
6
6
  authors:
7
7
  - April Tsang
@@ -9,20 +9,20 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-05-21 00:00:00.000000000 Z
12
+ date: 2014-05-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sugarcube
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - '='
18
+ - - ! '>='
19
19
  - !ruby/object:Gem::Version
20
20
  version: 1.1.0
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
- - - '='
25
+ - - ! '>='
26
26
  - !ruby/object:Gem::Version
27
27
  version: 1.1.0
28
28
  - !ruby/object:Gem::Dependency