csv-mapper 0.5.0 → 0.5.1
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.
data/csv-mapper.gemspec
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
# Generated by jeweler
|
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
|
|
4
|
+
# -*- encoding: utf-8 -*-
|
|
5
|
+
|
|
6
|
+
Gem::Specification.new do |s|
|
|
7
|
+
s.name = %q{csv-mapper}
|
|
8
|
+
s.version = "0.5.1"
|
|
9
|
+
|
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
|
+
s.authors = ["Luke Pillow"]
|
|
12
|
+
s.date = %q{2010-05-19}
|
|
13
|
+
s.description = %q{CSV Mapper makes it easy to import data from CSV files directly to a collection of any type of Ruby object. The simplest way to create mappings is declare the names of the attributes in the order corresponding to the CSV file column order.}
|
|
14
|
+
s.email = %q{lpillow@gmail.com}
|
|
15
|
+
s.extra_rdoc_files = [
|
|
16
|
+
"History.txt",
|
|
17
|
+
"LICENSE",
|
|
18
|
+
"README.rdoc"
|
|
19
|
+
]
|
|
20
|
+
s.files = [
|
|
21
|
+
".gitignore",
|
|
22
|
+
"History.txt",
|
|
23
|
+
"LICENSE",
|
|
24
|
+
"README.rdoc",
|
|
25
|
+
"Rakefile",
|
|
26
|
+
"VERSION",
|
|
27
|
+
"csv-mapper.gemspec",
|
|
28
|
+
"lib/csv-mapper.rb",
|
|
29
|
+
"lib/csv-mapper/attribute_map.rb",
|
|
30
|
+
"lib/csv-mapper/row_map.rb",
|
|
31
|
+
"spec/csv-mapper/attribute_map_spec.rb",
|
|
32
|
+
"spec/csv-mapper/row_map_spec.rb",
|
|
33
|
+
"spec/csv-mapper_spec.rb",
|
|
34
|
+
"spec/spec.opts",
|
|
35
|
+
"spec/spec_helper.rb",
|
|
36
|
+
"spec/test.csv"
|
|
37
|
+
]
|
|
38
|
+
s.homepage = %q{http://github.com/pillowfactory/csv-mapper}
|
|
39
|
+
s.rdoc_options = ["--charset=UTF-8"]
|
|
40
|
+
s.require_paths = ["lib"]
|
|
41
|
+
s.rubygems_version = %q{1.3.6}
|
|
42
|
+
s.summary = %q{CsvMapper is a small library intended to simplify the common steps involved with importing CSV files to a usable form in Ruby.}
|
|
43
|
+
s.test_files = [
|
|
44
|
+
"spec/csv-mapper/attribute_map_spec.rb",
|
|
45
|
+
"spec/csv-mapper/row_map_spec.rb",
|
|
46
|
+
"spec/csv-mapper_spec.rb",
|
|
47
|
+
"spec/spec_helper.rb"
|
|
48
|
+
]
|
|
49
|
+
|
|
50
|
+
if s.respond_to? :specification_version then
|
|
51
|
+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
|
52
|
+
s.specification_version = 3
|
|
53
|
+
|
|
54
|
+
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
|
55
|
+
s.add_development_dependency(%q<rspec>, [">= 1.2.9"])
|
|
56
|
+
s.add_runtime_dependency(%q<fastercsv>, [">= 0"])
|
|
57
|
+
else
|
|
58
|
+
s.add_dependency(%q<rspec>, [">= 1.2.9"])
|
|
59
|
+
s.add_dependency(%q<fastercsv>, [">= 0"])
|
|
60
|
+
end
|
|
61
|
+
else
|
|
62
|
+
s.add_dependency(%q<rspec>, [">= 1.2.9"])
|
|
63
|
+
s.add_dependency(%q<fastercsv>, [">= 0"])
|
|
64
|
+
end
|
|
65
|
+
end
|
|
66
|
+
|
|
File without changes
|
|
File without changes
|
metadata
CHANGED
|
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
|
5
5
|
segments:
|
|
6
6
|
- 0
|
|
7
7
|
- 5
|
|
8
|
-
-
|
|
9
|
-
version: 0.5.
|
|
8
|
+
- 1
|
|
9
|
+
version: 0.5.1
|
|
10
10
|
platform: ruby
|
|
11
11
|
authors:
|
|
12
12
|
- Luke Pillow
|
|
@@ -14,7 +14,7 @@ autorequire:
|
|
|
14
14
|
bindir: bin
|
|
15
15
|
cert_chain: []
|
|
16
16
|
|
|
17
|
-
date: 2010-05-
|
|
17
|
+
date: 2010-05-19 00:00:00 -05:00
|
|
18
18
|
default_executable:
|
|
19
19
|
dependencies:
|
|
20
20
|
- !ruby/object:Gem::Dependency
|
|
@@ -60,11 +60,12 @@ files:
|
|
|
60
60
|
- README.rdoc
|
|
61
61
|
- Rakefile
|
|
62
62
|
- VERSION
|
|
63
|
+
- csv-mapper.gemspec
|
|
63
64
|
- lib/csv-mapper.rb
|
|
64
65
|
- lib/csv-mapper/attribute_map.rb
|
|
65
66
|
- lib/csv-mapper/row_map.rb
|
|
66
|
-
- spec/csv-mapper/
|
|
67
|
-
- spec/csv-mapper/
|
|
67
|
+
- spec/csv-mapper/attribute_map_spec.rb
|
|
68
|
+
- spec/csv-mapper/row_map_spec.rb
|
|
68
69
|
- spec/csv-mapper_spec.rb
|
|
69
70
|
- spec/spec.opts
|
|
70
71
|
- spec/spec_helper.rb
|
|
@@ -100,7 +101,7 @@ signing_key:
|
|
|
100
101
|
specification_version: 3
|
|
101
102
|
summary: CsvMapper is a small library intended to simplify the common steps involved with importing CSV files to a usable form in Ruby.
|
|
102
103
|
test_files:
|
|
103
|
-
- spec/csv-mapper/
|
|
104
|
-
- spec/csv-mapper/
|
|
104
|
+
- spec/csv-mapper/attribute_map_spec.rb
|
|
105
|
+
- spec/csv-mapper/row_map_spec.rb
|
|
105
106
|
- spec/csv-mapper_spec.rb
|
|
106
107
|
- spec/spec_helper.rb
|