discharger 0.2.3 → 0.2.4

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: 0fab90fcc905ab5973963cc00dc7e7a5bbf1d47eb0f3f6b2964cf45a2c738bd8
4
- data.tar.gz: 2f6017297bde5b922db40eb7285f30a50d9c2e24e5326ca1517e5692bf720e92
3
+ metadata.gz: 1e09e709b5a48b494c2ff4f56a2643870084d6d05116a62895b6b196bd1dfe75
4
+ data.tar.gz: 68e4a01db691b65905961adbcea4230735ac09d5e4bc5d83ada4c8fa98e79288
5
5
  SHA512:
6
- metadata.gz: 6fe9d074e80409f8410aa3e2be42dfdc29e481b502a59c06662cd086566918b556b23255a2ced66af1a42a42e7cad17a08849f287777cf81d16b2e1c9527f340
7
- data.tar.gz: 3abdfd7cfa71fd7b9106ff59be5a019a36b8b2d5f1b0c728ca1a1ae1cd49284e96e47bb9ac94c761f2ed9d42fa5a740b2c17fd0eb0c4dacbc9f0b8e0b936940d
6
+ metadata.gz: 052e337559ce7aece516e0acf9739f63c228b91ab078ae2ed1f9f4fadbeb4b944776296bbbb9ddca762147e3e15ba67089d9c7b35b5d36e88ea6873d0591e94c
7
+ data.tar.gz: 72a9e8403623a908e00a2356720dfdd3592e648b73d93c6b57cdeeda691b64b0289c3e8c6c1be14213118705f164d56db3e0e20b36ddea617d8f4e26bd632e7c
data/README.md CHANGED
@@ -26,6 +26,7 @@ It will make Rake tasks available to push code to branches and notify Slack chan
26
26
  $ rake -T release
27
27
  rake release # ---------- STEP 3 ----------
28
28
  rake release:build # Release the current version to stage
29
+ rake release:config # Echo the configuration settings
29
30
  rake release:prepare # ---------- STEP 1 ----------
30
31
  rake release:slack[text,channel,emoji] # Send a message to Slack
31
32
  rake release:stage # ---------- STEP 2 ----------
@@ -184,6 +184,18 @@ module Discharger
184
184
  end
185
185
 
186
186
  namespace name do
187
+ desc "Echo the configuration settings."
188
+ task :config do
189
+ sysecho "-- Discharger Configuration --".bg(:green).black
190
+ sysecho "SHA: #{commit_identifier.call}".bg(:red).black
191
+ instance_variables.sort.each do |var|
192
+ value = instance_variable_get(var)
193
+ value = value.call if value.is_a?(Proc) && value.arity.zero?
194
+ sysecho "#{var.to_s.sub("@", "").ljust(24)}: #{value}".bg(:yellow).black
195
+ end
196
+ sysecho "----------------------------------".bg(:green).black
197
+ end
198
+
187
199
  desc description
188
200
  task build: :environment do
189
201
  syscall(
@@ -1,3 +1,3 @@
1
1
  module Discharger
2
- VERSION = "0.2.3"
2
+ VERSION = "0.2.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: discharger
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jim Gay
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-09-20 00:00:00.000000000 Z
11
+ date: 2024-11-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: open3