csv_builder 2.1.2 → 2.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.rdoc +4 -0
- data/Rakefile +8 -0
- data/VERSION +1 -1
- data/csv_builder.gemspec +3 -3
- data/lib/csv_builder/template_handler.rb +1 -1
- metadata +20 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 42494f2dda5820b75c3bc9e4233f4cad10fc4e055720303ba5d2931d4b1d6dea
|
4
|
+
data.tar.gz: 64ad90de9a0a8cd9a12402d602083f2849c29cf5f5d7bf0a48a349dcf588d505
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 45a9c336e740960a0d483c31132490a6ea7143c7120baeaa21e26b258654c9a04959f157736a9dd7c8bf9a0a6fc52935fa874ea87ff40d0b882d4816edcb5165
|
7
|
+
data.tar.gz: 0d215da613325d6732cd660d165b1c5ac7ae07d6d8ff2d7b1c566a4c8f6e2e68c33814329bd9596fcd2bd12fc7a0fa0a13fda9fc747f98520ebbf8afc2dcf773
|
data/CHANGELOG.rdoc
CHANGED
data/Rakefile
CHANGED
@@ -2,6 +2,14 @@ require 'rdoc/task'
|
|
2
2
|
require 'rspec/core'
|
3
3
|
require 'rspec/core/rake_task'
|
4
4
|
|
5
|
+
# Temporary hack from https://stackoverflow.com/questions/35893584/nomethoderror-undefined-method-last-comment-after-upgrading-to-rake-11
|
6
|
+
module TempFixForRakeLastComment
|
7
|
+
def last_comment
|
8
|
+
last_description
|
9
|
+
end
|
10
|
+
end
|
11
|
+
Rake::Application.send :include, TempFixForRakeLastComment
|
12
|
+
|
5
13
|
desc 'Generate documentation for the csv_builder plugin.'
|
6
14
|
Rake::RDocTask.new(:rdoc) do |rdoc|
|
7
15
|
rdoc.rdoc_dir = 'rdoc'
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.1.
|
1
|
+
2.1.3
|
data/csv_builder.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = %q{csv_builder}
|
3
|
-
s.version = "2.1.
|
3
|
+
s.version = "2.1.3"
|
4
4
|
|
5
5
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
6
6
|
s.authors = [%q{Econsultancy}, %q{Vidmantas Kabosis}, %q{Gabe da Silveira}]
|
@@ -37,11 +37,11 @@ Gem::Specification.new do |s|
|
|
37
37
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
38
38
|
s.add_runtime_dependency(%q<actionpack>, [">= 3.0.0"])
|
39
39
|
s.add_runtime_dependency('fastercsv') if RUBY_VERSION.to_f < 1.9
|
40
|
-
s.add_development_dependency(%q<rails>, [">=
|
40
|
+
s.add_development_dependency(%q<rails>, [">= 4.0.0", "< 5.0"])
|
41
41
|
s.add_development_dependency(%q<rspec>, ["~> 2.5"])
|
42
42
|
s.add_development_dependency(%q<rspec-rails>, ["~> 2.5"])
|
43
43
|
s.add_development_dependency(%q<rack>, [">= 0"])
|
44
|
-
s.add_development_dependency(%q<sqlite3>, [">= 0"])
|
44
|
+
s.add_development_dependency(%q<sqlite3>, [">= 0", "< 1.4"])
|
45
45
|
else
|
46
46
|
s.add_dependency(%q<actionpack>, [">= 3.0.0"])
|
47
47
|
s.add_dependency('fastercsv') if RUBY_VERSION.to_f < 1.9
|
@@ -115,7 +115,7 @@ module CsvBuilder # :nodoc:
|
|
115
115
|
}
|
116
116
|
CsvBuilder::Streamer.new(template)
|
117
117
|
else
|
118
|
-
output = CsvBuilder::CSV_LIB.generate(@csv_options || {}) do |faster_csv|
|
118
|
+
output = CsvBuilder::CSV_LIB.generate(**(@csv_options || {})) do |faster_csv|
|
119
119
|
csv = CsvBuilder::TransliteratingFilter.new(faster_csv, @input_encoding || 'UTF-8', @output_encoding || 'ISO-8859-1')
|
120
120
|
#{source}
|
121
121
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: csv_builder
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Econsultancy
|
8
8
|
- Vidmantas Kabosis
|
9
9
|
- Gabe da Silveira
|
10
|
-
autorequire:
|
10
|
+
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
13
|
date: 2012-05-24 00:00:00.000000000 Z
|
@@ -32,14 +32,20 @@ dependencies:
|
|
32
32
|
requirements:
|
33
33
|
- - ">="
|
34
34
|
- !ruby/object:Gem::Version
|
35
|
-
version:
|
35
|
+
version: 4.0.0
|
36
|
+
- - "<"
|
37
|
+
- !ruby/object:Gem::Version
|
38
|
+
version: '5.0'
|
36
39
|
type: :development
|
37
40
|
prerelease: false
|
38
41
|
version_requirements: !ruby/object:Gem::Requirement
|
39
42
|
requirements:
|
40
43
|
- - ">="
|
41
44
|
- !ruby/object:Gem::Version
|
42
|
-
version:
|
45
|
+
version: 4.0.0
|
46
|
+
- - "<"
|
47
|
+
- !ruby/object:Gem::Version
|
48
|
+
version: '5.0'
|
43
49
|
- !ruby/object:Gem::Dependency
|
44
50
|
name: rspec
|
45
51
|
requirement: !ruby/object:Gem::Requirement
|
@@ -89,6 +95,9 @@ dependencies:
|
|
89
95
|
- - ">="
|
90
96
|
- !ruby/object:Gem::Version
|
91
97
|
version: '0'
|
98
|
+
- - "<"
|
99
|
+
- !ruby/object:Gem::Version
|
100
|
+
version: '1.4'
|
92
101
|
type: :development
|
93
102
|
prerelease: false
|
94
103
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -96,6 +105,9 @@ dependencies:
|
|
96
105
|
- - ">="
|
97
106
|
- !ruby/object:Gem::Version
|
98
107
|
version: '0'
|
108
|
+
- - "<"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '1.4'
|
99
111
|
description: CSV template handler for Rails. Enables :format => 'csv' in controllers,
|
100
112
|
with templates of the form report.csv.csvbuilder.
|
101
113
|
email: gabe@websaviour.com
|
@@ -120,7 +132,7 @@ homepage: https://github.com/gtd/csv_builder
|
|
120
132
|
licenses:
|
121
133
|
- MIT
|
122
134
|
metadata: {}
|
123
|
-
post_install_message:
|
135
|
+
post_install_message:
|
124
136
|
rdoc_options: []
|
125
137
|
require_paths:
|
126
138
|
- lib
|
@@ -136,8 +148,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
136
148
|
version: '0'
|
137
149
|
requirements:
|
138
150
|
- iconv or Ruby 1.9
|
139
|
-
|
140
|
-
|
151
|
+
rubyforge_project:
|
152
|
+
rubygems_version: 2.7.6.2
|
153
|
+
signing_key:
|
141
154
|
specification_version: 3
|
142
155
|
summary: CSV template handler for Rails
|
143
156
|
test_files: []
|