code-ruby 1.5.6 → 1.6.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/.rubocop.yml +2 -0
- data/Gemfile.lock +1 -1
- data/VERSION +1 -1
- data/docs/precedence.txt +36 -0
- data/lib/code/concerns/shared.rb +33 -6
- data/lib/code/node/if.rb +5 -0
- data/lib/code/object/date.rb +651 -45
- data/lib/code/object/decimal.rb +722 -78
- data/lib/code/object/dictionary.rb +435 -60
- data/lib/code/object/function.rb +4 -3
- data/lib/code/object/global.rb +8 -1
- data/lib/code/object/integer.rb +724 -87
- data/lib/code/object/list.rb +546 -102
- data/lib/code/object/number.rb +8 -0
- data/lib/code/object/parameter.rb +7 -11
- data/lib/code/object/range.rb +5 -0
- data/lib/code/object/string.rb +14 -0
- data/lib/code/object/time.rb +644 -114
- data/lib/code/parser/equal.rb +1 -1
- data/lib/code/parser/equality.rb +5 -4
- data/lib/code/parser/if.rb +7 -2
- data/lib/code/parser/name.rb +56 -8
- data/lib/code/parser/negation.rb +2 -2
- data/lib/code.rb +1 -1
- data/spec/code/object/decimal_spec.rb +0 -1
- data/spec/code/object/http_spec.rb +72 -68
- data/spec/code/object/integer_spec.rb +0 -1
- data/spec/code/parser/if_modifier_spec.rb +2 -2
- data/spec/code_spec.rb +142 -132
- metadata +4 -2
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: code-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dorian Marié
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-06-
|
10
|
+
date: 2025-06-21 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: activesupport
|
@@ -223,6 +223,7 @@ files:
|
|
223
223
|
- bin/rubocop
|
224
224
|
- bin/test
|
225
225
|
- code-ruby.gemspec
|
226
|
+
- docs/precedence.txt
|
226
227
|
- lib/code-ruby.rb
|
227
228
|
- lib/code.rb
|
228
229
|
- lib/code/concerns.rb
|
@@ -275,6 +276,7 @@ files:
|
|
275
276
|
- lib/code/object/json.rb
|
276
277
|
- lib/code/object/list.rb
|
277
278
|
- lib/code/object/nothing.rb
|
279
|
+
- lib/code/object/number.rb
|
278
280
|
- lib/code/object/parameter.rb
|
279
281
|
- lib/code/object/range.rb
|
280
282
|
- lib/code/object/smtp.rb
|