active_cached_resource 0.0.1.pre → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +2 -1
- data/Rakefile +22 -14
- data/lib/active_cached_resource/version.rb +3 -3
- data/lib/activeresource/examples/performance.rb +1 -1
- data/lib/activeresource/lib/active_resource/collection.rb +14 -1
- data/lib/activeresource/lib/active_resource/railtie.rb +2 -2
- data/lib/activeresource/lib/active_resource.rb +1 -1
- data/lib/activeresource/test/abstract_unit.rb +2 -1
- data/lib/activeresource/test/cases/active_job_serializer_test.rb +1 -1
- data/lib/activeresource/test/cases/collection_test.rb +24 -0
- data/lib/activeresource/test/cases/log_subscriber_test.rb +2 -1
- data/lib/activeresource/test/fixtures/fixtures.rbi +46 -0
- data/sorbet/config +2 -0
- data/sorbet/rbi/gems/{actioncable@8.0.0.rbi → actioncable@8.0.1.rbi} +51 -51
- data/sorbet/rbi/gems/{actionpack@8.0.0.rbi → actionpack@8.0.1.rbi} +548 -346
- data/sorbet/rbi/gems/{actionview@8.0.0.rbi → actionview@8.0.1.rbi} +465 -263
- data/sorbet/rbi/gems/activejob@8.0.1.rbi +90 -0
- data/sorbet/rbi/gems/activemodel-serializers-xml@1.0.3.rbi +4 -4
- data/sorbet/rbi/gems/{activemodel@8.0.0.rbi → activemodel@8.0.1.rbi} +11 -3
- data/sorbet/rbi/gems/{activerecord@8.0.0.rbi → activerecord@8.0.1.rbi} +957 -576
- data/sorbet/rbi/gems/{activesupport@8.0.0.rbi → activesupport@8.0.1.rbi} +287 -112
- data/sorbet/rbi/gems/{json@2.8.2.rbi → json@2.9.0.rbi} +107 -64
- data/sorbet/rbi/gems/{logger@1.6.1.rbi → logger@1.6.3.rbi} +31 -11
- data/sorbet/rbi/gems/mocha@2.7.1.rbi +12 -0
- data/sorbet/rbi/gems/msgpack@1.7.5.rbi +320 -0
- data/sorbet/rbi/gems/{nokogiri@1.16.7.rbi → nokogiri@1.17.2.rbi} +1692 -802
- data/sorbet/rbi/gems/{psych@5.2.0.rbi → psych@5.2.1.rbi} +47 -47
- data/sorbet/rbi/gems/rack@3.1.8.rbi +1 -1
- data/sorbet/rbi/gems/rails-dom-testing@2.2.0.rbi +22 -22
- data/sorbet/rbi/gems/{rails-html-sanitizer@1.6.0.rbi → rails-html-sanitizer@1.6.2.rbi} +100 -100
- data/sorbet/rbi/gems/{railties@8.0.0.rbi → railties@8.0.1.rbi} +186 -126
- data/sorbet/rbi/gems/rake@13.2.1.rbi +0 -63
- data/sorbet/rbi/gems/{rdoc@6.8.1.rbi → rdoc@6.9.1.rbi} +160 -139
- data/sorbet/rbi/gems/{regexp_parser@2.9.2.rbi → regexp_parser@2.9.3.rbi} +35 -35
- data/sorbet/rbi/gems/{reline@0.5.12.rbi → reline@0.6.0.rbi} +473 -435
- data/sorbet/rbi/gems/{rexml@3.3.9.rbi → rexml@3.4.0.rbi} +87 -74
- data/sorbet/rbi/gems/rspec-core@3.13.2.rbi +3 -6
- data/sorbet/rbi/gems/{rubocop-ast@1.36.1.rbi → rubocop-ast@1.37.0.rbi} +514 -104
- data/sorbet/rbi/gems/rubocop-md@1.2.4.rbi +123 -0
- data/sorbet/rbi/gems/rubocop-minitest@0.36.0.rbi +2613 -0
- data/sorbet/rbi/gems/rubocop-packaging@0.5.2.rbi +388 -0
- data/sorbet/rbi/gems/rubocop-rails@2.27.0.rbi +9535 -0
- data/sorbet/rbi/gems/{rubocop@1.65.1.rbi → rubocop@1.69.2.rbi} +4058 -2628
- data/sorbet/rbi/gems/ruby2_keywords@0.0.5.rbi +9 -0
- data/sorbet/rbi/gems/securerandom@0.4.1.rbi +78 -0
- data/sorbet/rbi/gems/sqlite3@2.3.1.rbi +1824 -0
- data/sorbet/rbi/gems/{standard@1.40.0.rbi → standard@1.43.0.rbi} +61 -64
- data/sorbet/rbi/gems/unicode-display_width@3.1.2.rbi +130 -0
- data/sorbet/rbi/gems/unicode-emoji@4.0.4.rbi +251 -0
- data/sorbet/tapioca/require.rb +2 -1
- metadata +49 -139
- data/sorbet/rbi/gems/activejob@8.0.0.rbi +0 -9
- data/sorbet/rbi/gems/activeresource@6.1.4.rbi +0 -3944
- data/sorbet/rbi/gems/securerandom@0.3.2.rbi +0 -395
- data/sorbet/rbi/gems/unicode-display_width@2.6.0.rbi +0 -66
- /data/sorbet/rbi/gems/{actionmailbox@8.0.0.rbi → actionmailbox@8.0.1.rbi} +0 -0
- /data/sorbet/rbi/gems/{actionmailer@8.0.0.rbi → actionmailer@8.0.1.rbi} +0 -0
- /data/sorbet/rbi/gems/{actiontext@8.0.0.rbi → actiontext@8.0.1.rbi} +0 -0
- /data/sorbet/rbi/gems/{activestorage@8.0.0.rbi → activestorage@8.0.1.rbi} +0 -0
- /data/sorbet/rbi/gems/{date@3.4.0.rbi → date@3.4.1.rbi} +0 -0
- /data/sorbet/rbi/gems/{io-console@0.7.2.rbi → io-console@0.8.0.rbi} +0 -0
- /data/sorbet/rbi/gems/{minitest@5.25.2.rbi → minitest@5.25.4.rbi} +0 -0
- /data/sorbet/rbi/gems/{net-imap@0.5.1.rbi → net-imap@0.5.2.rbi} +0 -0
- /data/sorbet/rbi/gems/{rails@8.0.0.rbi → rails@8.0.1.rbi} +0 -0
- /data/sorbet/rbi/gems/{rspec-support@3.13.1.rbi → rspec-support@3.13.2.rbi} +0 -0
- /data/sorbet/rbi/gems/{rubocop-performance@1.21.1.rbi → rubocop-performance@1.23.0.rbi} +0 -0
- /data/sorbet/rbi/gems/{standard-performance@1.4.0.rbi → standard-performance@1.6.0.rbi} +0 -0
- /data/sorbet/rbi/gems/{useragent@0.16.10.rbi → useragent@0.16.11.rbi} +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ef610a4896a6984a0f34325237825e1b2777f7f6b2d1f1c79234a1efab0d810b
|
4
|
+
data.tar.gz: 51c27539cea2a48065d96668034bc66df39924663fc64d8c546d32f289846800
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e650a4b2bc7bbfe5664f18220b9685280b048843cd75f736a91e124902b3d1957661699878b686e320601086ecb62051e65edec846d7de72a211fa078a0f8f6b
|
7
|
+
data.tar.gz: 9af25e9cf66b2640b651db07dfeb918e3ce88016f7734ab971d0ed7d9250de583e75e26eaeb7a372ea8c43537c97c2e91e2cf8ae12bc853f56ce26c1f24813f4
|
data/.rubocop.yml
CHANGED
data/Rakefile
CHANGED
@@ -1,21 +1,29 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require "rake/testtask"
|
4
3
|
require "bundler"
|
5
4
|
require "bundler/gem_tasks"
|
6
|
-
require "rspec/core/rake_task"
|
7
|
-
require "rubocop/rake_task"
|
8
5
|
|
9
|
-
|
10
|
-
|
11
|
-
|
6
|
+
unless ENV["CI"]
|
7
|
+
require "rake/testtask"
|
8
|
+
require "rspec/core/rake_task"
|
9
|
+
require "rubocop/rake_task"
|
12
10
|
|
13
|
-
#
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
11
|
+
# ActiveCachedResource tests
|
12
|
+
RSpec::Core::RakeTask.new(:spec)
|
13
|
+
RuboCop::RakeTask.new(:rubocop)
|
14
|
+
|
15
|
+
# ActiveResource tests
|
16
|
+
Rake::TestTask.new(:ar_tests) do |t|
|
17
|
+
t.libs = ["lib/activeresource/test"]
|
18
|
+
t.pattern = "lib/activeresource/test/**/*_test.rb"
|
19
|
+
t.warning = true
|
20
|
+
t.verbose = true
|
21
|
+
end
|
20
22
|
|
21
|
-
|
23
|
+
desc "Type check"
|
24
|
+
task :tc do
|
25
|
+
sh "srb tc"
|
26
|
+
end
|
27
|
+
|
28
|
+
task default: [:tc, :rubocop, :spec, :ar_tests]
|
29
|
+
end
|
@@ -6,7 +6,16 @@ require "active_support/inflector"
|
|
6
6
|
module ActiveResource # :nodoc:
|
7
7
|
class Collection # :nodoc:
|
8
8
|
include Enumerable
|
9
|
-
delegate :
|
9
|
+
delegate :==, :[], :&, :*, :+, :-, :<=>, :all?, :any?, :as_json, :at, :assoc, :blank?, :bsearch, :bsearch_index,
|
10
|
+
:collect, :combination, :compact, :count, :cycle, :deconstruct, :deep_dup, :dig, :difference, :drop,
|
11
|
+
:drop_while, :each, :each_index, :empty?, :eql?, :excluding, :filter, :fifth, :find_index, :first,
|
12
|
+
:flatten, :forty_two, :fourth, :from, :hash, :include?, :including, :index, :inspect, :intersect?,
|
13
|
+
:intersection, :join, :last, :length, :map, :max, :min, :minmax, :none?, :one?, :pack, :permutation,
|
14
|
+
:pretty_print_cycle, :present?, :product, :reject, :repeated_combination, :repeated_permutation,
|
15
|
+
:rassoc, :reverse, :reverse_each, :rindex, :rotate, :sample, :second, :second_to_last, :select,
|
16
|
+
:shelljoin, :shuffle, :size, :slice, :sort, :sum, :take, :take_while, :third, :third_to_last, :to,
|
17
|
+
:to_a, :to_ary, :to_fs, :to_formatted_s, :to_h, :to_param, :to_query, :to_s, :to_sentence, :to_xml,
|
18
|
+
:transpose, :union, :uniq, :values_at, :without, :zip, to: :request_resources!
|
10
19
|
|
11
20
|
attr_accessor :resource_class, :query_params, :path_params
|
12
21
|
attr_writer :prefix_options
|
@@ -175,6 +184,10 @@ module ActiveResource # :nodoc:
|
|
175
184
|
resource_class.where(new_clauses)
|
176
185
|
end
|
177
186
|
|
187
|
+
def each(&block)
|
188
|
+
request_resources!.each(&block)
|
189
|
+
end
|
190
|
+
|
178
191
|
private
|
179
192
|
def query_string(options)
|
180
193
|
"?#{options.to_query}" unless options.nil? || options.empty?
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
3
|
+
require_relative "../active_resource"
|
4
4
|
require "rails"
|
5
5
|
|
6
6
|
module ActiveResource
|
@@ -17,7 +17,7 @@ module ActiveResource
|
|
17
17
|
|
18
18
|
initializer "active_resource.add_active_job_serializer" do |app|
|
19
19
|
if app.config.try(:active_job).try(:custom_serializers)
|
20
|
-
|
20
|
+
require_relative "../active_resource/active_job_serializer"
|
21
21
|
app.config.active_job.custom_serializers << ActiveResource::ActiveJobSerializer
|
22
22
|
end
|
23
23
|
end
|
@@ -7,13 +7,14 @@ lib = File.expand_path("#{File.dirname(__FILE__)}/../lib")
|
|
7
7
|
$:.unshift(lib) unless $:.include?("lib") || $:.include?(lib)
|
8
8
|
|
9
9
|
require "minitest/autorun"
|
10
|
-
require "active_resource"
|
11
10
|
require "active_support"
|
12
11
|
require "active_support/test_case"
|
13
12
|
require "setter_trap"
|
14
13
|
require "active_support/logger"
|
15
14
|
require "base64"
|
16
15
|
|
16
|
+
require_relative "../lib/active_resource"
|
17
|
+
|
17
18
|
ActiveSupport::TestCase.test_order = :random if ActiveSupport::TestCase.respond_to?(:test_order=)
|
18
19
|
ActiveResource::Base.logger = ActiveSupport::Logger.new("#{File.dirname(__FILE__)}/debug.log")
|
19
20
|
ActiveResource::Base.include_root_in_json = true
|
@@ -7,7 +7,7 @@ require "fixtures/person"
|
|
7
7
|
require "fixtures/product"
|
8
8
|
require "active_job"
|
9
9
|
require "active_job/arguments"
|
10
|
-
|
10
|
+
require_relative "../../lib/active_resource/active_job_serializer"
|
11
11
|
|
12
12
|
class ActiveJobSerializerTest < ActiveSupport::TestCase
|
13
13
|
setup do
|
@@ -48,6 +48,30 @@ class ReduxCollection < ActiveResource::Base
|
|
48
48
|
self.collection_parser = PaginatedCollection
|
49
49
|
end
|
50
50
|
|
51
|
+
class ArrayMethodDelegate < ActiveSupport::TestCase
|
52
|
+
def setup
|
53
|
+
@collection = ActiveResource::Collection.new
|
54
|
+
end
|
55
|
+
|
56
|
+
def test_collection_respond_to_delegated_methods
|
57
|
+
delegated_methods = [
|
58
|
+
:==, :[], :&, :*, :+, :-, :<=>, :all?, :any?, :as_json, :at, :assoc, :blank?, :bsearch, :bsearch_index,
|
59
|
+
:collect, :combination, :compact, :count, :cycle, :deconstruct, :deep_dup, :dig, :difference, :drop,
|
60
|
+
:drop_while, :each, :each_index, :empty?, :eql?, :excluding, :filter, :fifth, :find_index, :first,
|
61
|
+
:flatten, :forty_two, :fourth, :from, :hash, :include?, :including, :index, :inspect, :intersect?,
|
62
|
+
:intersection, :join, :last, :length, :map, :max, :min, :minmax, :none?, :one?, :pack, :permutation,
|
63
|
+
:pretty_print_cycle, :present?, :product, :reject, :repeated_combination, :repeated_permutation,
|
64
|
+
:rassoc, :reverse, :reverse_each, :rindex, :rotate, :sample, :second, :second_to_last, :select,
|
65
|
+
:shelljoin, :shuffle, :size, :slice, :sort, :sum, :take, :take_while, :third, :third_to_last, :to,
|
66
|
+
:to_a, :to_ary, :to_fs, :to_formatted_s, :to_h, :to_param, :to_query, :to_s, :to_sentence, :to_xml,
|
67
|
+
:transpose, :union, :uniq, :values_at, :without, :zip
|
68
|
+
]
|
69
|
+
|
70
|
+
delegated_methods.each do |method|
|
71
|
+
assert @collection.respond_to?(method), "Collection should respond to #{method}"
|
72
|
+
end
|
73
|
+
end
|
74
|
+
end
|
51
75
|
|
52
76
|
class CollectionInheritanceTest < ActiveSupport::TestCase
|
53
77
|
def setup
|
@@ -3,9 +3,10 @@
|
|
3
3
|
require "abstract_unit"
|
4
4
|
require "fixtures/person"
|
5
5
|
require "active_support/log_subscriber/test_helper"
|
6
|
-
require "active_resource/log_subscriber"
|
7
6
|
require "active_support/core_ext/hash/conversions"
|
8
7
|
|
8
|
+
require_relative "../../lib/active_resource/log_subscriber"
|
9
|
+
|
9
10
|
class LogSubscriberTest < ActiveSupport::TestCase
|
10
11
|
include ActiveSupport::LogSubscriber::TestHelper
|
11
12
|
|
@@ -0,0 +1,46 @@
|
|
1
|
+
# typed: strong
|
2
|
+
|
3
|
+
class Customer
|
4
|
+
class Friend
|
5
|
+
class Brother
|
6
|
+
class Child; end
|
7
|
+
end
|
8
|
+
end
|
9
|
+
end
|
10
|
+
|
11
|
+
class Person
|
12
|
+
class Books
|
13
|
+
class UnnamedResource; end
|
14
|
+
end
|
15
|
+
|
16
|
+
class Address; end
|
17
|
+
class Street
|
18
|
+
class State
|
19
|
+
class NotableRiver; end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
# Defining specific instances based on the structure
|
25
|
+
class Luis < Customer; end
|
26
|
+
|
27
|
+
class JK < Customer::Friend; end
|
28
|
+
|
29
|
+
class Mateo < Customer::Friend::Brother; end
|
30
|
+
class Felipe < Customer::Friend::Brother; end
|
31
|
+
|
32
|
+
class Edith < Customer::Friend::Brother::Child; end
|
33
|
+
class Martha < Customer::Friend::Brother::Child; end
|
34
|
+
|
35
|
+
class Bryan < Customer::Friend::Brother::Child; end
|
36
|
+
class Luke < Customer::Friend::Brother::Child; end
|
37
|
+
|
38
|
+
class Eduardo < Customer::Friend; end
|
39
|
+
|
40
|
+
class Sebas < Customer::Friend::Brother; end
|
41
|
+
class Elsa < Customer::Friend::Brother; end
|
42
|
+
class Milena < Customer::Friend::Brother; end
|
43
|
+
|
44
|
+
class Andres < Customer::Friend::Brother::Child; end
|
45
|
+
class Jorge < Customer::Friend::Brother::Child; end
|
46
|
+
class Natacha < Customer::Friend::Brother::Child; end
|
data/sorbet/config
CHANGED
@@ -10,158 +10,158 @@
|
|
10
10
|
# source://actioncable//lib/rails/generators/channel/channel_generator.rb#5
|
11
11
|
module Rails
|
12
12
|
class << self
|
13
|
-
# source://railties/8.0.
|
13
|
+
# source://railties/8.0.1/lib/rails.rb#44
|
14
14
|
def app_class; end
|
15
15
|
|
16
|
-
# source://railties/8.0.
|
16
|
+
# source://railties/8.0.1/lib/rails.rb#44
|
17
17
|
def app_class=(_arg0); end
|
18
18
|
|
19
|
-
# source://railties/8.0.
|
19
|
+
# source://railties/8.0.1/lib/rails.rb#45
|
20
20
|
def application; end
|
21
21
|
|
22
|
-
# source://railties/8.0.
|
22
|
+
# source://railties/8.0.1/lib/rails.rb#43
|
23
23
|
def application=(_arg0); end
|
24
24
|
|
25
|
-
# source://railties/8.0.
|
25
|
+
# source://railties/8.0.1/lib/rails.rb#126
|
26
26
|
def autoloaders; end
|
27
27
|
|
28
|
-
# source://railties/8.0.
|
28
|
+
# source://railties/8.0.1/lib/rails.rb#56
|
29
29
|
def backtrace_cleaner; end
|
30
30
|
|
31
|
-
# source://railties/8.0.
|
31
|
+
# source://railties/8.0.1/lib/rails.rb#44
|
32
32
|
def cache; end
|
33
33
|
|
34
|
-
# source://railties/8.0.
|
34
|
+
# source://railties/8.0.1/lib/rails.rb#44
|
35
35
|
def cache=(_arg0); end
|
36
36
|
|
37
|
-
# source://railties/8.0.
|
37
|
+
# source://railties/8.0.1/lib/rails.rb#52
|
38
38
|
def configuration; end
|
39
39
|
|
40
|
-
# source://railties/8.0.
|
40
|
+
# source://railties/8.0.1/lib/rails/deprecator.rb#4
|
41
41
|
def deprecator; end
|
42
42
|
|
43
|
-
# source://railties/8.0.
|
43
|
+
# source://railties/8.0.1/lib/rails.rb#75
|
44
44
|
def env; end
|
45
45
|
|
46
|
-
# source://railties/8.0.
|
46
|
+
# source://railties/8.0.1/lib/rails.rb#82
|
47
47
|
def env=(environment); end
|
48
48
|
|
49
|
-
# source://railties/8.0.
|
49
|
+
# source://railties/8.0.1/lib/rails.rb#93
|
50
50
|
def error; end
|
51
51
|
|
52
|
-
# source://railties/8.0.
|
52
|
+
# source://railties/8.0.1/lib/rails/gem_version.rb#5
|
53
53
|
def gem_version; end
|
54
54
|
|
55
|
-
# source://railties/8.0.
|
55
|
+
# source://railties/8.0.1/lib/rails.rb#106
|
56
56
|
def groups(*groups); end
|
57
57
|
|
58
|
-
# source://railties/8.0.
|
58
|
+
# source://railties/8.0.1/lib/rails.rb#49
|
59
59
|
def initialize!(*_arg0, **_arg1, &_arg2); end
|
60
60
|
|
61
|
-
# source://railties/8.0.
|
61
|
+
# source://railties/8.0.1/lib/rails.rb#49
|
62
62
|
def initialized?(*_arg0, **_arg1, &_arg2); end
|
63
63
|
|
64
|
-
# source://railties/8.0.
|
64
|
+
# source://railties/8.0.1/lib/rails.rb#44
|
65
65
|
def logger; end
|
66
66
|
|
67
|
-
# source://railties/8.0.
|
67
|
+
# source://railties/8.0.1/lib/rails.rb#44
|
68
68
|
def logger=(_arg0); end
|
69
69
|
|
70
|
-
# source://railties/8.0.
|
70
|
+
# source://railties/8.0.1/lib/rails.rb#122
|
71
71
|
def public_path; end
|
72
72
|
|
73
|
-
# source://railties/8.0.
|
73
|
+
# source://railties/8.0.1/lib/rails.rb#65
|
74
74
|
def root; end
|
75
75
|
|
76
|
-
# source://railties/8.0.
|
76
|
+
# source://railties/8.0.1/lib/rails/version.rb#7
|
77
77
|
def version; end
|
78
78
|
end
|
79
79
|
end
|
80
80
|
|
81
81
|
# source://actioncable//lib/rails/generators/channel/channel_generator.rb#6
|
82
82
|
module Rails::Generators
|
83
|
-
# source://railties/8.0.
|
83
|
+
# source://railties/8.0.1/lib/rails/generators.rb#27
|
84
84
|
def namespace; end
|
85
85
|
|
86
|
-
# source://railties/8.0.
|
86
|
+
# source://railties/8.0.1/lib/rails/generators.rb#27
|
87
87
|
def namespace=(val); end
|
88
88
|
|
89
89
|
class << self
|
90
|
-
# source://railties/8.0.
|
90
|
+
# source://railties/8.0.1/lib/rails/generators.rb#279
|
91
91
|
def add_generated_file(file); end
|
92
92
|
|
93
|
-
# source://railties/8.0.
|
93
|
+
# source://railties/8.0.1/lib/rails/generators.rb#92
|
94
94
|
def after_generate_callbacks; end
|
95
95
|
|
96
|
-
# source://railties/8.0.
|
96
|
+
# source://railties/8.0.1/lib/rails/generators.rb#84
|
97
97
|
def aliases; end
|
98
98
|
|
99
|
-
# source://railties/8.0.
|
99
|
+
# source://railties/8.0.1/lib/rails/generators.rb#116
|
100
100
|
def api_only!; end
|
101
101
|
|
102
|
-
# source://railties/8.0.
|
102
|
+
# source://railties/8.0.1/lib/rails/generators.rb#68
|
103
103
|
def configure!(config); end
|
104
104
|
|
105
|
-
# source://railties/8.0.
|
105
|
+
# source://railties/8.0.1/lib/rails/generators.rb#108
|
106
106
|
def fallbacks; end
|
107
107
|
|
108
|
-
# source://railties/8.0.
|
108
|
+
# source://railties/8.0.1/lib/rails/generators.rb#234
|
109
109
|
def find_by_namespace(name, base = T.unsafe(nil), context = T.unsafe(nil)); end
|
110
110
|
|
111
|
-
# source://railties/8.0.
|
111
|
+
# source://railties/8.0.1/lib/rails/generators.rb#170
|
112
112
|
def help(command = T.unsafe(nil)); end
|
113
113
|
|
114
|
-
# source://railties/8.0.
|
114
|
+
# source://railties/8.0.1/lib/rails/generators.rb#134
|
115
115
|
def hidden_namespaces; end
|
116
116
|
|
117
|
-
# source://railties/8.0.
|
117
|
+
# source://railties/8.0.1/lib/rails/generators.rb#164
|
118
118
|
def hide_namespace(*namespaces); end
|
119
119
|
|
120
|
-
# source://railties/8.0.
|
120
|
+
# source://railties/8.0.1/lib/rails/generators.rb#164
|
121
121
|
def hide_namespaces(*namespaces); end
|
122
122
|
|
123
|
-
# source://railties/8.0.
|
123
|
+
# source://railties/8.0.1/lib/rails/generators.rb#261
|
124
124
|
def invoke(namespace, args = T.unsafe(nil), config = T.unsafe(nil)); end
|
125
125
|
|
126
|
-
# source://railties/8.0.
|
126
|
+
# source://railties/8.0.1/lib/rails/generators.rb#27
|
127
127
|
def namespace; end
|
128
128
|
|
129
|
-
# source://railties/8.0.
|
129
|
+
# source://railties/8.0.1/lib/rails/generators.rb#27
|
130
130
|
def namespace=(val); end
|
131
131
|
|
132
|
-
# source://railties/8.0.
|
132
|
+
# source://railties/8.0.1/lib/rails/generators.rb#88
|
133
133
|
def options; end
|
134
134
|
|
135
|
-
# source://railties/8.0.
|
135
|
+
# source://railties/8.0.1/lib/rails/generators.rb#192
|
136
136
|
def print_generators; end
|
137
137
|
|
138
|
-
# source://railties/8.0.
|
138
|
+
# source://railties/8.0.1/lib/rails/generators.rb#187
|
139
139
|
def public_namespaces; end
|
140
140
|
|
141
|
-
# source://railties/8.0.
|
141
|
+
# source://railties/8.0.1/lib/rails/generators.rb#196
|
142
142
|
def sorted_groups; end
|
143
143
|
|
144
|
-
# source://railties/8.0.
|
144
|
+
# source://railties/8.0.1/lib/rails/generators.rb#80
|
145
145
|
def templates_path; end
|
146
146
|
|
147
147
|
private
|
148
148
|
|
149
|
-
# source://railties/8.0.
|
149
|
+
# source://railties/8.0.1/lib/rails/generators.rb#306
|
150
150
|
def command_type; end
|
151
151
|
|
152
|
-
# source://railties/8.0.
|
152
|
+
# source://railties/8.0.1/lib/rails/generators.rb#314
|
153
153
|
def file_lookup_paths; end
|
154
154
|
|
155
|
-
# source://railties/8.0.
|
155
|
+
# source://railties/8.0.1/lib/rails/generators.rb#291
|
156
156
|
def invoke_fallbacks_for(name, base); end
|
157
157
|
|
158
|
-
# source://railties/8.0.
|
158
|
+
# source://railties/8.0.1/lib/rails/generators.rb#310
|
159
159
|
def lookup_paths; end
|
160
160
|
|
161
|
-
# source://railties/8.0.
|
161
|
+
# source://railties/8.0.1/lib/rails/generators.rb#285
|
162
162
|
def print_list(base, namespaces); end
|
163
163
|
|
164
|
-
# source://railties/8.0.
|
164
|
+
# source://railties/8.0.1/lib/rails/generators.rb#318
|
165
165
|
def run_after_generate_callback; end
|
166
166
|
end
|
167
167
|
end
|
@@ -177,7 +177,7 @@ class Rails::Generators::ChannelGenerator < ::Rails::Generators::NamedBase
|
|
177
177
|
# source://thor/1.3.2/lib/thor/base.rb#163
|
178
178
|
def actions=(_arg0); end
|
179
179
|
|
180
|
-
# source://railties/8.0.
|
180
|
+
# source://railties/8.0.1/lib/rails/generators/named_base.rb#215
|
181
181
|
def check_class_collision; end
|
182
182
|
|
183
183
|
# source://actioncable//lib/rails/generators/channel/channel_generator.rb#18
|
@@ -246,7 +246,7 @@ class Rails::Generators::ChannelGenerator < ::Rails::Generators::NamedBase
|
|
246
246
|
def using_node?; end
|
247
247
|
|
248
248
|
class << self
|
249
|
-
# source://railties/8.0.
|
249
|
+
# source://railties/8.0.1/lib/rails/generators/base.rb#194
|
250
250
|
def test_framework_generator; end
|
251
251
|
end
|
252
252
|
end
|