spreadsheet_architect 1.0.0 → 1.0.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
  SHA1:
3
- metadata.gz: f3c67e97784978152684d2b96d2d43c8d948ee9d
4
- data.tar.gz: f5b43fb9b851d1ee35e4bb48c6c3eeb98f3d56d4
3
+ metadata.gz: c70bffeb66b07a08e65d84e41b84a47595926571
4
+ data.tar.gz: f70ea264d22245f9771e36eb9bc46d22c05e5f7e
5
5
  SHA512:
6
- metadata.gz: dfcb42e6a7c37c4d9484edd16e73a594026214cd589bdacaba148c875547107f185e4a33166c2d793dbbd1345197f5eba5549f36be58f5229ed34be417dbb7d0
7
- data.tar.gz: 5b4fc4b2e637291f08a59de6d3594734dbf20f89227e4627259dc65a9167b50c1107adc76baed747acf45b32ff78d6c17d7f1536addf3de62d45374afefb11be
6
+ metadata.gz: 72c104868f8995b133f3337646ef59f739017ba8306bc31ad0d1d263341ef9c6984730adb3904484563c2f6553d82c8bb3d6b90e61970e3ccbcefe0828caa7c1
7
+ data.tar.gz: 2d7dbe940b6e56f54b902845fc21a94f75c14296aeb075aff2bc13ab9278a3d1c2f5a6706e497759c47dcd97f906ad24d9dccd3424b133d085b9210920072803
data/CHANGELOG.md CHANGED
@@ -1,5 +1,7 @@
1
1
  CHANGELOG
2
2
  ---------
3
3
 
4
- - **February.29.2016**: 0.9.0
5
- - Gem First Release!
4
+ - **February.26.2016**: 1.0.1
5
+ - Fix Bug in ActionController Renderers
6
+ - **February.26.2016**: 1.0.0
7
+ - Gem Initial Release
data/Rakefile CHANGED
@@ -10,8 +10,4 @@ task :test do
10
10
  end
11
11
  end
12
12
 
13
- task release: :build do
14
- system "gem push spreadsheet_architect-#{SpreadsheetArchitect::VERSION}.gem"
15
- end
16
-
17
13
  task default: :test
@@ -1,12 +1,12 @@
1
1
  if defined? ActionController
2
2
  ActionController::Renderers.add :xlsx do |data, options|
3
- send_data data, type: :xlsx, disposition: :attachment, filename: "#{options[:filename] ? options[:filename].sub(".xlsx",'') || 'data'}.xlsx"
3
+ send_data data, type: :xlsx, disposition: :attachment, filename: "#{options[:filename] ? options[:filename].sub('.xlsx','') : 'data'}.xlsx"
4
4
  end
5
5
  ActionController::Renderers.add :ods do |data, options|
6
- send_data data, type: :ods, disposition: :attachment, filename: "#{options[:filename] ? options[:filename].sub(".ods",'') || 'data'}.ods"
6
+ send_data data, type: :ods, disposition: :attachment, filename: "#{options[:filename] ? options[:filename].sub('.ods','') : 'data'}.ods"
7
7
  end
8
8
  ActionController::Renderers.add :csv do |data, options|
9
- send_data data, type: :csv, disposition: :attachment, filename: "#{options[:filename] ? options[:filename].sub(".csv",'') || 'data'}.csv"
9
+ send_data data, type: :csv, disposition: :attachment, filename: "#{options[:filename] ? options[:filename].sub('.csv','') : 'data'}.csv"
10
10
  end
11
11
 
12
12
 
@@ -1,3 +1,3 @@
1
1
  module SpreadsheetArchitect
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spreadsheet_architect
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Weston Ganger