whereuat 0.0.8 → 0.0.9
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/VERSION +1 -1
- data/lib/whereuat/javascript/whereuat.js +9 -6
- data/lib/whereuat/stylesheets/whereuat.css +2 -0
- data/lib/whereuat/templates/index.haml +1 -1
- data/whereuat.gemspec +1 -1
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.9
|
@@ -1,8 +1,8 @@
|
|
1
1
|
(function($) {
|
2
2
|
$(function() {
|
3
|
-
var popOver, tab;
|
3
|
+
var popOver, tab, stories;
|
4
4
|
|
5
|
-
$("body").prepend("<div id='uat-bar'><a class='wua-go' href='#'>Show me what to test</a><div class='wua-pop-over
|
5
|
+
$("body").prepend("<div id='uat-bar'><a class='wua-go' href='#'>Show me what to test</a><div class='wua-pop-over'></div></div>");
|
6
6
|
$("head").prepend("<link href='"+window.whereuat_stylesheet_url+"' media='screen' rel='stylesheet' type='text/css'>");
|
7
7
|
|
8
8
|
popOver = $("#uat-bar .wua-pop-over");
|
@@ -17,6 +17,7 @@
|
|
17
17
|
url: '/whereuat',
|
18
18
|
success: function(response) {
|
19
19
|
popOver.append(response);
|
20
|
+
stories = popOver.find("ol");
|
20
21
|
slideOut();
|
21
22
|
}
|
22
23
|
});
|
@@ -28,15 +29,17 @@
|
|
28
29
|
);
|
29
30
|
|
30
31
|
function slideOut() {
|
31
|
-
popOver.
|
32
|
-
|
32
|
+
popOver.animate({width: '400px'}, 500, function() {
|
33
|
+
stories.fadeIn(100);
|
33
34
|
});
|
34
35
|
tab.animate({left: '400px'}, 510);
|
35
36
|
}
|
36
37
|
|
37
38
|
function slideIn() {
|
38
|
-
|
39
|
-
|
39
|
+
stories.fadeOut(100, function() {
|
40
|
+
tab.animate({left: '0px'}, 490);
|
41
|
+
popOver.animate({width: '0px'}, 510);
|
42
|
+
});
|
40
43
|
}
|
41
44
|
|
42
45
|
$("#uat-bar a.wua-accept").live("click", function() {
|
data/whereuat.gemspec
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{whereuat}
|
8
|
-
s.version = "0.0.
|
8
|
+
s.version = "0.0.9"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Ben Askins", "Lachie Cox", "Ben Webster"]
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: whereuat
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 13
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 9
|
10
|
+
version: 0.0.9
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Ben Askins
|