comma 3.2.2 → 3.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. checksums.yaml +4 -4
  2. data/.coveralls.yml +1 -0
  3. data/.travis.yml +31 -16
  4. data/Appraisals +1 -1
  5. data/Gemfile +8 -3
  6. data/Gemfile.lock +24 -6
  7. data/comma.gemspec +2 -4
  8. data/gemfiles/active3.0.20.gemfile +3 -1
  9. data/gemfiles/active3.0.20.gemfile.lock +25 -7
  10. data/gemfiles/active3.1.12.gemfile +3 -1
  11. data/gemfiles/active3.1.12.gemfile.lock +24 -6
  12. data/gemfiles/active3.2.20.gemfile +3 -1
  13. data/gemfiles/active3.2.20.gemfile.lock +22 -6
  14. data/gemfiles/active4.0.13.gemfile +11 -0
  15. data/gemfiles/{active4.0.11.gemfile.lock → active4.0.13.gemfile.lock} +34 -18
  16. data/gemfiles/active4.1.10.gemfile +11 -0
  17. data/gemfiles/{active4.1.7.gemfile.lock → active4.1.10.gemfile.lock} +34 -19
  18. data/gemfiles/active4.2.1.gemfile +11 -0
  19. data/gemfiles/active4.2.1.gemfile.lock +81 -0
  20. data/gemfiles/data_mapper1.2.0.gemfile +3 -1
  21. data/gemfiles/data_mapper1.2.0.gemfile.lock +23 -6
  22. data/gemfiles/mongoid3.1.6.gemfile +3 -1
  23. data/gemfiles/mongoid3.1.6.gemfile.lock +24 -8
  24. data/gemfiles/rails3.0.20.gemfile +3 -1
  25. data/gemfiles/rails3.0.20.gemfile.lock +21 -8
  26. data/gemfiles/rails3.1.12.gemfile +3 -1
  27. data/gemfiles/rails3.1.12.gemfile.lock +20 -7
  28. data/gemfiles/rails3.2.20.gemfile +3 -1
  29. data/gemfiles/rails3.2.20.gemfile.lock +17 -6
  30. data/gemfiles/rails4.0.13.gemfile +11 -0
  31. data/gemfiles/{rails4.0.11.gemfile.lock → rails4.0.13.gemfile.lock} +48 -34
  32. data/gemfiles/rails4.1.10.gemfile +11 -0
  33. data/gemfiles/{rails4.1.7.gemfile.lock → rails4.1.10.gemfile.lock} +54 -41
  34. data/gemfiles/rails4.2.1.gemfile +11 -0
  35. data/gemfiles/rails4.2.1.gemfile.lock +156 -0
  36. data/lib/comma/object.rb +17 -5
  37. data/lib/comma/version.rb +1 -1
  38. data/spec/comma/comma_spec.rb +49 -0
  39. data/spec/comma/rails/active_record_spec.rb +45 -0
  40. data/spec/spec_helper.rb +5 -2
  41. metadata +26 -35
  42. data/gemfiles/active4.0.11.gemfile +0 -9
  43. data/gemfiles/active4.1.7.gemfile +0 -9
  44. data/gemfiles/rails4.0.11.gemfile +0 -9
  45. data/gemfiles/rails4.1.7.gemfile +0 -9
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3b2d25493dba929ebe51cae6b8c2ce5e424ea3be
4
- data.tar.gz: a166da0ba2213549ae97d264c2a81c229fabdd65
3
+ metadata.gz: ca042f6a9bdf1e47e62d1829ae1cc6aca549eb2f
4
+ data.tar.gz: 47882ea5eaa37cc7573e78bfaff111b666c162ae
5
5
  SHA512:
6
- metadata.gz: 57968ae5512a393316c38b69064859afb934f47698ea418ecb3a1bdf347ef32a5633a81f8438f89b2abca648237e71e3b032efdcb9494d8c83137bee998d154f
7
- data.tar.gz: ad17503255e34c05b79f22121e3d4bf5b97dd931ecdc0afa4de87961965880fafd683191f4756061a56a3c2a6f9754f66492c4a9c63a815af5b0e394ca16cba7
6
+ metadata.gz: f1e3d9ce1e135e3b5d45c2b1ac38c6a8d65f1811ed3a98a082a6050eab8bc413417e022457dd154db5877305d52fa277c1194ed3336ddedc05ed80698da66b80
7
+ data.tar.gz: 3515fae45105eb8b688071fbd03e2e2b9b1d594551772f09c7c4decce1c43455123ae59930ac4b2623d3313344b4f84e4751208b1d188b5841561f78506e057b
data/.coveralls.yml ADDED
@@ -0,0 +1 @@
1
+ service_name: travis-ci
data/.travis.yml CHANGED
@@ -1,6 +1,7 @@
1
1
  services: mongodb
2
2
 
3
3
  language: ruby
4
+ cache: bundler
4
5
  rvm:
5
6
  - 'ree'
6
7
  - '1.8.7'
@@ -13,47 +14,61 @@ gemfile:
13
14
  - gemfiles/active3.0.20.gemfile
14
15
  - gemfiles/active3.1.12.gemfile
15
16
  - gemfiles/active3.2.20.gemfile
16
- - gemfiles/active4.0.11.gemfile
17
- - gemfiles/active4.1.7.gemfile
17
+ - gemfiles/active4.0.13.gemfile
18
+ - gemfiles/active4.1.10.gemfile
19
+ - gemfiles/active4.2.1.gemfile
18
20
  - gemfiles/data_mapper1.2.0.gemfile
19
21
  - gemfiles/mongoid3.1.6.gemfile
20
22
  - gemfiles/rails3.0.20.gemfile
21
23
  - gemfiles/rails3.1.12.gemfile
22
24
  - gemfiles/rails3.2.20.gemfile
23
- - gemfiles/rails4.0.11.gemfile
24
- - gemfiles/rails4.1.7.gemfile
25
+ - gemfiles/rails4.0.13.gemfile
26
+ - gemfiles/rails4.1.10.gemfile
27
+ - gemfiles/rails4.2.1.gemfile
25
28
  matrix:
26
29
  exclude:
27
30
  - rvm: ree
28
- gemfile: gemfiles/active4.0.11.gemfile
31
+ gemfile: gemfiles/active4.0.13.gemfile
29
32
  - rvm: ree
30
- gemfile: gemfiles/active4.1.7.gemfile
33
+ gemfile: gemfiles/active4.1.10.gemfile
34
+ - rvm: ree
35
+ gemfile: gemfiles/active4.2.1.gemfile
31
36
  - rvm: ree
32
37
  gemfile: gemfiles/mongoid3.1.6.gemfile
33
38
  - rvm: ree
34
- gemfile: gemfiles/rails4.0.11.gemfile
39
+ gemfile: gemfiles/rails4.0.13.gemfile
40
+ - rvm: ree
41
+ gemfile: gemfiles/rails4.1.10.gemfile
35
42
  - rvm: ree
36
- gemfile: gemfiles/rails4.1.7.gemfile
43
+ gemfile: gemfiles/rails4.2.1.gemfile
44
+ - rvm: 1.8.7
45
+ gemfile: gemfiles/active4.0.13.gemfile
37
46
  - rvm: 1.8.7
38
- gemfile: gemfiles/active4.0.11.gemfile
47
+ gemfile: gemfiles/active4.1.10.gemfile
39
48
  - rvm: 1.8.7
40
- gemfile: gemfiles/active4.1.7.gemfile
49
+ gemfile: gemfiles/active4.2.1.gemfile
41
50
  - rvm: 1.8.7
42
51
  gemfile: gemfiles/mongoid3.1.6.gemfile
43
52
  - rvm: 1.8.7
44
- gemfile: gemfiles/rails4.0.11.gemfile
53
+ gemfile: gemfiles/rails4.0.13.gemfile
45
54
  - rvm: 1.8.7
46
- gemfile: gemfiles/rails4.1.7.gemfile
55
+ gemfile: gemfiles/rails4.1.10.gemfile
56
+ - rvm: 1.8.7
57
+ gemfile: gemfiles/rails4.2.1.gemfile
58
+ - rvm: 1.9.2
59
+ gemfile: gemfiles/active4.0.13.gemfile
47
60
  - rvm: 1.9.2
48
- gemfile: gemfiles/active4.0.11.gemfile
61
+ gemfile: gemfiles/active4.1.10.gemfile
49
62
  - rvm: 1.9.2
50
- gemfile: gemfiles/active4.1.7.gemfile
63
+ gemfile: gemfiles/active4.2.1.gemfile
51
64
  - rvm: 1.9.2
52
65
  gemfile: gemfiles/mongoid3.1.6.gemfile
53
66
  - rvm: 1.9.2
54
- gemfile: gemfiles/rails4.0.11.gemfile
67
+ gemfile: gemfiles/rails4.0.13.gemfile
68
+ - rvm: 1.9.2
69
+ gemfile: gemfiles/rails4.1.10.gemfile
55
70
  - rvm: 1.9.2
56
- gemfile: gemfiles/rails4.1.7.gemfile
71
+ gemfile: gemfiles/rails4.2.1.gemfile
57
72
  allow_failures:
58
73
  - rvm: rbx-2.1.1
59
74
  fast_finish: true
data/Appraisals CHANGED
@@ -1,4 +1,4 @@
1
- ['3.0.20', '3.1.12', '3.2.20', '4.0.11', '4.1.7'].each do |version_number|
1
+ ['3.0.20', '3.1.12', '3.2.20', '4.0.13', '4.1.10', '4.2.1'].each do |version_number|
2
2
  clean_number = version_number.gsub(/[<>~=]*/, '')
3
3
  next if RUBY_VERSION < '1.9.3' && version_number >= '4.0.0'
4
4
 
data/Gemfile CHANGED
@@ -1,5 +1,10 @@
1
- source "http://rubygems.org"
1
+ source 'https://rubygems.org'
2
2
 
3
- gem "fastercsv", :platforms => :ruby_18
3
+ gem 'coveralls', :require => false
4
+ gem 'fastercsv', :platforms => :ruby_18
5
+ # coveralls gem depends on rest-client, newer rest-client gem
6
+ # requires ruby 1.9.2 or above. While supporting ruby 1.8.7,
7
+ # we specify rest-client gem version.
8
+ gem 'rest-client', '> 1.6.2', '< 1.7', :require => false
4
9
 
5
- gemspec
10
+ gemspec
data/Gemfile.lock CHANGED
@@ -1,11 +1,11 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- comma (3.2.2)
4
+ comma (3.2.3)
5
5
  activesupport (>= 3.0.0)
6
6
 
7
7
  GEM
8
- remote: http://rubygems.org/
8
+ remote: https://rubygems.org/
9
9
  specs:
10
10
  activesupport (3.2.14)
11
11
  i18n (~> 0.6, >= 0.6.4)
@@ -13,11 +13,26 @@ GEM
13
13
  appraisal (0.4.1)
14
14
  bundler
15
15
  rake
16
+ colorize (0.7.5)
17
+ coveralls (0.5.8)
18
+ colorize
19
+ json
20
+ rest-client
21
+ simplecov (>= 0.7)
22
+ thor
16
23
  diff-lcs (1.1.3)
24
+ docile (1.1.5)
17
25
  fastercsv (1.5.4)
18
26
  i18n (0.6.5)
27
+ json (1.8.2)
28
+ mime-types (1.25.1)
19
29
  multi_json (1.1.0)
20
30
  rake (0.9.2.2)
31
+ rdoc (4.2.0)
32
+ json (~> 1.4)
33
+ rest-client (1.6.8)
34
+ mime-types (~> 1.16)
35
+ rdoc (>= 2.4.2)
21
36
  rspec (2.8.0)
22
37
  rspec-core (~> 2.8.0)
23
38
  rspec-expectations (~> 2.8.0)
@@ -26,11 +41,13 @@ GEM
26
41
  rspec-expectations (2.8.0)
27
42
  diff-lcs (~> 1.1.2)
28
43
  rspec-mocks (2.8.0)
29
- simplecov (0.6.1)
44
+ simplecov (0.9.2)
45
+ docile (~> 1.1.0)
30
46
  multi_json (~> 1.0)
31
- simplecov-html (~> 0.5.3)
32
- simplecov-html (0.5.3)
47
+ simplecov-html (~> 0.9.0)
48
+ simplecov-html (0.9.0)
33
49
  sqlite3 (1.3.5)
50
+ thor (0.19.1)
34
51
 
35
52
  PLATFORMS
36
53
  ruby
@@ -38,8 +55,9 @@ PLATFORMS
38
55
  DEPENDENCIES
39
56
  appraisal (~> 0.4.1)
40
57
  comma!
58
+ coveralls
41
59
  fastercsv
42
60
  rake (~> 0.9.2)
61
+ rest-client (> 1.6.2, < 1.7)
43
62
  rspec (~> 2.8.0)
44
- simplecov
45
63
  sqlite3 (~> 1.3.4)
data/comma.gemspec CHANGED
@@ -21,10 +21,8 @@ Gem::Specification.new do |s|
21
21
 
22
22
  s.add_dependency 'activesupport', ['>= 3.0.0']
23
23
 
24
- s.add_development_dependency 'rake', ['~> 0.9.2']
25
- s.add_development_dependency 'sqlite3', ['~> 1.3.4']
26
24
  s.add_development_dependency 'appraisal', ['~> 0.4.1']
25
+ s.add_development_dependency 'rake', ['~> 0.9.2']
27
26
  s.add_development_dependency 'rspec', ['~> 2.8.0']
28
- s.add_development_dependency 'simplecov', ['>= 0']
29
-
27
+ s.add_development_dependency 'sqlite3', ['~> 1.3.4']
30
28
  end
@@ -1,8 +1,10 @@
1
1
  # This file was generated by Appraisal
2
2
 
3
- source "http://rubygems.org"
3
+ source "https://rubygems.org"
4
4
 
5
+ gem "coveralls", :require=>false
5
6
  gem "fastercsv", :platforms=>:ruby_18
7
+ gem "rest-client", "> 1.6.2", "< 1.7", :require=>false
6
8
  gem "activesupport", "3.0.20"
7
9
  gem "activerecord", "3.0.20"
8
10
 
@@ -1,11 +1,11 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- comma (3.2.2)
4
+ comma (3.2.3)
5
5
  activesupport (>= 3.0.0)
6
6
 
7
7
  GEM
8
- remote: http://rubygems.org/
8
+ remote: https://rubygems.org/
9
9
  specs:
10
10
  activemodel (3.0.20)
11
11
  activesupport (= 3.0.20)
@@ -22,11 +22,26 @@ GEM
22
22
  rake
23
23
  arel (2.0.10)
24
24
  builder (2.1.2)
25
+ colorize (0.7.5)
26
+ coveralls (0.5.8)
27
+ colorize
28
+ json
29
+ rest-client
30
+ simplecov (>= 0.7)
31
+ thor
25
32
  diff-lcs (1.1.3)
33
+ docile (1.1.5)
26
34
  fastercsv (1.5.5)
27
35
  i18n (0.5.0)
28
- multi_json (1.7.9)
36
+ json (1.8.2)
37
+ mime-types (1.25.1)
38
+ multi_json (1.11.0)
29
39
  rake (0.9.6)
40
+ rdoc (4.2.0)
41
+ json (~> 1.4)
42
+ rest-client (1.6.8)
43
+ mime-types (~> 1.16)
44
+ rdoc (>= 2.4.2)
30
45
  rspec (2.8.0)
31
46
  rspec-core (~> 2.8.0)
32
47
  rspec-expectations (~> 2.8.0)
@@ -35,11 +50,13 @@ GEM
35
50
  rspec-expectations (2.8.0)
36
51
  diff-lcs (~> 1.1.2)
37
52
  rspec-mocks (2.8.0)
38
- simplecov (0.7.1)
53
+ simplecov (0.9.2)
54
+ docile (~> 1.1.0)
39
55
  multi_json (~> 1.0)
40
- simplecov-html (~> 0.7.1)
41
- simplecov-html (0.7.1)
56
+ simplecov-html (~> 0.9.0)
57
+ simplecov-html (0.9.0)
42
58
  sqlite3 (1.3.8)
59
+ thor (0.19.1)
43
60
  tzinfo (0.3.37)
44
61
 
45
62
  PLATFORMS
@@ -50,8 +67,9 @@ DEPENDENCIES
50
67
  activesupport (= 3.0.20)
51
68
  appraisal (~> 0.4.1)
52
69
  comma!
70
+ coveralls
53
71
  fastercsv
54
72
  rake (~> 0.9.2)
73
+ rest-client (> 1.6.2, < 1.7)
55
74
  rspec (~> 2.8.0)
56
- simplecov
57
75
  sqlite3 (~> 1.3.4)
@@ -1,8 +1,10 @@
1
1
  # This file was generated by Appraisal
2
2
 
3
- source "http://rubygems.org"
3
+ source "https://rubygems.org"
4
4
 
5
+ gem "coveralls", :require=>false
5
6
  gem "fastercsv", :platforms=>:ruby_18
7
+ gem "rest-client", "> 1.6.2", "< 1.7", :require=>false
6
8
  gem "activesupport", "3.1.12"
7
9
  gem "activerecord", "3.1.12"
8
10
 
@@ -1,11 +1,11 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- comma (3.2.2)
4
+ comma (3.2.3)
5
5
  activesupport (>= 3.0.0)
6
6
 
7
7
  GEM
8
- remote: http://rubygems.org/
8
+ remote: https://rubygems.org/
9
9
  specs:
10
10
  activemodel (3.1.12)
11
11
  activesupport (= 3.1.12)
@@ -23,11 +23,26 @@ GEM
23
23
  rake
24
24
  arel (2.2.3)
25
25
  builder (3.0.4)
26
+ colorize (0.7.5)
27
+ coveralls (0.5.8)
28
+ colorize
29
+ json
30
+ rest-client
31
+ simplecov (>= 0.7)
32
+ thor
26
33
  diff-lcs (1.1.3)
34
+ docile (1.1.5)
27
35
  fastercsv (1.5.5)
28
36
  i18n (0.6.4)
37
+ json (1.8.2)
38
+ mime-types (1.25.1)
29
39
  multi_json (1.7.4)
30
40
  rake (0.9.6)
41
+ rdoc (4.2.0)
42
+ json (~> 1.4)
43
+ rest-client (1.6.8)
44
+ mime-types (~> 1.16)
45
+ rdoc (>= 2.4.2)
31
46
  rspec (2.8.0)
32
47
  rspec-core (~> 2.8.0)
33
48
  rspec-expectations (~> 2.8.0)
@@ -36,11 +51,13 @@ GEM
36
51
  rspec-expectations (2.8.0)
37
52
  diff-lcs (~> 1.1.2)
38
53
  rspec-mocks (2.8.0)
39
- simplecov (0.7.1)
54
+ simplecov (0.9.2)
55
+ docile (~> 1.1.0)
40
56
  multi_json (~> 1.0)
41
- simplecov-html (~> 0.7.1)
42
- simplecov-html (0.7.1)
57
+ simplecov-html (~> 0.9.0)
58
+ simplecov-html (0.9.0)
43
59
  sqlite3 (1.3.7)
60
+ thor (0.19.1)
44
61
  tzinfo (0.3.37)
45
62
 
46
63
  PLATFORMS
@@ -51,8 +68,9 @@ DEPENDENCIES
51
68
  activesupport (= 3.1.12)
52
69
  appraisal (~> 0.4.1)
53
70
  comma!
71
+ coveralls
54
72
  fastercsv
55
73
  rake (~> 0.9.2)
74
+ rest-client (> 1.6.2, < 1.7)
56
75
  rspec (~> 2.8.0)
57
- simplecov
58
76
  sqlite3 (~> 1.3.4)
@@ -1,8 +1,10 @@
1
1
  # This file was generated by Appraisal
2
2
 
3
- source "http://rubygems.org"
3
+ source "https://rubygems.org"
4
4
 
5
+ gem "coveralls", :require=>false
5
6
  gem "fastercsv", :platforms=>:ruby_18
7
+ gem "rest-client", "> 1.6.2", "< 1.7", :require=>false
6
8
  gem "activesupport", "3.2.20"
7
9
  gem "activerecord", "3.2.20"
8
10
 
@@ -1,11 +1,11 @@
1
1
  PATH
2
2
  remote: ../
3
3
  specs:
4
- comma (3.2.2)
4
+ comma (3.2.3)
5
5
  activesupport (>= 3.0.0)
6
6
 
7
7
  GEM
8
- remote: http://rubygems.org/
8
+ remote: https://rubygems.org/
9
9
  specs:
10
10
  activemodel (3.2.20)
11
11
  activesupport (= 3.2.20)
@@ -23,12 +23,26 @@ GEM
23
23
  rake
24
24
  arel (3.0.3)
25
25
  builder (3.0.4)
26
+ colorize (0.7.5)
27
+ coveralls (0.5.8)
28
+ colorize
29
+ json
30
+ rest-client
31
+ simplecov (>= 0.7)
32
+ thor
26
33
  diff-lcs (1.1.3)
27
34
  docile (1.1.5)
28
35
  fastercsv (1.5.5)
29
36
  i18n (0.6.11)
37
+ json (1.8.2)
38
+ mime-types (1.25.1)
30
39
  multi_json (1.10.1)
31
40
  rake (0.9.6)
41
+ rdoc (4.2.0)
42
+ json (~> 1.4)
43
+ rest-client (1.6.8)
44
+ mime-types (~> 1.16)
45
+ rdoc (>= 2.4.2)
32
46
  rspec (2.8.0)
33
47
  rspec-core (~> 2.8.0)
34
48
  rspec-expectations (~> 2.8.0)
@@ -37,12 +51,13 @@ GEM
37
51
  rspec-expectations (2.8.0)
38
52
  diff-lcs (~> 1.1.2)
39
53
  rspec-mocks (2.8.0)
40
- simplecov (0.9.1)
54
+ simplecov (0.9.2)
41
55
  docile (~> 1.1.0)
42
56
  multi_json (~> 1.0)
43
- simplecov-html (~> 0.8.0)
44
- simplecov-html (0.8.0)
57
+ simplecov-html (~> 0.9.0)
58
+ simplecov-html (0.9.0)
45
59
  sqlite3 (1.3.10)
60
+ thor (0.19.1)
46
61
  tzinfo (0.3.42)
47
62
 
48
63
  PLATFORMS
@@ -53,8 +68,9 @@ DEPENDENCIES
53
68
  activesupport (= 3.2.20)
54
69
  appraisal (~> 0.4.1)
55
70
  comma!
71
+ coveralls
56
72
  fastercsv
57
73
  rake (~> 0.9.2)
74
+ rest-client (> 1.6.2, < 1.7)
58
75
  rspec (~> 2.8.0)
59
- simplecov
60
76
  sqlite3 (~> 1.3.4)