camille 0.5.16 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/Gemfile.lock +151 -119
- data/benchmarks/checking_class_of_object.rb +26 -0
- data/benchmarks/checking_method_of_object.rb +20 -0
- data/gemfiles/{rails-6.1 → rails-7.2} +1 -1
- data/gemfiles/{rails-7.0 → rails-8.0} +1 -1
- data/lib/camille/object_hash.rb +4 -0
- data/lib/camille/version.rb +1 -1
- metadata +11 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5a179a530118d866cdd0d5baa3b90a454a3d4c2a5c77b47d43b3be4132587b13
|
4
|
+
data.tar.gz: 82341acb5d71fa1209c32c9c2fa09fdde41bbe71890fa13cfe8469b43842489b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 744ac81f6d267007676d123e4b9111a462989adde5f060e58bde32b749c6204f6912bd2b17fcba298b2aca0ee34f91fc534356ce6d3d3acb01d450e24e839168
|
7
|
+
data.tar.gz: 6bcd20cd62ff6de5c7ffd15666f1f6bf0a4c2d453acc682c109cad901b9cf8e77c488685b97ad8353efbff98ef810e30e4f4286a6e03f9428d11077319989622
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,100 +1,115 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
camille (0.5.
|
5
|
-
rails (>= 6.1, < 8)
|
4
|
+
camille (0.5.16)
|
5
|
+
rails (>= 6.1, < 8.1)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
|
-
actioncable (7.
|
11
|
-
actionpack (= 7.
|
12
|
-
activesupport (= 7.
|
10
|
+
actioncable (7.2.2.1)
|
11
|
+
actionpack (= 7.2.2.1)
|
12
|
+
activesupport (= 7.2.2.1)
|
13
13
|
nio4r (~> 2.0)
|
14
14
|
websocket-driver (>= 0.6.1)
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
activesupport (= 7.0.4.2)
|
38
|
-
rack (~> 2.0, >= 2.2.0)
|
15
|
+
zeitwerk (~> 2.6)
|
16
|
+
actionmailbox (7.2.2.1)
|
17
|
+
actionpack (= 7.2.2.1)
|
18
|
+
activejob (= 7.2.2.1)
|
19
|
+
activerecord (= 7.2.2.1)
|
20
|
+
activestorage (= 7.2.2.1)
|
21
|
+
activesupport (= 7.2.2.1)
|
22
|
+
mail (>= 2.8.0)
|
23
|
+
actionmailer (7.2.2.1)
|
24
|
+
actionpack (= 7.2.2.1)
|
25
|
+
actionview (= 7.2.2.1)
|
26
|
+
activejob (= 7.2.2.1)
|
27
|
+
activesupport (= 7.2.2.1)
|
28
|
+
mail (>= 2.8.0)
|
29
|
+
rails-dom-testing (~> 2.2)
|
30
|
+
actionpack (7.2.2.1)
|
31
|
+
actionview (= 7.2.2.1)
|
32
|
+
activesupport (= 7.2.2.1)
|
33
|
+
nokogiri (>= 1.8.5)
|
34
|
+
racc
|
35
|
+
rack (>= 2.2.4, < 3.2)
|
36
|
+
rack-session (>= 1.0.1)
|
39
37
|
rack-test (>= 0.6.3)
|
40
|
-
rails-dom-testing (~> 2.
|
41
|
-
rails-html-sanitizer (~> 1.
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
38
|
+
rails-dom-testing (~> 2.2)
|
39
|
+
rails-html-sanitizer (~> 1.6)
|
40
|
+
useragent (~> 0.16)
|
41
|
+
actiontext (7.2.2.1)
|
42
|
+
actionpack (= 7.2.2.1)
|
43
|
+
activerecord (= 7.2.2.1)
|
44
|
+
activestorage (= 7.2.2.1)
|
45
|
+
activesupport (= 7.2.2.1)
|
47
46
|
globalid (>= 0.6.0)
|
48
47
|
nokogiri (>= 1.8.5)
|
49
|
-
actionview (7.
|
50
|
-
activesupport (= 7.
|
48
|
+
actionview (7.2.2.1)
|
49
|
+
activesupport (= 7.2.2.1)
|
51
50
|
builder (~> 3.1)
|
52
|
-
erubi (~> 1.
|
53
|
-
rails-dom-testing (~> 2.
|
54
|
-
rails-html-sanitizer (~> 1.
|
55
|
-
activejob (7.
|
56
|
-
activesupport (= 7.
|
51
|
+
erubi (~> 1.11)
|
52
|
+
rails-dom-testing (~> 2.2)
|
53
|
+
rails-html-sanitizer (~> 1.6)
|
54
|
+
activejob (7.2.2.1)
|
55
|
+
activesupport (= 7.2.2.1)
|
57
56
|
globalid (>= 0.3.6)
|
58
|
-
activemodel (7.
|
59
|
-
activesupport (= 7.
|
60
|
-
activerecord (7.
|
61
|
-
activemodel (= 7.
|
62
|
-
activesupport (= 7.
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
57
|
+
activemodel (7.2.2.1)
|
58
|
+
activesupport (= 7.2.2.1)
|
59
|
+
activerecord (7.2.2.1)
|
60
|
+
activemodel (= 7.2.2.1)
|
61
|
+
activesupport (= 7.2.2.1)
|
62
|
+
timeout (>= 0.4.0)
|
63
|
+
activestorage (7.2.2.1)
|
64
|
+
actionpack (= 7.2.2.1)
|
65
|
+
activejob (= 7.2.2.1)
|
66
|
+
activerecord (= 7.2.2.1)
|
67
|
+
activesupport (= 7.2.2.1)
|
68
68
|
marcel (~> 1.0)
|
69
|
-
|
70
|
-
|
71
|
-
|
69
|
+
activesupport (7.2.2.1)
|
70
|
+
base64
|
71
|
+
benchmark (>= 0.3)
|
72
|
+
bigdecimal
|
73
|
+
concurrent-ruby (~> 1.0, >= 1.3.1)
|
74
|
+
connection_pool (>= 2.2.5)
|
75
|
+
drb
|
72
76
|
i18n (>= 1.6, < 2)
|
77
|
+
logger (>= 1.4.2)
|
73
78
|
minitest (>= 5.1)
|
74
|
-
|
75
|
-
|
76
|
-
|
79
|
+
securerandom (>= 0.3)
|
80
|
+
tzinfo (~> 2.0, >= 2.0.5)
|
81
|
+
base64 (0.2.0)
|
82
|
+
benchmark (0.4.0)
|
83
|
+
bigdecimal (3.1.8)
|
84
|
+
builder (3.3.0)
|
85
|
+
concurrent-ruby (1.3.4)
|
86
|
+
connection_pool (2.4.1)
|
77
87
|
crass (1.0.6)
|
78
|
-
date (3.
|
79
|
-
diff-lcs (1.5.
|
80
|
-
|
88
|
+
date (3.4.1)
|
89
|
+
diff-lcs (1.5.1)
|
90
|
+
drb (2.2.1)
|
91
|
+
erubi (1.13.0)
|
81
92
|
globalid (1.2.1)
|
82
93
|
activesupport (>= 6.1)
|
83
|
-
i18n (1.
|
94
|
+
i18n (1.14.6)
|
84
95
|
concurrent-ruby (~> 1.0)
|
85
|
-
|
96
|
+
io-console (0.8.0)
|
97
|
+
irb (1.14.2)
|
98
|
+
rdoc (>= 4.0.0)
|
99
|
+
reline (>= 0.4.2)
|
100
|
+
logger (1.6.3)
|
101
|
+
loofah (2.23.1)
|
86
102
|
crass (~> 1.0.2)
|
87
|
-
nokogiri (>= 1.
|
103
|
+
nokogiri (>= 1.12.0)
|
88
104
|
mail (2.8.1)
|
89
105
|
mini_mime (>= 0.1.1)
|
90
106
|
net-imap
|
91
107
|
net-pop
|
92
108
|
net-smtp
|
93
109
|
marcel (1.0.4)
|
94
|
-
method_source (1.0.0)
|
95
110
|
mini_mime (1.1.5)
|
96
|
-
minitest (5.
|
97
|
-
net-imap (0.
|
111
|
+
minitest (5.25.4)
|
112
|
+
net-imap (0.5.1)
|
98
113
|
date
|
99
114
|
net-protocol
|
100
115
|
net-pop (0.1.2)
|
@@ -103,69 +118,86 @@ GEM
|
|
103
118
|
timeout
|
104
119
|
net-smtp (0.5.0)
|
105
120
|
net-protocol
|
106
|
-
nio4r (2.7.
|
107
|
-
nokogiri (1.
|
121
|
+
nio4r (2.7.4)
|
122
|
+
nokogiri (1.17.2-x86_64-linux)
|
108
123
|
racc (~> 1.4)
|
109
|
-
|
110
|
-
|
111
|
-
|
124
|
+
psych (5.2.1)
|
125
|
+
date
|
126
|
+
stringio
|
127
|
+
racc (1.8.1)
|
128
|
+
rack (3.1.8)
|
129
|
+
rack-session (2.0.0)
|
130
|
+
rack (>= 3.0.0)
|
131
|
+
rack-test (2.1.0)
|
112
132
|
rack (>= 1.3)
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
133
|
+
rackup (2.2.1)
|
134
|
+
rack (>= 3)
|
135
|
+
rails (7.2.2.1)
|
136
|
+
actioncable (= 7.2.2.1)
|
137
|
+
actionmailbox (= 7.2.2.1)
|
138
|
+
actionmailer (= 7.2.2.1)
|
139
|
+
actionpack (= 7.2.2.1)
|
140
|
+
actiontext (= 7.2.2.1)
|
141
|
+
actionview (= 7.2.2.1)
|
142
|
+
activejob (= 7.2.2.1)
|
143
|
+
activemodel (= 7.2.2.1)
|
144
|
+
activerecord (= 7.2.2.1)
|
145
|
+
activestorage (= 7.2.2.1)
|
146
|
+
activesupport (= 7.2.2.1)
|
125
147
|
bundler (>= 1.15.0)
|
126
|
-
railties (= 7.
|
127
|
-
rails-dom-testing (2.0
|
128
|
-
activesupport (>=
|
148
|
+
railties (= 7.2.2.1)
|
149
|
+
rails-dom-testing (2.2.0)
|
150
|
+
activesupport (>= 5.0.0)
|
151
|
+
minitest
|
129
152
|
nokogiri (>= 1.6)
|
130
|
-
rails-html-sanitizer (1.
|
131
|
-
loofah (~> 2.
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
153
|
+
rails-html-sanitizer (1.6.2)
|
154
|
+
loofah (~> 2.21)
|
155
|
+
nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
|
156
|
+
railties (7.2.2.1)
|
157
|
+
actionpack (= 7.2.2.1)
|
158
|
+
activesupport (= 7.2.2.1)
|
159
|
+
irb (~> 1.13)
|
160
|
+
rackup (>= 1.0.0)
|
136
161
|
rake (>= 12.2)
|
137
|
-
thor (~> 1.0)
|
138
|
-
zeitwerk (~> 2.
|
139
|
-
rake (13.
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
rspec
|
145
|
-
rspec-
|
146
|
-
|
162
|
+
thor (~> 1.0, >= 1.2.2)
|
163
|
+
zeitwerk (~> 2.6)
|
164
|
+
rake (13.2.1)
|
165
|
+
rdoc (6.9.0)
|
166
|
+
psych (>= 4.0.0)
|
167
|
+
reline (0.5.12)
|
168
|
+
io-console (~> 0.5)
|
169
|
+
rspec (3.13.0)
|
170
|
+
rspec-core (~> 3.13.0)
|
171
|
+
rspec-expectations (~> 3.13.0)
|
172
|
+
rspec-mocks (~> 3.13.0)
|
173
|
+
rspec-core (3.13.2)
|
174
|
+
rspec-support (~> 3.13.0)
|
175
|
+
rspec-expectations (3.13.3)
|
147
176
|
diff-lcs (>= 1.2.0, < 2.0)
|
148
|
-
rspec-support (~> 3.
|
149
|
-
rspec-mocks (3.
|
177
|
+
rspec-support (~> 3.13.0)
|
178
|
+
rspec-mocks (3.13.2)
|
150
179
|
diff-lcs (>= 1.2.0, < 2.0)
|
151
|
-
rspec-support (~> 3.
|
152
|
-
rspec-rails (
|
153
|
-
actionpack (>=
|
154
|
-
activesupport (>=
|
155
|
-
railties (>=
|
156
|
-
rspec-core (~> 3.
|
157
|
-
rspec-expectations (~> 3.
|
158
|
-
rspec-mocks (~> 3.
|
159
|
-
rspec-support (~> 3.
|
160
|
-
rspec-support (3.
|
161
|
-
|
162
|
-
|
180
|
+
rspec-support (~> 3.13.0)
|
181
|
+
rspec-rails (7.1.0)
|
182
|
+
actionpack (>= 7.0)
|
183
|
+
activesupport (>= 7.0)
|
184
|
+
railties (>= 7.0)
|
185
|
+
rspec-core (~> 3.13)
|
186
|
+
rspec-expectations (~> 3.13)
|
187
|
+
rspec-mocks (~> 3.13)
|
188
|
+
rspec-support (~> 3.13)
|
189
|
+
rspec-support (3.13.2)
|
190
|
+
securerandom (0.4.0)
|
191
|
+
stringio (3.1.2)
|
192
|
+
thor (1.3.2)
|
193
|
+
timeout (0.4.2)
|
163
194
|
tzinfo (2.0.6)
|
164
195
|
concurrent-ruby (~> 1.0)
|
196
|
+
useragent (0.16.11)
|
165
197
|
websocket-driver (0.7.6)
|
166
198
|
websocket-extensions (>= 0.1.0)
|
167
199
|
websocket-extensions (0.1.5)
|
168
|
-
zeitwerk (2.
|
200
|
+
zeitwerk (2.7.1)
|
169
201
|
|
170
202
|
PLATFORMS
|
171
203
|
x86_64-linux
|
@@ -0,0 +1,26 @@
|
|
1
|
+
require "benchmark/ips"
|
2
|
+
|
3
|
+
class A
|
4
|
+
end
|
5
|
+
|
6
|
+
a = A.new
|
7
|
+
|
8
|
+
Benchmark.ips do |x|
|
9
|
+
x.report("instance_of?") do
|
10
|
+
a.instance_of? A
|
11
|
+
end
|
12
|
+
|
13
|
+
x.report("is_a?") do
|
14
|
+
a.is_a? A
|
15
|
+
end
|
16
|
+
|
17
|
+
x.report("class ==") do
|
18
|
+
a.class == A
|
19
|
+
end
|
20
|
+
|
21
|
+
x.report("class.equal?") do
|
22
|
+
a.class.equal?(A)
|
23
|
+
end
|
24
|
+
|
25
|
+
x.compare!
|
26
|
+
end
|
data/lib/camille/object_hash.rb
CHANGED
data/lib/camille/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: camille
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- merely
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-12-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '6.1'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: '8'
|
22
|
+
version: '8.1'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,10 +29,10 @@ dependencies:
|
|
29
29
|
version: '6.1'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: '8'
|
32
|
+
version: '8.1'
|
33
33
|
description: ''
|
34
34
|
email:
|
35
|
-
- git@
|
35
|
+
- git@merely.ca
|
36
36
|
executables: []
|
37
37
|
extensions: []
|
38
38
|
extra_rdoc_files: []
|
@@ -43,11 +43,13 @@ files:
|
|
43
43
|
- Gemfile.lock
|
44
44
|
- README.md
|
45
45
|
- Rakefile
|
46
|
+
- benchmarks/checking_class_of_object.rb
|
47
|
+
- benchmarks/checking_method_of_object.rb
|
46
48
|
- benchmarks/returning_multiple_values.rb
|
47
49
|
- bin/console
|
48
50
|
- bin/setup
|
49
|
-
- gemfiles/rails-
|
50
|
-
- gemfiles/rails-
|
51
|
+
- gemfiles/rails-7.2
|
52
|
+
- gemfiles/rails-8.0
|
51
53
|
- lib/camille.rb
|
52
54
|
- lib/camille/basic_type.rb
|
53
55
|
- lib/camille/code_generator.rb
|
@@ -116,7 +118,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
116
118
|
- !ruby/object:Gem::Version
|
117
119
|
version: '0'
|
118
120
|
requirements: []
|
119
|
-
rubygems_version: 3.5.
|
121
|
+
rubygems_version: 3.5.16
|
120
122
|
signing_key:
|
121
123
|
specification_version: 4
|
122
124
|
summary: Typed API schema for Rails with TypeScript codegen
|