o2h 0.1.13 → 0.1.14
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/o2h/recipes/sync.rb +1 -1
- data/lib/o2h/version.rb +1 -1
- data/spec/recipes/sync_spec.rb +9 -0
- metadata +4 -4
data/lib/o2h/recipes/sync.rb
CHANGED
data/lib/o2h/version.rb
CHANGED
data/spec/recipes/sync_spec.rb
CHANGED
@@ -4,6 +4,15 @@ describe "sync" do
|
|
4
4
|
|
5
5
|
include_context :capistrano
|
6
6
|
|
7
|
+
context 'loading' do
|
8
|
+
it "should load deploy only once" do
|
9
|
+
capistrano.load('deploy')
|
10
|
+
capistrano.should_not_receive(:load).with('deploy')
|
11
|
+
capistrano.load recipe_path
|
12
|
+
capistrano.load recipe_path
|
13
|
+
end
|
14
|
+
end
|
15
|
+
|
7
16
|
context 'db task' do
|
8
17
|
let(:application) { "app" }
|
9
18
|
let(:host) { "host" }
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: o2h
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 7
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 14
|
10
|
+
version: 0.1.14
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Michal Cichra
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2012-02-
|
18
|
+
date: 2012-02-12 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: newrelic_rpm
|