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.
- checksums.yaml +4 -4
- data/lib/naught/version.rb +1 -1
- data/sig/naught.rbs +13 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7695d34e478428fe2a3dbb3164159c3ad5cbf9acea047fa38cdf8067e40edbe6
|
|
4
|
+
data.tar.gz: fe8fd997afe43bb28ddb77f926d8c5d27ab916ab74260214551b2bf0f7744da9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cb254309968a424a1e41a8c477cfd580958f3200b352fa86db071707c8df63c712a14eb276b60dd75f346bdf7ccd884c6fd963c5a74a41c1fd683312c382f2fa
|
|
7
|
+
data.tar.gz: 82a275df524b7984d23a3bd8d87c3660d96abe4ff710d6635566a9f2b7d7c2a07bff999da06349dc9c1cafc8864c9efd9e12fbdf59e7c6b59a81e80587d4326f
|
data/lib/naught/version.rb
CHANGED
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
|
|