csv_creator 0.9.2 → 0.9.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.
- checksums.yaml +4 -4
- data/README.md +4 -0
- data/csv_creator.gemspec +1 -1
- data/lib/csv_creator/version.rb +1 -1
- metadata +3 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a4baa1eaab752194df0b6cc1f58aab6a5d7fe5f6
|
4
|
+
data.tar.gz: f0787e5b6775585041a08c701fe20e642171e9bc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ca044e658a63044942147e94d4eebb93d3a68c91d0b984ea11ed0abf0e907596782af0ff2e60fb31cc14e1b40facae68fec97bf1493f088b454130b5242e3b40
|
7
|
+
data.tar.gz: 13417775afbca7e7da19a223fa4b9462e671375ea5a60f4eeb3a4771da6a312a48d598d71e7c19de24d57c9679ca70d73862826e83d76b1364ed32fe19b1a9c9
|
data/README.md
CHANGED
@@ -27,6 +27,10 @@ There is also an alias method `generate`. It does the same thing and takes the s
|
|
27
27
|
CsvCreator.create(my_collection)
|
28
28
|
```
|
29
29
|
|
30
|
+
#### Rails
|
31
|
+
|
32
|
+
Example application that shows how this gem can be used in Rails with Activerecord (works with Mongoid as well) is under [this link](https://github.com/dsawa/csv_creator_example).
|
33
|
+
|
30
34
|
### Options
|
31
35
|
|
32
36
|
Options can be passed as second argument to the `create` method. The default options hash looks like this.
|
data/csv_creator.gemspec
CHANGED
@@ -27,7 +27,7 @@ Gem::Specification.new do |spec|
|
|
27
27
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
28
28
|
spec.require_paths = ["lib"]
|
29
29
|
|
30
|
-
spec.add_runtime_dependency "activesupport", "
|
30
|
+
spec.add_runtime_dependency "activesupport", ">= 4.0"
|
31
31
|
|
32
32
|
spec.add_development_dependency "bundler", "~> 1.10"
|
33
33
|
spec.add_development_dependency "rake", "~> 10.0"
|
data/lib/csv_creator/version.rb
CHANGED
metadata
CHANGED
@@ -1,22 +1,19 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: csv_creator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dorian Sawa
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-03-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "~>"
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '4.0'
|
20
17
|
- - ">="
|
21
18
|
- !ruby/object:Gem::Version
|
22
19
|
version: '4.0'
|
@@ -24,9 +21,6 @@ dependencies:
|
|
24
21
|
prerelease: false
|
25
22
|
version_requirements: !ruby/object:Gem::Requirement
|
26
23
|
requirements:
|
27
|
-
- - "~>"
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
version: '4.0'
|
30
24
|
- - ">="
|
31
25
|
- !ruby/object:Gem::Version
|
32
26
|
version: '4.0'
|
@@ -128,7 +122,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
128
122
|
version: '0'
|
129
123
|
requirements: []
|
130
124
|
rubyforge_project:
|
131
|
-
rubygems_version: 2.
|
125
|
+
rubygems_version: 2.5.1
|
132
126
|
signing_key:
|
133
127
|
specification_version: 4
|
134
128
|
summary: This gem can help you with generating CSV file from collections of objects.
|