mongoid_to_csv 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.rdoc CHANGED
@@ -48,7 +48,9 @@ Note that object.send(attribute_name) is used, so datetime fields will be return
48
48
 
49
49
  == Compatibility
50
50
 
51
- Tested with Ruby 1.9.2-p290 and Mongoid v2.0.2
51
+ Tested with Ruby 1.9.2-p318 and Mongoid v2.0.2
52
+
53
+ If you are using a lower version of Ruby 1.9.2-p318 (the p318 is important), you need to install and require the `faster_csv` gem. This was tested with faster_csv v1.5.4.
52
54
 
53
55
  == Related gems
54
56
 
@@ -1,3 +1,3 @@
1
1
  module MongoidToCSV
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
@@ -19,9 +19,7 @@ Gem::Specification.new do |s|
19
19
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
20
20
  s.require_paths = ["lib"]
21
21
 
22
- if ENV['RUBY_VERSION'] < 'ruby-1.9.2-p318'
23
- s.add_dependency 'fastercsv'
24
- end
22
+ s.add_dependency 'fastercsv'
25
23
  s.add_dependency 'mongoid', '>= 2.0.0.rc.7'
26
24
 
27
25
  s.add_development_dependency 'rspec', '2.6.0'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mongoid_to_csv
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -11,9 +11,20 @@ bindir: bin
11
11
  cert_chain: []
12
12
  date: 2012-05-11 00:00:00.000000000Z
13
13
  dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: fastercsv
16
+ requirement: &70123828193340 !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: *70123828193340
14
25
  - !ruby/object:Gem::Dependency
15
26
  name: mongoid
16
- requirement: &70342848827680 !ruby/object:Gem::Requirement
27
+ requirement: &70123838776380 !ruby/object:Gem::Requirement
17
28
  none: false
18
29
  requirements:
19
30
  - - ! '>='
@@ -21,10 +32,10 @@ dependencies:
21
32
  version: 2.0.0.rc.7
22
33
  type: :runtime
23
34
  prerelease: false
24
- version_requirements: *70342848827680
35
+ version_requirements: *70123838776380
25
36
  - !ruby/object:Gem::Dependency
26
37
  name: rspec
27
- requirement: &70342848827180 !ruby/object:Gem::Requirement
38
+ requirement: &70123838775880 !ruby/object:Gem::Requirement
28
39
  none: false
29
40
  requirements:
30
41
  - - =
@@ -32,10 +43,10 @@ dependencies:
32
43
  version: 2.6.0
33
44
  type: :development
34
45
  prerelease: false
35
- version_requirements: *70342848827180
46
+ version_requirements: *70123838775880
36
47
  - !ruby/object:Gem::Dependency
37
48
  name: mongo
38
- requirement: &70342848826720 !ruby/object:Gem::Requirement
49
+ requirement: &70123838775420 !ruby/object:Gem::Requirement
39
50
  none: false
40
51
  requirements:
41
52
  - - ! '>='
@@ -43,10 +54,10 @@ dependencies:
43
54
  version: 1.3.1
44
55
  type: :development
45
56
  prerelease: false
46
- version_requirements: *70342848826720
57
+ version_requirements: *70123838775420
47
58
  - !ruby/object:Gem::Dependency
48
59
  name: bson_ext
49
- requirement: &70342848826340 !ruby/object:Gem::Requirement
60
+ requirement: &70123838775040 !ruby/object:Gem::Requirement
50
61
  none: false
51
62
  requirements:
52
63
  - - ! '>='
@@ -54,7 +65,7 @@ dependencies:
54
65
  version: '0'
55
66
  type: :development
56
67
  prerelease: false
57
- version_requirements: *70342848826340
68
+ version_requirements: *70123838775040
58
69
  description: Simple Mongoid Model to_csv() class method that preserves scopes
59
70
  email:
60
71
  - jared@redningja.com