takenoko 0.2.8 → 0.2.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9a165d87303e311d9cc084364b37eb20df529e96
4
- data.tar.gz: 92015f2315fecfb9052617f6f609459dbce33c6b
3
+ metadata.gz: cf2e7e6e922f76b8a5709ce110b14ab79d24d088
4
+ data.tar.gz: e354190c4d08b133494f1918a936055a119624fb
5
5
  SHA512:
6
- metadata.gz: 0a3662fa414dcd85d7a51df07ac309ec7cda4bc60e90b84dd6a5329ef67484a0f6fd158bc11effb764c60db6f62cf1b6c45e8a9134048838d1071299d7d53bba
7
- data.tar.gz: 20c7fa57908d935103e534dbcc1385a58de4366a0b685247da9fd881a2edb1433d2afeff24b2ccf03c2fd25c79299efcbe89bda4e9080353619fb7cb6509e36b
6
+ metadata.gz: 84d903471e47eba372639bd9db5cb2adeb7136368eb482e0b5bd92bc7e38e48b3111c0c8074a0fa658868e7041b1849240e1f4a1d4c4ec83139ab788c1287025
7
+ data.tar.gz: fa86dc9009f64ec644b17aef4ffbc512d2e44db8afbfa36f7b6707408d047d1a0449f2a196d4395b4bfdf6517f0aa241ba6456c0354655907a393164fdfa37a6
@@ -50,7 +50,7 @@ module Takenoko
50
50
  end
51
51
 
52
52
  if(postprocess_class)
53
- rows.reject do |row|
53
+ table[:rows] = rows.select do |row|
54
54
  if postprocess_class.respond_to? "spreadsheet_row_valid?"
55
55
  postprocess_class.public_send("spreadsheet_row_valid?",row)
56
56
  end
@@ -58,9 +58,9 @@ module Takenoko
58
58
  if postprocess_class.respond_to? "postprocess_spreadsheet_row"
59
59
  row = postprocess_class.public_send("postprocess_spreadsheet_row",row)
60
60
  end
61
+ row
61
62
  end
62
63
 
63
- table[:rows] = rows
64
64
  if postprocess_class.respond_to? "postprocess_spreadsheet_table"
65
65
  table = postprocess_class.public_send("postprocess_spreadsheet_table",table)
66
66
  end
@@ -1,3 +1,3 @@
1
1
  module Takenoko
2
- VERSION = "0.2.8"
2
+ VERSION = "0.2.9"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: takenoko
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.8
4
+ version: 0.2.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - KhiemNS
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-17 00:00:00.000000000 Z
11
+ date: 2017-02-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -89,7 +89,7 @@ files:
89
89
  - lib/tasks/takenoko.rake
90
90
  - test/takenoko_test.rb
91
91
  - test/test_helper.rb
92
- homepage: https://github.com/khiemns54/takenoko/tree/release/0.2.8
92
+ homepage: https://github.com/khiemns54/takenoko/tree/release/0.2.9
93
93
  licenses: []
94
94
  metadata: {}
95
95
  post_install_message: