xlsxtream_rails 0.6.0 → 0.7.0

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
  SHA256:
3
- metadata.gz: fb7b7fd3f2a753ee4d340d45f2ef418657be92a6608aed395974626351cf2b57
4
- data.tar.gz: 7f7024c814a6009ebbc6a397bc6ad74cebe3631a670f7971e77df369df0bcb47
3
+ metadata.gz: 744d930605ccd3e7d39a90dc38887739001a5725f20ca7a43ef046a52b030945
4
+ data.tar.gz: de0b14ad7f35d31961ce91bc5522dfe380c66b95f0f12857c431bf0580838f56
5
5
  SHA512:
6
- metadata.gz: 9b91045886b6a4e51e3c384b0fd81e95a709180a6c14b12932c8911b4896bb5bf35208dbbc990a7c8b6a5a8ef13951cd6bc3702f03b47754cff0a25d676ed663
7
- data.tar.gz: d314332d9e79b0af2158848dc7a31160272836c7f09af3e95cf08b8fb3645bd4ef9a29af3c7b4e28da97ba32c0d2e348b79ce3f3d7c4193ac48916ac803c9c5d
6
+ metadata.gz: 9f3761bd105dc7f803c1b929e1f402483143eafe4e6c030e4653cc091d395f48a8ed3aa27cae5594c1797eca64ceee2ba5e42425149a30a6c6dd9f5f684a5228
7
+ data.tar.gz: 61a863cbc7e32cf755e92e9ee5d9dfc9fb2fb1ddd56e852dc4d722ea56ce47b9427b5bb077a1dcac94ab30cb4e69b51de8d39f90550f7d9525ed2c5ed47b96ab
@@ -2,7 +2,11 @@ module XlsxtreamRails
2
2
  module ClassMethods
3
3
  # TODO
4
4
  def to_xlsx
5
- column_names.map { |x| x.to_sym }
5
+ (column_names - except_xlsx_columns).map { |x| x.to_sym }
6
+ end
7
+
8
+ def except_xlsx_columns
9
+ []
6
10
  end
7
11
  end
8
12
  end
@@ -1,3 +1,3 @@
1
1
  module XlsxtreamRails
2
- VERSION = "0.6.0"
2
+ VERSION = "0.7.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xlsxtream_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - doabit
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-03-23 00:00:00.000000000 Z
11
+ date: 2022-07-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails