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.
@@ -14,6 +14,7 @@ Vagrant::Config.run do |config|
14
14
  recipe[application::vagrant]
15
15
  recipe[rvm]
16
16
  recipe[testing]
17
+ recipe[xdotool]
17
18
  )
18
19
 
19
20
  config.chef.log_level = :debug
@@ -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
@@ -7,7 +7,7 @@ class Server < Sinatra::Base
7
7
  %head
8
8
  %script{ :src => "jquery.js" }
9
9
  %script{ :src => "jquery-ui.js" }
10
- %script{ :src => "rxin_test.js" }
10
+ %script{ :src => "test.js" }
11
11
  %body
12
12
  %style{ :type => "text/css" }
13
13
  :sass
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: 73
4
+ hash: 25
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 1
10
- - 1
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/lib/public/jquery-ui.js
141
- - test/lib/public/jquery.js
142
- - test/lib/public/rxin_test.js
143
- - test/lib/server.rb
144
- - test/lib/test_helper.rb
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