comma 3.2.0 → 3.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (65) hide show
  1. checksums.yaml +7 -0
  2. data/{spec/spec.opts → .rspec} +0 -0
  3. data/.travis.yml +51 -4
  4. data/Appraisals +3 -3
  5. data/Gemfile.lock +1 -1
  6. data/README.markdown +3 -3
  7. data/Rakefile +2 -1
  8. data/gemfiles/active3.0.20.gemfile.lock +1 -1
  9. data/gemfiles/active3.1.12.gemfile.lock +1 -1
  10. data/gemfiles/{active3.2.14.gemfile → active3.2.17.gemfile} +2 -2
  11. data/gemfiles/{active3.2.14.gemfile.lock → active3.2.17.gemfile.lock} +20 -18
  12. data/gemfiles/{active4.0.0.gemfile → active4.0.4.gemfile} +2 -2
  13. data/gemfiles/{active4.0.0.gemfile.lock → active4.0.4.gemfile.lock} +24 -22
  14. data/gemfiles/active4.1.1.gemfile +9 -0
  15. data/gemfiles/active4.1.1.gemfile.lock +66 -0
  16. data/gemfiles/data_mapper1.2.0.gemfile.lock +1 -1
  17. data/gemfiles/{mongoid3.1.4.gemfile → mongoid3.1.6.gemfile} +1 -1
  18. data/gemfiles/{mongoid3.1.4.gemfile.lock → mongoid3.1.6.gemfile.lock} +18 -16
  19. data/gemfiles/rails3.0.20.gemfile.lock +1 -1
  20. data/gemfiles/rails3.1.12.gemfile.lock +1 -1
  21. data/gemfiles/{rails3.2.14.gemfile → rails3.2.17.gemfile} +1 -1
  22. data/gemfiles/{rails3.2.14.gemfile.lock → rails3.2.17.gemfile.lock} +42 -40
  23. data/gemfiles/{rails4.0.0.gemfile → rails4.0.4.gemfile} +1 -1
  24. data/gemfiles/{rails4.0.0.gemfile.lock → rails4.0.4.gemfile.lock} +43 -41
  25. data/gemfiles/rails4.1.1.gemfile +9 -0
  26. data/gemfiles/rails4.1.1.gemfile.lock +123 -0
  27. data/lib/comma.rb +1 -1
  28. data/lib/comma/header_extractor.rb +5 -3
  29. data/lib/comma/version.rb +1 -1
  30. data/spec/comma/rails/active_record_spec.rb +48 -0
  31. data/spec/controllers/users_controller_spec.rb +17 -4
  32. data/spec/rails_app/active_record/config.rb +4 -0
  33. data/spec/rails_app/active_record/models.rb +53 -0
  34. data/spec/rails_app/data_mapper/config.rb +3 -0
  35. data/spec/rails_app/mongoid/config.rb +9 -0
  36. data/spec/rails_app/rails_app.rb +54 -0
  37. data/spec/spec_helper.rb +15 -45
  38. metadata +114 -186
  39. data/spec/rails_app/Rakefile +0 -7
  40. data/spec/rails_app/app/controllers/application_controller.rb +0 -2
  41. data/spec/rails_app/app/controllers/users_controller.rb +0 -23
  42. data/spec/rails_app/app/helpers/application_helper.rb +0 -3
  43. data/spec/rails_app/app/models/post.rb +0 -10
  44. data/spec/rails_app/app/models/user.rb +0 -16
  45. data/spec/rails_app/app/views/layouts/application.html.erb +0 -12
  46. data/spec/rails_app/app/views/users/index.html.erb +0 -1
  47. data/spec/rails_app/config.ru +0 -4
  48. data/spec/rails_app/config/application.rb +0 -42
  49. data/spec/rails_app/config/boot.rb +0 -8
  50. data/spec/rails_app/config/database.yml +0 -18
  51. data/spec/rails_app/config/environment.rb +0 -5
  52. data/spec/rails_app/config/environments/development.rb +0 -19
  53. data/spec/rails_app/config/environments/production.rb +0 -37
  54. data/spec/rails_app/config/environments/test.rb +0 -32
  55. data/spec/rails_app/config/initializers/backtrace_silencers.rb +0 -7
  56. data/spec/rails_app/config/initializers/inflections.rb +0 -2
  57. data/spec/rails_app/config/initializers/secret_token.rb +0 -2
  58. data/spec/rails_app/config/routes.rb +0 -9
  59. data/spec/rails_app/db/migrate/20120224085510_create_tables.rb +0 -24
  60. data/spec/rails_app/db/schema.rb +0 -32
  61. data/spec/rails_app/public/404.html +0 -26
  62. data/spec/rails_app/public/422.html +0 -26
  63. data/spec/rails_app/public/500.html +0 -26
  64. data/spec/rails_app/public/favicon.ico +0 -0
  65. data/spec/rails_app/script/rails +0 -6
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- comma (3.2.0)
4
+ comma (3.2.1)
5
5
  activesupport (>= 3.0.0)
6
6
 
7
7
  GEM
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- comma (3.2.0)
4
+ comma (3.2.1)
5
5
  activesupport (>= 3.0.0)
6
6
 
7
7
  GEM
@@ -3,7 +3,7 @@
3
3
  source "http://rubygems.org"
4
4
 
5
5
  gem "fastercsv", :platforms=>:ruby_18
6
- gem "rails", "3.2.14"
6
+ gem "rails", "3.2.17"
7
7
  gem "rspec-rails"
8
8
 
9
9
  gemspec :path=>"../"
@@ -1,18 +1,18 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- comma (3.2.0)
4
+ comma (3.2.1)
5
5
  activesupport (>= 3.0.0)
6
6
 
7
7
  GEM
8
8
  remote: http://rubygems.org/
9
9
  specs:
10
- actionmailer (3.2.14)
11
- actionpack (= 3.2.14)
10
+ actionmailer (3.2.17)
11
+ actionpack (= 3.2.17)
12
12
  mail (~> 2.5.4)
13
- actionpack (3.2.14)
14
- activemodel (= 3.2.14)
15
- activesupport (= 3.2.14)
13
+ actionpack (3.2.17)
14
+ activemodel (= 3.2.17)
15
+ activesupport (= 3.2.17)
16
16
  builder (~> 3.0.0)
17
17
  erubis (~> 2.7.0)
18
18
  journey (~> 1.0.4)
@@ -20,56 +20,57 @@ GEM
20
20
  rack-cache (~> 1.2)
21
21
  rack-test (~> 0.6.1)
22
22
  sprockets (~> 2.2.1)
23
- activemodel (3.2.14)
24
- activesupport (= 3.2.14)
23
+ activemodel (3.2.17)
24
+ activesupport (= 3.2.17)
25
25
  builder (~> 3.0.0)
26
- activerecord (3.2.14)
27
- activemodel (= 3.2.14)
28
- activesupport (= 3.2.14)
26
+ activerecord (3.2.17)
27
+ activemodel (= 3.2.17)
28
+ activesupport (= 3.2.17)
29
29
  arel (~> 3.0.2)
30
30
  tzinfo (~> 0.3.29)
31
- activeresource (3.2.14)
32
- activemodel (= 3.2.14)
33
- activesupport (= 3.2.14)
34
- activesupport (3.2.14)
31
+ activeresource (3.2.17)
32
+ activemodel (= 3.2.17)
33
+ activesupport (= 3.2.17)
34
+ activesupport (3.2.17)
35
35
  i18n (~> 0.6, >= 0.6.4)
36
36
  multi_json (~> 1.0)
37
37
  appraisal (0.4.1)
38
38
  bundler
39
39
  rake
40
- arel (3.0.2)
40
+ arel (3.0.3)
41
41
  builder (3.0.4)
42
42
  diff-lcs (1.1.3)
43
+ docile (1.1.3)
43
44
  erubis (2.7.0)
44
45
  fastercsv (1.5.5)
45
46
  hike (1.2.3)
46
- i18n (0.6.5)
47
+ i18n (0.6.9)
47
48
  journey (1.0.4)
48
- json (1.8.0)
49
+ json (1.8.1)
49
50
  mail (2.5.4)
50
51
  mime-types (~> 1.16)
51
52
  treetop (~> 1.4.8)
52
- mime-types (1.25)
53
- multi_json (1.7.9)
54
- polyglot (0.3.3)
53
+ mime-types (1.25.1)
54
+ multi_json (1.9.2)
55
+ polyglot (0.3.4)
55
56
  rack (1.4.5)
56
57
  rack-cache (1.2)
57
58
  rack (>= 0.4)
58
- rack-ssl (1.3.3)
59
+ rack-ssl (1.3.4)
59
60
  rack
60
61
  rack-test (0.6.2)
61
62
  rack (>= 1.0)
62
- rails (3.2.14)
63
- actionmailer (= 3.2.14)
64
- actionpack (= 3.2.14)
65
- activerecord (= 3.2.14)
66
- activeresource (= 3.2.14)
67
- activesupport (= 3.2.14)
63
+ rails (3.2.17)
64
+ actionmailer (= 3.2.17)
65
+ actionpack (= 3.2.17)
66
+ activerecord (= 3.2.17)
67
+ activeresource (= 3.2.17)
68
+ activesupport (= 3.2.17)
68
69
  bundler (~> 1.0)
69
- railties (= 3.2.14)
70
- railties (3.2.14)
71
- actionpack (= 3.2.14)
72
- activesupport (= 3.2.14)
70
+ railties (= 3.2.17)
71
+ railties (3.2.17)
72
+ actionpack (= 3.2.17)
73
+ activesupport (= 3.2.17)
73
74
  rack-ssl (~> 1.3.2)
74
75
  rake (>= 0.8.7)
75
76
  rdoc (~> 3.4)
@@ -90,22 +91,23 @@ GEM
90
91
  activesupport (>= 3.0)
91
92
  railties (>= 3.0)
92
93
  rspec (~> 2.8.0)
93
- simplecov (0.7.1)
94
- multi_json (~> 1.0)
95
- simplecov-html (~> 0.7.1)
96
- simplecov-html (0.7.1)
94
+ simplecov (0.8.2)
95
+ docile (~> 1.1.0)
96
+ multi_json
97
+ simplecov-html (~> 0.8.0)
98
+ simplecov-html (0.8.0)
97
99
  sprockets (2.2.2)
98
100
  hike (~> 1.2)
99
101
  multi_json (~> 1.0)
100
102
  rack (~> 1.0)
101
103
  tilt (~> 1.1, != 1.3.0)
102
- sqlite3 (1.3.8)
103
- thor (0.18.1)
104
+ sqlite3 (1.3.9)
105
+ thor (0.19.0)
104
106
  tilt (1.4.1)
105
107
  treetop (1.4.15)
106
108
  polyglot
107
109
  polyglot (>= 0.3.1)
108
- tzinfo (0.3.37)
110
+ tzinfo (0.3.39)
109
111
 
110
112
  PLATFORMS
111
113
  ruby
@@ -114,7 +116,7 @@ DEPENDENCIES
114
116
  appraisal (~> 0.4.1)
115
117
  comma!
116
118
  fastercsv
117
- rails (= 3.2.14)
119
+ rails (= 3.2.17)
118
120
  rake (~> 0.9.2)
119
121
  rspec (~> 2.8.0)
120
122
  rspec-rails
@@ -3,7 +3,7 @@
3
3
  source "http://rubygems.org"
4
4
 
5
5
  gem "fastercsv", :platforms=>:ruby_18
6
- gem "rails", "4.0.0"
6
+ gem "rails", "4.0.4"
7
7
  gem "rspec-rails"
8
8
 
9
9
  gemspec :path=>"../"
@@ -1,32 +1,32 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- comma (3.1.1)
4
+ comma (3.2.1)
5
5
  activesupport (>= 3.0.0)
6
6
 
7
7
  GEM
8
8
  remote: http://rubygems.org/
9
9
  specs:
10
- actionmailer (4.0.0)
11
- actionpack (= 4.0.0)
12
- mail (~> 2.5.3)
13
- actionpack (4.0.0)
14
- activesupport (= 4.0.0)
10
+ actionmailer (4.0.4)
11
+ actionpack (= 4.0.4)
12
+ mail (~> 2.5.4)
13
+ actionpack (4.0.4)
14
+ activesupport (= 4.0.4)
15
15
  builder (~> 3.1.0)
16
16
  erubis (~> 2.7.0)
17
17
  rack (~> 1.5.2)
18
18
  rack-test (~> 0.6.2)
19
- activemodel (4.0.0)
20
- activesupport (= 4.0.0)
19
+ activemodel (4.0.4)
20
+ activesupport (= 4.0.4)
21
21
  builder (~> 3.1.0)
22
- activerecord (4.0.0)
23
- activemodel (= 4.0.0)
22
+ activerecord (4.0.4)
23
+ activemodel (= 4.0.4)
24
24
  activerecord-deprecated_finders (~> 1.0.2)
25
- activesupport (= 4.0.0)
25
+ activesupport (= 4.0.4)
26
26
  arel (~> 4.0.0)
27
27
  activerecord-deprecated_finders (1.0.3)
28
- activesupport (4.0.0)
29
- i18n (~> 0.6, >= 0.6.4)
28
+ activesupport (4.0.4)
29
+ i18n (~> 0.6, >= 0.6.9)
30
30
  minitest (~> 4.2)
31
31
  multi_json (~> 1.3)
32
32
  thread_safe (~> 0.1)
@@ -34,35 +34,36 @@ GEM
34
34
  appraisal (0.4.1)
35
35
  bundler
36
36
  rake
37
- arel (4.0.0)
38
- atomic (1.1.12)
37
+ arel (4.0.2)
38
+ atomic (1.1.16)
39
39
  builder (3.1.4)
40
40
  diff-lcs (1.1.3)
41
+ docile (1.1.3)
41
42
  erubis (2.7.0)
42
43
  fastercsv (1.5.5)
43
44
  hike (1.2.3)
44
- i18n (0.6.5)
45
+ i18n (0.6.9)
45
46
  mail (2.5.4)
46
47
  mime-types (~> 1.16)
47
48
  treetop (~> 1.4.8)
48
- mime-types (1.23)
49
+ mime-types (1.25.1)
49
50
  minitest (4.7.5)
50
- multi_json (1.7.9)
51
- polyglot (0.3.3)
51
+ multi_json (1.9.2)
52
+ polyglot (0.3.4)
52
53
  rack (1.5.2)
53
54
  rack-test (0.6.2)
54
55
  rack (>= 1.0)
55
- rails (4.0.0)
56
- actionmailer (= 4.0.0)
57
- actionpack (= 4.0.0)
58
- activerecord (= 4.0.0)
59
- activesupport (= 4.0.0)
56
+ rails (4.0.4)
57
+ actionmailer (= 4.0.4)
58
+ actionpack (= 4.0.4)
59
+ activerecord (= 4.0.4)
60
+ activesupport (= 4.0.4)
60
61
  bundler (>= 1.3.0, < 2.0)
61
- railties (= 4.0.0)
62
+ railties (= 4.0.4)
62
63
  sprockets-rails (~> 2.0.0)
63
- railties (4.0.0)
64
- actionpack (= 4.0.0)
65
- activesupport (= 4.0.0)
64
+ railties (4.0.4)
65
+ actionpack (= 4.0.4)
66
+ activesupport (= 4.0.4)
66
67
  rake (>= 0.8.7)
67
68
  thor (>= 0.18.1, < 2.0)
68
69
  rake (0.9.6)
@@ -79,28 +80,29 @@ GEM
79
80
  activesupport (>= 3.0)
80
81
  railties (>= 3.0)
81
82
  rspec (~> 2.8.0)
82
- simplecov (0.7.1)
83
- multi_json (~> 1.0)
84
- simplecov-html (~> 0.7.1)
85
- simplecov-html (0.7.1)
86
- sprockets (2.10.0)
83
+ simplecov (0.8.2)
84
+ docile (~> 1.1.0)
85
+ multi_json
86
+ simplecov-html (~> 0.8.0)
87
+ simplecov-html (0.8.0)
88
+ sprockets (2.12.0)
87
89
  hike (~> 1.2)
88
90
  multi_json (~> 1.0)
89
91
  rack (~> 1.0)
90
92
  tilt (~> 1.1, != 1.3.0)
91
- sprockets-rails (2.0.0)
93
+ sprockets-rails (2.0.1)
92
94
  actionpack (>= 3.0)
93
95
  activesupport (>= 3.0)
94
96
  sprockets (~> 2.8)
95
- sqlite3 (1.3.7)
96
- thor (0.18.1)
97
- thread_safe (0.1.2)
98
- atomic
97
+ sqlite3 (1.3.9)
98
+ thor (0.19.0)
99
+ thread_safe (0.3.1)
100
+ atomic (>= 1.1.7, < 2)
99
101
  tilt (1.4.1)
100
- treetop (1.4.14)
102
+ treetop (1.4.15)
101
103
  polyglot
102
104
  polyglot (>= 0.3.1)
103
- tzinfo (0.3.37)
105
+ tzinfo (0.3.39)
104
106
 
105
107
  PLATFORMS
106
108
  ruby
@@ -109,7 +111,7 @@ DEPENDENCIES
109
111
  appraisal (~> 0.4.1)
110
112
  comma!
111
113
  fastercsv
112
- rails (= 4.0.0)
114
+ rails (= 4.0.4)
113
115
  rake (~> 0.9.2)
114
116
  rspec (~> 2.8.0)
115
117
  rspec-rails
@@ -0,0 +1,9 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "http://rubygems.org"
4
+
5
+ gem "fastercsv", :platforms=>:ruby_18
6
+ gem "rails", "4.1.1"
7
+ gem "rspec-rails"
8
+
9
+ gemspec :path=>"../"
@@ -0,0 +1,123 @@
1
+ PATH
2
+ remote: ../
3
+ specs:
4
+ comma (3.2.1)
5
+ activesupport (>= 3.0.0)
6
+
7
+ GEM
8
+ remote: http://rubygems.org/
9
+ specs:
10
+ actionmailer (4.1.1)
11
+ actionpack (= 4.1.1)
12
+ actionview (= 4.1.1)
13
+ mail (~> 2.5.4)
14
+ actionpack (4.1.1)
15
+ actionview (= 4.1.1)
16
+ activesupport (= 4.1.1)
17
+ rack (~> 1.5.2)
18
+ rack-test (~> 0.6.2)
19
+ actionview (4.1.1)
20
+ activesupport (= 4.1.1)
21
+ builder (~> 3.1)
22
+ erubis (~> 2.7.0)
23
+ activemodel (4.1.1)
24
+ activesupport (= 4.1.1)
25
+ builder (~> 3.1)
26
+ activerecord (4.1.1)
27
+ activemodel (= 4.1.1)
28
+ activesupport (= 4.1.1)
29
+ arel (~> 5.0.0)
30
+ activesupport (4.1.1)
31
+ i18n (~> 0.6, >= 0.6.9)
32
+ json (~> 1.7, >= 1.7.7)
33
+ minitest (~> 5.1)
34
+ thread_safe (~> 0.1)
35
+ tzinfo (~> 1.1)
36
+ appraisal (0.4.1)
37
+ bundler
38
+ rake
39
+ arel (5.0.1.20140414130214)
40
+ builder (3.2.2)
41
+ diff-lcs (1.1.3)
42
+ docile (1.1.3)
43
+ erubis (2.7.0)
44
+ fastercsv (1.5.5)
45
+ hike (1.2.3)
46
+ i18n (0.6.9)
47
+ json (1.8.1)
48
+ mail (2.5.4)
49
+ mime-types (~> 1.16)
50
+ treetop (~> 1.4.8)
51
+ mime-types (1.25.1)
52
+ minitest (5.3.3)
53
+ multi_json (1.10.0)
54
+ polyglot (0.3.4)
55
+ rack (1.5.2)
56
+ rack-test (0.6.2)
57
+ rack (>= 1.0)
58
+ rails (4.1.1)
59
+ actionmailer (= 4.1.1)
60
+ actionpack (= 4.1.1)
61
+ actionview (= 4.1.1)
62
+ activemodel (= 4.1.1)
63
+ activerecord (= 4.1.1)
64
+ activesupport (= 4.1.1)
65
+ bundler (>= 1.3.0, < 2.0)
66
+ railties (= 4.1.1)
67
+ sprockets-rails (~> 2.0)
68
+ railties (4.1.1)
69
+ actionpack (= 4.1.1)
70
+ activesupport (= 4.1.1)
71
+ rake (>= 0.8.7)
72
+ thor (>= 0.18.1, < 2.0)
73
+ rake (0.9.6)
74
+ rspec (2.8.0)
75
+ rspec-core (~> 2.8.0)
76
+ rspec-expectations (~> 2.8.0)
77
+ rspec-mocks (~> 2.8.0)
78
+ rspec-core (2.8.0)
79
+ rspec-expectations (2.8.0)
80
+ diff-lcs (~> 1.1.2)
81
+ rspec-mocks (2.8.0)
82
+ rspec-rails (2.8.1)
83
+ actionpack (>= 3.0)
84
+ activesupport (>= 3.0)
85
+ railties (>= 3.0)
86
+ rspec (~> 2.8.0)
87
+ simplecov (0.8.2)
88
+ docile (~> 1.1.0)
89
+ multi_json
90
+ simplecov-html (~> 0.8.0)
91
+ simplecov-html (0.8.0)
92
+ sprockets (2.12.1)
93
+ hike (~> 1.2)
94
+ multi_json (~> 1.0)
95
+ rack (~> 1.0)
96
+ tilt (~> 1.1, != 1.3.0)
97
+ sprockets-rails (2.1.3)
98
+ actionpack (>= 3.0)
99
+ activesupport (>= 3.0)
100
+ sprockets (~> 2.8)
101
+ sqlite3 (1.3.9)
102
+ thor (0.19.1)
103
+ thread_safe (0.3.3)
104
+ tilt (1.4.1)
105
+ treetop (1.4.15)
106
+ polyglot
107
+ polyglot (>= 0.3.1)
108
+ tzinfo (1.1.0)
109
+ thread_safe (~> 0.1)
110
+
111
+ PLATFORMS
112
+ ruby
113
+
114
+ DEPENDENCIES
115
+ appraisal (~> 0.4.1)
116
+ comma!
117
+ fastercsv
118
+ rails (= 4.1.1)
119
+ rake (~> 0.9.2)
120
+ rspec (~> 2.8.0)
121
+ rspec-rails
122
+ simplecov
123
+ sqlite3 (~> 1.3.4)