vikinggem 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Manifest.txt +9 -3
- data/lib/viking/version.rb +1 -1
- data/tasks/deployment.rake +34 -0
- data/tasks/environment.rake +7 -0
- data/tasks/rspec.rake +31 -0
- data/tasks/website.rake +17 -0
- data/website/index.html +135 -0
- data/website/index.txt +69 -0
- data/website/stylesheets/screen.css +138 -0
- data/website/template.html.erb +48 -0
- metadata +10 -3
- data/.gitignore +0 -6
- data/config/requirements.rb +0 -15
data/Manifest.txt
CHANGED
@@ -1,11 +1,9 @@
|
|
1
1
|
.autotest
|
2
|
-
.gitignore
|
3
2
|
History.txt
|
4
3
|
Manifest.txt
|
5
4
|
README.markdown
|
6
5
|
README.txt
|
7
6
|
Rakefile
|
8
|
-
config/requirements.rb
|
9
7
|
lib/core_ext/object.rb
|
10
8
|
lib/core_ext/transformations.rb
|
11
9
|
lib/viking.rb
|
@@ -22,4 +20,12 @@ spec/lib/base_spec.rb
|
|
22
20
|
spec/lib/defensio_spec.rb
|
23
21
|
spec/lib/viking_spec.rb
|
24
22
|
spec/spec.opts
|
25
|
-
spec/spec_helper.rb
|
23
|
+
spec/spec_helper.rb
|
24
|
+
tasks/deployment.rake
|
25
|
+
tasks/environment.rake
|
26
|
+
tasks/rspec.rake
|
27
|
+
tasks/website.rake
|
28
|
+
website/index.html
|
29
|
+
website/index.txt
|
30
|
+
website/stylesheets/screen.css
|
31
|
+
website/template.html.erb
|
data/lib/viking/version.rb
CHANGED
@@ -0,0 +1,34 @@
|
|
1
|
+
desc 'Release the website and new gem version'
|
2
|
+
task :deploy => [:check_version, :website, :release] do
|
3
|
+
puts "Remember to create SVN tag:"
|
4
|
+
puts "svn copy svn+ssh://#{rubyforge_username}@rubyforge.org/var/svn/#{PATH}/trunk " +
|
5
|
+
"svn+ssh://#{rubyforge_username}@rubyforge.org/var/svn/#{PATH}/tags/REL-#{VERS} "
|
6
|
+
puts "Suggested comment:"
|
7
|
+
puts "Tagging release #{CHANGES}"
|
8
|
+
end
|
9
|
+
|
10
|
+
desc 'Runs tasks website_generate and install_gem as a local deployment of the gem'
|
11
|
+
task :local_deploy => [:website_generate, :install_gem]
|
12
|
+
|
13
|
+
task :check_version do
|
14
|
+
unless ENV['VERSION']
|
15
|
+
puts 'Must pass a VERSION=x.y.z release version'
|
16
|
+
exit
|
17
|
+
end
|
18
|
+
unless ENV['VERSION'] == VERS
|
19
|
+
puts "Please update your version.rb to match the release version, currently #{VERS}"
|
20
|
+
exit
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
desc 'Install the package as a gem, without generating documentation(ri/rdoc)'
|
25
|
+
task :install_gem_no_doc => [:clean, :package] do
|
26
|
+
sh "#{'sudo ' unless Hoe::WINDOZE }gem install pkg/*.gem --no-rdoc --no-ri"
|
27
|
+
end
|
28
|
+
|
29
|
+
namespace :manifest do
|
30
|
+
desc 'Recreate Manifest.txt to include ALL files'
|
31
|
+
task :refresh do
|
32
|
+
`rake check_manifest | patch -p0 > Manifest.txt`
|
33
|
+
end
|
34
|
+
end
|
data/tasks/rspec.rake
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
begin
|
2
|
+
require 'spec'
|
3
|
+
rescue LoadError
|
4
|
+
require 'rubygems'
|
5
|
+
require 'spec'
|
6
|
+
end
|
7
|
+
begin
|
8
|
+
require 'spec/rake/spectask'
|
9
|
+
rescue LoadError
|
10
|
+
puts "To use RSpec for testing you must install its gem:\n\tgem install rspec"
|
11
|
+
exit(0)
|
12
|
+
end
|
13
|
+
|
14
|
+
SPEC_OPTS_FILE = [
|
15
|
+
"-O",
|
16
|
+
File.join(File.dirname(__FILE__), "..", "spec", "spec.opts")
|
17
|
+
].join(" ")
|
18
|
+
|
19
|
+
desc "Run all specs"
|
20
|
+
Spec::Rake::SpecTask.new 'spec' do |t|
|
21
|
+
t.spec_files = FileList["spec/**/*_spec.rb"]
|
22
|
+
t.spec_opts = [SPEC_OPTS_FILE]
|
23
|
+
end
|
24
|
+
|
25
|
+
desc "Run all specs with RCov"
|
26
|
+
Spec::Rake::SpecTask.new 'specs_with_rcov' do |t|
|
27
|
+
t.spec_opts = [SPEC_OPTS_FILE]
|
28
|
+
t.spec_files = FileList["spec/**/*_spec.rb"]
|
29
|
+
t.rcov = true
|
30
|
+
t.rcov_opts = ['--exclude', 'spec']
|
31
|
+
end
|
data/tasks/website.rake
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
desc 'Generate website files'
|
2
|
+
task :website_generate => :ruby_env do
|
3
|
+
(Dir['website/**/*.txt'] - Dir['website/version*.txt']).each do |txt|
|
4
|
+
sh %{ #{RUBY_APP} script/txt2html #{txt} > #{txt.gsub(/txt$/,'html')} }
|
5
|
+
end
|
6
|
+
end
|
7
|
+
|
8
|
+
desc 'Upload website files to rubyforge'
|
9
|
+
task :website_upload do
|
10
|
+
host = "#{rubyforge_username}@rubyforge.org"
|
11
|
+
remote_dir = "/var/www/gforge-projects/#{PATH}/"
|
12
|
+
local_dir = 'website'
|
13
|
+
sh %{rsync -aCv #{local_dir}/ #{host}:#{remote_dir}}
|
14
|
+
end
|
15
|
+
|
16
|
+
desc 'Generate and upload website files'
|
17
|
+
task :website => [:website_generate, :website_upload, :publish_docs]
|
data/website/index.html
ADDED
@@ -0,0 +1,135 @@
|
|
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
|
+
VikingGem
|
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>VikingGem</h1>
|
34
|
+
<div id="version" class="clickable" onclick='document.location = "http://rubyforge.org/projects/viking"; return false'>
|
35
|
+
<p>Get Version</p>
|
36
|
+
<a href="http://rubyforge.org/projects/viking" class="numbers">0.0.2</a>
|
37
|
+
</div>
|
38
|
+
<h2>What</h2>
|
39
|
+
|
40
|
+
|
41
|
+
<p>Spam in your inbox and spam on your blog. The only place spam isn’t is on your
|
42
|
+
dinner plate (I hope).</p>
|
43
|
+
|
44
|
+
|
45
|
+
<p>Luckily there are two great services available to help keep spam at bay on
|
46
|
+
your blog: <a href="http://akismet.com/">Akismet™</a>, and <a href="http://defensio.com/">Defensio™</a>. Both
|
47
|
+
services can be integrated into your application to help fend off spam.</p>
|
48
|
+
|
49
|
+
|
50
|
+
<p>Based on the excellent <a href="http://rubyonrails.org">Ruby on Rails™</a>
|
51
|
+
<a href="http://github.com/technoweenie/viking/tree/master">plugin of the same name</a>,
|
52
|
+
VikingGem brings you easy access to the <a href="http://akismet.com/">Akismet™</a>, and
|
53
|
+
<a href="http://defensio.com/">Defensio™</a> spam protection services, but without the need for
|
54
|
+
you to use <a href="http://rubyonrails.org">Rails™</a>. VikingGem is Ruby web framework agnostic.</p>
|
55
|
+
|
56
|
+
|
57
|
+
<p>VikingGem also provides a few extra tweaks, and a slightly cleaner code base
|
58
|
+
to make it easier for you to dive in and grok its inner-workings.</p>
|
59
|
+
|
60
|
+
|
61
|
+
<h2>Installing</h2>
|
62
|
+
|
63
|
+
|
64
|
+
<pre>sudo gem install vikinggem</pre>
|
65
|
+
|
66
|
+
<h2>The basics</h2>
|
67
|
+
|
68
|
+
|
69
|
+
<p>Coming soon!</p>
|
70
|
+
|
71
|
+
|
72
|
+
<h2>Demonstration of usage</h2>
|
73
|
+
|
74
|
+
|
75
|
+
<p>Coming soon!</p>
|
76
|
+
|
77
|
+
|
78
|
+
<h2>Forum</h2>
|
79
|
+
|
80
|
+
|
81
|
+
<p><a href="http://groups.google.com/group/viking">http://groups.google.com/group/viking</a></p>
|
82
|
+
|
83
|
+
|
84
|
+
<h2>How to submit patches</h2>
|
85
|
+
|
86
|
+
|
87
|
+
<p>Read the <a href="http://drnicwilliams.com/2007/06/01/8-steps-for-fixing-other-peoples-code/">8 steps for fixing other people’s code</a> and for section <a href="http://drnicwilliams.com/2007/06/01/8-steps-for-fixing-other-peoples-code/#8b-google-groups">8b: Submit patch to Google Groups</a>, use the Google Group above.</p>
|
88
|
+
|
89
|
+
|
90
|
+
<p>You can fetch the source from either:</p>
|
91
|
+
|
92
|
+
|
93
|
+
<ul>
|
94
|
+
<li>rubyforge (stable): <a href="http://rubyforge.org/scm/?group_id">http://rubyforge.org/scm/?group_id=</a>=</li>
|
95
|
+
</ul>
|
96
|
+
|
97
|
+
|
98
|
+
<pre>git clone git://rubyforge.org/vikinggem.git</pre>
|
99
|
+
|
100
|
+
<ul>
|
101
|
+
<li>github (edge): <a href="http://github.com/jherdman/viking/tree/master">http://github.com/jherdman/viking/tree/master</a></li>
|
102
|
+
</ul>
|
103
|
+
|
104
|
+
|
105
|
+
<pre>git clone git://github.com/jherdman/viking.git</pre>
|
106
|
+
|
107
|
+
<h3>Build and test instructions</h3>
|
108
|
+
|
109
|
+
|
110
|
+
<pre>
|
111
|
+
cd vikinggem
|
112
|
+
rake spec
|
113
|
+
rake install_gem
|
114
|
+
</pre>
|
115
|
+
|
116
|
+
<h2>License</h2>
|
117
|
+
|
118
|
+
|
119
|
+
<p>This code is free to use under the terms of the <span class="caps">MIT</span> license.</p>
|
120
|
+
|
121
|
+
|
122
|
+
<h2>Contact</h2>
|
123
|
+
|
124
|
+
|
125
|
+
<p>Comments are welcome. Send an email to <a href="mailto:james.herdman@gmail.com">James Herdman, Jed Hurt, Technoweenie</a> via the <a href="http://groups.google.com/group/viking">forum</a></p>
|
126
|
+
<p class="coda">
|
127
|
+
<a href="james.herdman@gmail.com">James Herdman, Jed Hurt, Technoweenie</a>, 22nd April 2008<br>
|
128
|
+
Theme extended from <a href="http://rb2js.rubyforge.org/">Paul Battley</a>
|
129
|
+
</p>
|
130
|
+
</div>
|
131
|
+
|
132
|
+
<!-- insert site tracking codes here, like Google Urchin -->
|
133
|
+
|
134
|
+
</body>
|
135
|
+
</html>
|
data/website/index.txt
ADDED
@@ -0,0 +1,69 @@
|
|
1
|
+
h1. VikingGem
|
2
|
+
|
3
|
+
h2. What
|
4
|
+
|
5
|
+
Spam in your inbox and spam on your blog. The only place spam isn't is on your
|
6
|
+
dinner plate (I hope).
|
7
|
+
|
8
|
+
Luckily there are two great services available to help keep spam at bay on
|
9
|
+
your blog: "Akismet™":akismet, and "Defensio™":defensio. Both
|
10
|
+
services can be integrated into your application to help fend off spam.
|
11
|
+
|
12
|
+
Based on the excellent "Ruby on Rails™":ror
|
13
|
+
"plugin of the same name":http://github.com/technoweenie/viking/tree/master,
|
14
|
+
VikingGem brings you easy access to the "Akismet™":akismet, and
|
15
|
+
"Defensio™":defensio spam protection services, but without the need for
|
16
|
+
you to use "Rails™":ror. VikingGem is Ruby web framework agnostic.
|
17
|
+
|
18
|
+
VikingGem also provides a few extra tweaks, and a slightly cleaner code base
|
19
|
+
to make it easier for you to dive in and grok its inner-workings.
|
20
|
+
|
21
|
+
h2. Installing
|
22
|
+
|
23
|
+
<pre>sudo gem install vikinggem</pre>
|
24
|
+
|
25
|
+
h2. The basics
|
26
|
+
|
27
|
+
Coming soon!
|
28
|
+
|
29
|
+
h2. Demonstration of usage
|
30
|
+
|
31
|
+
Coming soon!
|
32
|
+
|
33
|
+
h2. Forum
|
34
|
+
|
35
|
+
"http://groups.google.com/group/viking":http://groups.google.com/group/viking
|
36
|
+
|
37
|
+
h2. How to submit patches
|
38
|
+
|
39
|
+
Read the "8 steps for fixing other people's code":http://drnicwilliams.com/2007/06/01/8-steps-for-fixing-other-peoples-code/ and for section "8b: Submit patch to Google Groups":http://drnicwilliams.com/2007/06/01/8-steps-for-fixing-other-peoples-code/#8b-google-groups, use the Google Group above.
|
40
|
+
|
41
|
+
You can fetch the source from either:
|
42
|
+
|
43
|
+
* rubyforge (stable): "http://rubyforge.org/scm/?group_id=<%= rubyforge_project_id %>":http://rubyforge.org/scm/?group_id=<%= rubyforge_project_id %>
|
44
|
+
|
45
|
+
<pre>git clone git://rubyforge.org/vikinggem.git</pre>
|
46
|
+
|
47
|
+
* github (edge): "http://github.com/jherdman/viking/tree/master":http://github.com/jherdman/viking/tree/master
|
48
|
+
|
49
|
+
<pre>git clone git://github.com/jherdman/viking.git</pre>
|
50
|
+
|
51
|
+
h3. Build and test instructions
|
52
|
+
|
53
|
+
<pre>
|
54
|
+
cd vikinggem
|
55
|
+
rake spec
|
56
|
+
rake install_gem
|
57
|
+
</pre>
|
58
|
+
|
59
|
+
h2. License
|
60
|
+
|
61
|
+
This code is free to use under the terms of the MIT license.
|
62
|
+
|
63
|
+
h2. Contact
|
64
|
+
|
65
|
+
Comments are welcome. Send an email to "James Herdman, Jed Hurt, Technoweenie":mailto:james.herdman@gmail.com via the "forum":http://groups.google.com/group/viking
|
66
|
+
|
67
|
+
[akismet]http://akismet.com/
|
68
|
+
[defensio]http://defensio.com/
|
69
|
+
[ror]http://rubyonrails.org
|
@@ -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="james.herdman@gmail.com">James Herdman, Jed Hurt, Technoweenie</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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vikinggem
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Herdman
|
@@ -24,15 +24,14 @@ extra_rdoc_files:
|
|
24
24
|
- History.txt
|
25
25
|
- Manifest.txt
|
26
26
|
- README.txt
|
27
|
+
- website/index.txt
|
27
28
|
files:
|
28
29
|
- .autotest
|
29
|
-
- .gitignore
|
30
30
|
- History.txt
|
31
31
|
- Manifest.txt
|
32
32
|
- README.markdown
|
33
33
|
- README.txt
|
34
34
|
- Rakefile
|
35
|
-
- config/requirements.rb
|
36
35
|
- lib/core_ext/object.rb
|
37
36
|
- lib/core_ext/transformations.rb
|
38
37
|
- lib/viking.rb
|
@@ -50,6 +49,14 @@ files:
|
|
50
49
|
- spec/lib/viking_spec.rb
|
51
50
|
- spec/spec.opts
|
52
51
|
- spec/spec_helper.rb
|
52
|
+
- tasks/deployment.rake
|
53
|
+
- tasks/environment.rake
|
54
|
+
- tasks/rspec.rake
|
55
|
+
- tasks/website.rake
|
56
|
+
- website/index.html
|
57
|
+
- website/index.txt
|
58
|
+
- website/stylesheets/screen.css
|
59
|
+
- website/template.html.erb
|
53
60
|
has_rdoc: true
|
54
61
|
homepage: http://vikinggem.rubyforge.org
|
55
62
|
post_install_message: ""
|
data/.gitignore
DELETED
data/config/requirements.rb
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
require 'fileutils'
|
2
|
-
include FileUtils
|
3
|
-
|
4
|
-
require 'rubygems'
|
5
|
-
%w[rake hoe newgem rubigen].each do |req_gem|
|
6
|
-
begin
|
7
|
-
require req_gem
|
8
|
-
rescue LoadError
|
9
|
-
puts "This Rakefile requires the '#{req_gem}' RubyGem."
|
10
|
-
puts "Installation: gem install #{req_gem} -y"
|
11
|
-
exit
|
12
|
-
end
|
13
|
-
end
|
14
|
-
|
15
|
-
$:.unshift(File.join(File.dirname(__FILE__), %w[.. lib]))
|