naught 2.2.0 → 2.3.0

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/naught/version.rb +1 -1
  3. data/sig/naught.rbs +13 -0
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 42abb6770fb263920abd64584a31c5e3eab901bcf25efa610d538e1886db5980
4
- data.tar.gz: 2e914d3fc95bb6dcb99a7925f09d1ef747165175cee34959f6491d06c71480e0
3
+ metadata.gz: 7695d34e478428fe2a3dbb3164159c3ad5cbf9acea047fa38cdf8067e40edbe6
4
+ data.tar.gz: fe8fd997afe43bb28ddb77f926d8c5d27ab916ab74260214551b2bf0f7744da9
5
5
  SHA512:
6
- metadata.gz: 6c803b6f0fc83d81fa34f65b87ebaabfb10b385e3891038f0fb7a39540cd6df934bc833a84bce59cb0d84b98f53724dcb1ca6453edbcd2b538d23a8f56655dc0
7
- data.tar.gz: 20f98f1702229f16cbc98385f0432b3c5516940afe37684cf8e14a63a2d427c464989ca8de36f389ae7e30a891df2362d3e01447b021947047c74d6af280fa19
6
+ metadata.gz: cb254309968a424a1e41a8c477cfd580958f3200b352fa86db071707c8df63c712a14eb276b60dd75f346bdf7ccd884c6fd963c5a74a41c1fd683312c382f2fa
7
+ data.tar.gz: 82a275df524b7984d23a3bd8d87c3660d96abe4ff710d6635566a9f2b7d7c2a07bff999da06349dc9c1cafc8864c9efd9e12fbdf59e7c6b59a81e80587d4326f
@@ -1,5 +1,5 @@
1
1
  # Top-level namespace for Naught
2
2
  module Naught
3
3
  # Gem version
4
- VERSION = "2.2.0"
4
+ VERSION = "2.3.0"
5
5
  end
data/sig/naught.rbs CHANGED
@@ -140,6 +140,19 @@ module Naught
140
140
  # Configure method stubs to return self (black hole behavior)
141
141
  def black_hole: () -> void
142
142
 
143
+ # DSL methods dispatched via method_missing to command classes
144
+ def define_explicit_conversions: () -> void
145
+ def define_implicit_conversions: () -> void
146
+ def predicates_return: (untyped value) -> void
147
+ def mimic: (Class class_to_mimic, ?{ ?include_super: bool, ?include_dynamic: bool } options) -> void
148
+ | ({ example: untyped, ?include_super: bool, ?include_dynamic: bool } options) -> void
149
+ def impersonate: (Class class_to_impersonate, ?{ ?include_super: bool, ?include_dynamic: bool } options) -> void
150
+ def pebble: (?Naught::NullClassBuilder::Commands::Pebble::_Output output) -> void
151
+ def singleton: () -> void
152
+ def traceable: () -> void
153
+ def callstack: () -> void
154
+ def null_safe_proxy: () -> void
155
+
143
156
  # Make null objects respond to any message and stub method_missing
144
157
  def respond_to_any_message: () -> void
145
158
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: naught
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0
4
+ version: 2.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Avdi Grimm