monotonic.rb 0.7.0 → 0.7.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: 577e4ce149e58981c889c52eaed6256c4c11a5bf2d1e6144513d3cd8c0d72705
4
- data.tar.gz: 60b83880903cbe10e28ab23462953ecc6b43296c1c39ae08e5c8cc6442697794
3
+ metadata.gz: a74e6c5bfeba5fef4c029e5b2ce7495f9299445b884d89077be212da9be8ca49
4
+ data.tar.gz: 40d70e63f0f9f422a636171dbe17aa8ac48244b586ce4018d29d0e503f3f4b04
5
5
  SHA512:
6
- metadata.gz: '084908b43a5095d6ff4a3928a6161abb5800ce113714036afdd3bbc89c361886292c603d2f44bd33014d4fa0c5f8e25779c183933e1c4336c2767991ec21b194'
7
- data.tar.gz: 252ba0130e324f322c37cb4df402a307ff534580ff422fc8b7ddbda494b3e8b28d0c681417dde96989d6d8f1d4dc8f2eb6bd5c9847b167b3176295fc88f27561
6
+ metadata.gz: 4ba8a7204e07558e06f2aa83a9bb5d32f2be409b25538c5e5bd6df0bdbabdf81ea68415bbfe0e75a99ea3cd01ebfe2e460d803a4df4fd6d46f23e5998a343503
7
+ data.tar.gz: af817c6ec0e76e7692836341daec031afd16d5028dd2a898b0be9ebfbf3c575fad32dbb8985fe5c8497933945272f0a2aa233a42541d6c72adae0b1dab82f0fe
data/CHANGELOG CHANGED
@@ -1,5 +1,13 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 20260812
4
+
5
+ 0.7.1: + VERSION test.
6
+
7
+ 1. + test/Monotonic/VERSION_test.rb: Ensure that VERSION is a string, that it has three dotted numbers, and that it matches the newest entry in the CHANGELOG. A release edits both files and this now ensures that one moves with the other. Modelled upon moby.rb's.
8
+ 2. ~ Monotonic::VERSION: /0.7.0/0.7.1/
9
+
10
+
3
11
  ## 20260811
4
12
 
5
13
  0.7.0: Read the clock exactly, and read a clock worth reading exactly.
@@ -2,5 +2,5 @@
2
2
  # Monotonic::VERSION
3
3
 
4
4
  module Monotonic
5
- VERSION = '0.7.0'
5
+ VERSION = '0.7.1'
6
6
  end
@@ -0,0 +1,21 @@
1
+ require_relative '../../lib/monotonic.rb'
2
+
3
+ require 'minitest/autorun'
4
+ require 'minitest-spec-context'
5
+
6
+ describe Monotonic do
7
+ describe "VERSION" do
8
+ it "is a string" do
9
+ _(Monotonic::VERSION).must_be_instance_of String
10
+ end
11
+
12
+ it "is three numbers separated by dots" do
13
+ _(Monotonic::VERSION).must_match(/\A\d+\.\d+\.\d+\z/)
14
+ end
15
+
16
+ it "matches the newest entry in the CHANGELOG" do
17
+ changelog = File.read(File.expand_path('../../CHANGELOG', __dir__))
18
+ _(changelog[/^(\d+\.\d+\.\d+):/, 1]).must_equal Monotonic::VERSION
19
+ end
20
+ end
21
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: monotonic.rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - thoran
@@ -82,6 +82,7 @@ files:
82
82
  - monotonic.rb.gemspec
83
83
  - test/Monotonic/Time_test.rb
84
84
  - test/Monotonic/Timer_test.rb
85
+ - test/Monotonic/VERSION_test.rb
85
86
  homepage: https://github.com/thoran/monotonic.rb
86
87
  licenses:
87
88
  - MIT