spek 0.4.0 → 0.6.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/README.adoc +9 -0
- data/lib/spek/finder.rb +1 -1
- data/lib/spek/loader.rb +1 -1
- data/lib/spek/presenter.rb +10 -6
- data/spek.gemspec +5 -5
- data.tar.gz.sig +0 -0
- metadata +11 -11
- metadata.gz.sig +1 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c8b14372b605c6d8edbb25fc49bac85b5a2b26d711f4c8d220c56531112f88f3
|
4
|
+
data.tar.gz: 7d413fb0082964e481e1a00c2a83cafeef10182c7338119759a9f635fdc492bf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 397c36961414d73482c009109a460602543d1753cca82bf0302825ca243101fc990fb279cf03ea1ec43ecdeb6d8bbc169487bccd8210300c88a3ff437357dabf
|
7
|
+
data.tar.gz: f0e625ec42187a30d8d9b4892dda4eeccd69f6a95049502a49d52ce798d71e3432f6be2f5e2fffcd12b3bf305997a204c81db6631ecc2a18fc865f78631a66b6
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/README.adoc
CHANGED
@@ -116,6 +116,15 @@ This makes it easier to automate the updating of your gem specification version
|
|
116
116
|
|
117
117
|
== Development
|
118
118
|
|
119
|
+
To contribute, run:
|
120
|
+
|
121
|
+
[source,bash]
|
122
|
+
----
|
123
|
+
git clone https://github.com/bkuhlmann/spek
|
124
|
+
cd spek
|
125
|
+
bin/setup
|
126
|
+
----
|
127
|
+
|
119
128
|
You can also use the IRB console for direct access to all objects:
|
120
129
|
|
121
130
|
[source,bash]
|
data/lib/spek/finder.rb
CHANGED
data/lib/spek/loader.rb
CHANGED
data/lib/spek/presenter.rb
CHANGED
@@ -31,14 +31,18 @@ module Spek
|
|
31
31
|
summary
|
32
32
|
] => :record
|
33
33
|
|
34
|
+
def self.with_default record = nil, model: Gem::Specification
|
35
|
+
record && record.is_a?(model) ? new(record) : new(model.new)
|
36
|
+
end
|
37
|
+
|
34
38
|
def initialize record
|
35
39
|
@record = record
|
36
40
|
end
|
37
41
|
|
38
|
-
def allowed_push_key = metadata.fetch "allowed_push_key", "rubygems_api_key"
|
39
|
-
|
40
42
|
def allowed_push_host = metadata.fetch "allowed_push_host", ::Gem::DEFAULT_HOST
|
41
43
|
|
44
|
+
def allowed_push_key = metadata.fetch "allowed_push_key", "rubygems_api_key"
|
45
|
+
|
42
46
|
def authors = Array record.author
|
43
47
|
|
44
48
|
def certificate_chain = Array(record.cert_chain).map { |path| Pathname path.to_s }
|
@@ -57,13 +61,13 @@ module Spek
|
|
57
61
|
|
58
62
|
def labeled_summary(delimiter: " - ") = [label, summary].compress.join delimiter
|
59
63
|
|
60
|
-
def labeled_version =
|
64
|
+
def labeled_version = [label, version].compress.join " "
|
61
65
|
|
62
|
-
def named_version =
|
66
|
+
def named_version = [name, version].compress.join " "
|
63
67
|
|
64
|
-
def
|
68
|
+
def package_name = %(#{[name, version].compress.join "-"}.gem)
|
65
69
|
|
66
|
-
def
|
70
|
+
def package_path = Pathname("tmp").join package_name
|
67
71
|
|
68
72
|
def rubygems_mfa? = metadata.fetch("rubygems_mfa_required", "false").to_bool
|
69
73
|
|
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 = "0.
|
5
|
+
spec.version = "0.6.0"
|
6
6
|
spec.authors = ["Brooke Kuhlmann"]
|
7
7
|
spec.email = ["brooke@alchemists.io"]
|
8
8
|
spec.homepage = "https://www.alchemists.io/projects/spek"
|
@@ -23,10 +23,10 @@ Gem::Specification.new do |spec|
|
|
23
23
|
spec.cert_chain = [Gem.default_cert_path]
|
24
24
|
|
25
25
|
spec.required_ruby_version = "~> 3.1"
|
26
|
-
spec.add_dependency "dry-monads", "~> 1.
|
27
|
-
spec.add_dependency "refinements", "~> 9.
|
28
|
-
spec.add_dependency "versionaire", "~> 10.
|
29
|
-
spec.add_dependency "zeitwerk", "~> 2.
|
26
|
+
spec.add_dependency "dry-monads", "~> 1.5"
|
27
|
+
spec.add_dependency "refinements", "~> 9.7"
|
28
|
+
spec.add_dependency "versionaire", "~> 10.6"
|
29
|
+
spec.add_dependency "zeitwerk", "~> 2.6"
|
30
30
|
|
31
31
|
spec.extra_rdoc_files = Dir["README*", "LICENSE*"]
|
32
32
|
spec.files = Dir["*.gemspec", "lib/**/*"]
|
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: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brooke Kuhlmann
|
@@ -28,7 +28,7 @@ cert_chain:
|
|
28
28
|
CxDe2+VuChj4I1nvIHdu+E6XoEVlanUPKmSg6nddhkKn2gC45Kyzh6FZqnzH/CRp
|
29
29
|
RFE=
|
30
30
|
-----END CERTIFICATE-----
|
31
|
-
date: 2022-
|
31
|
+
date: 2022-10-22 00:00:00.000000000 Z
|
32
32
|
dependencies:
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: dry-monads
|
@@ -36,56 +36,56 @@ dependencies:
|
|
36
36
|
requirements:
|
37
37
|
- - "~>"
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: '1.
|
39
|
+
version: '1.5'
|
40
40
|
type: :runtime
|
41
41
|
prerelease: false
|
42
42
|
version_requirements: !ruby/object:Gem::Requirement
|
43
43
|
requirements:
|
44
44
|
- - "~>"
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: '1.
|
46
|
+
version: '1.5'
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: refinements
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|
50
50
|
requirements:
|
51
51
|
- - "~>"
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: '9.
|
53
|
+
version: '9.7'
|
54
54
|
type: :runtime
|
55
55
|
prerelease: false
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
57
|
requirements:
|
58
58
|
- - "~>"
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
version: '9.
|
60
|
+
version: '9.7'
|
61
61
|
- !ruby/object:Gem::Dependency
|
62
62
|
name: versionaire
|
63
63
|
requirement: !ruby/object:Gem::Requirement
|
64
64
|
requirements:
|
65
65
|
- - "~>"
|
66
66
|
- !ruby/object:Gem::Version
|
67
|
-
version: '10.
|
67
|
+
version: '10.6'
|
68
68
|
type: :runtime
|
69
69
|
prerelease: false
|
70
70
|
version_requirements: !ruby/object:Gem::Requirement
|
71
71
|
requirements:
|
72
72
|
- - "~>"
|
73
73
|
- !ruby/object:Gem::Version
|
74
|
-
version: '10.
|
74
|
+
version: '10.6'
|
75
75
|
- !ruby/object:Gem::Dependency
|
76
76
|
name: zeitwerk
|
77
77
|
requirement: !ruby/object:Gem::Requirement
|
78
78
|
requirements:
|
79
79
|
- - "~>"
|
80
80
|
- !ruby/object:Gem::Version
|
81
|
-
version: '2.
|
81
|
+
version: '2.6'
|
82
82
|
type: :runtime
|
83
83
|
prerelease: false
|
84
84
|
version_requirements: !ruby/object:Gem::Requirement
|
85
85
|
requirements:
|
86
86
|
- - "~>"
|
87
87
|
- !ruby/object:Gem::Version
|
88
|
-
version: '2.
|
88
|
+
version: '2.6'
|
89
89
|
description:
|
90
90
|
email:
|
91
91
|
- brooke@alchemists.io
|
@@ -130,7 +130,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
130
130
|
- !ruby/object:Gem::Version
|
131
131
|
version: '0'
|
132
132
|
requirements: []
|
133
|
-
rubygems_version: 3.3.
|
133
|
+
rubygems_version: 3.3.24
|
134
134
|
signing_key:
|
135
135
|
specification_version: 4
|
136
136
|
summary: Enhances gem specifications with additional information and tooling.
|
metadata.gz.sig
CHANGED
@@ -1,3 +1 @@
|
|
1
|
-
|
2
|
-
=�A�^wm��O�}$9�����N>H��ء�u^��u��bo��m���
|
3
|
-
9p�7�-����L����.D=�X���r�<��[K}=�椔�a��2���>���C�]DW��M{s���|�kg0�A�%)'�P�;=&���Ք'R ��Ko��mhi�.&lFEf���o�>%�i��?vj�!�vR��[�]׳���L����~�ڮ֛���-�oq��6^����Fr�N����H��W])��כ
|
1
|
+
~\�9D�V��<vx=*d�P�.�m���$�)d��-�u�Z���H��eIN��� ��t&<��N0�-mԝI�����龆k�+&��`~y3��I�@ķqҭ];A�oBZ�]�Ʒqx:���=�@ЍԠ?���3���S�[�Qґ{�Ɵ�^,�����:,@Պ�kwk<- ���� _�J�����%{�l1�:�ֆuĚ;�tm@�|�Ҿ��#��=U�3u������/�1X��I�t�7ݟ��Pz<���!�
|