jruby-ehcache 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. data/History.txt +15 -0
  2. data/License.txt +22 -0
  3. data/Manifest.txt +37 -0
  4. data/PostInstall.txt +2 -0
  5. data/README.txt +84 -0
  6. data/Rakefile +46 -0
  7. data/VERSION +1 -0
  8. data/bin/ehcache +28 -0
  9. data/config/ehcache.yml +22 -0
  10. data/config/ehcache_manual_rmi.yml +27 -0
  11. data/ext/ehcache-2.2.0/ehcache-core-2.2.0.jar +0 -0
  12. data/ext/ehcache-2.2.0/ehcache-terracotta-2.2.0.jar +0 -0
  13. data/ext/ehcache-2.2.0/slf4j-api-1.5.11.jar +0 -0
  14. data/ext/ehcache-2.2.0/slf4j-jdk14-1.5.11.jar +0 -0
  15. data/ext/ehcache-2.2.0/terracotta-toolkit-1.0-runtime-1.0.0.jar +0 -0
  16. data/lib/ehcache.rb +22 -0
  17. data/lib/ehcache/cache.rb +127 -0
  18. data/lib/ehcache/cache_manager.rb +65 -0
  19. data/lib/ehcache/config.rb +128 -0
  20. data/lib/ehcache/element.rb +27 -0
  21. data/lib/ehcache/extensions.rb +28 -0
  22. data/lib/ehcache/java.rb +8 -0
  23. data/lib/ehcache/status.rb +9 -0
  24. data/lib/ehcache/version.rb +9 -0
  25. data/script/console +10 -0
  26. data/script/destroy +14 -0
  27. data/script/generate +14 -0
  28. data/script/txt2html +82 -0
  29. data/setup.rb +1585 -0
  30. data/spec/cache_manager_spec.rb +81 -0
  31. data/spec/cache_spec.rb +86 -0
  32. data/spec/spec.opts +2 -0
  33. data/spec/spec_helper.rb +12 -0
  34. data/tasks/deployment.rake +34 -0
  35. data/tasks/environment.rake +7 -0
  36. data/tasks/website.rake +17 -0
  37. data/test/test_ehcache.rb +11 -0
  38. data/test/test_ehcachejr.rb +11 -0
  39. data/test/test_helper.rb +2 -0
  40. data/website/index.html +141 -0
  41. data/website/javascripts/rounded_corners_lite.inc.js +285 -0
  42. data/website/stylesheets/screen.css +138 -0
  43. data/website/template.html.erb +48 -0
  44. metadata +114 -0
@@ -0,0 +1,138 @@
1
+ body {
2
+ background-color: #E1D1F1;
3
+ font-family: "Georgia", sans-serif;
4
+ font-size: 16px;
5
+ line-height: 1.6em;
6
+ padding: 1.6em 0 0 0;
7
+ color: #333;
8
+ }
9
+ h1, h2, h3, h4, h5, h6 {
10
+ color: #444;
11
+ }
12
+ h1 {
13
+ font-family: sans-serif;
14
+ font-weight: normal;
15
+ font-size: 4em;
16
+ line-height: 0.8em;
17
+ letter-spacing: -0.1ex;
18
+ margin: 5px;
19
+ }
20
+ li {
21
+ padding: 0;
22
+ margin: 0;
23
+ list-style-type: square;
24
+ }
25
+ a {
26
+ color: #5E5AFF;
27
+ background-color: #DAC;
28
+ font-weight: normal;
29
+ text-decoration: underline;
30
+ }
31
+ blockquote {
32
+ font-size: 90%;
33
+ font-style: italic;
34
+ border-left: 1px solid #111;
35
+ padding-left: 1em;
36
+ }
37
+ .caps {
38
+ font-size: 80%;
39
+ }
40
+
41
+ #main {
42
+ width: 45em;
43
+ padding: 0;
44
+ margin: 0 auto;
45
+ }
46
+ .coda {
47
+ text-align: right;
48
+ color: #77f;
49
+ font-size: smaller;
50
+ }
51
+
52
+ table {
53
+ font-size: 90%;
54
+ line-height: 1.4em;
55
+ color: #ff8;
56
+ background-color: #111;
57
+ padding: 2px 10px 2px 10px;
58
+ border-style: dashed;
59
+ }
60
+
61
+ th {
62
+ color: #fff;
63
+ }
64
+
65
+ td {
66
+ padding: 2px 10px 2px 10px;
67
+ }
68
+
69
+ .success {
70
+ color: #0CC52B;
71
+ }
72
+
73
+ .failed {
74
+ color: #E90A1B;
75
+ }
76
+
77
+ .unknown {
78
+ color: #995000;
79
+ }
80
+ pre, code {
81
+ font-family: monospace;
82
+ font-size: 90%;
83
+ line-height: 1.4em;
84
+ color: #ff8;
85
+ background-color: #111;
86
+ padding: 2px 10px 2px 10px;
87
+ }
88
+ .comment { color: #aaa; font-style: italic; }
89
+ .keyword { color: #eff; font-weight: bold; }
90
+ .punct { color: #eee; font-weight: bold; }
91
+ .symbol { color: #0bb; }
92
+ .string { color: #6b4; }
93
+ .ident { color: #ff8; }
94
+ .constant { color: #66f; }
95
+ .regex { color: #ec6; }
96
+ .number { color: #F99; }
97
+ .expr { color: #227; }
98
+
99
+ #version {
100
+ float: right;
101
+ text-align: right;
102
+ font-family: sans-serif;
103
+ font-weight: normal;
104
+ background-color: #B3ABFF;
105
+ color: #141331;
106
+ padding: 15px 20px 10px 20px;
107
+ margin: 0 auto;
108
+ margin-top: 15px;
109
+ border: 3px solid #141331;
110
+ }
111
+
112
+ #version .numbers {
113
+ display: block;
114
+ font-size: 4em;
115
+ line-height: 0.8em;
116
+ letter-spacing: -0.1ex;
117
+ margin-bottom: 15px;
118
+ }
119
+
120
+ #version p {
121
+ text-decoration: none;
122
+ color: #141331;
123
+ background-color: #B3ABFF;
124
+ margin: 0;
125
+ padding: 0;
126
+ }
127
+
128
+ #version a {
129
+ text-decoration: none;
130
+ color: #141331;
131
+ background-color: #B3ABFF;
132
+ }
133
+
134
+ .clickable {
135
+ cursor: pointer;
136
+ cursor: hand;
137
+ }
138
+
@@ -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,114 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: jruby-ehcache
3
+ version: !ruby/object:Gem::Version
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 5
8
+ - 0
9
+ version: 0.5.0
10
+ platform: ruby
11
+ authors:
12
+ - Dylan Stamat
13
+ - Jason Voegele
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain: []
17
+
18
+ date: 2010-09-24 00:00:00 -04:00
19
+ default_executable: ehcache
20
+ dependencies: []
21
+
22
+ description: JRuby interface to the popular Java caching library Ehcache
23
+ email:
24
+ - dstamat@elctech.com
25
+ - jvoegele@terracotta.org
26
+ executables:
27
+ - ehcache
28
+ extensions: []
29
+
30
+ extra_rdoc_files:
31
+ - README.txt
32
+ files:
33
+ - History.txt
34
+ - License.txt
35
+ - Manifest.txt
36
+ - PostInstall.txt
37
+ - README.txt
38
+ - Rakefile
39
+ - VERSION
40
+ - bin/ehcache
41
+ - config/ehcache.yml
42
+ - config/ehcache_manual_rmi.yml
43
+ - ext/ehcache-2.2.0/ehcache-core-2.2.0.jar
44
+ - ext/ehcache-2.2.0/ehcache-terracotta-2.2.0.jar
45
+ - ext/ehcache-2.2.0/slf4j-api-1.5.11.jar
46
+ - ext/ehcache-2.2.0/slf4j-jdk14-1.5.11.jar
47
+ - ext/ehcache-2.2.0/terracotta-toolkit-1.0-runtime-1.0.0.jar
48
+ - lib/ehcache.rb
49
+ - lib/ehcache/cache.rb
50
+ - lib/ehcache/cache_manager.rb
51
+ - lib/ehcache/config.rb
52
+ - lib/ehcache/element.rb
53
+ - lib/ehcache/extensions.rb
54
+ - lib/ehcache/java.rb
55
+ - lib/ehcache/status.rb
56
+ - lib/ehcache/version.rb
57
+ - script/console
58
+ - script/destroy
59
+ - script/generate
60
+ - script/txt2html
61
+ - setup.rb
62
+ - spec/cache_manager_spec.rb
63
+ - spec/cache_spec.rb
64
+ - spec/spec.opts
65
+ - spec/spec_helper.rb
66
+ - tasks/deployment.rake
67
+ - tasks/environment.rake
68
+ - tasks/website.rake
69
+ - test/test_ehcache.rb
70
+ - test/test_ehcachejr.rb
71
+ - test/test_helper.rb
72
+ - website/index.html
73
+ - website/javascripts/rounded_corners_lite.inc.js
74
+ - website/stylesheets/screen.css
75
+ - website/template.html.erb
76
+ has_rdoc: true
77
+ homepage: http://ehcache.rubyforge.org
78
+ licenses: []
79
+
80
+ post_install_message:
81
+ rdoc_options:
82
+ - --charset=UTF-8
83
+ require_paths:
84
+ - lib
85
+ required_ruby_version: !ruby/object:Gem::Requirement
86
+ none: false
87
+ requirements:
88
+ - - ">="
89
+ - !ruby/object:Gem::Version
90
+ segments:
91
+ - 0
92
+ version: "0"
93
+ required_rubygems_version: !ruby/object:Gem::Requirement
94
+ none: false
95
+ requirements:
96
+ - - ">="
97
+ - !ruby/object:Gem::Version
98
+ segments:
99
+ - 0
100
+ version: "0"
101
+ requirements: []
102
+
103
+ rubyforge_project: ehcache
104
+ rubygems_version: 1.3.7
105
+ signing_key:
106
+ specification_version: 3
107
+ summary: JRuby interface to Ehcache
108
+ test_files:
109
+ - spec/cache_manager_spec.rb
110
+ - spec/cache_spec.rb
111
+ - spec/spec_helper.rb
112
+ - test/test_ehcache.rb
113
+ - test/test_ehcachejr.rb
114
+ - test/test_helper.rb