comma 2.1.1 → 2.1.2

Sign up to get free protection for your applications and to get access to all the features.
data/Appraisals CHANGED
@@ -1,4 +1,4 @@
1
- ['2.3.2', '2.3.5', '2.3.7', '~>2.3.14' ].each do |version_number|
1
+ ['2.3.2', '2.3.5', '2.3.7', '2.3.14', '2.3.15' ].each do |version_number|
2
2
  clean_number = version_number.gsub(/[<>~=]*/, '')
3
3
 
4
4
  appraise "rails#{ clean_number }" do
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- comma (2.1.1)
4
+ comma (2.1.2)
5
5
  fastercsv (~> 1.5.4)
6
6
 
7
7
  GEM
data/README.markdown CHANGED
@@ -300,8 +300,8 @@ To run the test suite across multiple gem file sets, we're using [Appraisal](htt
300
300
  ```Bash
301
301
 
302
302
  bundle install
303
- bundle exec rake appraisals:install
304
- bundle exec rake appraisals spec
303
+ bundle exec rake appraisal:install
304
+ bundle exec rake appraisal spec
305
305
 
306
306
  ```
307
307
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  source "http://rubygems.org"
4
4
 
5
- gem "activesupport", "~>2.3.14"
6
- gem "activerecord", "~>2.3.14"
5
+ gem "activesupport", "2.3.14"
6
+ gem "activerecord", "2.3.14"
7
7
 
8
8
  gemspec :path=>"../"
@@ -1,8 +1,8 @@
1
1
  PATH
2
- remote: /Users/tom/Development/Projects/comma
2
+ remote: /Users/tom/development/projects/current/comma
3
3
  specs:
4
- comma (2.1)
5
- fastercsv (= 1.5.4)
4
+ comma (2.1.1)
5
+ fastercsv (~> 1.5.4)
6
6
 
7
7
  GEM
8
8
  remote: http://rubygems.org/
@@ -14,7 +14,7 @@ GEM
14
14
  bundler
15
15
  rake
16
16
  diff-lcs (1.1.3)
17
- fastercsv (1.5.4)
17
+ fastercsv (1.5.5)
18
18
  rake (0.8.7)
19
19
  rspec (2.7.0)
20
20
  rspec-core (~> 2.7.0)
@@ -30,8 +30,8 @@ PLATFORMS
30
30
  ruby
31
31
 
32
32
  DEPENDENCIES
33
- activerecord (~> 2.3.14)
34
- activesupport (~> 2.3.14)
33
+ activerecord (= 2.3.14)
34
+ activesupport (= 2.3.14)
35
35
  appraisal (>= 0.4.0)
36
36
  comma!
37
37
  rake (= 0.8.7)
@@ -0,0 +1,8 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "http://rubygems.org"
4
+
5
+ gem "activesupport", "2.3.15"
6
+ gem "activerecord", "2.3.15"
7
+
8
+ gemspec :path=>"../"
@@ -0,0 +1,39 @@
1
+ PATH
2
+ remote: /Users/tom/development/projects/current/comma
3
+ specs:
4
+ comma (2.1.1)
5
+ fastercsv (~> 1.5.4)
6
+
7
+ GEM
8
+ remote: http://rubygems.org/
9
+ specs:
10
+ activerecord (2.3.15)
11
+ activesupport (= 2.3.15)
12
+ activesupport (2.3.15)
13
+ appraisal (0.5.1)
14
+ bundler
15
+ rake
16
+ diff-lcs (1.1.3)
17
+ fastercsv (1.5.5)
18
+ rake (0.8.7)
19
+ rspec (2.7.0)
20
+ rspec-core (~> 2.7.0)
21
+ rspec-expectations (~> 2.7.0)
22
+ rspec-mocks (~> 2.7.0)
23
+ rspec-core (2.7.1)
24
+ rspec-expectations (2.7.0)
25
+ diff-lcs (~> 1.1.2)
26
+ rspec-mocks (2.7.0)
27
+ sqlite3 (1.3.7)
28
+
29
+ PLATFORMS
30
+ ruby
31
+
32
+ DEPENDENCIES
33
+ activerecord (= 2.3.15)
34
+ activesupport (= 2.3.15)
35
+ appraisal (>= 0.4.0)
36
+ comma!
37
+ rake (= 0.8.7)
38
+ rspec (~> 2.7.0)
39
+ sqlite3 (~> 1.3.4)
@@ -1,8 +1,8 @@
1
1
  PATH
2
- remote: /Users/tom/Development/Projects/comma
2
+ remote: /Users/tom/development/projects/current/comma
3
3
  specs:
4
- comma (2.1)
5
- fastercsv (= 1.5.4)
4
+ comma (2.1.1)
5
+ fastercsv (~> 1.5.4)
6
6
 
7
7
  GEM
8
8
  remote: http://rubygems.org/
@@ -14,7 +14,7 @@ GEM
14
14
  bundler
15
15
  rake
16
16
  diff-lcs (1.1.3)
17
- fastercsv (1.5.4)
17
+ fastercsv (1.5.5)
18
18
  rake (0.8.7)
19
19
  rspec (2.7.0)
20
20
  rspec-core (~> 2.7.0)
@@ -1,8 +1,8 @@
1
1
  PATH
2
- remote: /Users/tom/Development/Projects/comma
2
+ remote: /Users/tom/development/projects/current/comma
3
3
  specs:
4
- comma (2.1)
5
- fastercsv (= 1.5.4)
4
+ comma (2.1.1)
5
+ fastercsv (~> 1.5.4)
6
6
 
7
7
  GEM
8
8
  remote: http://rubygems.org/
@@ -14,7 +14,7 @@ GEM
14
14
  bundler
15
15
  rake
16
16
  diff-lcs (1.1.3)
17
- fastercsv (1.5.4)
17
+ fastercsv (1.5.5)
18
18
  rake (0.8.7)
19
19
  rspec (2.7.0)
20
20
  rspec-core (~> 2.7.0)
@@ -1,8 +1,8 @@
1
1
  PATH
2
- remote: /Users/tom/Development/Projects/comma
2
+ remote: /Users/tom/development/projects/current/comma
3
3
  specs:
4
- comma (2.1)
5
- fastercsv (= 1.5.4)
4
+ comma (2.1.1)
5
+ fastercsv (~> 1.5.4)
6
6
 
7
7
  GEM
8
8
  remote: http://rubygems.org/
@@ -14,7 +14,7 @@ GEM
14
14
  bundler
15
15
  rake
16
16
  diff-lcs (1.1.3)
17
- fastercsv (1.5.4)
17
+ fastercsv (1.5.5)
18
18
  rake (0.8.7)
19
19
  rspec (2.7.0)
20
20
  rspec-core (~> 2.7.0)
@@ -2,6 +2,6 @@
2
2
 
3
3
  source "http://rubygems.org"
4
4
 
5
- gem "rails", "~>2.3.14"
5
+ gem "rails", "2.3.14"
6
6
 
7
7
  gemspec :path=>"../"
@@ -1,8 +1,8 @@
1
1
  PATH
2
- remote: /Users/tom/Development/Projects/comma
2
+ remote: /Users/tom/development/projects/current/comma
3
3
  specs:
4
- comma (2.1)
5
- fastercsv (= 1.5.4)
4
+ comma (2.1.1)
5
+ fastercsv (~> 1.5.4)
6
6
 
7
7
  GEM
8
8
  remote: http://rubygems.org/
@@ -21,7 +21,7 @@ GEM
21
21
  bundler
22
22
  rake
23
23
  diff-lcs (1.1.3)
24
- fastercsv (1.5.4)
24
+ fastercsv (1.5.5)
25
25
  rack (1.1.3)
26
26
  rails (2.3.14)
27
27
  actionmailer (= 2.3.14)
@@ -47,7 +47,7 @@ PLATFORMS
47
47
  DEPENDENCIES
48
48
  appraisal (>= 0.4.0)
49
49
  comma!
50
- rails (~> 2.3.14)
50
+ rails (= 2.3.14)
51
51
  rake (= 0.8.7)
52
52
  rspec (~> 2.7.0)
53
53
  sqlite3 (~> 1.3.4)
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "http://rubygems.org"
4
+
5
+ gem "rails", "2.3.15"
6
+
7
+ gemspec :path=>"../"
@@ -0,0 +1,53 @@
1
+ PATH
2
+ remote: /Users/tom/development/projects/current/comma
3
+ specs:
4
+ comma (2.1.1)
5
+ fastercsv (~> 1.5.4)
6
+
7
+ GEM
8
+ remote: http://rubygems.org/
9
+ specs:
10
+ actionmailer (2.3.15)
11
+ actionpack (= 2.3.15)
12
+ actionpack (2.3.15)
13
+ activesupport (= 2.3.15)
14
+ rack (~> 1.1.3)
15
+ activerecord (2.3.15)
16
+ activesupport (= 2.3.15)
17
+ activeresource (2.3.15)
18
+ activesupport (= 2.3.15)
19
+ activesupport (2.3.15)
20
+ appraisal (0.5.1)
21
+ bundler
22
+ rake
23
+ diff-lcs (1.1.3)
24
+ fastercsv (1.5.5)
25
+ rack (1.1.5)
26
+ rails (2.3.15)
27
+ actionmailer (= 2.3.15)
28
+ actionpack (= 2.3.15)
29
+ activerecord (= 2.3.15)
30
+ activeresource (= 2.3.15)
31
+ activesupport (= 2.3.15)
32
+ rake (>= 0.8.3)
33
+ rake (0.8.7)
34
+ rspec (2.7.0)
35
+ rspec-core (~> 2.7.0)
36
+ rspec-expectations (~> 2.7.0)
37
+ rspec-mocks (~> 2.7.0)
38
+ rspec-core (2.7.1)
39
+ rspec-expectations (2.7.0)
40
+ diff-lcs (~> 1.1.2)
41
+ rspec-mocks (2.7.0)
42
+ sqlite3 (1.3.7)
43
+
44
+ PLATFORMS
45
+ ruby
46
+
47
+ DEPENDENCIES
48
+ appraisal (>= 0.4.0)
49
+ comma!
50
+ rails (= 2.3.15)
51
+ rake (= 0.8.7)
52
+ rspec (~> 2.7.0)
53
+ sqlite3 (~> 1.3.4)
@@ -1,8 +1,8 @@
1
1
  PATH
2
- remote: /Users/tom/Development/Projects/comma
2
+ remote: /Users/tom/development/projects/current/comma
3
3
  specs:
4
- comma (2.1)
5
- fastercsv (= 1.5.4)
4
+ comma (2.1.1)
5
+ fastercsv (~> 1.5.4)
6
6
 
7
7
  GEM
8
8
  remote: http://rubygems.org/
@@ -20,7 +20,7 @@ GEM
20
20
  bundler
21
21
  rake
22
22
  diff-lcs (1.1.3)
23
- fastercsv (1.5.4)
23
+ fastercsv (1.5.5)
24
24
  rails (2.3.2)
25
25
  actionmailer (= 2.3.2)
26
26
  actionpack (= 2.3.2)
@@ -1,8 +1,8 @@
1
1
  PATH
2
- remote: /Users/tom/Development/Projects/comma
2
+ remote: /Users/tom/development/projects/current/comma
3
3
  specs:
4
- comma (2.1)
5
- fastercsv (= 1.5.4)
4
+ comma (2.1.1)
5
+ fastercsv (~> 1.5.4)
6
6
 
7
7
  GEM
8
8
  remote: http://rubygems.org/
@@ -21,7 +21,7 @@ GEM
21
21
  bundler
22
22
  rake
23
23
  diff-lcs (1.1.3)
24
- fastercsv (1.5.4)
24
+ fastercsv (1.5.5)
25
25
  rack (1.0.1)
26
26
  rails (2.3.5)
27
27
  actionmailer (= 2.3.5)
@@ -1,8 +1,8 @@
1
1
  PATH
2
- remote: /Users/tom/Development/Projects/comma
2
+ remote: /Users/tom/development/projects/current/comma
3
3
  specs:
4
- comma (2.1)
5
- fastercsv (= 1.5.4)
4
+ comma (2.1.1)
5
+ fastercsv (~> 1.5.4)
6
6
 
7
7
  GEM
8
8
  remote: http://rubygems.org/
@@ -21,7 +21,7 @@ GEM
21
21
  bundler
22
22
  rake
23
23
  diff-lcs (1.1.3)
24
- fastercsv (1.5.4)
24
+ fastercsv (1.5.5)
25
25
  rack (1.1.3)
26
26
  rails (2.3.7)
27
27
  actionmailer (= 2.3.7)
@@ -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,14]) <= 0
35
+ unless self.respond_to?(:status)
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
@@ -1,3 +1,3 @@
1
1
  module Comma
2
- VERSION = "2.1.1"
2
+ VERSION = "2.1.2"
3
3
  end
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.1.1
4
+ version: 2.1.2
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-06-16 00:00:00.000000000 Z
13
+ date: 2013-02-05 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: fastercsv
17
- requirement: &70106095358320 !ruby/object:Gem::Requirement
17
+ requirement: !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ~>
@@ -22,21 +22,31 @@ dependencies:
22
22
  version: 1.5.4
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *70106095358320
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ none: false
27
+ requirements:
28
+ - - ~>
29
+ - !ruby/object:Gem::Version
30
+ version: 1.5.4
26
31
  - !ruby/object:Gem::Dependency
27
32
  name: rake
28
- requirement: &70106095357800 !ruby/object:Gem::Requirement
33
+ requirement: !ruby/object:Gem::Requirement
29
34
  none: false
30
35
  requirements:
31
- - - =
36
+ - - '='
32
37
  - !ruby/object:Gem::Version
33
38
  version: 0.8.7
34
39
  type: :development
35
40
  prerelease: false
36
- version_requirements: *70106095357800
41
+ version_requirements: !ruby/object:Gem::Requirement
42
+ none: false
43
+ requirements:
44
+ - - '='
45
+ - !ruby/object:Gem::Version
46
+ version: 0.8.7
37
47
  - !ruby/object:Gem::Dependency
38
48
  name: sqlite3
39
- requirement: &70106095357340 !ruby/object:Gem::Requirement
49
+ requirement: !ruby/object:Gem::Requirement
40
50
  none: false
41
51
  requirements:
42
52
  - - ~>
@@ -44,10 +54,15 @@ dependencies:
44
54
  version: 1.3.4
45
55
  type: :development
46
56
  prerelease: false
47
- version_requirements: *70106095357340
57
+ version_requirements: !ruby/object:Gem::Requirement
58
+ none: false
59
+ requirements:
60
+ - - ~>
61
+ - !ruby/object:Gem::Version
62
+ version: 1.3.4
48
63
  - !ruby/object:Gem::Dependency
49
64
  name: rspec
50
- requirement: &70106095356860 !ruby/object:Gem::Requirement
65
+ requirement: !ruby/object:Gem::Requirement
51
66
  none: false
52
67
  requirements:
53
68
  - - ~>
@@ -55,10 +70,15 @@ dependencies:
55
70
  version: 2.7.0
56
71
  type: :development
57
72
  prerelease: false
58
- version_requirements: *70106095356860
73
+ version_requirements: !ruby/object:Gem::Requirement
74
+ none: false
75
+ requirements:
76
+ - - ~>
77
+ - !ruby/object:Gem::Version
78
+ version: 2.7.0
59
79
  - !ruby/object:Gem::Dependency
60
80
  name: appraisal
61
- requirement: &70106095356380 !ruby/object:Gem::Requirement
81
+ requirement: !ruby/object:Gem::Requirement
62
82
  none: false
63
83
  requirements:
64
84
  - - ! '>='
@@ -66,7 +86,12 @@ dependencies:
66
86
  version: 0.4.0
67
87
  type: :development
68
88
  prerelease: false
69
- version_requirements: *70106095356380
89
+ version_requirements: !ruby/object:Gem::Requirement
90
+ none: false
91
+ requirements:
92
+ - - ! '>='
93
+ - !ruby/object:Gem::Version
94
+ version: 0.4.0
70
95
  description: Ruby Comma Seperated Values generation library
71
96
  email:
72
97
  - crafterm@redartisan.com
@@ -87,6 +112,8 @@ files:
87
112
  - comma.gemspec
88
113
  - gemfiles/active2.3.14.gemfile
89
114
  - gemfiles/active2.3.14.gemfile.lock
115
+ - gemfiles/active2.3.15.gemfile
116
+ - gemfiles/active2.3.15.gemfile.lock
90
117
  - gemfiles/active2.3.2.gemfile
91
118
  - gemfiles/active2.3.2.gemfile.lock
92
119
  - gemfiles/active2.3.5.gemfile
@@ -99,6 +126,8 @@ files:
99
126
  - gemfiles/activesupport3.gemfile.lock
100
127
  - gemfiles/rails2.3.14.gemfile
101
128
  - gemfiles/rails2.3.14.gemfile.lock
129
+ - gemfiles/rails2.3.15.gemfile
130
+ - gemfiles/rails2.3.15.gemfile.lock
102
131
  - gemfiles/rails2.3.2.gemfile
103
132
  - gemfiles/rails2.3.2.gemfile.lock
104
133
  - gemfiles/rails2.3.5.gemfile
@@ -135,7 +164,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
135
164
  version: '0'
136
165
  segments:
137
166
  - 0
138
- hash: -371915123398337140
167
+ hash: -1887513965366661584
139
168
  required_rubygems_version: !ruby/object:Gem::Requirement
140
169
  none: false
141
170
  requirements:
@@ -144,10 +173,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
144
173
  version: '0'
145
174
  segments:
146
175
  - 0
147
- hash: -371915123398337140
176
+ hash: -1887513965366661584
148
177
  requirements: []
149
178
  rubyforge_project: comma
150
- rubygems_version: 1.8.17
179
+ rubygems_version: 1.8.23
151
180
  signing_key:
152
181
  specification_version: 3
153
182
  summary: Ruby Comma Seperated Values generation library