blaxter-duration 0.1.4
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/History.txt +13 -0
- data/License.txt +21 -0
- data/Manifest.txt +36 -0
- data/README.txt +151 -0
- data/Rakefile +4 -0
- data/config/hoe.rb +73 -0
- data/config/requirements.rb +17 -0
- data/lib/duration.rb +216 -0
- data/lib/duration/holidays.rb +3 -0
- data/lib/duration/locale.rb +3 -0
- data/lib/duration/localizations.rb +46 -0
- data/lib/duration/localizations/dutch.rb +16 -0
- data/lib/duration/localizations/english.rb +20 -0
- data/lib/duration/localizations/french.rb +18 -0
- data/lib/duration/localizations/korean.rb +15 -0
- data/lib/duration/localizations/polish.rb +19 -0
- data/lib/duration/localizations/spanish.rb +15 -0
- data/lib/duration/numeric.rb +63 -0
- data/lib/duration/time.rb +11 -0
- data/lib/duration/time/holidays.rb +16 -0
- data/lib/duration/version.rb +13 -0
- data/log/debug.log +0 -0
- data/script/destroy +14 -0
- data/script/generate +14 -0
- data/script/txt2html +74 -0
- data/setup.rb +1585 -0
- data/tasks/deployment.rake +34 -0
- data/tasks/environment.rake +7 -0
- data/tasks/website.rake +17 -0
- data/test/test_duration.rb +11 -0
- data/test/test_helper.rb +2 -0
- data/website/index.html +11 -0
- data/website/index.txt +39 -0
- data/website/javascripts/rounded_corners_lite.inc.js +285 -0
- data/website/stylesheets/screen.css +138 -0
- data/website/template.rhtml +48 -0
- metadata +128 -0
@@ -0,0 +1,48 @@
|
|
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
|
+
<link rel="stylesheet" href="stylesheets/screen.css" type="text/css" media="screen" />
|
6
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
7
|
+
<title>
|
8
|
+
<%= title %>
|
9
|
+
</title>
|
10
|
+
<script src="javascripts/rounded_corners_lite.inc.js" type="text/javascript"></script>
|
11
|
+
<style>
|
12
|
+
|
13
|
+
</style>
|
14
|
+
<script type="text/javascript">
|
15
|
+
window.onload = function() {
|
16
|
+
settings = {
|
17
|
+
tl: { radius: 10 },
|
18
|
+
tr: { radius: 10 },
|
19
|
+
bl: { radius: 10 },
|
20
|
+
br: { radius: 10 },
|
21
|
+
antiAlias: true,
|
22
|
+
autoPad: true,
|
23
|
+
validTags: ["div"]
|
24
|
+
}
|
25
|
+
var versionBox = new curvyCorners(settings, document.getElementById("version"));
|
26
|
+
versionBox.applyCornersToAll();
|
27
|
+
}
|
28
|
+
</script>
|
29
|
+
</head>
|
30
|
+
<body>
|
31
|
+
<div id="main">
|
32
|
+
|
33
|
+
<h1><%= title %></h1>
|
34
|
+
<div id="version" class="clickable" onclick='document.location = "<%= download %>"; return false'>
|
35
|
+
<p>Get Version</p>
|
36
|
+
<a href="<%= download %>" class="numbers"><%= version %></a>
|
37
|
+
</div>
|
38
|
+
<%= body %>
|
39
|
+
<p class="coda">
|
40
|
+
<a href="FIXME email">FIXME full name</a>, <%= modified.pretty %><br>
|
41
|
+
Theme extended from <a href="http://rb2js.rubyforge.org/">Paul Battley</a>
|
42
|
+
</p>
|
43
|
+
</div>
|
44
|
+
|
45
|
+
<!-- insert site tracking codes here, like Google Urchin -->
|
46
|
+
|
47
|
+
</body>
|
48
|
+
</html>
|
metadata
ADDED
@@ -0,0 +1,128 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: blaxter-duration
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 19
|
5
|
+
prerelease:
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 1
|
9
|
+
- 4
|
10
|
+
version: 0.1.4
|
11
|
+
platform: ruby
|
12
|
+
authors:
|
13
|
+
- Matthew Harris
|
14
|
+
autorequire:
|
15
|
+
bindir: bin
|
16
|
+
cert_chain: []
|
17
|
+
|
18
|
+
date: 2011-01-27 00:00:00 +01:00
|
19
|
+
default_executable:
|
20
|
+
dependencies:
|
21
|
+
- !ruby/object:Gem::Dependency
|
22
|
+
name: hoe
|
23
|
+
prerelease: false
|
24
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
hash: 47
|
30
|
+
segments:
|
31
|
+
- 2
|
32
|
+
- 8
|
33
|
+
- 0
|
34
|
+
version: 2.8.0
|
35
|
+
type: :development
|
36
|
+
version_requirements: *id001
|
37
|
+
description: |
|
38
|
+
|
39
|
+
Duration is a library for manipulating timespans. It can give you readable
|
40
|
+
output for a timespan as well as manipulate the timespan itself. With this
|
41
|
+
it is possible to make "countdowns" or "time passed since" type objects.
|
42
|
+
|
43
|
+
email: matt@matthewharris.org
|
44
|
+
executables: []
|
45
|
+
|
46
|
+
extensions: []
|
47
|
+
|
48
|
+
extra_rdoc_files:
|
49
|
+
- History.txt
|
50
|
+
- License.txt
|
51
|
+
- Manifest.txt
|
52
|
+
- README.txt
|
53
|
+
- website/index.txt
|
54
|
+
files:
|
55
|
+
- History.txt
|
56
|
+
- License.txt
|
57
|
+
- Manifest.txt
|
58
|
+
- README.txt
|
59
|
+
- Rakefile
|
60
|
+
- config/hoe.rb
|
61
|
+
- config/requirements.rb
|
62
|
+
- lib/duration.rb
|
63
|
+
- lib/duration/holidays.rb
|
64
|
+
- lib/duration/locale.rb
|
65
|
+
- lib/duration/localizations.rb
|
66
|
+
- lib/duration/localizations/dutch.rb
|
67
|
+
- lib/duration/localizations/english.rb
|
68
|
+
- lib/duration/localizations/french.rb
|
69
|
+
- lib/duration/localizations/korean.rb
|
70
|
+
- lib/duration/localizations/polish.rb
|
71
|
+
- lib/duration/localizations/spanish.rb
|
72
|
+
- lib/duration/numeric.rb
|
73
|
+
- lib/duration/time.rb
|
74
|
+
- lib/duration/time/holidays.rb
|
75
|
+
- lib/duration/version.rb
|
76
|
+
- log/debug.log
|
77
|
+
- script/destroy
|
78
|
+
- script/generate
|
79
|
+
- script/txt2html
|
80
|
+
- setup.rb
|
81
|
+
- tasks/deployment.rake
|
82
|
+
- tasks/environment.rake
|
83
|
+
- tasks/website.rake
|
84
|
+
- test/test_duration.rb
|
85
|
+
- test/test_helper.rb
|
86
|
+
- website/index.html
|
87
|
+
- website/index.txt
|
88
|
+
- website/javascripts/rounded_corners_lite.inc.js
|
89
|
+
- website/stylesheets/screen.css
|
90
|
+
- website/template.rhtml
|
91
|
+
has_rdoc: true
|
92
|
+
homepage: http://duration.rubyforge.org
|
93
|
+
licenses: []
|
94
|
+
|
95
|
+
post_install_message:
|
96
|
+
rdoc_options:
|
97
|
+
- --main
|
98
|
+
- README.txt
|
99
|
+
require_paths:
|
100
|
+
- lib
|
101
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
102
|
+
none: false
|
103
|
+
requirements:
|
104
|
+
- - ">="
|
105
|
+
- !ruby/object:Gem::Version
|
106
|
+
hash: 3
|
107
|
+
segments:
|
108
|
+
- 0
|
109
|
+
version: "0"
|
110
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
111
|
+
none: false
|
112
|
+
requirements:
|
113
|
+
- - ">="
|
114
|
+
- !ruby/object:Gem::Version
|
115
|
+
hash: 3
|
116
|
+
segments:
|
117
|
+
- 0
|
118
|
+
version: "0"
|
119
|
+
requirements: []
|
120
|
+
|
121
|
+
rubyforge_project: duration
|
122
|
+
rubygems_version: 1.4.2
|
123
|
+
signing_key:
|
124
|
+
specification_version: 3
|
125
|
+
summary: Duration is a library for manipulating timespans. It can give you readable output for a timespan as well as manipulate the timespan itself. With this it is possible to make "countdowns" or "time passed since" type objects.
|
126
|
+
test_files:
|
127
|
+
- test/test_helper.rb
|
128
|
+
- test/test_duration.rb
|