zirconia 0.1.0 → 0.1.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/.rubocop.yml +2 -0
- data/Gemfile.lock +1 -1
- data/README.md +1 -1
- data/lib/zirconia/application.rb +6 -6
- data/lib/zirconia/version.rb +1 -1
- data/rbs_collection.lock.yaml +14 -0
- data/rbs_collection.yaml +29 -0
- data/zirconia.gemspec +2 -2
- metadata +6 -6
- data/sig/pathname.rbs +0 -17
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 314fe0f219a9e115babd71f43fa3c13d4eac464878f1162b02c69028f1325e5b
|
4
|
+
data.tar.gz: 33f216834c86901012c9414e6c1a6795e38b79349a52245eaee7c4a2c49a822f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 226931666c4b247554b88e31dc00c34c05d712b97229b04e3a2df695b6863326c26030d9ab29cf78eed64001c63322b24ead6dd22bf1aee64c55f48d1bce1ab7
|
7
|
+
data.tar.gz: bf07844f357d5d2530e3bf7d5c4313c08b33ad291dc6e8fb95e72bf6dc2a56f14e7517dca8c3f1f3929104b7bdf7ec9aaca286b0edfed5d5ed2d23061f888a63
|
data/.rubocop.yml
CHANGED
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
data/lib/zirconia/application.rb
CHANGED
@@ -15,16 +15,16 @@ module Zirconia
|
|
15
15
|
require main_file.to_s
|
16
16
|
end
|
17
17
|
|
18
|
-
def gem_path(
|
19
|
-
build_path(
|
18
|
+
def gem_path(*fragments, ext: nil)
|
19
|
+
build_path(*fragments, dir:, ext:)
|
20
20
|
end
|
21
21
|
|
22
|
-
def lib_path(
|
23
|
-
build_path(
|
22
|
+
def lib_path(*fragments, ext: :rb)
|
23
|
+
build_path(*fragments, dir: lib_dir, ext:)
|
24
24
|
end
|
25
25
|
|
26
|
-
def path(
|
27
|
-
build_path(
|
26
|
+
def path(*fragments, ext: :rb)
|
27
|
+
build_path(*fragments, dir: gem_dir, ext:)
|
28
28
|
end
|
29
29
|
|
30
30
|
def main_file
|
data/lib/zirconia/version.rb
CHANGED
@@ -0,0 +1,14 @@
|
|
1
|
+
---
|
2
|
+
sources:
|
3
|
+
- type: git
|
4
|
+
name: ruby/gem_rbs_collection
|
5
|
+
revision: 8149bc3fc0f720d935dc0592dc8886e03052f65f
|
6
|
+
remote: https://github.com/ruby/gem_rbs_collection.git
|
7
|
+
repo_dir: gems
|
8
|
+
path: sig/gems
|
9
|
+
gems:
|
10
|
+
- name: pathname
|
11
|
+
version: '0'
|
12
|
+
source:
|
13
|
+
type: stdlib
|
14
|
+
gemfile_lock_path: Gemfile.lock
|
data/rbs_collection.yaml
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
# Download sources
|
2
|
+
sources:
|
3
|
+
- type: git
|
4
|
+
name: ruby/gem_rbs_collection
|
5
|
+
remote: https://github.com/ruby/gem_rbs_collection.git
|
6
|
+
revision: main
|
7
|
+
repo_dir: gems
|
8
|
+
|
9
|
+
# You can specify local directories as sources also.
|
10
|
+
# - type: local
|
11
|
+
# path: path/to/your/local/repository
|
12
|
+
|
13
|
+
# A directory to install the downloaded RBSs
|
14
|
+
path: sig/gems
|
15
|
+
|
16
|
+
gems:
|
17
|
+
# Skip loading rbs gem's RBS.
|
18
|
+
# It's unnecessary if you don't use rbs as a library.
|
19
|
+
- name: rbs
|
20
|
+
ignore: true
|
21
|
+
- name: rake
|
22
|
+
ignore: true
|
23
|
+
- name: rspec
|
24
|
+
ignore: true
|
25
|
+
- name: rubocop
|
26
|
+
ignore: true
|
27
|
+
- name: steep
|
28
|
+
ignore: true
|
29
|
+
- name: pathname
|
data/zirconia.gemspec
CHANGED
@@ -9,10 +9,10 @@ Gem::Specification.new do |spec|
|
|
9
9
|
spec.summary = "Lightweight testing utility for synthesising Ruby gems"
|
10
10
|
|
11
11
|
spec.description = <<~DESCRIPTION
|
12
|
-
Zirconia is a lightweight testing utility that is capable of generating\
|
12
|
+
Zirconia is a lightweight testing utility that is capable of generating \
|
13
13
|
temporary Ruby Gem applications from within the test suite.
|
14
14
|
|
15
|
-
Zirconia offers an intuitive interface around the synthetic gem allowing
|
15
|
+
Zirconia offers an intuitive interface around the synthetic gem allowing \
|
16
16
|
them to be configured and coded from within the test environment.
|
17
17
|
DESCRIPTION
|
18
18
|
|
metadata
CHANGED
@@ -1,20 +1,19 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zirconia
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Welham
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-10-
|
11
|
+
date: 2023-10-21 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: |
|
14
|
-
Zirconia is a lightweight testing utility that is capable of
|
14
|
+
Zirconia is a lightweight testing utility that is capable of generating temporary Ruby Gem applications from within the test suite.
|
15
15
|
|
16
|
-
Zirconia offers an intuitive interface around the synthetic gem allowing
|
17
|
-
them to be configured and coded from within the test environment.
|
16
|
+
Zirconia offers an intuitive interface around the synthetic gem allowing them to be configured and coded from within the test environment.
|
18
17
|
email:
|
19
18
|
- 71787007+apexatoll@users.noreply.github.com
|
20
19
|
executables: []
|
@@ -34,8 +33,9 @@ files:
|
|
34
33
|
- lib/zirconia/application.rb
|
35
34
|
- lib/zirconia/rspec.rb
|
36
35
|
- lib/zirconia/version.rb
|
36
|
+
- rbs_collection.lock.yaml
|
37
|
+
- rbs_collection.yaml
|
37
38
|
- sig/dir.rbs
|
38
|
-
- sig/pathname.rbs
|
39
39
|
- sig/rspec.rbs
|
40
40
|
- sig/zirconia.rbs
|
41
41
|
- sig/zirconia/application.rbs
|
data/sig/pathname.rbs
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
class Pathname
|
2
|
-
def initialize: (String path) -> void
|
3
|
-
|
4
|
-
def read: -> String
|
5
|
-
|
6
|
-
def write: (String contents) -> void
|
7
|
-
|
8
|
-
def basename: (?String) -> Pathname
|
9
|
-
|
10
|
-
def dirname: -> Pathname
|
11
|
-
|
12
|
-
def exist?: -> bool
|
13
|
-
|
14
|
-
def join: (*String) -> Pathname
|
15
|
-
|
16
|
-
def to_s: -> String
|
17
|
-
end
|