slicehost 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Manifest.txt +0 -1
- data/lib/slicehost.rb +1 -0
- data/lib/slicehost/version.rb +1 -1
- data/test/test_admin.rb +8 -3
- data/website/index.html +2 -2
- metadata +1 -2
- data/local/slicehost.rb +0 -2
data/Manifest.txt
CHANGED
data/lib/slicehost.rb
CHANGED
data/lib/slicehost/version.rb
CHANGED
data/test/test_admin.rb
CHANGED
@@ -6,8 +6,13 @@ class TestAdmin < Test::Unit::TestCase
|
|
6
6
|
setup_login
|
7
7
|
end
|
8
8
|
|
9
|
-
def
|
10
|
-
|
11
|
-
|
9
|
+
def test_login_successful
|
10
|
+
successful = session.login(email, password)
|
11
|
+
assert(successful, "Login not successful")
|
12
|
+
end
|
13
|
+
|
14
|
+
def test_login_unsuccessful
|
15
|
+
successful = session.login(email, "123456")
|
16
|
+
assert(!successful, "Login successful, but should have failed")
|
12
17
|
end
|
13
18
|
end
|
data/website/index.html
CHANGED
@@ -33,7 +33,7 @@
|
|
33
33
|
<h1>slicehost</h1>
|
34
34
|
<div id="version" class="clickable" onclick='document.location = "http://rubyforge.org/projects/slicehost"; return false'>
|
35
35
|
<p>Get Version</p>
|
36
|
-
<a href="http://rubyforge.org/projects/slicehost" class="numbers">0.1.
|
36
|
+
<a href="http://rubyforge.org/projects/slicehost" class="numbers">0.1.1</a>
|
37
37
|
</div>
|
38
38
|
<h1>→ ‘slicehost’</h1>
|
39
39
|
|
@@ -82,7 +82,7 @@
|
|
82
82
|
|
83
83
|
<p>Comments are welcome. Send an email to <a href="mailto:drnicwilliams@gmail.com">Dr Nic Williams</a> via the <a href="http://groups.google.com/group/slicehost">forum</a></p>
|
84
84
|
<p class="coda">
|
85
|
-
<a href="drnicwilliams@gmail.com">Dr Nic Williams</a>,
|
85
|
+
<a href="drnicwilliams@gmail.com">Dr Nic Williams</a>, 23rd December 2007<br>
|
86
86
|
Theme extended from <a href="http://rb2js.rubyforge.org/">Paul Battley</a>
|
87
87
|
</p>
|
88
88
|
</div>
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: slicehost
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dr Nic Williams
|
@@ -35,7 +35,6 @@ files:
|
|
35
35
|
- config/requirements.rb
|
36
36
|
- lib/slicehost.rb
|
37
37
|
- lib/slicehost/version.rb
|
38
|
-
- local/slicehost.rb
|
39
38
|
- local/slicehost.rb.sample
|
40
39
|
- log/debug.log
|
41
40
|
- script/destroy
|
data/local/slicehost.rb
DELETED