capistrano-env 0.0.5 → 0.0.6
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.
- checksums.yaml +4 -4
- data/lib/capistrano/env/plugin.rb +1 -0
- data/lib/capistrano/env/version.rb +1 -1
- data/spec/capistrano/env/plugin_spec.rb +7 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8c6d6246b91035f56134ddcc439f1d891697840d
|
4
|
+
data.tar.gz: ebf3e969d776b6e5fcbad1e68d27e63c0326e045
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 07e1a8e194b7b3511e8232a64d818037aaa37bdcf837786e16be75b75d67b22b4e230c34a3eb1c4b02ca5ba33087bee3118fcd2937bbe5e628b9ae4c5a65eaaf
|
7
|
+
data.tar.gz: a6c91e02cedf59e99cbd7745cefc2c4d9d8cb294ac37a60f14c29572c2b1c0c4844345393f9524af3ca3720a06fa01661433fcf4356c89e4d7b2a5a5a470bc03
|
@@ -5,11 +5,17 @@ describe Capistrano::Env::Plugin do
|
|
5
5
|
let(:capistrano) { Capistrano::Configuration.new }
|
6
6
|
|
7
7
|
describe :capenv do
|
8
|
-
let(:setup) { capistrano.capenv.use {|config|
|
8
|
+
let(:setup) { capistrano.capenv.use {|config| config.add "HELLO", "WORLD" } }
|
9
|
+
|
9
10
|
it 'add task' do
|
10
11
|
expect(capistrano.capenv).to receive(:add)
|
11
12
|
setup
|
12
13
|
end
|
13
14
|
it { expect(setup).to be_a Capistrano::Env::Config }
|
15
|
+
|
16
|
+
it "set default_environment" do
|
17
|
+
setup
|
18
|
+
expect(capistrano.fetch(:default_environment)).to eq "HELLO" => "WORLD"
|
19
|
+
end
|
14
20
|
end
|
15
21
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-env
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- masarakki
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-02-
|
11
|
+
date: 2014-02-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|