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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YjFhYTQ5MmNkOTgxYWVkYmQzNzg4NTIyZDgzNjQxNWZiNWM2MTYxZA==
4
+ MjI1YmQ0OGNjNmRkMzc3YzI4NmM4NTM5YThhNmQ1MTZjOGI3ZjVlMA==
5
5
  data.tar.gz: !binary |-
6
- NjE1N2Q3NzEzYjE4ZDVkZTg5OTkxMmJiNzhhY2QyZmUyOTg4OTRiZQ==
6
+ NmJjNTRjMzhkNzdlZDhmOGZlZDM3ODZiZTg4NmZmN2M4NWRhNDBlMg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MmEzODlkNTEyYjJiNDM5M2VjOTg0MmUzZDM0OTEyOTQyYTQxNTk0ZjkwODhm
10
- NDk4MjYzM2ZmMDk4ODIxMzQzMGFlZjA3NTIwODk5MTY4MWI1ZTYxOWYxOTEz
11
- MzgyMjU4ZGFkMGNiY2Y5NzcxMmZhN2Q4NWQ4ZGVmYzZhZjNkOWU=
9
+ YTZjYzhhZjc4ZjExNGIyZTM5OWU1MmM2MTAwNjMzMjAyMWFiNzVjMGM2NTk1
10
+ M2Y3YWRkM2E0NTdlMTI4ZjA0MDk3OTliMWNjOTZjYjE5OTY0YzZiN2ZlYTFm
11
+ MjE2MGMzMzYyZDZhZDgzZjQ3NTBiMjI2OTI3ZDQ2ZmJjZTZmNmM=
12
12
  data.tar.gz: !binary |-
13
- Zjc2NGQwNmJjYTQ4YmQ1YmE0ZjY0OTA5ODViZjUxZWUyZTA2MDg1OWU1MWRi
14
- ZTFlNmFhZTRkOGVjZWExM2RmNTczMTA0NmU3NDhjMmQ4Nzg1M2ZjM2Q3ZDU1
15
- MWY4ZjRmM2I3ZTQ0NjgwNDNjMGYwYjY4NjdkNmZkM2EyYzc5OWU=
13
+ M2M2NjhkOTJmZWE4MTE3ZjM4OTlhYjE0ZjI0NjEwOWE4MGIyZTUyMjIwYjUw
14
+ MzlmNDkyNTRhZTY0NmY4Zjk1Nzg4ZGI4ZTZhMGYyNWE2YWQ3MGQ3MzNjMzFj
15
+ NjcwZTMzMThjYzE2NGNkZmIzYTg4MGJkN2I1YTgyMjE3ZTRiZjc=
data/CHANGELOG CHANGED
@@ -1,10 +1,7 @@
1
+ 0.7.7
1
2
 
2
- 0.7.6
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.1'
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)
@@ -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
- raise "rsync failed with exit code #{exitstatus}" unless exitstatus == 0
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)
@@ -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.6"
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)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: testbot
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.6
4
+ version: 0.7.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joakim Kolsjö