spek 2.1.0 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/spek/presenter.rb +6 -6
- data/lib/spek/versioner.rb +2 -2
- data/lib/spek.rb +3 -1
- data/spek.gemspec +4 -4
- data.tar.gz.sig +0 -0
- metadata +8 -8
- metadata.gz.sig +4 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 35b862a24c2d56753237329c47e98aff75a60d6a41c2caca714d4c04d329231e
|
4
|
+
data.tar.gz: 5b14e54bdf1142ac0e926c3114774c64d4e09b59acb41d1cc44126b893e6a323
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6d2a4cc4ea3fa4fd039117e9718639445d769c3e2a246e88d9cb2a26dfadb2bee8b6e484e2b8987063474c2bac4776a7e9473339da1b5478aa1a519e249b3727
|
7
|
+
data.tar.gz: 53b90000ae383b0cd6c0d83bbb43c820351fcc6641ca3693d7f1072cfc89b9588302a28e6c38c67e6dd3f109643c55e8073e7346c3f608247c69a5c22d897b03
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/lib/spek/presenter.rb
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
require "forwardable"
|
4
|
-
require "refinements/
|
5
|
-
require "refinements/
|
6
|
-
require "refinements/
|
4
|
+
require "refinements/array"
|
5
|
+
require "refinements/pathname"
|
6
|
+
require "refinements/string"
|
7
7
|
require "versionaire"
|
8
8
|
|
9
9
|
module Spek
|
@@ -11,9 +11,9 @@ module Spek
|
|
11
11
|
class Presenter
|
12
12
|
extend Forwardable
|
13
13
|
|
14
|
-
using Refinements::
|
15
|
-
using Refinements::
|
16
|
-
using Refinements::
|
14
|
+
using Refinements::Array
|
15
|
+
using Refinements::String
|
16
|
+
using Refinements::Pathname
|
17
17
|
using Versionaire::Cast
|
18
18
|
|
19
19
|
delegate %i[
|
data/lib/spek/versioner.rb
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require "refinements/
|
3
|
+
require "refinements/pathname"
|
4
4
|
|
5
5
|
module Spek
|
6
6
|
# Updates a gem specification's version.
|
7
7
|
class Versioner
|
8
|
-
using Refinements::
|
8
|
+
using Refinements::Pathname
|
9
9
|
|
10
10
|
def self.call(version, path, ...) = new(...).call version, path
|
11
11
|
|
data/lib/spek.rb
CHANGED
@@ -10,5 +10,7 @@ end
|
|
10
10
|
|
11
11
|
# Main namespace.
|
12
12
|
module Spek
|
13
|
-
def self.loader
|
13
|
+
def self.loader registry = Zeitwerk::Registry
|
14
|
+
@loader ||= registry.loaders.find { |loader| loader.tag == File.basename(__FILE__, ".rb") }
|
15
|
+
end
|
14
16
|
end
|
data/spek.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |spec|
|
4
4
|
spec.name = "spek"
|
5
|
-
spec.version = "
|
5
|
+
spec.version = "3.0.0"
|
6
6
|
spec.authors = ["Brooke Kuhlmann"]
|
7
7
|
spec.email = ["brooke@alchemists.io"]
|
8
8
|
spec.homepage = "https://alchemists.io/projects/spek"
|
@@ -22,10 +22,10 @@ Gem::Specification.new do |spec|
|
|
22
22
|
spec.signing_key = Gem.default_key_path
|
23
23
|
spec.cert_chain = [Gem.default_cert_path]
|
24
24
|
|
25
|
-
spec.required_ruby_version = "~> 3.
|
25
|
+
spec.required_ruby_version = "~> 3.3"
|
26
26
|
spec.add_dependency "dry-monads", "~> 1.6"
|
27
|
-
spec.add_dependency "refinements", "~>
|
28
|
-
spec.add_dependency "versionaire", "~>
|
27
|
+
spec.add_dependency "refinements", "~> 12.0"
|
28
|
+
spec.add_dependency "versionaire", "~> 13.0"
|
29
29
|
spec.add_dependency "zeitwerk", "~> 2.6"
|
30
30
|
|
31
31
|
spec.extra_rdoc_files = Dir["README*", "LICENSE*"]
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spek
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 3.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brooke Kuhlmann
|
@@ -35,7 +35,7 @@ cert_chain:
|
|
35
35
|
3n5C8/6Zh9DYTkpcwPSuIfAga6wf4nXc9m6JAw8AuMLaiWN/r/2s4zJsUHYERJEu
|
36
36
|
gZGm4JqtuSg8pYjPeIJxS960owq+SfuC+jxqmRA54BisFCv/0VOJi7tiJVY=
|
37
37
|
-----END CERTIFICATE-----
|
38
|
-
date:
|
38
|
+
date: 2024-01-01 00:00:00.000000000 Z
|
39
39
|
dependencies:
|
40
40
|
- !ruby/object:Gem::Dependency
|
41
41
|
name: dry-monads
|
@@ -57,28 +57,28 @@ dependencies:
|
|
57
57
|
requirements:
|
58
58
|
- - "~>"
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
version: '
|
60
|
+
version: '12.0'
|
61
61
|
type: :runtime
|
62
62
|
prerelease: false
|
63
63
|
version_requirements: !ruby/object:Gem::Requirement
|
64
64
|
requirements:
|
65
65
|
- - "~>"
|
66
66
|
- !ruby/object:Gem::Version
|
67
|
-
version: '
|
67
|
+
version: '12.0'
|
68
68
|
- !ruby/object:Gem::Dependency
|
69
69
|
name: versionaire
|
70
70
|
requirement: !ruby/object:Gem::Requirement
|
71
71
|
requirements:
|
72
72
|
- - "~>"
|
73
73
|
- !ruby/object:Gem::Version
|
74
|
-
version: '
|
74
|
+
version: '13.0'
|
75
75
|
type: :runtime
|
76
76
|
prerelease: false
|
77
77
|
version_requirements: !ruby/object:Gem::Requirement
|
78
78
|
requirements:
|
79
79
|
- - "~>"
|
80
80
|
- !ruby/object:Gem::Version
|
81
|
-
version: '
|
81
|
+
version: '13.0'
|
82
82
|
- !ruby/object:Gem::Dependency
|
83
83
|
name: zeitwerk
|
84
84
|
requirement: !ruby/object:Gem::Requirement
|
@@ -130,14 +130,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
130
130
|
requirements:
|
131
131
|
- - "~>"
|
132
132
|
- !ruby/object:Gem::Version
|
133
|
-
version: '3.
|
133
|
+
version: '3.3'
|
134
134
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
136
|
- - ">="
|
137
137
|
- !ruby/object:Gem::Version
|
138
138
|
version: '0'
|
139
139
|
requirements: []
|
140
|
-
rubygems_version: 3.
|
140
|
+
rubygems_version: 3.5.3
|
141
141
|
signing_key:
|
142
142
|
specification_version: 4
|
143
143
|
summary: An enhanced gem specification wrapper.
|
metadata.gz.sig
CHANGED