cps-property-generator 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +3 -0
  3. data/lib/linter/linter.rb +1 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 10f6f3eeb81b02233db686f99ed9a5383a49ec1e
4
- data.tar.gz: 9e49d1924592a578f922b5deb9ba91025b6d4bd4
3
+ metadata.gz: 27cbdf4998f2eceac2573cf2738cad66306768f4
4
+ data.tar.gz: 3877ce362c05c90bb29a75783503e1ccb678c1e6
5
5
  SHA512:
6
- metadata.gz: 1be1744e65559b24b62a73ff6e8ecc47d2482b33fb44cd741f0b44f5c746268d0e7fe0eb1aff426c9f4491c24de5b54137028e16ebd357d3ce6fab23bc899faf
7
- data.tar.gz: 82e9317165a544d7222d08b05848d1152aaf3554a52060575da431d568229faf06630996a0e1f1908998f2fc927122e42136b674f6aa553138eaa451d7121811
6
+ metadata.gz: 69f82bf5f48ba0b795e06dd460c68acd53eae10b3f3431556e5ad3a765d0200f0254d96c6ea2a800de1a7775e7a1068762d64a372f510b58a31b19a199545c1a
7
+ data.tar.gz: 48740dde7d1ae91d7521f4daccc9e13cdc7d155d75a628cdf0cc1493e5ee861c81a36dd6e6ce30bd4d2b6265caea10a2e7d99b4ecb111a1b2d5bead793c18e12
data/README.md CHANGED
@@ -77,6 +77,9 @@ touch globals.yml
77
77
  1. Create a folder called `environments` inside your folder named after your account.
78
78
  2. Inside the `environments` folder create a yaml file named after the environment you would like to define globals for. Only environments defined in your config are supported. The environment must also be mapped in the config to the account the sharing the same name as the folder the environment global yaml file lives in.
79
79
  3. In the newly created environment's yaml file you may define your globals.
80
+ ##### Hierarchical Merging
81
+ Hierarchical merging follows the following equation `(account.yml < service::default) < (region.yml < service::region)`. So the main thing to note that may be counterintuitive is that service defaults do not overwrite a region default.
82
+
80
83
  ###### Encrypted Properties in Environment Globals
81
84
  If you would like to pass in an encrypted property to all services in a given environment, you can pass in ckrt encrypted values by having an `encrypted` block in your environment global file.
82
85
  ```yaml
data/lib/linter/linter.rb CHANGED
@@ -7,7 +7,7 @@ module PropertyGenerator
7
7
  attr_accessor :ignored_tests, :services_linter, :globals_linter, :config_linter, :report
8
8
 
9
9
  def initialize(path)
10
- ignore_list = %w[README.md .cpsignore]
10
+ ignore_list = %w[README.md .cpsignore Jenkinsfile]
11
11
  invalid_paths = PropertyGenerator.invalid_paths(path, ignore_list)
12
12
  begin
13
13
  @ignored_tests = YAML.load_file("#{path}/.cpsignore")
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cps-property-generator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bryan Call
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-05-25 00:00:00.000000000 Z
11
+ date: 2021-06-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport