xlsxtream_rails 0.5.0 → 0.5.1

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: 9a54b0cad604244bd9547c4b096192ac193b7e326dc4b013eab909b78edea6c2
4
- data.tar.gz: e565f309ddb38b134d307c1558dad4a2b0696787688af64853923de4bbbde1d9
3
+ metadata.gz: c8badf4f76488f1191f935438668b77dd0150fbb82897f0d01282417f33a3f0d
4
+ data.tar.gz: 333216c1f8364794d41091bc18b4c946a9fe2bbd4c26e6a7fdf94eb064f054b5
5
5
  SHA512:
6
- metadata.gz: cac8f0033dd5a7d1b2af96243e011d573da24885a2013ce819d66d806da6b28b88c18d30f6c9cd9bd96d61402df45bdd6081efe57a9ea2b2badcbec67728e66d
7
- data.tar.gz: 1dfa9fffbdc4092d0ae4641d5311eaa27940fcad75af1b28645f75109622ea4543243ec3ef70fb45172c065359158326647d88b80995098243431f61590e1a7d
6
+ metadata.gz: 9d1d1cbf6ab63615dfa6be3e99fe4d4e6dc96017d513eb35c61e8e20d33b1a77c00cc9302ac5f2be0355809a236c95264f6044ed32b22faea0a757dab82a1c33
7
+ data.tar.gz: 7da464c44a4053a4ab1be7b604d8543391f47e0d285e27f902d3f2aa97e8008d47bd2dfbdfaeeb18f6f1b83eb50744e5049079c6c9b738f1bd982929f4c2f2ab
@@ -12,7 +12,7 @@ ActionController::Renderers.add :xlsx do |data, options|
12
12
  options[:filename] ||= if defined?(ActiveRecord) && data.is_a?(ActiveRecord::Relation)
13
13
  "#{data.klass.model_name.human}_#{Time.now.to_i}"
14
14
  else
15
- Time.now.to_i
15
+ Time.now.to_i.to_s
16
16
  end
17
17
 
18
18
  options[:filename] = options[:filename] ? options[:filename].strip.sub(/\.xlsx$/i, "") : "data"
@@ -1,3 +1,3 @@
1
1
  module XlsxtreamRails
2
- VERSION = "0.5.0"
2
+ VERSION = "0.5.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xlsxtream_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - doabit