jamie 0.1.0.alpha6 → 0.1.0.alpha7
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/lib/jamie/driver/vagrant.rb +1 -0
- data/lib/jamie/version.rb +1 -1
- data/lib/jamie.rb +18 -2
- metadata +2 -2
data/lib/jamie/driver/vagrant.rb
CHANGED
data/lib/jamie/version.rb
CHANGED
data/lib/jamie.rb
CHANGED
@@ -399,8 +399,7 @@ module Jamie
|
|
399
399
|
end
|
400
400
|
|
401
401
|
# Returns a command string which installs the Jamie Runner (jr), installs
|
402
|
-
# all required jr plugins for the suite
|
403
|
-
# files.
|
402
|
+
# all required jr plugins for the suite.
|
404
403
|
#
|
405
404
|
# If no work needs to be performed, for example if there are no tests for
|
406
405
|
# the given suite, then `nil` will be returned.
|
@@ -417,6 +416,23 @@ module Jamie
|
|
417
416
|
EOF
|
418
417
|
)"
|
419
418
|
#{sudo}#{jr_bin} install #{plugins.join(' ')}
|
419
|
+
INSTALL_CMD
|
420
|
+
end
|
421
|
+
end
|
422
|
+
|
423
|
+
# Returns a command string which transfers all suite test files to the
|
424
|
+
# instance.
|
425
|
+
#
|
426
|
+
# If no work needs to be performed, for example if there are no tests for
|
427
|
+
# the given suite, then `nil` will be returned.
|
428
|
+
#
|
429
|
+
# @return [String] a command string to transfer all suite test files, or
|
430
|
+
# nil if no work needs to be performed.
|
431
|
+
def sync_cmd
|
432
|
+
@sync_cmd ||= if local_suite_files.empty?
|
433
|
+
nil
|
434
|
+
else
|
435
|
+
<<-INSTALL_CMD.gsub(/ {10}/, '')
|
420
436
|
#{sudo}rm -rf $(#{jr_bin} suitepath)/*
|
421
437
|
#{local_suite_files.map { |f| stream_file(f, remote_file(f)) }.join}
|
422
438
|
INSTALL_CMD
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jamie
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.0.
|
4
|
+
version: 0.1.0.alpha7
|
5
5
|
prerelease: 6
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-12-
|
12
|
+
date: 2012-12-14 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: thor
|