rake_terraform 0.27.0 → 0.28.0.pre.pre.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bcddb8dafb42a1aef68fbe6c0037f3b29e1c72b643c740ed82440c6982ad5764
4
- data.tar.gz: 93bc9231e1fb683bb17e6ee42efba14861be63c7e9beff1fd53dba5e2fec321f
3
+ metadata.gz: 2aad2f57058f0573d0912732f74fca9450d889677ff0bb6044ef0f38caa7ef03
4
+ data.tar.gz: a7674a55b82114392309a4cc884938f46a6ad92b3022f75ddbf68d9b58b4d266
5
5
  SHA512:
6
- metadata.gz: 3d6f3a2861af8599aa7abc7fed85e2cce4f44b2c261dcac38f527bbd165589c1e1d5cc4c9e1a8be3c73a8687407599985d19741f0b6f72865767e3bb3961e86f
7
- data.tar.gz: e7c1755d9f694981dbf861a0568f94733c0795a0514fb6bcde168b0431d1daf0d5008ec8c02786f9532bd17012b60315a852d4870a14fdb0631139ca71075402
6
+ metadata.gz: 529405b29f46e86b46114f1f713b3af898e175dc3f973cdda9f2d24c7f871b6d94a660bd7ee79e9612f9ac3550f6554cda755db321f495adaf5fe0f17e42fe0a
7
+ data.tar.gz: 97eed8d05b7c1fda31715db223787e0131a0649ac1b39095ccf80c3ee4ea17b8cc3b6c28050116a45f93116328fa080b3cf975b00daa1fe45d0589c8ec02c3a9
data/.circleci/config.yml CHANGED
@@ -3,14 +3,14 @@ jobs:
3
3
  test:
4
4
  working_directory: ~/rake-terraform
5
5
  docker:
6
- - image: ruby:2.3.7
6
+ - image: ruby:2.3.8
7
7
  steps:
8
8
  - checkout
9
9
  - run: ./scripts/ci/steps/test.sh
10
10
  prerelease:
11
11
  working_directory: ~/rake-terraform
12
12
  docker:
13
- - image: ruby:2.3.7
13
+ - image: ruby:2.3.8
14
14
  steps:
15
15
  - checkout
16
16
  - run: ./scripts/ci/common/install-git-crypt.sh
@@ -21,7 +21,7 @@ jobs:
21
21
  release:
22
22
  working_directory: ~/rake-terraform
23
23
  docker:
24
- - image: ruby:2.3.7
24
+ - image: ruby:2.3.8
25
25
  steps:
26
26
  - checkout
27
27
  - run: ./scripts/ci/common/install-git-crypt.sh
Binary file
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.3.7
1
+ 2.3.8
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rake_terraform (0.27.0)
4
+ rake_terraform (0.28.0.pre.pre.1)
5
5
  colored2 (~> 3.1)
6
6
  rake_dependencies (~> 0.19)
7
7
  ruby-terraform (~> 0.15)
@@ -67,4 +67,4 @@ DEPENDENCIES
67
67
  rspec (~> 3.8)
68
68
 
69
69
  BUNDLED WITH
70
- 1.17.2
70
+ 1.17.3
data/README.md CHANGED
@@ -59,14 +59,47 @@ For a complete example see https://github.com/infrablocks/end-to-end-concourse-c
59
59
 
60
60
  ## Development
61
61
 
62
- After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
62
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run
63
+ `rake spec` to run the tests. You can also run `bin/console` for an interactive
64
+ prompt that will allow you to experiment.
65
+
66
+ To install this gem onto your local machine, run `bundle exec rake install`. To
67
+ release a new version, update the version number in `version.rb`, and then run
68
+ `bundle exec rake release`, which will create a git tag for the version, push
69
+ git commits and tags, and push the `.gem` file to
70
+ [rubygems.org](https://rubygems.org).
71
+
72
+ ### Managing CircleCI keys
73
+
74
+ To encrypt a GPG key for use by CircleCI:
75
+
76
+ ```bash
77
+ openssl aes-256-cbc \
78
+ -e \
79
+ -md sha1 \
80
+ -in ./config/secrets/ci/gpg.private \
81
+ -out ./.circleci/gpg.private.enc \
82
+ -k "<passphrase>"
83
+ ```
84
+
85
+ To check decryption is working correctly:
63
86
 
64
- To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
87
+ ```bash
88
+ openssl aes-256-cbc \
89
+ -d \
90
+ -md sha1 \
91
+ -in ./.circleci/gpg.private.enc \
92
+ -k "<passphrase>"
93
+ ```
65
94
 
66
95
  ## Contributing
67
96
 
68
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/rake_terraform. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
97
+ Bug reports and pull requests are welcome on GitHub at
98
+ https://github.com/infrablocks/rake_terraform. This project is intended to be a
99
+ safe, welcoming space for collaboration, and contributors are expected to adhere
100
+ to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
69
101
 
70
102
  ## License
71
103
 
72
- The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
104
+ The gem is available as open source under the terms of the
105
+ [MIT License](http://opensource.org/licenses/MIT).
data/go CHANGED
@@ -24,11 +24,6 @@ if [[ "$skip_checks" = "no" ]]; then
24
24
  missing_dependency="yes"
25
25
  fi
26
26
 
27
- if ! type bundler >/dev/null 2>&1; then
28
- echo "This codebase requires Bundler."
29
- missing_dependency="yes"
30
- fi
31
-
32
27
  if [[ "$missing_dependency" = "yes" ]]; then
33
28
  echo "Please install missing dependencies to continue."
34
29
  exit 1
@@ -1,3 +1,3 @@
1
1
  module RakeTerraform
2
- VERSION = "0.27.0"
2
+ VERSION = "0.28.0-pre.1"
3
3
  end
@@ -21,6 +21,8 @@ Gem::Specification.new do |spec|
21
21
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
22
22
  spec.require_paths = ['lib']
23
23
 
24
+ spec.required_ruby_version = '>= 2.3.8'
25
+
24
26
  spec.add_dependency 'rake_dependencies', '~> 0.19'
25
27
  spec.add_dependency 'ruby-terraform', '~> 0.15'
26
28
  spec.add_dependency 'colored2', '~> 3.1'
@@ -10,7 +10,10 @@ PROJECT_DIR="$( cd "$SCRIPT_DIR/../../.." && pwd )"
10
10
  cd "$PROJECT_DIR"
11
11
 
12
12
  set +e
13
+ openssl version
13
14
  openssl aes-256-cbc \
14
15
  -d \
15
- -in ./.circleci/gpg.private.enc -k "${ENCRYPTION_PASSPHRASE}" | gpg --import -
16
+ -md sha1 \
17
+ -in ./.circleci/gpg.private.enc \
18
+ -k "${ENCRYPTION_PASSPHRASE}" | gpg --import -
16
19
  set -e
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rake_terraform
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.27.0
4
+ version: 0.28.0.pre.pre.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Toby Clemson
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-01-15 00:00:00.000000000 Z
11
+ date: 2019-05-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake_dependencies
@@ -202,15 +202,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
202
202
  requirements:
203
203
  - - ">="
204
204
  - !ruby/object:Gem::Version
205
- version: '0'
205
+ version: 2.3.8
206
206
  required_rubygems_version: !ruby/object:Gem::Requirement
207
207
  requirements:
208
- - - ">="
208
+ - - ">"
209
209
  - !ruby/object:Gem::Version
210
- version: '0'
210
+ version: 1.3.1
211
211
  requirements: []
212
- rubyforge_project:
213
- rubygems_version: 2.7.7
212
+ rubygems_version: 3.0.3
214
213
  signing_key:
215
214
  specification_version: 4
216
215
  summary: Rake tasks for running terraform.