caracara 0.6.0 → 0.6.1
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/Gemfile.lock +1 -1
- data/lib/caracara/task.rb +2 -0
- data/lib/caracara/version.rb +1 -1
- data/spec/caracara/task_spec.rb +4 -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: 8ea0929d6cdd89020fb9c8285742095965bb18ec
|
4
|
+
data.tar.gz: 7e836d3ec717b034770504b93dfc27b165dd5237
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cdb9e9784b0be5798218baf5bbdf90b2d5efdb57ad41eb61340a2d5e3cf11fe2b74ec314a2f096ff4ad29184464ff9f426a419d18e5279221095217d3e66f178
|
7
|
+
data.tar.gz: 7760b3430c766282e27d7b1ac7f84d06b89b29fdab7237ef8d8182429a672315070c2623973d97395799f11d81cc7e5ad613f7af9e0f29cc25273d38fc774a6c
|
data/Gemfile.lock
CHANGED
data/lib/caracara/task.rb
CHANGED
data/lib/caracara/version.rb
CHANGED
data/spec/caracara/task_spec.rb
CHANGED
@@ -21,6 +21,7 @@ end
|
|
21
21
|
|
22
22
|
class AnotherTaskSpec < Caracara::Task
|
23
23
|
step 'docker -d run {{image}}'
|
24
|
+
step 'echo "{{#times}}{{.}}{{/times}}"'
|
24
25
|
end
|
25
26
|
|
26
27
|
# Tests
|
@@ -39,7 +40,8 @@ describe 'Task' do
|
|
39
40
|
let(:another_task) {
|
40
41
|
AnotherTaskSpec.init project: 'app',
|
41
42
|
version: '1.5.0',
|
42
|
-
image: '{{project}}-{{version}}'
|
43
|
+
image: '{{project}}-{{version}}',
|
44
|
+
times: ['one ', 'two ', 'three']
|
43
45
|
}
|
44
46
|
|
45
47
|
it 'should return the steps' do
|
@@ -72,6 +74,7 @@ describe 'Task' do
|
|
72
74
|
|
73
75
|
# Assertions
|
74
76
|
expect(steps[0]).to eq('docker -d run app-1.5.0')
|
77
|
+
expect(steps[1]).to eq("echo \"one two three\"")
|
75
78
|
end
|
76
79
|
|
77
80
|
it 'should compile the steps using specific args' do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: caracara
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gabriel Corado
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-09-
|
11
|
+
date: 2015-09-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mustache
|