csv-mapper 0.0.4 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +2 -0
- data/History.txt +9 -0
- data/LICENSE +22 -0
- data/README.rdoc +17 -34
- data/Rakefile +47 -28
- data/VERSION +1 -0
- data/lib/csv-mapper.rb +9 -231
- data/lib/csv-mapper/attribute_map.rb +55 -0
- data/lib/csv-mapper/row_map.rb +179 -0
- data/spec/{csv-mapper_attribute_map_spec.rb → csv-mapper/csv-mapper_attribute_map_spec.rb} +19 -4
- data/spec/{csv-mapper_row_map_spec.rb → csv-mapper/csv-mapper_row_map_spec.rb} +9 -7
- data/spec/csv-mapper_spec.rb +150 -53
- data/spec/spec.opts +1 -1
- data/spec/spec_helper.rb +8 -9
- metadata +47 -56
- data/Manifest.txt +0 -25
- data/PostInstall.txt +0 -5
- data/config/website.yml +0 -2
- data/script/console +0 -10
- data/script/destroy +0 -14
- data/script/generate +0 -14
- data/script/txt2html +0 -71
- data/tasks/rspec.rake +0 -21
- data/test/test_csv-mapper.rb +0 -11
- data/test/test_helper.rb +0 -3
- data/website/index.html +0 -137
- data/website/index.txt +0 -110
- data/website/javascripts/rounded_corners_lite.inc.js +0 -285
- data/website/stylesheets/screen.css +0 -159
- data/website/template.html.erb +0 -59
data/website/template.html.erb
DELETED
@@ -1,59 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
2
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
|
-
<head>
|
5
|
-
<meta name="verify-v1" content="VP4WBfIIAPFHiYFYFOAmbwXfPtWF4DrWkzI91Z9JAwI=" />
|
6
|
-
<link rel="stylesheet" href="stylesheets/screen.css" type="text/css" media="screen" />
|
7
|
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
8
|
-
<title>
|
9
|
-
<%= title %>
|
10
|
-
</title>
|
11
|
-
<script src="javascripts/rounded_corners_lite.inc.js" type="text/javascript"></script>
|
12
|
-
<style>
|
13
|
-
|
14
|
-
</style>
|
15
|
-
<script type="text/javascript">
|
16
|
-
window.onload = function() {
|
17
|
-
settings = {
|
18
|
-
tl: { radius: 10 },
|
19
|
-
tr: { radius: 10 },
|
20
|
-
bl: { radius: 10 },
|
21
|
-
br: { radius: 10 },
|
22
|
-
antiAlias: true,
|
23
|
-
autoPad: true,
|
24
|
-
validTags: ["div"]
|
25
|
-
}
|
26
|
-
var versionBox = new curvyCorners(settings, document.getElementById("version"));
|
27
|
-
versionBox.applyCornersToAll();
|
28
|
-
}
|
29
|
-
</script>
|
30
|
-
</head>
|
31
|
-
<body>
|
32
|
-
<div id="main">
|
33
|
-
|
34
|
-
<h1><%= title %></h1>
|
35
|
-
<div class="sidebar">
|
36
|
-
<div id="version" class="clickable" onclick='document.location = "<%= download %>"; return false'>
|
37
|
-
<p>Get Version</p>
|
38
|
-
<a href="<%= download %>" class="numbers"><%= version %></a>
|
39
|
-
</div>
|
40
|
-
</div>
|
41
|
-
<%= body %>
|
42
|
-
<p class="coda">
|
43
|
-
<a href="http://www.pillowfactory.org">Luke Pillow</a>, <%= modified.pretty %><br>
|
44
|
-
Theme extended from <a href="http://rb2js.rubyforge.org/">Paul Battley</a>
|
45
|
-
</p>
|
46
|
-
</div>
|
47
|
-
|
48
|
-
<!-- insert site tracking codes here, like Google Urchin -->
|
49
|
-
<script type="text/javascript">
|
50
|
-
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
|
51
|
-
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
|
52
|
-
</script>
|
53
|
-
<script type="text/javascript">
|
54
|
-
try {
|
55
|
-
var pageTracker = _gat._getTracker("UA-6579393-1");
|
56
|
-
pageTracker._trackPageview();
|
57
|
-
} catch(err) {}</script>
|
58
|
-
</body>
|
59
|
-
</html>
|