belated 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (73) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/CHANGELOG.md +6 -0
  4. data/Gemfile.lock +1 -1
  5. data/belated.gemspec +1 -1
  6. data/lib/belated/version.rb +1 -1
  7. metadata +1 -67
  8. data/dummy/Rakefile +0 -8
  9. data/dummy/app/assets/config/manifest.js +0 -3
  10. data/dummy/app/assets/images/.keep +0 -0
  11. data/dummy/app/assets/stylesheets/application.css +0 -15
  12. data/dummy/app/channels/application_cable/channel.rb +0 -6
  13. data/dummy/app/channels/application_cable/connection.rb +0 -6
  14. data/dummy/app/controllers/application_controller.rb +0 -5
  15. data/dummy/app/controllers/concerns/.keep +0 -0
  16. data/dummy/app/helpers/application_helper.rb +0 -4
  17. data/dummy/app/javascript/packs/application.js +0 -15
  18. data/dummy/app/jobs/application_job.rb +0 -9
  19. data/dummy/app/mailers/application_mailer.rb +0 -6
  20. data/dummy/app/models/application_record.rb +0 -5
  21. data/dummy/app/models/concerns/.keep +0 -0
  22. data/dummy/app/models/user.rb +0 -2
  23. data/dummy/app/views/application/index.html.erb +0 -4
  24. data/dummy/app/views/layouts/application.html.erb +0 -15
  25. data/dummy/app/views/layouts/mailer.html.erb +0 -13
  26. data/dummy/app/views/layouts/mailer.text.erb +0 -1
  27. data/dummy/bin/rails +0 -6
  28. data/dummy/bin/rake +0 -6
  29. data/dummy/bin/setup +0 -35
  30. data/dummy/config.ru +0 -8
  31. data/dummy/config/application.rb +0 -23
  32. data/dummy/config/boot.rb +0 -7
  33. data/dummy/config/cable.yml +0 -10
  34. data/dummy/config/credentials.yml.enc +0 -1
  35. data/dummy/config/database.yml +0 -25
  36. data/dummy/config/environment.rb +0 -7
  37. data/dummy/config/environments/development.rb +0 -78
  38. data/dummy/config/environments/production.rb +0 -122
  39. data/dummy/config/environments/test.rb +0 -51
  40. data/dummy/config/initializers/application_controller_renderer.rb +0 -9
  41. data/dummy/config/initializers/backtrace_silencers.rb +0 -10
  42. data/dummy/config/initializers/content_security_policy.rb +0 -29
  43. data/dummy/config/initializers/cookies_serializer.rb +0 -7
  44. data/dummy/config/initializers/filter_parameter_logging.rb +0 -8
  45. data/dummy/config/initializers/inflections.rb +0 -17
  46. data/dummy/config/initializers/mime_types.rb +0 -5
  47. data/dummy/config/initializers/permissions_policy.rb +0 -12
  48. data/dummy/config/initializers/wrap_parameters.rb +0 -16
  49. data/dummy/config/locales/en.yml +0 -33
  50. data/dummy/config/master.key +0 -1
  51. data/dummy/config/puma.rb +0 -45
  52. data/dummy/config/routes.rb +0 -5
  53. data/dummy/config/storage.yml +0 -34
  54. data/dummy/db/migrate/20210613015406_create_users.rb +0 -10
  55. data/dummy/db/production.sqlite3 +0 -0
  56. data/dummy/db/schema.rb +0 -20
  57. data/dummy/db/test.sqlite3 +0 -0
  58. data/dummy/lib/assets/.keep +0 -0
  59. data/dummy/log/.keep +0 -0
  60. data/dummy/log/development.log +0 -0
  61. data/dummy/log/production.log +0 -3
  62. data/dummy/log/test.log +0 -2110
  63. data/dummy/public/404.html +0 -67
  64. data/dummy/public/422.html +0 -67
  65. data/dummy/public/500.html +0 -66
  66. data/dummy/public/apple-touch-icon-precomposed.png +0 -0
  67. data/dummy/public/apple-touch-icon.png +0 -0
  68. data/dummy/public/favicon.ico +0 -0
  69. data/dummy/storage/.keep +0 -0
  70. data/dummy/tmp/.keep +0 -0
  71. data/dummy/tmp/development_secret.txt +0 -1
  72. data/dummy/tmp/pids/.keep +0 -0
  73. data/dummy/tmp/storage/.keep +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c0967c77874d3cfccf82411af59b4f1555c32edbbaf346dda078b710b4ed2232
4
- data.tar.gz: 6336d152b4beb80c037d28ac6335a6018270f65d563195d74022c167e0cbeac8
3
+ metadata.gz: 99491dbba348e9e991f00436b70faa69d7ee3646961172014499a09276e9cb1e
4
+ data.tar.gz: ebb40194db4cf9893edb0b06f6b940a4076e5ec328ea00ba2ab40bd839ebe7e6
5
5
  SHA512:
6
- metadata.gz: 84b35ef9e1b317c9250960f90c377e5d8e45261cb8de8f71ed431418dd90ebdfd72625e9c85959b3b30db68131fd5f8ba0ebc10790a1651d334437f38610ef7e
7
- data.tar.gz: 29c835bf366eb3f9d6304e12a85cef12e3fa13574c0502ba71aee5322bc9e0426f6ae2b8179dd26f8e7d544a4649cb30c0840633a257e62e030aef50fe2bcbfc
6
+ metadata.gz: 0b40900814f6cae2396025fd6ebda46b6fedc11ae7bca92ffcd534cdd6a782e0cca581a264c6f0b3bac05c1c925de8d32590270370445dab62a8c50f9749df90
7
+ data.tar.gz: 397925608f6083f3722e69661e7731d9f56557ee44d8b79e811b655a7d25dd2f58755f607ad00137296607dd6f1f3fe88045237152134769bb4b5b09aea5cb73
data/.gitignore CHANGED
@@ -11,4 +11,5 @@
11
11
  .rspec_status
12
12
  .byebug_history
13
13
  /dummy/tmp/cache/
14
+ /dummy/log/
14
15
  belated_dump
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  ## [Unreleased]
2
2
 
3
+
4
+
5
+ ## [0.3.1] - 2021-07-29
6
+
7
+ - Remove dummy app from gem... size should go down quite a bit.
8
+
3
9
  ## [0.3.0] - 2021-07-29
4
10
 
5
11
  - Now there is logging! By default logs to stdout, but you can configure the logger by setting a different one through `Belated.config.logger`.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- belated (0.3.0)
4
+ belated (0.3.1)
5
5
  drb
6
6
  dry-configurable
7
7
 
data/belated.gemspec CHANGED
@@ -24,7 +24,7 @@ Gem::Specification.new do |spec|
24
24
  # Specify which files should be added to the gem when it is released.
25
25
  # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
26
26
  spec.files = Dir.chdir(File.expand_path(__dir__)) do
27
- `git ls-files -z`.split("\x0").reject { |f| f.match(%r{\A(?:test|spec|features)/}) }
27
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{\A(?:test|dummy|spec|features)/}) }
28
28
  end
29
29
  spec.bindir = 'bin'
30
30
  spec.executables = ['belated']
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class Belated
4
- VERSION = '0.3.0'
4
+ VERSION = '0.3.1'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: belated
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sampo Kuokkanen
@@ -78,72 +78,6 @@ files:
78
78
  - bin/bundle
79
79
  - bin/console
80
80
  - bin/setup
81
- - dummy/Rakefile
82
- - dummy/app/assets/config/manifest.js
83
- - dummy/app/assets/images/.keep
84
- - dummy/app/assets/stylesheets/application.css
85
- - dummy/app/channels/application_cable/channel.rb
86
- - dummy/app/channels/application_cable/connection.rb
87
- - dummy/app/controllers/application_controller.rb
88
- - dummy/app/controllers/concerns/.keep
89
- - dummy/app/helpers/application_helper.rb
90
- - dummy/app/javascript/packs/application.js
91
- - dummy/app/jobs/application_job.rb
92
- - dummy/app/mailers/application_mailer.rb
93
- - dummy/app/models/application_record.rb
94
- - dummy/app/models/concerns/.keep
95
- - dummy/app/models/user.rb
96
- - dummy/app/views/application/index.html.erb
97
- - dummy/app/views/layouts/application.html.erb
98
- - dummy/app/views/layouts/mailer.html.erb
99
- - dummy/app/views/layouts/mailer.text.erb
100
- - dummy/bin/rails
101
- - dummy/bin/rake
102
- - dummy/bin/setup
103
- - dummy/config.ru
104
- - dummy/config/application.rb
105
- - dummy/config/boot.rb
106
- - dummy/config/cable.yml
107
- - dummy/config/credentials.yml.enc
108
- - dummy/config/database.yml
109
- - dummy/config/environment.rb
110
- - dummy/config/environments/development.rb
111
- - dummy/config/environments/production.rb
112
- - dummy/config/environments/test.rb
113
- - dummy/config/initializers/application_controller_renderer.rb
114
- - dummy/config/initializers/backtrace_silencers.rb
115
- - dummy/config/initializers/content_security_policy.rb
116
- - dummy/config/initializers/cookies_serializer.rb
117
- - dummy/config/initializers/filter_parameter_logging.rb
118
- - dummy/config/initializers/inflections.rb
119
- - dummy/config/initializers/mime_types.rb
120
- - dummy/config/initializers/permissions_policy.rb
121
- - dummy/config/initializers/wrap_parameters.rb
122
- - dummy/config/locales/en.yml
123
- - dummy/config/master.key
124
- - dummy/config/puma.rb
125
- - dummy/config/routes.rb
126
- - dummy/config/storage.yml
127
- - dummy/db/migrate/20210613015406_create_users.rb
128
- - dummy/db/production.sqlite3
129
- - dummy/db/schema.rb
130
- - dummy/db/test.sqlite3
131
- - dummy/lib/assets/.keep
132
- - dummy/log/.keep
133
- - dummy/log/development.log
134
- - dummy/log/production.log
135
- - dummy/log/test.log
136
- - dummy/public/404.html
137
- - dummy/public/422.html
138
- - dummy/public/500.html
139
- - dummy/public/apple-touch-icon-precomposed.png
140
- - dummy/public/apple-touch-icon.png
141
- - dummy/public/favicon.ico
142
- - dummy/storage/.keep
143
- - dummy/tmp/.keep
144
- - dummy/tmp/development_secret.txt
145
- - dummy/tmp/pids/.keep
146
- - dummy/tmp/storage/.keep
147
81
  - hard_worker_dump
148
82
  - lib/belated.rb
149
83
  - lib/belated/client.rb
data/dummy/Rakefile DELETED
@@ -1,8 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- # Add your own tasks in files placed in lib/tasks ending in .rake,
4
- # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
5
-
6
- require_relative 'config/application'
7
-
8
- Rails.application.load_tasks
@@ -1,3 +0,0 @@
1
- //= link_tree ../images
2
- //= link_directory ../stylesheets .css
3
- //= link active_translate_self_manifest.js
File without changes
@@ -1,15 +0,0 @@
1
- /*
2
- * This is a manifest file that'll be compiled into application.css, which will include all the files
3
- * listed below.
4
- *
5
- * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
6
- * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
7
- *
8
- * You're free to add application-wide styles to this file and they'll appear at the bottom of the
9
- * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
10
- * files in this directory. Styles in this file should be added after the last require_* statement.
11
- * It is generally better to create a new file per style scope.
12
- *
13
- *= require_tree .
14
- *= require_self
15
- */
@@ -1,6 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module ApplicationCable
4
- class Channel < ActionCable::Channel::Base
5
- end
6
- end
@@ -1,6 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module ApplicationCable
4
- class Connection < ActionCable::Connection::Base
5
- end
6
- end
@@ -1,5 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- class ApplicationController < ActionController::Base
4
- def index; end
5
- end
File without changes
@@ -1,4 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module ApplicationHelper
4
- end
@@ -1,15 +0,0 @@
1
- // This is a manifest file that'll be compiled into application.js, which will include all the files
2
- // listed below.
3
- //
4
- // Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
5
- // or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
6
- //
7
- // It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
8
- // compiled file. JavaScript code in this file should be added after the last require_* statement.
9
- //
10
- // Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
11
- // about supported directives.
12
- //
13
- //= require rails-ujs
14
- //= require activestorage
15
- //= require_tree .
@@ -1,9 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- class ApplicationJob < ActiveJob::Base
4
- # Automatically retry jobs that encountered a deadlock
5
- # retry_on ActiveRecord::Deadlocked
6
-
7
- # Most jobs are safe to ignore if the underlying records are no longer available
8
- # discard_on ActiveJob::DeserializationError
9
- end
@@ -1,6 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- class ApplicationMailer < ActionMailer::Base
4
- default from: 'from@example.com'
5
- layout 'mailer'
6
- end
@@ -1,5 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- class ApplicationRecord < ActiveRecord::Base
4
- self.abstract_class = true
5
- end
File without changes
@@ -1,2 +0,0 @@
1
- class User < ApplicationRecord
2
- end
@@ -1,4 +0,0 @@
1
- Hello!
2
- <h1>
3
- <%= 'Hello'.translate_to_fi %>
4
- </h1>
@@ -1,15 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>Dummy</title>
5
- <meta name="viewport" content="width=device-width,initial-scale=1">
6
- <%= csrf_meta_tags %>
7
- <%= csp_meta_tag %>
8
-
9
- <%= stylesheet_link_tag 'application', media: 'all' %>
10
- </head>
11
-
12
- <body>
13
- <%= yield %>
14
- </body>
15
- </html>
@@ -1,13 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5
- <style>
6
- /* Email styles need to be inline */
7
- </style>
8
- </head>
9
-
10
- <body>
11
- <%= yield %>
12
- </body>
13
- </html>
@@ -1 +0,0 @@
1
- <%= yield %>
data/dummy/bin/rails DELETED
@@ -1,6 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # frozen_string_literal: true
3
-
4
- APP_PATH = File.expand_path('../config/application', __dir__)
5
- require_relative '../config/boot'
6
- require 'rails/commands'
data/dummy/bin/rake DELETED
@@ -1,6 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # frozen_string_literal: true
3
-
4
- require_relative '../config/boot'
5
- require 'rake'
6
- Rake.application.run
data/dummy/bin/setup DELETED
@@ -1,35 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # frozen_string_literal: true
3
-
4
- require 'fileutils'
5
-
6
- # path to your application root.
7
- APP_ROOT = File.expand_path('..', __dir__)
8
-
9
- def system!(*args)
10
- system(*args) || abort("\n== Command #{args} failed ==")
11
- end
12
-
13
- FileUtils.chdir APP_ROOT do
14
- # This script is a way to set up or update your development environment automatically.
15
- # This script is idempotent, so that you can run it at any time and get an expectable outcome.
16
- # Add necessary setup steps to this file.
17
-
18
- puts '== Installing dependencies =='
19
- system! 'gem install bundler --conservative'
20
- system('bundle check') || system!('bundle install')
21
-
22
- # puts "\n== Copying sample files =="
23
- # unless File.exist?('config/database.yml')
24
- # FileUtils.cp 'config/database.yml.sample', 'config/database.yml'
25
- # end
26
-
27
- puts "\n== Preparing database =="
28
- system! 'bin/rails db:prepare'
29
-
30
- puts "\n== Removing old logs and tempfiles =="
31
- system! 'bin/rails log:clear tmp:clear'
32
-
33
- puts "\n== Restarting application server =="
34
- system! 'bin/rails restart'
35
- end
data/dummy/config.ru DELETED
@@ -1,8 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- # This file is used by Rack-based servers to start the application.
4
-
5
- require_relative 'config/environment'
6
-
7
- run Rails.application
8
- Rails.application.load_server
@@ -1,23 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require_relative 'boot'
4
-
5
- require 'rails/all'
6
-
7
- # Require the gems listed in Gemfile, including any gems
8
- # you've limited to :test, :development, or :production.
9
- Bundler.require(*Rails.groups)
10
-
11
- module Dummy
12
- class Application < Rails::Application
13
- config.load_defaults Rails::VERSION::STRING.to_f
14
-
15
- # Configuration for the application, engines, and railties goes here.
16
- #
17
- # These settings can be overridden in specific environments using the files
18
- # in config/environments, which are processed later.
19
- #
20
- # config.time_zone = "Central Time (US & Canada)"
21
- # config.eager_load_paths << Rails.root.join("extras")
22
- end
23
- end
data/dummy/config/boot.rb DELETED
@@ -1,7 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- # Set up gems listed in the Gemfile.
4
- ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __dir__)
5
-
6
- require 'bundler/setup' if File.exist?(ENV['BUNDLE_GEMFILE'])
7
- # $LOAD_PATH.unshift File.expand_path('../../../lib', __dir__)
@@ -1,10 +0,0 @@
1
- development:
2
- adapter: async
3
-
4
- test:
5
- adapter: test
6
-
7
- production:
8
- adapter: redis
9
- url: <%= ENV.fetch("REDIS_URL") { "redis://localhost:6379/1" } %>
10
- channel_prefix: dummy_production
@@ -1 +0,0 @@
1
- 1zuzC12cZhC9H6EnSNxFNOCjGsN0dOa/tLdkfOpJl87/apPT0lf0bxLFCkY92rZkOCgdIpUhjBFNGg8jwaPH+UxXrQD8AqXW1sun0XwOTdjOpvVN9cPG1qH0X280TwQ43pGa8jQ8py1GDQ7oFz6cKlA94WdFSweLT25ilQwsGM/KH8WKhTYsDJY8yAMcKNmM2wdce3K0eOn0yBV0EYcFA3a/sEyHKN/8oOQkN0fCWyQDAgjSdzdRdUKCIt8QOSL0/mczttihDFh/wM1TGVt1fX2oGGWugBcknAfyQEhFgvn9cf4iix0BUKrGusMAvaKvUFJAsGxCRggBZS6BgkOh/BeIDq5w3hMiBqUKqlHylbIx+VtqVdgckaBPhUn831V9mRJmtUwS39L88cLdn2Rrv3y5+CwrfGR8vJyg--7gkmJqSvPeuFywft--kt7fo9SWInEWorAm08RaVQ==
@@ -1,25 +0,0 @@
1
- # SQLite. Versions 3.8.0 and up are supported.
2
- # gem install sqlite3
3
- #
4
- # Ensure the SQLite 3 gem is defined in your Gemfile
5
- # gem 'sqlite3'
6
- #
7
- default: &default
8
- adapter: sqlite3
9
- pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
10
- timeout: 5000
11
-
12
- development:
13
- <<: *default
14
- database: db/development.sqlite3
15
-
16
- # Warning: The database defined as "test" will be erased and
17
- # re-generated from your development database when you run "rake".
18
- # Do not set this db to the same as development or production.
19
- test:
20
- <<: *default
21
- database: db/test.sqlite3
22
-
23
- production:
24
- <<: *default
25
- database: db/production.sqlite3
@@ -1,7 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- # Load the Rails application.
4
- require_relative 'application'
5
-
6
- # Initialize the Rails application.
7
- Rails.application.initialize!