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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 83981e69d14fe2bbfa9a7a0058ddf5422cb987d0693d516fda42defd59795cab
4
- data.tar.gz: 4b4fe6bd399d63f2225a205a2da28b3483b459449d7dd89d1133c45faa4fc525
3
+ metadata.gz: 314fe0f219a9e115babd71f43fa3c13d4eac464878f1162b02c69028f1325e5b
4
+ data.tar.gz: 33f216834c86901012c9414e6c1a6795e38b79349a52245eaee7c4a2c49a822f
5
5
  SHA512:
6
- metadata.gz: 45088c025d1e60ce8e57be3e8725e80edaaf7546976bf8c8a36e46f3ba98237885c6295162423249d75450aa94909ad5915599fe3cae47de450b82dea35531d0
7
- data.tar.gz: 65b9f8e5797bd0842ad727380d6d0055b6e38487635b61612670d1f1717e55a82c053cf050ee7645ee7e8ed63805694d72bdc6bfd133ee8d8361ae89ad20df2d
6
+ metadata.gz: 226931666c4b247554b88e31dc00c34c05d712b97229b04e3a2df695b6863326c26030d9ab29cf78eed64001c63322b24ead6dd22bf1aee64c55f48d1bce1ab7
7
+ data.tar.gz: bf07844f357d5d2530e3bf7d5c4313c08b33ad291dc6e8fb95e72bf6dc2a56f14e7517dca8c3f1f3929104b7bdf7ec9aaca286b0edfed5d5ed2d23061f888a63
data/.rubocop.yml CHANGED
@@ -29,6 +29,8 @@ Naming/MethodParameterName:
29
29
  - by
30
30
  - to
31
31
 
32
+ Style/ArgumentsForwarding:
33
+ Enabled: false
32
34
  Style/CharacterLiteral:
33
35
  Enabled: false
34
36
  Style/Documentation:
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- zirconia (0.1.0)
4
+ zirconia (0.1.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -29,7 +29,7 @@ require "zirconia/rspec"
29
29
  ```
30
30
 
31
31
  - Instantiate a Zirconia Gem in your spec using the `with_gem: gem_name` metadata:
32
- ```rspec
32
+ ```ruby
33
33
  require 'spec_helper'
34
34
 
35
35
  RSpec.describe "Some Gem", with_gem: :some_gem do
@@ -15,16 +15,16 @@ module Zirconia
15
15
  require main_file.to_s
16
16
  end
17
17
 
18
- def gem_path(*, ext: nil)
19
- build_path(*, dir:, ext:)
18
+ def gem_path(*fragments, ext: nil)
19
+ build_path(*fragments, dir:, ext:)
20
20
  end
21
21
 
22
- def lib_path(*, ext: :rb)
23
- build_path(*, dir: lib_dir, ext:)
22
+ def lib_path(*fragments, ext: :rb)
23
+ build_path(*fragments, dir: lib_dir, ext:)
24
24
  end
25
25
 
26
- def path(*, ext: :rb)
27
- build_path(*, dir: gem_dir, ext:)
26
+ def path(*fragments, ext: :rb)
27
+ build_path(*fragments, dir: gem_dir, ext:)
28
28
  end
29
29
 
30
30
  def main_file
@@ -1,3 +1,3 @@
1
1
  module Zirconia
2
- VERSION = "0.1.0".freeze
2
+ VERSION = "0.1.1".freeze
3
3
  end
@@ -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
@@ -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.0
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-16 00:00:00.000000000 Z
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 generatingtemporary Ruby Gem applications from within the test suite.
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