activestorage-memory 0.1.1 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +11 -2
- data/app/controllers/activestorage/memory/memory_controller.rb +60 -0
- data/config/routes.rb +6 -0
- data/lib/active_storage/service/memory_service.rb +86 -5
- data/lib/activestorage/memory/engine.rb +7 -0
- data/lib/{active_storage → activestorage}/memory/version.rb +2 -2
- data/lib/{active_storage → activestorage}/memory.rb +2 -1
- data/spec/active_storage/service/memory_service_spec.rb +99 -0
- data/spec/activestorage/memory_spec.rb +7 -0
- data/spec/controllers/activestorage/memory/memory_controller_spec.rb +136 -0
- data/spec/dummy/Rakefile +6 -0
- data/spec/dummy/app/assets/config/manifest.js +3 -0
- data/spec/dummy/app/assets/stylesheets/application.css +15 -0
- data/spec/dummy/app/channels/application_cable/channel.rb +4 -0
- data/spec/dummy/app/channels/application_cable/connection.rb +4 -0
- data/spec/dummy/app/controllers/application_controller.rb +2 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/jobs/application_job.rb +7 -0
- data/spec/dummy/app/mailers/application_mailer.rb +4 -0
- data/spec/dummy/app/models/application_record.rb +3 -0
- data/spec/dummy/app/views/layouts/application.html.erb +15 -0
- data/spec/dummy/app/views/layouts/mailer.html.erb +13 -0
- data/spec/dummy/app/views/layouts/mailer.text.erb +1 -0
- data/spec/dummy/bin/rails +4 -0
- data/spec/dummy/bin/rake +4 -0
- data/spec/dummy/bin/setup +33 -0
- data/spec/dummy/config/application.rb +44 -0
- data/spec/dummy/config/boot.rb +5 -0
- data/spec/dummy/config/cable.yml +10 -0
- data/spec/dummy/config/database.yml +25 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +76 -0
- data/spec/dummy/config/environments/production.rb +97 -0
- data/spec/dummy/config/environments/test.rb +66 -0
- data/spec/dummy/config/initializers/assets.rb +12 -0
- data/spec/dummy/config/initializers/content_security_policy.rb +25 -0
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +8 -0
- data/spec/dummy/config/initializers/inflections.rb +16 -0
- data/spec/dummy/config/initializers/permissions_policy.rb +13 -0
- data/spec/dummy/config/locales/en.yml +31 -0
- data/spec/dummy/config/puma.rb +35 -0
- data/spec/dummy/config/routes.rb +3 -0
- data/spec/dummy/config/storage.yml +37 -0
- data/spec/dummy/config.ru +6 -0
- data/spec/dummy/db/migrate/20240413101449_create_active_storage_tables.active_storage.rb +57 -0
- data/spec/dummy/db/schema.rb +44 -0
- data/spec/dummy/log/development.log +53 -0
- data/spec/dummy/log/test.log +4820 -0
- data/spec/dummy/public/404.html +67 -0
- data/spec/dummy/public/422.html +67 -0
- data/spec/dummy/public/500.html +66 -0
- data/spec/dummy/public/apple-touch-icon-precomposed.png +0 -0
- data/spec/dummy/public/apple-touch-icon.png +0 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/storage/development.sqlite3 +0 -0
- data/spec/dummy/storage/test.sqlite3 +0 -0
- data/spec/dummy/tmp/local_secret.txt +1 -0
- data/spec/dummy/tmp/restart.txt +0 -0
- data/spec/rails_helper.rb +65 -0
- data/spec/spec_helper.rb +15 -0
- metadata +118 -18
- data/.github/workflows/main.yml +0 -18
- data/.gitignore +0 -11
- data/.rspec +0 -3
- data/Gemfile +0 -10
- data/Gemfile.lock +0 -204
- data/LICENSE.txt +0 -21
- data/activestorage-memory.gemspec +0 -36
- data/bin/console +0 -15
- data/bin/setup +0 -8
@@ -0,0 +1,67 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>The page you were looking for doesn't exist (404)</title>
|
5
|
+
<meta name="viewport" content="width=device-width,initial-scale=1">
|
6
|
+
<style>
|
7
|
+
.rails-default-error-page {
|
8
|
+
background-color: #EFEFEF;
|
9
|
+
color: #2E2F30;
|
10
|
+
text-align: center;
|
11
|
+
font-family: arial, sans-serif;
|
12
|
+
margin: 0;
|
13
|
+
}
|
14
|
+
|
15
|
+
.rails-default-error-page div.dialog {
|
16
|
+
width: 95%;
|
17
|
+
max-width: 33em;
|
18
|
+
margin: 4em auto 0;
|
19
|
+
}
|
20
|
+
|
21
|
+
.rails-default-error-page div.dialog > div {
|
22
|
+
border: 1px solid #CCC;
|
23
|
+
border-right-color: #999;
|
24
|
+
border-left-color: #999;
|
25
|
+
border-bottom-color: #BBB;
|
26
|
+
border-top: #B00100 solid 4px;
|
27
|
+
border-top-left-radius: 9px;
|
28
|
+
border-top-right-radius: 9px;
|
29
|
+
background-color: white;
|
30
|
+
padding: 7px 12% 0;
|
31
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
32
|
+
}
|
33
|
+
|
34
|
+
.rails-default-error-page h1 {
|
35
|
+
font-size: 100%;
|
36
|
+
color: #730E15;
|
37
|
+
line-height: 1.5em;
|
38
|
+
}
|
39
|
+
|
40
|
+
.rails-default-error-page div.dialog > p {
|
41
|
+
margin: 0 0 1em;
|
42
|
+
padding: 1em;
|
43
|
+
background-color: #F7F7F7;
|
44
|
+
border: 1px solid #CCC;
|
45
|
+
border-right-color: #999;
|
46
|
+
border-left-color: #999;
|
47
|
+
border-bottom-color: #999;
|
48
|
+
border-bottom-left-radius: 4px;
|
49
|
+
border-bottom-right-radius: 4px;
|
50
|
+
border-top-color: #DADADA;
|
51
|
+
color: #666;
|
52
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
53
|
+
}
|
54
|
+
</style>
|
55
|
+
</head>
|
56
|
+
|
57
|
+
<body class="rails-default-error-page">
|
58
|
+
<!-- This file lives in public/404.html -->
|
59
|
+
<div class="dialog">
|
60
|
+
<div>
|
61
|
+
<h1>The page you were looking for doesn't exist.</h1>
|
62
|
+
<p>You may have mistyped the address or the page may have moved.</p>
|
63
|
+
</div>
|
64
|
+
<p>If you are the application owner check the logs for more information.</p>
|
65
|
+
</div>
|
66
|
+
</body>
|
67
|
+
</html>
|
@@ -0,0 +1,67 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>The change you wanted was rejected (422)</title>
|
5
|
+
<meta name="viewport" content="width=device-width,initial-scale=1">
|
6
|
+
<style>
|
7
|
+
.rails-default-error-page {
|
8
|
+
background-color: #EFEFEF;
|
9
|
+
color: #2E2F30;
|
10
|
+
text-align: center;
|
11
|
+
font-family: arial, sans-serif;
|
12
|
+
margin: 0;
|
13
|
+
}
|
14
|
+
|
15
|
+
.rails-default-error-page div.dialog {
|
16
|
+
width: 95%;
|
17
|
+
max-width: 33em;
|
18
|
+
margin: 4em auto 0;
|
19
|
+
}
|
20
|
+
|
21
|
+
.rails-default-error-page div.dialog > div {
|
22
|
+
border: 1px solid #CCC;
|
23
|
+
border-right-color: #999;
|
24
|
+
border-left-color: #999;
|
25
|
+
border-bottom-color: #BBB;
|
26
|
+
border-top: #B00100 solid 4px;
|
27
|
+
border-top-left-radius: 9px;
|
28
|
+
border-top-right-radius: 9px;
|
29
|
+
background-color: white;
|
30
|
+
padding: 7px 12% 0;
|
31
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
32
|
+
}
|
33
|
+
|
34
|
+
.rails-default-error-page h1 {
|
35
|
+
font-size: 100%;
|
36
|
+
color: #730E15;
|
37
|
+
line-height: 1.5em;
|
38
|
+
}
|
39
|
+
|
40
|
+
.rails-default-error-page div.dialog > p {
|
41
|
+
margin: 0 0 1em;
|
42
|
+
padding: 1em;
|
43
|
+
background-color: #F7F7F7;
|
44
|
+
border: 1px solid #CCC;
|
45
|
+
border-right-color: #999;
|
46
|
+
border-left-color: #999;
|
47
|
+
border-bottom-color: #999;
|
48
|
+
border-bottom-left-radius: 4px;
|
49
|
+
border-bottom-right-radius: 4px;
|
50
|
+
border-top-color: #DADADA;
|
51
|
+
color: #666;
|
52
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
53
|
+
}
|
54
|
+
</style>
|
55
|
+
</head>
|
56
|
+
|
57
|
+
<body class="rails-default-error-page">
|
58
|
+
<!-- This file lives in public/422.html -->
|
59
|
+
<div class="dialog">
|
60
|
+
<div>
|
61
|
+
<h1>The change you wanted was rejected.</h1>
|
62
|
+
<p>Maybe you tried to change something you didn't have access to.</p>
|
63
|
+
</div>
|
64
|
+
<p>If you are the application owner check the logs for more information.</p>
|
65
|
+
</div>
|
66
|
+
</body>
|
67
|
+
</html>
|
@@ -0,0 +1,66 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>We're sorry, but something went wrong (500)</title>
|
5
|
+
<meta name="viewport" content="width=device-width,initial-scale=1">
|
6
|
+
<style>
|
7
|
+
.rails-default-error-page {
|
8
|
+
background-color: #EFEFEF;
|
9
|
+
color: #2E2F30;
|
10
|
+
text-align: center;
|
11
|
+
font-family: arial, sans-serif;
|
12
|
+
margin: 0;
|
13
|
+
}
|
14
|
+
|
15
|
+
.rails-default-error-page div.dialog {
|
16
|
+
width: 95%;
|
17
|
+
max-width: 33em;
|
18
|
+
margin: 4em auto 0;
|
19
|
+
}
|
20
|
+
|
21
|
+
.rails-default-error-page div.dialog > div {
|
22
|
+
border: 1px solid #CCC;
|
23
|
+
border-right-color: #999;
|
24
|
+
border-left-color: #999;
|
25
|
+
border-bottom-color: #BBB;
|
26
|
+
border-top: #B00100 solid 4px;
|
27
|
+
border-top-left-radius: 9px;
|
28
|
+
border-top-right-radius: 9px;
|
29
|
+
background-color: white;
|
30
|
+
padding: 7px 12% 0;
|
31
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
32
|
+
}
|
33
|
+
|
34
|
+
.rails-default-error-page h1 {
|
35
|
+
font-size: 100%;
|
36
|
+
color: #730E15;
|
37
|
+
line-height: 1.5em;
|
38
|
+
}
|
39
|
+
|
40
|
+
.rails-default-error-page div.dialog > p {
|
41
|
+
margin: 0 0 1em;
|
42
|
+
padding: 1em;
|
43
|
+
background-color: #F7F7F7;
|
44
|
+
border: 1px solid #CCC;
|
45
|
+
border-right-color: #999;
|
46
|
+
border-left-color: #999;
|
47
|
+
border-bottom-color: #999;
|
48
|
+
border-bottom-left-radius: 4px;
|
49
|
+
border-bottom-right-radius: 4px;
|
50
|
+
border-top-color: #DADADA;
|
51
|
+
color: #666;
|
52
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
53
|
+
}
|
54
|
+
</style>
|
55
|
+
</head>
|
56
|
+
|
57
|
+
<body class="rails-default-error-page">
|
58
|
+
<!-- This file lives in public/500.html -->
|
59
|
+
<div class="dialog">
|
60
|
+
<div>
|
61
|
+
<h1>We're sorry, but something went wrong.</h1>
|
62
|
+
</div>
|
63
|
+
<p>If you are the application owner check the logs for more information.</p>
|
64
|
+
</div>
|
65
|
+
</body>
|
66
|
+
</html>
|
File without changes
|
File without changes
|
File without changes
|
Binary file
|
Binary file
|
@@ -0,0 +1 @@
|
|
1
|
+
6a7baa6ace82df48a56a054136078c1eddc912e8dea888eddd2db001c2a2f99b01104a42a08fe577d76fe90d802cde97963737a3620af4e5b39a3f184079b2e7
|
File without changes
|
@@ -0,0 +1,65 @@
|
|
1
|
+
# This file is copied to spec/ when you run 'rails generate rspec:install'
|
2
|
+
require 'spec_helper'
|
3
|
+
ENV['RAILS_ENV'] ||= 'test'
|
4
|
+
require File.expand_path('dummy/config/environment', __dir__)
|
5
|
+
|
6
|
+
# Prevent database truncation if the environment is production
|
7
|
+
abort("The Rails environment is running in production mode!") if Rails.env.production?
|
8
|
+
require 'rspec/rails'
|
9
|
+
# Add additional requires below this line. Rails is not loaded until this point!
|
10
|
+
|
11
|
+
# Requires supporting ruby files with custom matchers and macros, etc, in
|
12
|
+
# spec/support/ and its subdirectories. Files matching `spec/**/*_spec.rb` are
|
13
|
+
# run as spec files by default. This means that files in spec/support that end
|
14
|
+
# in _spec.rb will both be required and run as specs, causing the specs to be
|
15
|
+
# run twice. It is recommended that you do not name files matching this glob to
|
16
|
+
# end with _spec.rb. You can configure this pattern with the --pattern
|
17
|
+
# option on the command line or in ~/.rspec, .rspec or `.rspec-local`.
|
18
|
+
#
|
19
|
+
# The following line is provided for convenience purposes. It has the downside
|
20
|
+
# of increasing the boot-up time by auto-requiring all files in the support
|
21
|
+
# directory. Alternatively, in the individual `*_spec.rb` files, manually
|
22
|
+
# require only the support files necessary.
|
23
|
+
#
|
24
|
+
# Dir[Rails.root.join('spec', 'support', '**', '*.rb')].sort.each { |f| require f }
|
25
|
+
|
26
|
+
# Checks for pending migrations and applies them before tests are run.
|
27
|
+
# If you are not using ActiveRecord, you can remove these lines.
|
28
|
+
begin
|
29
|
+
ActiveRecord::Migration.maintain_test_schema!
|
30
|
+
rescue ActiveRecord::PendingMigrationError => e
|
31
|
+
puts e.to_s.strip
|
32
|
+
exit 1
|
33
|
+
end
|
34
|
+
RSpec.configure do |config|
|
35
|
+
# Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
|
36
|
+
config.fixture_path = "#{::Rails.root}/spec/fixtures"
|
37
|
+
|
38
|
+
# If you're not using ActiveRecord, or you'd prefer not to run each of your
|
39
|
+
# examples within a transaction, remove the following line or assign false
|
40
|
+
# instead of true.
|
41
|
+
config.use_transactional_fixtures = true
|
42
|
+
|
43
|
+
# You can uncomment this line to turn off ActiveRecord support entirely.
|
44
|
+
# config.use_active_record = false
|
45
|
+
|
46
|
+
# RSpec Rails can automatically mix in different behaviours to your tests
|
47
|
+
# based on their file location, for example enabling you to call `get` and
|
48
|
+
# `post` in specs under `spec/controllers`.
|
49
|
+
#
|
50
|
+
# You can disable this behaviour by removing the line below, and instead
|
51
|
+
# explicitly tag your specs with their type, e.g.:
|
52
|
+
#
|
53
|
+
# RSpec.describe UsersController, type: :controller do
|
54
|
+
# # ...
|
55
|
+
# end
|
56
|
+
#
|
57
|
+
# The different available types are documented in the features, such as in
|
58
|
+
# https://relishapp.com/rspec/rspec-rails/docs
|
59
|
+
config.infer_spec_type_from_file_location!
|
60
|
+
|
61
|
+
# Filter lines from Rails gems in backtraces.
|
62
|
+
config.filter_rails_from_backtrace!
|
63
|
+
# arbitrary gems may also be filtered via:
|
64
|
+
# config.filter_gems_from_backtrace("gem name")
|
65
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
require 'rails/all'
|
2
|
+
require 'activestorage/memory'
|
3
|
+
require 'active_storage/service/memory_service'
|
4
|
+
|
5
|
+
RSpec.configure do |config|
|
6
|
+
config.expect_with :rspec do |expectations|
|
7
|
+
expectations.include_chain_clauses_in_custom_matcher_descriptions = true
|
8
|
+
end
|
9
|
+
|
10
|
+
config.mock_with :rspec do |mocks|
|
11
|
+
mocks.verify_partial_doubles = true
|
12
|
+
end
|
13
|
+
|
14
|
+
config.shared_context_metadata_behavior = :apply_to_host_groups
|
15
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activestorage-memory
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- kykt35
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-09-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -20,7 +20,7 @@ dependencies:
|
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 7.0.0
|
23
|
-
type: :
|
23
|
+
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
@@ -31,19 +31,19 @@ dependencies:
|
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 7.0.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
|
-
name: rspec
|
34
|
+
name: rspec-rails
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
36
36
|
requirements:
|
37
37
|
- - "~>"
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: '
|
39
|
+
version: '6.0'
|
40
40
|
type: :development
|
41
41
|
prerelease: false
|
42
42
|
version_requirements: !ruby/object:Gem::Requirement
|
43
43
|
requirements:
|
44
44
|
- - "~>"
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: '
|
46
|
+
version: '6.0'
|
47
47
|
description:
|
48
48
|
email:
|
49
49
|
- kykt35@gmail.com
|
@@ -51,20 +51,67 @@ executables: []
|
|
51
51
|
extensions: []
|
52
52
|
extra_rdoc_files: []
|
53
53
|
files:
|
54
|
-
- ".github/workflows/main.yml"
|
55
|
-
- ".gitignore"
|
56
|
-
- ".rspec"
|
57
|
-
- Gemfile
|
58
|
-
- Gemfile.lock
|
59
|
-
- LICENSE.txt
|
60
54
|
- README.md
|
61
55
|
- Rakefile
|
62
|
-
- activestorage
|
63
|
-
-
|
64
|
-
- bin/setup
|
65
|
-
- lib/active_storage/memory.rb
|
66
|
-
- lib/active_storage/memory/version.rb
|
56
|
+
- app/controllers/activestorage/memory/memory_controller.rb
|
57
|
+
- config/routes.rb
|
67
58
|
- lib/active_storage/service/memory_service.rb
|
59
|
+
- lib/activestorage/memory.rb
|
60
|
+
- lib/activestorage/memory/engine.rb
|
61
|
+
- lib/activestorage/memory/version.rb
|
62
|
+
- spec/active_storage/service/memory_service_spec.rb
|
63
|
+
- spec/activestorage/memory_spec.rb
|
64
|
+
- spec/controllers/activestorage/memory/memory_controller_spec.rb
|
65
|
+
- spec/dummy/Rakefile
|
66
|
+
- spec/dummy/app/assets/config/manifest.js
|
67
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
68
|
+
- spec/dummy/app/channels/application_cable/channel.rb
|
69
|
+
- spec/dummy/app/channels/application_cable/connection.rb
|
70
|
+
- spec/dummy/app/controllers/application_controller.rb
|
71
|
+
- spec/dummy/app/helpers/application_helper.rb
|
72
|
+
- spec/dummy/app/jobs/application_job.rb
|
73
|
+
- spec/dummy/app/mailers/application_mailer.rb
|
74
|
+
- spec/dummy/app/models/application_record.rb
|
75
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
76
|
+
- spec/dummy/app/views/layouts/mailer.html.erb
|
77
|
+
- spec/dummy/app/views/layouts/mailer.text.erb
|
78
|
+
- spec/dummy/bin/rails
|
79
|
+
- spec/dummy/bin/rake
|
80
|
+
- spec/dummy/bin/setup
|
81
|
+
- spec/dummy/config.ru
|
82
|
+
- spec/dummy/config/application.rb
|
83
|
+
- spec/dummy/config/boot.rb
|
84
|
+
- spec/dummy/config/cable.yml
|
85
|
+
- spec/dummy/config/database.yml
|
86
|
+
- spec/dummy/config/environment.rb
|
87
|
+
- spec/dummy/config/environments/development.rb
|
88
|
+
- spec/dummy/config/environments/production.rb
|
89
|
+
- spec/dummy/config/environments/test.rb
|
90
|
+
- spec/dummy/config/initializers/assets.rb
|
91
|
+
- spec/dummy/config/initializers/content_security_policy.rb
|
92
|
+
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
93
|
+
- spec/dummy/config/initializers/inflections.rb
|
94
|
+
- spec/dummy/config/initializers/permissions_policy.rb
|
95
|
+
- spec/dummy/config/locales/en.yml
|
96
|
+
- spec/dummy/config/puma.rb
|
97
|
+
- spec/dummy/config/routes.rb
|
98
|
+
- spec/dummy/config/storage.yml
|
99
|
+
- spec/dummy/db/migrate/20240413101449_create_active_storage_tables.active_storage.rb
|
100
|
+
- spec/dummy/db/schema.rb
|
101
|
+
- spec/dummy/log/development.log
|
102
|
+
- spec/dummy/log/test.log
|
103
|
+
- spec/dummy/public/404.html
|
104
|
+
- spec/dummy/public/422.html
|
105
|
+
- spec/dummy/public/500.html
|
106
|
+
- spec/dummy/public/apple-touch-icon-precomposed.png
|
107
|
+
- spec/dummy/public/apple-touch-icon.png
|
108
|
+
- spec/dummy/public/favicon.ico
|
109
|
+
- spec/dummy/storage/development.sqlite3
|
110
|
+
- spec/dummy/storage/test.sqlite3
|
111
|
+
- spec/dummy/tmp/local_secret.txt
|
112
|
+
- spec/dummy/tmp/restart.txt
|
113
|
+
- spec/rails_helper.rb
|
114
|
+
- spec/spec_helper.rb
|
68
115
|
homepage: https://github.com/kykt35/activestorage-memory
|
69
116
|
licenses:
|
70
117
|
- MIT
|
@@ -91,4 +138,57 @@ rubygems_version: 3.4.10
|
|
91
138
|
signing_key:
|
92
139
|
specification_version: 4
|
93
140
|
summary: Rails ActiveStorage in-memory service adopter.
|
94
|
-
test_files:
|
141
|
+
test_files:
|
142
|
+
- spec/active_storage/service/memory_service_spec.rb
|
143
|
+
- spec/activestorage/memory_spec.rb
|
144
|
+
- spec/controllers/activestorage/memory/memory_controller_spec.rb
|
145
|
+
- spec/dummy/Rakefile
|
146
|
+
- spec/dummy/app/assets/config/manifest.js
|
147
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
148
|
+
- spec/dummy/app/channels/application_cable/channel.rb
|
149
|
+
- spec/dummy/app/channels/application_cable/connection.rb
|
150
|
+
- spec/dummy/app/controllers/application_controller.rb
|
151
|
+
- spec/dummy/app/helpers/application_helper.rb
|
152
|
+
- spec/dummy/app/jobs/application_job.rb
|
153
|
+
- spec/dummy/app/mailers/application_mailer.rb
|
154
|
+
- spec/dummy/app/models/application_record.rb
|
155
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
156
|
+
- spec/dummy/app/views/layouts/mailer.html.erb
|
157
|
+
- spec/dummy/app/views/layouts/mailer.text.erb
|
158
|
+
- spec/dummy/bin/rails
|
159
|
+
- spec/dummy/bin/rake
|
160
|
+
- spec/dummy/bin/setup
|
161
|
+
- spec/dummy/config/application.rb
|
162
|
+
- spec/dummy/config/boot.rb
|
163
|
+
- spec/dummy/config/cable.yml
|
164
|
+
- spec/dummy/config/database.yml
|
165
|
+
- spec/dummy/config/environment.rb
|
166
|
+
- spec/dummy/config/environments/development.rb
|
167
|
+
- spec/dummy/config/environments/production.rb
|
168
|
+
- spec/dummy/config/environments/test.rb
|
169
|
+
- spec/dummy/config/initializers/assets.rb
|
170
|
+
- spec/dummy/config/initializers/content_security_policy.rb
|
171
|
+
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
172
|
+
- spec/dummy/config/initializers/inflections.rb
|
173
|
+
- spec/dummy/config/initializers/permissions_policy.rb
|
174
|
+
- spec/dummy/config/locales/en.yml
|
175
|
+
- spec/dummy/config/puma.rb
|
176
|
+
- spec/dummy/config/routes.rb
|
177
|
+
- spec/dummy/config/storage.yml
|
178
|
+
- spec/dummy/config.ru
|
179
|
+
- spec/dummy/db/migrate/20240413101449_create_active_storage_tables.active_storage.rb
|
180
|
+
- spec/dummy/db/schema.rb
|
181
|
+
- spec/dummy/log/development.log
|
182
|
+
- spec/dummy/log/test.log
|
183
|
+
- spec/dummy/public/404.html
|
184
|
+
- spec/dummy/public/422.html
|
185
|
+
- spec/dummy/public/500.html
|
186
|
+
- spec/dummy/public/apple-touch-icon-precomposed.png
|
187
|
+
- spec/dummy/public/apple-touch-icon.png
|
188
|
+
- spec/dummy/public/favicon.ico
|
189
|
+
- spec/dummy/storage/development.sqlite3
|
190
|
+
- spec/dummy/storage/test.sqlite3
|
191
|
+
- spec/dummy/tmp/local_secret.txt
|
192
|
+
- spec/dummy/tmp/restart.txt
|
193
|
+
- spec/rails_helper.rb
|
194
|
+
- spec/spec_helper.rb
|
data/.github/workflows/main.yml
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
name: Ruby
|
2
|
-
|
3
|
-
on: [push,pull_request]
|
4
|
-
|
5
|
-
jobs:
|
6
|
-
build:
|
7
|
-
runs-on: ubuntu-latest
|
8
|
-
steps:
|
9
|
-
- uses: actions/checkout@v4
|
10
|
-
- name: Set up Ruby
|
11
|
-
uses: ruby/setup-ruby@v1
|
12
|
-
with:
|
13
|
-
ruby-version: 3.2.2
|
14
|
-
- name: Run the default task
|
15
|
-
run: |
|
16
|
-
gem install bundler -v 2.2.4
|
17
|
-
bundle install
|
18
|
-
bundle exec rake
|
data/.gitignore
DELETED
data/.rspec
DELETED