code-ruby 5.0.1 → 5.0.2
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/VERSION +1 -1
- data/lib/code/object/dictionary.rb +6 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c4bdf7818204168e932c860d6ac99481497d3e6dcb1d399d706c3e25cbde8c23
|
|
4
|
+
data.tar.gz: 84317c48bc4a88b73601a2cd34859a43010878f275cf8a742143d17ab65c1e91
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9ee54fc10b1a53ec0b5f7ce220a5643953d89297f1e52e08bf302a02e655f9628367ca7876002afa86e54b4311963b90093cf8174c28865173e299a16ac6d7cb
|
|
7
|
+
data.tar.gz: c02a963e61530d8ff83732eec4796b26c4f72b6106bb7bc53bf7fb4ce5a297ab5f92d271b316f098bf44e3845faf1ff6a2f5e3e42a748fbce292ca226d458e51
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
5.0.
|
|
1
|
+
5.0.2
|
|
@@ -439,7 +439,7 @@ class Code
|
|
|
439
439
|
},
|
|
440
440
|
"set" => {
|
|
441
441
|
name: "set",
|
|
442
|
-
description: "sets a key to a value and returns the
|
|
442
|
+
description: "sets a key to a value and returns the dictionary.",
|
|
443
443
|
examples: [
|
|
444
444
|
"{ a: 1 }.set(:b, 2)",
|
|
445
445
|
"{}.set(:a, 1)",
|
|
@@ -1780,9 +1780,13 @@ class Code
|
|
|
1780
1780
|
when "replace"
|
|
1781
1781
|
sig(args) { Dictionary }
|
|
1782
1782
|
code_replace(code_value)
|
|
1783
|
-
when "store"
|
|
1783
|
+
when "store"
|
|
1784
1784
|
sig(args) { [Object, Object] }
|
|
1785
1785
|
code_store(*code_arguments.raw)
|
|
1786
|
+
when "set"
|
|
1787
|
+
sig(args) { [Object, Object] }
|
|
1788
|
+
code_set(*code_arguments.raw)
|
|
1789
|
+
self
|
|
1786
1790
|
when "shift"
|
|
1787
1791
|
sig(args)
|
|
1788
1792
|
code_shift
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: code-ruby
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 5.0.
|
|
4
|
+
version: 5.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dorian Marié
|
|
@@ -410,7 +410,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
410
410
|
- !ruby/object:Gem::Version
|
|
411
411
|
version: '0'
|
|
412
412
|
requirements: []
|
|
413
|
-
rubygems_version: 4.0.
|
|
413
|
+
rubygems_version: 4.0.17
|
|
414
414
|
specification_version: 4
|
|
415
415
|
summary: a programming language for the internet
|
|
416
416
|
test_files: []
|