subspace 3.0.16 → 3.0.17

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: 0a260828450e308fd7317630c6c600d03978e98f335685c9d951e82e036a8ac9
4
- data.tar.gz: abe9b351937889ffb9132f2ce470b2b81d3f4eced1fc7d0524e041be5709172a
3
+ metadata.gz: 41f3763c5b82f01fac11ab2e70d8fa471f8d21cd3cab4c2af211294431c3a8c4
4
+ data.tar.gz: abfc862c481e5290024d56043b7981972df34b52be400ed4db2fe60642e87915
5
5
  SHA512:
6
- metadata.gz: 39a81cd786609648733f07ea2c566cf401f3c37da825f4fea7ab411ea10a01b154e41fccb458ee8ff5280db0f37fe99a8c715d9d5c0c543428f59d1689af2a23
7
- data.tar.gz: fa9470ca357e1cf688720426287460b3abfa601b0c13e9f69a6f300f3d566519933953d3c7dc6ad200251a22914e3bd2dc686e1fca65fbab05979fce1cdea517
6
+ metadata.gz: 2c252bb11b09106350a56acb870d1d267bf277a4a9b4163807771de1ade26daad6d5539aa088ed00621df90484446f45c2922813a60499fbde7bbc436f5703b0
7
+ data.tar.gz: 77b954ef5b797f62732ea58b539457d4e8203ee7721ca140dbae742122b475622bcafe2de0fe40984a5e75a5011ee8200031886e2c01111cbd6ad2eb0e325b4c
data/CHANGELOG.md CHANGED
@@ -12,6 +12,9 @@ This project attempts to follow [semantic versioning](https://semver.org/).
12
12
 
13
13
  ## Unreleased
14
14
 
15
+ ## 3.0.17
16
+ * Fix update count when sending stats
17
+
15
18
  ## 3.0.16
16
19
  * Ignore errors on getting rails version
17
20
 
@@ -146,7 +146,7 @@
146
146
  - name: Get os_upgrades stats
147
147
  shell:
148
148
  cmd: |
149
- sed -n "/$(date '+%Y-%m')/,+2p" updates.log | # Groups of lines from the current month
149
+ awk -v month="$(date '+%Y-%m')" '/^\[/ {flag = ($0 ~ month)} flag && !/^\[/' updates.log | # Groups of lines from the current month
150
150
  grep 'packages\|immediately' | # Only lines matching 'packages' or 'immediately'
151
151
  grep -P -o '(^\d+)' | #Extract the numbers at the beginning of the lines
152
152
  awk '{s+=$1} END {print s}' # Sum all the lines
@@ -1,3 +1,3 @@
1
1
  module Subspace
2
- VERSION = "3.0.16"
2
+ VERSION = "3.0.17"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: subspace
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.16
4
+ version: 3.0.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Samson
@@ -326,7 +326,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
326
326
  - !ruby/object:Gem::Version
327
327
  version: '0'
328
328
  requirements: []
329
- rubygems_version: 3.6.9
329
+ rubygems_version: 3.7.2
330
330
  specification_version: 4
331
331
  summary: Ansible-based server provisioning for rails projects
332
332
  test_files: []