crystalruby 0.1.1 → 0.1.3
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/CHANGELOG.md +5 -0
- data/README.md +131 -8
- data/crystalruby.gemspec +5 -5
- data/exe/crystalruby +1 -0
- data/lib/crystalruby/config.rb +12 -7
- data/lib/crystalruby/template.rb +13 -0
- data/lib/crystalruby/templates/function.cr +20 -0
- data/lib/crystalruby/templates/index.cr +38 -0
- data/lib/crystalruby/typebuilder.rb +179 -0
- data/lib/crystalruby/typemaps.rb +26 -0
- data/lib/crystalruby/types/array.rb +14 -0
- data/lib/crystalruby/types/bool.rb +3 -0
- data/lib/crystalruby/types/hash.rb +15 -0
- data/lib/crystalruby/types/named_tuple.rb +25 -0
- data/lib/crystalruby/types/nil.rb +3 -0
- data/lib/crystalruby/types/numbers.rb +5 -0
- data/lib/crystalruby/types/string.rb +3 -0
- data/lib/crystalruby/types/symbol.rb +3 -0
- data/lib/crystalruby/types/time.rb +6 -0
- data/lib/crystalruby/types/tuple.rb +15 -0
- data/lib/crystalruby/types/type.rb +66 -0
- data/lib/crystalruby/types/type_serializer/json.rb +40 -0
- data/lib/crystalruby/types/type_serializer.rb +37 -0
- data/lib/crystalruby/types/typedef.rb +55 -0
- data/lib/crystalruby/types/union_type.rb +37 -0
- data/lib/crystalruby/types.rb +18 -0
- data/lib/crystalruby/version.rb +1 -1
- data/lib/crystalruby.rb +210 -93
- metadata +25 -5
metadata
CHANGED
@@ -1,17 +1,17 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: crystalruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Wouter Coppieters
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-04-
|
11
|
+
date: 2024-04-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: digest
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
@@ -25,7 +25,7 @@ dependencies:
|
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: ffi
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
@@ -84,7 +84,27 @@ files:
|
|
84
84
|
- exe/crystalruby
|
85
85
|
- lib/crystalruby.rb
|
86
86
|
- lib/crystalruby/config.rb
|
87
|
+
- lib/crystalruby/template.rb
|
88
|
+
- lib/crystalruby/templates/function.cr
|
89
|
+
- lib/crystalruby/templates/index.cr
|
90
|
+
- lib/crystalruby/typebuilder.rb
|
87
91
|
- lib/crystalruby/typemaps.rb
|
92
|
+
- lib/crystalruby/types.rb
|
93
|
+
- lib/crystalruby/types/array.rb
|
94
|
+
- lib/crystalruby/types/bool.rb
|
95
|
+
- lib/crystalruby/types/hash.rb
|
96
|
+
- lib/crystalruby/types/named_tuple.rb
|
97
|
+
- lib/crystalruby/types/nil.rb
|
98
|
+
- lib/crystalruby/types/numbers.rb
|
99
|
+
- lib/crystalruby/types/string.rb
|
100
|
+
- lib/crystalruby/types/symbol.rb
|
101
|
+
- lib/crystalruby/types/time.rb
|
102
|
+
- lib/crystalruby/types/tuple.rb
|
103
|
+
- lib/crystalruby/types/type.rb
|
104
|
+
- lib/crystalruby/types/type_serializer.rb
|
105
|
+
- lib/crystalruby/types/type_serializer/json.rb
|
106
|
+
- lib/crystalruby/types/typedef.rb
|
107
|
+
- lib/crystalruby/types/union_type.rb
|
88
108
|
- lib/crystalruby/version.rb
|
89
109
|
- lib/module.rb
|
90
110
|
- sig/crystalruby.rbs
|
@@ -103,7 +123,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
103
123
|
requirements:
|
104
124
|
- - ">="
|
105
125
|
- !ruby/object:Gem::Version
|
106
|
-
version:
|
126
|
+
version: 2.7.2
|
107
127
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
108
128
|
requirements:
|
109
129
|
- - ">="
|