recap 1.0.4 → 1.0.5
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/recap/version.rb +1 -1
- data/spec/tasks/foreman_spec.rb +1 -0
- metadata +3 -3
data/lib/recap/version.rb
CHANGED
data/spec/tasks/foreman_spec.rb
CHANGED
|
@@ -100,6 +100,7 @@ describe Recap::Tasks::Foreman do
|
|
|
100
100
|
describe 'foreman:export' do
|
|
101
101
|
it 'runs the foreman export command, then moves the exported files to the export location' do
|
|
102
102
|
namespace.stubs(:deployed_file_exists?).with(config.procfile).returns(true)
|
|
103
|
+
namespace.expects(:sudo).with("chown #{config.application_user}: #{config.deploy_to}/log").in_sequence(commands)
|
|
103
104
|
namespace.expects(:as_app).with(config.foreman_export_command).in_sequence(commands)
|
|
104
105
|
namespace.expects(:sudo).with("rm -f #{config.foreman_export_location}/#{config.application}*").in_sequence(commands)
|
|
105
106
|
namespace.expects(:sudo).with("cp #{config.foreman_tmp_location}/* #{config.foreman_export_location}").in_sequence(commands)
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: recap
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.5
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -266,7 +266,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
266
266
|
version: '0'
|
|
267
267
|
segments:
|
|
268
268
|
- 0
|
|
269
|
-
hash: -
|
|
269
|
+
hash: -3430921790514361122
|
|
270
270
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
271
271
|
none: false
|
|
272
272
|
requirements:
|
|
@@ -275,7 +275,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
275
275
|
version: '0'
|
|
276
276
|
segments:
|
|
277
277
|
- 0
|
|
278
|
-
hash: -
|
|
278
|
+
hash: -3430921790514361122
|
|
279
279
|
requirements: []
|
|
280
280
|
rubyforge_project:
|
|
281
281
|
rubygems_version: 1.8.24
|