concourse 0.10.0 → 0.11.0
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/CHANGELOG.md +5 -0
- data/README.md +2 -2
- data/lib/concourse.rb +3 -3
- data/lib/concourse/version.rb +1 -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: 0ab2df768e5b7ac6afcaab5a975c6e53c05a8641
|
4
|
+
data.tar.gz: 2b1abb54bfb8f1dbba58a554061ede0738e73559
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 97b65993d219f7fb11ddf8df65734ce656d3e8e8b4748676d05469a443b54c79b0e02cfd27e6ee6826e320fa9f651cfbf113b3b4dd23ad5994341add3a22014e
|
7
|
+
data.tar.gz: d86a3f959ca577664b95eca76fa6ad2f37e12c6666a0e59407abfa488e50def7627119255e3af57288f6b6e18f90062cb0e02dc574fdfc27771a5de02f7511e0
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -17,7 +17,7 @@ Concourse.new("myproject").create_tasks!
|
|
17
17
|
|
18
18
|
This will create a set of rake tasks for you.
|
19
19
|
|
20
|
-
Create a subdirectory named `concourse`, and edit a Concourse pipeline
|
20
|
+
Create a subdirectory named `concourse`, and edit a Concourse pipeline file named `myproject.yml`, whichi will be interpreted as an ERB template.
|
21
21
|
|
22
22
|
|
23
23
|
### Templating and `RUBIES`
|
@@ -36,7 +36,7 @@ The ruby variable `RUBIES` is defined in the ERB binding during pipeline file ge
|
|
36
36
|
and allows you to write a pipeline like this to get coverage on all the supported rubies:
|
37
37
|
|
38
38
|
``` yaml
|
39
|
-
# myproject.yml
|
39
|
+
# myproject.yml
|
40
40
|
jobs:
|
41
41
|
<% for ruby_version in RUBIES[:mri] %>
|
42
42
|
- name: "ruby-<%= ruby_version %>"
|
data/lib/concourse.rb
CHANGED
@@ -30,8 +30,8 @@ class Concourse
|
|
30
30
|
|
31
31
|
def initialize project_name
|
32
32
|
@project_name = project_name
|
33
|
-
@pipeline_filename = File.join(DIRECTORY, "#{project_name}.yml")
|
34
|
-
@pipeline_erb_filename = "#{
|
33
|
+
@pipeline_filename = File.join(DIRECTORY, "#{project_name}.final.yml")
|
34
|
+
@pipeline_erb_filename = File.join(DIRECTORY, "#{project_name}.yml")
|
35
35
|
end
|
36
36
|
|
37
37
|
def erbify document_string, *args
|
@@ -117,7 +117,7 @@ class Concourse
|
|
117
117
|
raise "ERROR: could not find task `#{job_task}`" unless concourse_task
|
118
118
|
|
119
119
|
puts concourse_task.to_yaml
|
120
|
-
Tempfile.create do |f|
|
120
|
+
Tempfile.create("concourse-task") do |f|
|
121
121
|
f.write concourse_task["config"].to_yaml
|
122
122
|
f.close
|
123
123
|
Bundler.with_clean_env do
|
data/lib/concourse/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: concourse
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.11.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mike Dalessio
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-02-
|
11
|
+
date: 2017-02-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|