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 +4 -4
- data/CHANGELOG +8 -0
- data/lib/Monotonic/VERSION.rb +1 -1
- data/test/Monotonic/VERSION_test.rb +21 -0
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a74e6c5bfeba5fef4c029e5b2ce7495f9299445b884d89077be212da9be8ca49
|
|
4
|
+
data.tar.gz: 40d70e63f0f9f422a636171dbe17aa8ac48244b586ce4018d29d0e503f3f4b04
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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.
|
data/lib/Monotonic/VERSION.rb
CHANGED
|
@@ -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.
|
|
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
|