casper 0.0.1.1 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/test/Vagrantfile +1 -0
- data/test/cookbooks/rvm/recipes/default.rb +1 -1
- data/test/cookbooks/testing/recipes/default.rb +0 -16
- data/test/cookbooks/xdotool/recipes/default.rb +15 -0
- data/test/{lib/public → public}/jquery-ui.js +0 -0
- data/test/{lib/public → public}/jquery.js +0 -0
- data/test/{lib/public/rxin_test.js → public/test.js} +0 -0
- data/test/{lib/server.rb → server.rb} +1 -1
- data/test/{lib/test_helper.rb → test_helper.rb} +0 -0
- metadata +9 -9
data/test/Vagrantfile
CHANGED
@@ -28,7 +28,7 @@ bash "install ruby 1.9.2" do
|
|
28
28
|
rvm package install readline
|
29
29
|
rvm install ruby-1.9.2 -C --with-readline-dir=$HOME/.rvm/usr
|
30
30
|
BASH
|
31
|
-
not_if { ::FileTest.exists?("/usr/local/rvm/rubies/ruby-1.9.2") }
|
31
|
+
not_if { ::FileTest.exists?("/usr/local/rvm/rubies/ruby-1.9.2") }
|
32
32
|
end
|
33
33
|
|
34
34
|
bash "source rvm in bashrc" do
|
@@ -23,22 +23,6 @@ package "xinit"
|
|
23
23
|
package "x11-xserver-utils"
|
24
24
|
package "firefox"
|
25
25
|
|
26
|
-
# TODO: install from source for --sync option on mouseevents if needed,
|
27
|
-
# requires xorg-dev which is heavy
|
28
|
-
package "xorg-dev"
|
29
|
-
script "xdotool_from_source" do
|
30
|
-
not_if "test -x /usr/local/bin/xdotool"
|
31
|
-
interpreter "bash"
|
32
|
-
user "root"
|
33
|
-
cwd "/tmp"
|
34
|
-
code <<-BASH
|
35
|
-
wget http://semicomplete.googlecode.com/files/xdotool-2.20100818.3004.tar.gz
|
36
|
-
tar xzvf xdotool-2.20100818.3004.tar.gz
|
37
|
-
cd xdotool-2.20100818.3004
|
38
|
-
make all install
|
39
|
-
BASH
|
40
|
-
end
|
41
|
-
|
42
26
|
# Allows anybody to access the X session (so you can remote it from SSH)
|
43
27
|
cookbook_file "/etc/X11/Xwrapper.config" do
|
44
28
|
source "Xwrapper.config"
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# TODO: install from source for --sync option on mouseevents if needed,
|
2
|
+
# requires xorg-dev which is heavy
|
3
|
+
package "xorg-dev"
|
4
|
+
script "xdotool_from_source" do
|
5
|
+
not_if "test -x /usr/local/bin/xdotool"
|
6
|
+
interpreter "bash"
|
7
|
+
user "root"
|
8
|
+
cwd "/tmp"
|
9
|
+
code <<-BASH
|
10
|
+
wget http://semicomplete.googlecode.com/files/xdotool-2.20100818.3004.tar.gz
|
11
|
+
tar xzvf xdotool-2.20100818.3004.tar.gz
|
12
|
+
cd xdotool-2.20100818.3004
|
13
|
+
make all install
|
14
|
+
BASH
|
15
|
+
end
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: casper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
|
11
|
-
version: 0.0.1.1
|
9
|
+
- 3
|
10
|
+
version: 0.0.3
|
12
11
|
platform: ruby
|
13
12
|
authors:
|
14
13
|
- Ben Alavi
|
@@ -137,11 +136,12 @@ files:
|
|
137
136
|
- test/cookbooks/testing/files/default/xorg.conf
|
138
137
|
- test/cookbooks/testing/files/default/Xwrapper.config
|
139
138
|
- test/cookbooks/testing/recipes/default.rb
|
140
|
-
- test/
|
141
|
-
- test/
|
142
|
-
- test/
|
143
|
-
- test/
|
144
|
-
- test/
|
139
|
+
- test/cookbooks/xdotool/recipes/default.rb
|
140
|
+
- test/public/jquery-ui.js
|
141
|
+
- test/public/jquery.js
|
142
|
+
- test/public/test.js
|
143
|
+
- test/server.rb
|
144
|
+
- test/test_helper.rb
|
145
145
|
- test/Vagrantfile
|
146
146
|
has_rdoc: true
|
147
147
|
homepage: http://github.com/benalavi/casper
|