activerecord-ejection_seat 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/.tool-versions +1 -1
- data/CHANGELOG.md +6 -0
- data/Gemfile +0 -2
- data/Gemfile.lock +41 -52
- data/lib/activerecord-ejection_seat/version.rb +1 -1
- data/sorbet/rbi/gems/{activerecord@7.0.4.2.rbi → activerecord@7.0.4.3.rbi} +128 -128
- data/sorbet/rbi/gems/{activesupport@7.0.4.2.rbi → activesupport@7.0.4.3.rbi} +79 -103
- data/sorbet/rbi/gems/{concurrent-ruby@1.2.0.rbi → concurrent-ruby@1.2.2.rbi} +64 -89
- data/sorbet/rbi/gems/diff-lcs@1.5.0.rbi +19 -0
- data/sorbet/rbi/gems/i18n@1.13.0.rbi +2320 -0
- data/sorbet/rbi/gems/{irb@1.6.2.rbi → irb@1.6.4.rbi} +50 -35
- data/sorbet/rbi/gems/json@2.6.3.rbi +65 -73
- data/sorbet/rbi/gems/{minitest@5.17.0.rbi → minitest@5.18.0.rbi} +79 -48
- data/sorbet/rbi/gems/{parallel@1.22.1.rbi → parallel@1.23.0.rbi} +75 -79
- data/sorbet/rbi/gems/{parser@3.2.1.0.rbi → parser@3.2.2.1.rbi} +164 -164
- data/sorbet/rbi/gems/rainbow@3.1.1.rbi +11 -6
- data/sorbet/rbi/gems/rake@13.0.6.rbi +141 -0
- data/sorbet/rbi/gems/rbi@0.0.16.rbi +17 -17
- data/sorbet/rbi/gems/{regexp_parser@2.7.0.rbi → regexp_parser@2.8.0.rbi} +617 -449
- data/sorbet/rbi/gems/rexml@3.2.5.rbi +57 -0
- data/sorbet/rbi/gems/{rubocop-ast@1.26.0.rbi → rubocop-ast@1.28.1.rbi} +79 -60
- data/sorbet/rbi/gems/{rubocop-minitest@0.27.0.rbi → rubocop-minitest@0.31.0.rbi} +364 -222
- data/sorbet/rbi/gems/rubocop-rake@0.6.0.rbi +24 -50
- data/sorbet/rbi/gems/rubocop-sorbet@0.7.0.rbi +0 -15
- data/sorbet/rbi/gems/{rubocop@1.45.1.rbi → rubocop@1.51.0.rbi} +2170 -1402
- data/sorbet/rbi/gems/{ruby-progressbar@1.11.0.rbi → ruby-progressbar@1.13.0.rbi} +382 -277
- data/sorbet/rbi/gems/sorbet-struct-comparable@1.3.0.rbi +18 -0
- data/sorbet/rbi/gems/{spoom@1.1.15.rbi → spoom@1.2.1.rbi} +621 -501
- data/sorbet/rbi/gems/{tapioca@0.10.5.rbi → tapioca@0.11.6.rbi} +293 -207
- data/sorbet/rbi/gems/{thor@1.2.1.rbi → thor@1.2.2.rbi} +76 -61
- data/sorbet/rbi/gems/{yard-sorbet@0.8.0.rbi → yard-sorbet@0.8.1.rbi} +13 -26
- data/sorbet/rbi/gems/{yard@0.9.28.rbi → yard@0.9.34.rbi} +1531 -345
- metadata +27 -33
- data/activerecord-ejection_seat.gemspec +0 -40
- data/sorbet/rbi/gems/i18n@1.12.0.rbi +0 -8
- data/sorbet/rbi/gems/language_server-protocol@3.17.0.3.rbi +0 -8
- data/sorbet/rbi/gems/prettier_print@1.2.0.rbi +0 -8
- data/sorbet/rbi/gems/ruby-lsp@0.4.0.rbi +0 -14
- data/sorbet/rbi/gems/syntax_tree@6.0.0.rbi +0 -8
- data/sorbet/rbi/gems/webrick@1.7.0.rbi +0 -2498
- /data/sorbet/rbi/gems/{activemodel@7.0.4.2.rbi → activemodel@7.0.4.3.rbi} +0 -0
- /data/sorbet/rbi/gems/{reline@0.3.2.rbi → reline@0.3.3.rbi} +0 -0
- /data/sorbet/rbi/gems/{sqlite3@1.6.0.rbi → sqlite3@1.6.2.rbi} +0 -0
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activerecord-ejection_seat
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Max VelDink
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-05-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
@@ -60,7 +60,6 @@ files:
|
|
60
60
|
- LICENSE.txt
|
61
61
|
- README.md
|
62
62
|
- Rakefile
|
63
|
-
- activerecord-ejection_seat.gemspec
|
64
63
|
- lib/activerecord-ejection_seat.rb
|
65
64
|
- lib/activerecord-ejection_seat/attributes_builder.rb
|
66
65
|
- lib/activerecord-ejection_seat/ejectable.rb
|
@@ -70,47 +69,42 @@ files:
|
|
70
69
|
- sorbet/rbi/annotations/activerecord.rbi
|
71
70
|
- sorbet/rbi/annotations/activesupport.rbi
|
72
71
|
- sorbet/rbi/annotations/rainbow.rbi
|
73
|
-
- sorbet/rbi/gems/activemodel@7.0.4.
|
74
|
-
- sorbet/rbi/gems/activerecord@7.0.4.
|
75
|
-
- sorbet/rbi/gems/activesupport@7.0.4.
|
72
|
+
- sorbet/rbi/gems/activemodel@7.0.4.3.rbi
|
73
|
+
- sorbet/rbi/gems/activerecord@7.0.4.3.rbi
|
74
|
+
- sorbet/rbi/gems/activesupport@7.0.4.3.rbi
|
76
75
|
- sorbet/rbi/gems/ast@2.4.2.rbi
|
77
|
-
- sorbet/rbi/gems/concurrent-ruby@1.2.
|
76
|
+
- sorbet/rbi/gems/concurrent-ruby@1.2.2.rbi
|
78
77
|
- sorbet/rbi/gems/diff-lcs@1.5.0.rbi
|
79
|
-
- sorbet/rbi/gems/i18n@1.
|
78
|
+
- sorbet/rbi/gems/i18n@1.13.0.rbi
|
80
79
|
- sorbet/rbi/gems/io-console@0.6.0.rbi
|
81
|
-
- sorbet/rbi/gems/irb@1.6.
|
80
|
+
- sorbet/rbi/gems/irb@1.6.4.rbi
|
82
81
|
- sorbet/rbi/gems/json@2.6.3.rbi
|
83
|
-
- sorbet/rbi/gems/
|
84
|
-
- sorbet/rbi/gems/minitest@5.17.0.rbi
|
82
|
+
- sorbet/rbi/gems/minitest@5.18.0.rbi
|
85
83
|
- sorbet/rbi/gems/netrc@0.11.0.rbi
|
86
|
-
- sorbet/rbi/gems/parallel@1.
|
87
|
-
- sorbet/rbi/gems/parser@3.2.1.
|
88
|
-
- sorbet/rbi/gems/prettier_print@1.2.0.rbi
|
84
|
+
- sorbet/rbi/gems/parallel@1.23.0.rbi
|
85
|
+
- sorbet/rbi/gems/parser@3.2.2.1.rbi
|
89
86
|
- sorbet/rbi/gems/rainbow@3.1.1.rbi
|
90
87
|
- sorbet/rbi/gems/rake@13.0.6.rbi
|
91
88
|
- sorbet/rbi/gems/rbi@0.0.16.rbi
|
92
|
-
- sorbet/rbi/gems/regexp_parser@2.
|
93
|
-
- sorbet/rbi/gems/reline@0.3.
|
89
|
+
- sorbet/rbi/gems/regexp_parser@2.8.0.rbi
|
90
|
+
- sorbet/rbi/gems/reline@0.3.3.rbi
|
94
91
|
- sorbet/rbi/gems/rexml@3.2.5.rbi
|
95
|
-
- sorbet/rbi/gems/rubocop-ast@1.
|
96
|
-
- sorbet/rbi/gems/rubocop-minitest@0.
|
92
|
+
- sorbet/rbi/gems/rubocop-ast@1.28.1.rbi
|
93
|
+
- sorbet/rbi/gems/rubocop-minitest@0.31.0.rbi
|
97
94
|
- sorbet/rbi/gems/rubocop-rake@0.6.0.rbi
|
98
95
|
- sorbet/rbi/gems/rubocop-sorbet@0.7.0.rbi
|
99
|
-
- sorbet/rbi/gems/rubocop@1.
|
100
|
-
- sorbet/rbi/gems/ruby-
|
101
|
-
- sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi
|
96
|
+
- sorbet/rbi/gems/rubocop@1.51.0.rbi
|
97
|
+
- sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi
|
102
98
|
- sorbet/rbi/gems/sorbet-struct-comparable@1.3.0.rbi
|
103
|
-
- sorbet/rbi/gems/spoom@1.1.
|
104
|
-
- sorbet/rbi/gems/sqlite3@1.6.
|
105
|
-
- sorbet/rbi/gems/
|
106
|
-
- sorbet/rbi/gems/
|
107
|
-
- sorbet/rbi/gems/thor@1.2.1.rbi
|
99
|
+
- sorbet/rbi/gems/spoom@1.2.1.rbi
|
100
|
+
- sorbet/rbi/gems/sqlite3@1.6.2.rbi
|
101
|
+
- sorbet/rbi/gems/tapioca@0.11.6.rbi
|
102
|
+
- sorbet/rbi/gems/thor@1.2.2.rbi
|
108
103
|
- sorbet/rbi/gems/tzinfo@2.0.6.rbi
|
109
104
|
- sorbet/rbi/gems/unicode-display_width@2.4.2.rbi
|
110
105
|
- sorbet/rbi/gems/unparser@0.6.7.rbi
|
111
|
-
- sorbet/rbi/gems/
|
112
|
-
- sorbet/rbi/gems/yard
|
113
|
-
- sorbet/rbi/gems/yard@0.9.28.rbi
|
106
|
+
- sorbet/rbi/gems/yard-sorbet@0.8.1.rbi
|
107
|
+
- sorbet/rbi/gems/yard@0.9.34.rbi
|
114
108
|
- sorbet/rbi/shims/location.rbi
|
115
109
|
- sorbet/rbi/shims/post.rbi
|
116
110
|
- sorbet/rbi/shims/user.rbi
|
@@ -126,7 +120,7 @@ metadata:
|
|
126
120
|
homepage_uri: https://github.com/maxveldink/activerecord-ejection_seat
|
127
121
|
source_code_uri: https://github.com/maxveldink/activerecord-ejection_seat
|
128
122
|
changelog_uri: https://github.com/maxveldink/activerecord-ejection_seat/blob/main/CHANGELOG.md
|
129
|
-
post_install_message:
|
123
|
+
post_install_message:
|
130
124
|
rdoc_options: []
|
131
125
|
require_paths:
|
132
126
|
- lib
|
@@ -141,8 +135,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
141
135
|
- !ruby/object:Gem::Version
|
142
136
|
version: '0'
|
143
137
|
requirements: []
|
144
|
-
rubygems_version: 3.4.
|
145
|
-
signing_key:
|
138
|
+
rubygems_version: 3.4.10
|
139
|
+
signing_key:
|
146
140
|
specification_version: 4
|
147
141
|
summary: Eject from an ActiveRecord model to a Sorbet T::Struct, or buckle back in.
|
148
142
|
test_files: []
|
@@ -1,40 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require_relative "lib/activerecord-ejection_seat/version"
|
4
|
-
|
5
|
-
Gem::Specification.new do |spec|
|
6
|
-
spec.name = "activerecord-ejection_seat"
|
7
|
-
spec.version = ActiveRecord::EjectionSeat::VERSION
|
8
|
-
spec.authors = ["Max VelDink"]
|
9
|
-
spec.email = ["maxveldink@gmail.com"]
|
10
|
-
|
11
|
-
spec.summary = "Eject from an ActiveRecord model to a Sorbet T::Struct, or buckle back in."
|
12
|
-
spec.description = "When working with ActiveRecord models, sometimes you want to eject to a simpler, safer object. \
|
13
|
-
Enter Sorbet's T::Struct. This gem makes it much easier to target a \
|
14
|
-
Sorbet T::Struct and eject from an ActiveRecord model into the struct. \
|
15
|
-
It also allows you to buckle in from a simple struct to a new ActiveRecord model instance."
|
16
|
-
spec.homepage = "https://github.com/maxveldink/activerecord-ejection_seat"
|
17
|
-
spec.license = "MIT"
|
18
|
-
spec.required_ruby_version = ">= 3.0.0"
|
19
|
-
|
20
|
-
spec.metadata["allowed_push_host"] = "https://rubygems.org"
|
21
|
-
spec.metadata["rubygems_mfa_required"] = "true"
|
22
|
-
|
23
|
-
spec.metadata["homepage_uri"] = spec.homepage
|
24
|
-
spec.metadata["source_code_uri"] = spec.homepage
|
25
|
-
spec.metadata["changelog_uri"] = "https://github.com/maxveldink/activerecord-ejection_seat/blob/main/CHANGELOG.md"
|
26
|
-
|
27
|
-
# Specify which files should be added to the gem when it is released.
|
28
|
-
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
29
|
-
spec.files = Dir.chdir(__dir__) do
|
30
|
-
`git ls-files -z`.split("\x0").reject do |f|
|
31
|
-
(f == __FILE__) || f.match(%r{\A(?:(?:bin|test|spec|features)/|\.(?:git|travis|circleci)|appveyor)})
|
32
|
-
end
|
33
|
-
end
|
34
|
-
spec.bindir = "exe"
|
35
|
-
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
|
36
|
-
spec.require_paths = ["lib"]
|
37
|
-
|
38
|
-
spec.add_runtime_dependency "activerecord", ">= 6.0"
|
39
|
-
spec.add_runtime_dependency "sorbet-runtime"
|
40
|
-
end
|
@@ -1,8 +0,0 @@
|
|
1
|
-
# typed: true
|
2
|
-
|
3
|
-
# DO NOT EDIT MANUALLY
|
4
|
-
# This is an autogenerated file for types exported from the `i18n` gem.
|
5
|
-
# Please instead update this file by running `bin/tapioca gem i18n`.
|
6
|
-
|
7
|
-
# THIS IS AN EMPTY RBI FILE.
|
8
|
-
# see https://github.com/Shopify/tapioca#manually-requiring-parts-of-a-gem
|
@@ -1,8 +0,0 @@
|
|
1
|
-
# typed: true
|
2
|
-
|
3
|
-
# DO NOT EDIT MANUALLY
|
4
|
-
# This is an autogenerated file for types exported from the `language_server-protocol` gem.
|
5
|
-
# Please instead update this file by running `bin/tapioca gem language_server-protocol`.
|
6
|
-
|
7
|
-
# THIS IS AN EMPTY RBI FILE.
|
8
|
-
# see https://github.com/Shopify/tapioca#manually-requiring-parts-of-a-gem
|
@@ -1,8 +0,0 @@
|
|
1
|
-
# typed: true
|
2
|
-
|
3
|
-
# DO NOT EDIT MANUALLY
|
4
|
-
# This is an autogenerated file for types exported from the `prettier_print` gem.
|
5
|
-
# Please instead update this file by running `bin/tapioca gem prettier_print`.
|
6
|
-
|
7
|
-
# THIS IS AN EMPTY RBI FILE.
|
8
|
-
# see https://github.com/Shopify/tapioca#manually-requiring-parts-of-a-gem
|
@@ -1,14 +0,0 @@
|
|
1
|
-
# typed: true
|
2
|
-
|
3
|
-
# DO NOT EDIT MANUALLY
|
4
|
-
# This is an autogenerated file for types exported from the `ruby-lsp` gem.
|
5
|
-
# Please instead update this file by running `bin/tapioca gem ruby-lsp`.
|
6
|
-
|
7
|
-
# source://ruby-lsp//lib/ruby-lsp.rb#4
|
8
|
-
module RubyLsp; end
|
9
|
-
|
10
|
-
# source://ruby-lsp//lib/ruby-lsp.rb#5
|
11
|
-
RubyLsp::VERSION = T.let(T.unsafe(nil), String)
|
12
|
-
|
13
|
-
# source://tapioca/0.10.5/lib/tapioca/helpers/source_uri.rb#10
|
14
|
-
URI::Source::COMPONENT = T.let(T.unsafe(nil), Array)
|
@@ -1,8 +0,0 @@
|
|
1
|
-
# typed: true
|
2
|
-
|
3
|
-
# DO NOT EDIT MANUALLY
|
4
|
-
# This is an autogenerated file for types exported from the `syntax_tree` gem.
|
5
|
-
# Please instead update this file by running `bin/tapioca gem syntax_tree`.
|
6
|
-
|
7
|
-
# THIS IS AN EMPTY RBI FILE.
|
8
|
-
# see https://github.com/Shopify/tapioca#manually-requiring-parts-of-a-gem
|