pfab 0.54.0 → 0.54.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f6db80ed30cdab582adbf60a44b1cb80ffb32420898d07117b5e0fe81f0012ac
4
- data.tar.gz: 818d93a741088cee1a7988273e6eb3389c013fee43227193d086f9cdaa8c01ba
3
+ metadata.gz: 76cf1e72c2d80c355fdcd4d6a1d4029966302d885106239d4f440b02cd1ecec0
4
+ data.tar.gz: a89e2b49a230499c16dfacd205b9a025529a72f99bd9d89d0e143d7d90fdbce8
5
5
  SHA512:
6
- metadata.gz: f53b2f212245784bd4d518c7058aa7a2bdad7c2bba7b4a1c956f86356e037ff429ec704c1f7210969ac05e2bfbc05e2273e7961cee9028941e0361d85aaaa618
7
- data.tar.gz: 2d1e0b3cd52341158feea24b3f184b5ccd53c1dd1951b37b4cdcbed9d54d5e023c7bd772e27a7f86828f56ad86ccf1187c7ed7596a79acc5efc6457d525199cd
6
+ metadata.gz: f8250a9a5c42ebdfb55d22c076c4a6be32a1c2596b720b2e77e60b35c86e92879116df789cdda86571e26ce2a0f2e9c1b3da7f4c4bc1edfa60ee81bb8115bc1e
7
+ data.tar.gz: c1517c24b3d9cde49f77a65b02084b3e200869d529c4c08753378761cb5466ef7ceda829438d65d29cd30718183d7bd4a3fd8fc73684e238167286dc0e88e0f2
@@ -1,6 +1,7 @@
1
1
  require "rubygems/safe_yaml"
2
2
 
3
3
  module Pfab
4
+ LABEL_DEPLOY_UNIQUE_ID = "deploy-unique-id"
4
5
  module Templates
5
6
  class Web < Base
6
7
  def write_to(f)
@@ -230,7 +231,7 @@ module Pfab
230
231
  ]
231
232
  },
232
233
  {
233
- key: "deployment-unique-id",
234
+ key: LABEL_DEPLOY_UNIQUE_ID,
234
235
  operator: "In",
235
236
  values: [
236
237
  StyledYAML.double_quoted(deploy_unique_id)
@@ -319,7 +320,7 @@ module Pfab
319
320
  "deployed-name" => @data['deployed_name'],
320
321
  "application-type" => application_type,
321
322
  "deploy-id" => deploy_id,
322
- "deploy-unique-id" => StyledYAML.double_quoted(deploy_unique_id),
323
+ LABEL_DEPLOY_UNIQUE_ID: StyledYAML.double_quoted(deploy_unique_id),
323
324
  "tags.datadoghq.com/env": @data['env'],
324
325
  "tags.datadoghq.com/service": @data['deployed_name'],
325
326
  "tags.datadoghq.com/version": StyledYAML.double_quoted(@data['sha'])
@@ -347,7 +348,7 @@ module Pfab
347
348
  application: @data['application'],
348
349
  "deployed-name" => @data['deployed_name'],
349
350
  "application-type" => "web",
350
- "deploy-unique-id" => StyledYAML.double_quoted(deploy_unique_id),
351
+ LABEL_DEPLOY_UNIQUE_ID => StyledYAML.double_quoted(deploy_unique_id),
351
352
  "tags.datadoghq.com/env": @data['env'],
352
353
  "tags.datadoghq.com/service": @data['deployed_name'],
353
354
  "tags.datadoghq.com/version": StyledYAML.double_quoted(@data['sha'])
data/lib/pfab/version.rb CHANGED
@@ -2,7 +2,7 @@ module Pfab
2
2
  module Version
3
3
  MAJOR = 0
4
4
  MINOR = 54
5
- PATCH = 0
5
+ PATCH = 1
6
6
  BUILD = nil
7
7
 
8
8
  STRING = [MAJOR, MINOR, PATCH, BUILD].compact.join('.')
data/pfab.gemspec CHANGED
@@ -2,11 +2,11 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Juwelier::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: pfab 0.54.0 ruby lib
5
+ # stub: pfab 0.54.1 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "pfab".freeze
9
- s.version = "0.54.0"
9
+ s.version = "0.54.1"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib".freeze]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pfab
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.54.0
4
+ version: 0.54.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeff Dwyer