testbot 0.7.6 → 0.7.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/CHANGELOG +3 -6
- data/README.markdown +1 -1
- data/lib/requester/requester.rb +5 -1
- data/lib/shared/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MjI1YmQ0OGNjNmRkMzc3YzI4NmM4NTM5YThhNmQ1MTZjOGI3ZjVlMA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NmJjNTRjMzhkNzdlZDhmOGZlZDM3ODZiZTg4NmZmN2M4NWRhNDBlMg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YTZjYzhhZjc4ZjExNGIyZTM5OWU1MmM2MTAwNjMzMjAyMWFiNzVjMGM2NTk1
|
10
|
+
M2Y3YWRkM2E0NTdlMTI4ZjA0MDk3OTliMWNjOTZjYjE5OTY0YzZiN2ZlYTFm
|
11
|
+
MjE2MGMzMzYyZDZhZDgzZjQ3NTBiMjI2OTI3ZDQ2ZmJjZTZmNmM=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
M2M2NjhkOTJmZWE4MTE3ZjM4OTlhYjE0ZjI0NjEwOWE4MGIyZTUyMjIwYjUw
|
14
|
+
MzlmNDkyNTRhZTY0NmY4Zjk1Nzg4ZGI4ZTZhMGYyNWE2YWQ3MGQ3MzNjMzFj
|
15
|
+
NjcwZTMzMThjYzE2NGNkZmIzYTg4MGJkN2I1YTgyMjE3ZTRiZjc=
|
data/CHANGELOG
CHANGED
@@ -1,10 +1,7 @@
|
|
1
|
+
0.7.7
|
1
2
|
|
2
|
-
|
3
|
-
|
4
|
-
Raise an error when file syncing fails.
|
5
|
-
|
6
|
-
We don't want to continue when it fails. It would run the tests with an older version,
|
7
|
-
possibly enabling a broken version of the app to be deployed.
|
3
|
+
Exit when file syncing fails so that you don't run tests for a version of the
|
4
|
+
code you did not expect.
|
8
5
|
|
9
6
|
0.7.5
|
10
7
|
|
data/README.markdown
CHANGED
@@ -67,7 +67,7 @@ Using testbot with Rails 2:
|
|
67
67
|
|
68
68
|
# Add testbot to your Gemfile if you use bundler. You also need the plugin because
|
69
69
|
# Rails 2 does not load raketasks from gems.
|
70
|
-
ruby script/plugin install git://github.com/joakimk/testbot.git -r 'refs/tags/v0.7.
|
70
|
+
ruby script/plugin install git://github.com/joakimk/testbot.git -r 'refs/tags/v0.7.7'
|
71
71
|
script/generate testbot --connect 192.168.0.100
|
72
72
|
|
73
73
|
rake testbot:spec (or :rspec, :test, :features)
|
data/lib/requester/requester.rb
CHANGED
@@ -44,8 +44,12 @@ module Testbot::Requester
|
|
44
44
|
log "Syncing files" do
|
45
45
|
rsync_ignores = config.rsync_ignores.to_s.split.map { |pattern| "--exclude='#{pattern}'" }.join(' ')
|
46
46
|
system("rsync -az --delete --delete-excluded -e ssh #{rsync_ignores} . #{rsync_uri}")
|
47
|
+
|
47
48
|
exitstatus = $?.exitstatus
|
48
|
-
|
49
|
+
unless exitstatus == 0
|
50
|
+
puts "rsync failed with exit code #{exitstatus}"
|
51
|
+
exit 1
|
52
|
+
end
|
49
53
|
end
|
50
54
|
|
51
55
|
files = adapter.test_files(dir)
|
data/lib/shared/version.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
module Testbot
|
2
2
|
# Don't forget to update readme and changelog
|
3
3
|
def self.version
|
4
|
-
version = "0.7.
|
4
|
+
version = "0.7.7"
|
5
5
|
dev_version_file = File.join(File.dirname(__FILE__), '..', '..', 'DEV_VERSION')
|
6
6
|
if File.exists?(dev_version_file)
|
7
7
|
version += File.read(dev_version_file)
|