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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a74e6c5bfeba5fef4c029e5b2ce7495f9299445b884d89077be212da9be8ca49
4
- data.tar.gz: 40d70e63f0f9f422a636171dbe17aa8ac48244b586ce4018d29d0e503f3f4b04
3
+ metadata.gz: cf995a6ab7105dc05b1b11b660fc4a28b34f07d784c5c13af2b83e46c1d5b949
4
+ data.tar.gz: 871dc0fc14b0771d4ddc00d7717787df34ace4d98b248e8613ba24918c40e641
5
5
  SHA512:
6
- metadata.gz: 4ba8a7204e07558e06f2aa83a9bb5d32f2be409b25538c5e5bd6df0bdbabdf81ea68415bbfe0e75a99ea3cd01ebfe2e460d803a4df4fd6d46f23e5998a343503
7
- data.tar.gz: af817c6ec0e76e7692836341daec031afd16d5028dd2a898b0be9ebfbf3c575fad32dbb8985fe5c8497933945272f0a2aa233a42541d6c72adae0b1dab82f0fe
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.
@@ -2,5 +2,5 @@
2
2
  # Monotonic::VERSION
3
3
 
4
4
  module Monotonic
5
- VERSION = '0.7.1'
5
+ VERSION = '0.7.2'
6
6
  end
@@ -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.1
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