monotonic.rb 0.7.1 → 0.7.2
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/gemspec_test.rb +28 -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: cf995a6ab7105dc05b1b11b660fc4a28b34f07d784c5c13af2b83e46c1d5b949
|
|
4
|
+
data.tar.gz: 871dc0fc14b0771d4ddc00d7717787df34ace4d98b248e8613ba24918c40e641
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 809325b41986a73bea427d0685a4b63f42a6a89a090716edda20e400c5f9a0b91ec8ba28e1844ef63470cdef8368b913f3479488e449076abd2f63321c9aaa42
|
|
7
|
+
data.tar.gz: 744d49e5aaa3028ac0fbf9180e146dd73ceb5c2ea6da50fcb33e72ef5659586aacff6786be1526244ab195f6e144a9b8a75b6fe488ed7a1cbd398e273eaa9ae2
|
data/CHANGELOG
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# CHANGELOG
|
|
2
2
|
|
|
3
|
+
## 20260812
|
|
4
|
+
|
|
5
|
+
0.7.2: + gemspec test.
|
|
6
|
+
|
|
7
|
+
1. + test/gemspec_test.rb: Ensure that the specification validates, that no date is pinned, that the version comes from Monotonic::VERSION, and that the runtime and development dependencies are those expected.
|
|
8
|
+
2. ~ Monotonic::VERSION: /0.7.1/0.7.2/
|
|
9
|
+
|
|
10
|
+
|
|
3
11
|
## 20260812
|
|
4
12
|
|
|
5
13
|
0.7.1: + VERSION test.
|
data/lib/Monotonic/VERSION.rb
CHANGED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
require_relative '../lib/monotonic.rb'
|
|
2
|
+
|
|
3
|
+
require 'minitest/autorun'
|
|
4
|
+
require 'minitest-spec-context'
|
|
5
|
+
|
|
6
|
+
describe 'monotonic.rb.gemspec' do
|
|
7
|
+
let(:spec){Gem::Specification.load(File.expand_path('../monotonic.rb.gemspec', __dir__))}
|
|
8
|
+
|
|
9
|
+
it "is a valid specification" do
|
|
10
|
+
_(spec.validate).must_equal(true)
|
|
11
|
+
end
|
|
12
|
+
|
|
13
|
+
it "does not pin a date" do
|
|
14
|
+
_(spec.date).must_equal(Gem::Specification.new.date)
|
|
15
|
+
end
|
|
16
|
+
|
|
17
|
+
it "takes its version from Monotonic::VERSION" do
|
|
18
|
+
_(spec.version.to_s).must_equal(Monotonic::VERSION)
|
|
19
|
+
end
|
|
20
|
+
|
|
21
|
+
it "declares its runtime dependencies" do
|
|
22
|
+
_(spec.runtime_dependencies.map(&:name).sort).must_equal(%w{sys-uptime})
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
it "declares its development dependencies" do
|
|
26
|
+
_(spec.development_dependencies.map(&:name).sort).must_equal(%w{minitest minitest-spec-context rake})
|
|
27
|
+
end
|
|
28
|
+
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.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- thoran
|
|
@@ -83,6 +83,7 @@ files:
|
|
|
83
83
|
- test/Monotonic/Time_test.rb
|
|
84
84
|
- test/Monotonic/Timer_test.rb
|
|
85
85
|
- test/Monotonic/VERSION_test.rb
|
|
86
|
+
- test/gemspec_test.rb
|
|
86
87
|
homepage: https://github.com/thoran/monotonic.rb
|
|
87
88
|
licenses:
|
|
88
89
|
- MIT
|