comma 2.0 → 2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/{.rvmrc → .rvmrc.example} +0 -0
- data/Gemfile.lock +1 -1
- data/gemfiles/active2.3.14.gemfile.lock +1 -1
- data/gemfiles/active2.3.2.gemfile.lock +1 -1
- data/gemfiles/active2.3.5.gemfile.lock +1 -1
- data/gemfiles/active2.3.7.gemfile.lock +1 -1
- data/gemfiles/rails2.3.14.gemfile.lock +1 -1
- data/gemfiles/rails2.3.2.gemfile.lock +1 -1
- data/gemfiles/rails2.3.5.gemfile.lock +1 -1
- data/gemfiles/rails2.3.7.gemfile.lock +1 -1
- data/lib/comma/render_as_csv.rb +1 -1
- data/lib/comma/version.rb +1 -1
- metadata +16 -16
data/{.rvmrc → .rvmrc.example}
RENAMED
File without changes
|
data/Gemfile.lock
CHANGED
data/lib/comma/render_as_csv.rb
CHANGED
@@ -32,7 +32,7 @@ module RenderAsCSV
|
|
32
32
|
content = options[:content]
|
33
33
|
style = options[:style]
|
34
34
|
|
35
|
-
if defined? Rails and (Rails.version.split('.').map(&:to_i) <=> [2,3,
|
35
|
+
if defined? Rails and (Rails.version.split('.').map(&:to_i) <=> [2,3,14]) <= 0
|
36
36
|
render :status => status, :text => Proc.new { |response, output|
|
37
37
|
output.write CSV_HANDLER.generate_line(content.first.to_comma_headers(style))
|
38
38
|
content.each { |line| output.write CSV_HANDLER.generate_line(line.to_comma(style)) }
|
data/lib/comma/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: comma
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '2.
|
4
|
+
version: '2.1'
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,11 +10,11 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2012-
|
13
|
+
date: 2012-05-24 00:00:00.000000000Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: fastercsv
|
17
|
-
requirement: &
|
17
|
+
requirement: &70215343939020 !ruby/object:Gem::Requirement
|
18
18
|
none: false
|
19
19
|
requirements:
|
20
20
|
- - =
|
@@ -22,10 +22,10 @@ dependencies:
|
|
22
22
|
version: 1.5.4
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
|
-
version_requirements: *
|
25
|
+
version_requirements: *70215343939020
|
26
26
|
- !ruby/object:Gem::Dependency
|
27
27
|
name: rake
|
28
|
-
requirement: &
|
28
|
+
requirement: &70215343938500 !ruby/object:Gem::Requirement
|
29
29
|
none: false
|
30
30
|
requirements:
|
31
31
|
- - =
|
@@ -33,10 +33,10 @@ dependencies:
|
|
33
33
|
version: 0.8.7
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
|
-
version_requirements: *
|
36
|
+
version_requirements: *70215343938500
|
37
37
|
- !ruby/object:Gem::Dependency
|
38
38
|
name: sqlite3
|
39
|
-
requirement: &
|
39
|
+
requirement: &70215343938040 !ruby/object:Gem::Requirement
|
40
40
|
none: false
|
41
41
|
requirements:
|
42
42
|
- - ~>
|
@@ -44,10 +44,10 @@ dependencies:
|
|
44
44
|
version: 1.3.4
|
45
45
|
type: :development
|
46
46
|
prerelease: false
|
47
|
-
version_requirements: *
|
47
|
+
version_requirements: *70215343938040
|
48
48
|
- !ruby/object:Gem::Dependency
|
49
49
|
name: rspec
|
50
|
-
requirement: &
|
50
|
+
requirement: &70215343937560 !ruby/object:Gem::Requirement
|
51
51
|
none: false
|
52
52
|
requirements:
|
53
53
|
- - ~>
|
@@ -55,10 +55,10 @@ dependencies:
|
|
55
55
|
version: 2.7.0
|
56
56
|
type: :development
|
57
57
|
prerelease: false
|
58
|
-
version_requirements: *
|
58
|
+
version_requirements: *70215343937560
|
59
59
|
- !ruby/object:Gem::Dependency
|
60
60
|
name: appraisal
|
61
|
-
requirement: &
|
61
|
+
requirement: &70215343937080 !ruby/object:Gem::Requirement
|
62
62
|
none: false
|
63
63
|
requirements:
|
64
64
|
- - ! '>='
|
@@ -66,7 +66,7 @@ dependencies:
|
|
66
66
|
version: 0.4.0
|
67
67
|
type: :development
|
68
68
|
prerelease: false
|
69
|
-
version_requirements: *
|
69
|
+
version_requirements: *70215343937080
|
70
70
|
description: Ruby Comma Seperated Values generation library
|
71
71
|
email:
|
72
72
|
- crafterm@redartisan.com
|
@@ -76,7 +76,7 @@ extensions: []
|
|
76
76
|
extra_rdoc_files: []
|
77
77
|
files:
|
78
78
|
- .gitignore
|
79
|
-
- .rvmrc
|
79
|
+
- .rvmrc.example
|
80
80
|
- Appraisals
|
81
81
|
- Gemfile
|
82
82
|
- Gemfile.lock
|
@@ -134,7 +134,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
134
134
|
version: '0'
|
135
135
|
segments:
|
136
136
|
- 0
|
137
|
-
hash:
|
137
|
+
hash: -864364155577169906
|
138
138
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
139
139
|
none: false
|
140
140
|
requirements:
|
@@ -143,10 +143,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
143
143
|
version: '0'
|
144
144
|
segments:
|
145
145
|
- 0
|
146
|
-
hash:
|
146
|
+
hash: -864364155577169906
|
147
147
|
requirements: []
|
148
148
|
rubyforge_project: comma
|
149
|
-
rubygems_version: 1.8.
|
149
|
+
rubygems_version: 1.8.17
|
150
150
|
signing_key:
|
151
151
|
specification_version: 3
|
152
152
|
summary: Ruby Comma Seperated Values generation library
|