xlsxtream_rails 0.7.0 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/xlsxtream_rails/class_methods.rb +2 -6
- data/lib/xlsxtream_rails/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f2d0c21cedd9e6ad0db1e0901c8aa34c6f807af2a6ff74f7c2cc9f0ad73e55e9
|
4
|
+
data.tar.gz: 5472a61f18f68506ed8b5c223223408dfe8e34ae3f8cece760e721ae5827926d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e5fe3f222f21df6d7ba3cc9e676e4e4502f1f5faca10382a937db0085f79ebfef2c32fa795903ba160a0f5009a6e240966158b319919a5d11dc35fbeed75ca67
|
7
|
+
data.tar.gz: 3871dedd5b52ee8bd034a1e48129071cd36345dbfe8d22b325b3fc9d0913ee0cbeec27bc2fe15b0b8e8890adffbb063d4c776cf40cae5f9fa1a6c7c0a293f069
|
@@ -1,12 +1,8 @@
|
|
1
1
|
module XlsxtreamRails
|
2
2
|
module ClassMethods
|
3
|
-
# TODO
|
4
3
|
def to_xlsx
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
def except_xlsx_columns
|
9
|
-
[]
|
4
|
+
except_columns = respond_to?(:xlsx_except_columns) ? xlsx_except_columns : []
|
5
|
+
(column_names - except_columns).map { |x| x.to_sym }
|
10
6
|
end
|
11
7
|
end
|
12
8
|
end
|