belated 0.3.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/CHANGELOG.md +6 -0
- data/Gemfile.lock +1 -1
- data/belated.gemspec +1 -1
- data/lib/belated/version.rb +1 -1
- metadata +1 -67
- data/dummy/Rakefile +0 -8
- data/dummy/app/assets/config/manifest.js +0 -3
- data/dummy/app/assets/images/.keep +0 -0
- data/dummy/app/assets/stylesheets/application.css +0 -15
- data/dummy/app/channels/application_cable/channel.rb +0 -6
- data/dummy/app/channels/application_cable/connection.rb +0 -6
- data/dummy/app/controllers/application_controller.rb +0 -5
- data/dummy/app/controllers/concerns/.keep +0 -0
- data/dummy/app/helpers/application_helper.rb +0 -4
- data/dummy/app/javascript/packs/application.js +0 -15
- data/dummy/app/jobs/application_job.rb +0 -9
- data/dummy/app/mailers/application_mailer.rb +0 -6
- data/dummy/app/models/application_record.rb +0 -5
- data/dummy/app/models/concerns/.keep +0 -0
- data/dummy/app/models/user.rb +0 -2
- data/dummy/app/views/application/index.html.erb +0 -4
- data/dummy/app/views/layouts/application.html.erb +0 -15
- data/dummy/app/views/layouts/mailer.html.erb +0 -13
- data/dummy/app/views/layouts/mailer.text.erb +0 -1
- data/dummy/bin/rails +0 -6
- data/dummy/bin/rake +0 -6
- data/dummy/bin/setup +0 -35
- data/dummy/config.ru +0 -8
- data/dummy/config/application.rb +0 -23
- data/dummy/config/boot.rb +0 -7
- data/dummy/config/cable.yml +0 -10
- data/dummy/config/credentials.yml.enc +0 -1
- data/dummy/config/database.yml +0 -25
- data/dummy/config/environment.rb +0 -7
- data/dummy/config/environments/development.rb +0 -78
- data/dummy/config/environments/production.rb +0 -122
- data/dummy/config/environments/test.rb +0 -51
- data/dummy/config/initializers/application_controller_renderer.rb +0 -9
- data/dummy/config/initializers/backtrace_silencers.rb +0 -10
- data/dummy/config/initializers/content_security_policy.rb +0 -29
- data/dummy/config/initializers/cookies_serializer.rb +0 -7
- data/dummy/config/initializers/filter_parameter_logging.rb +0 -8
- data/dummy/config/initializers/inflections.rb +0 -17
- data/dummy/config/initializers/mime_types.rb +0 -5
- data/dummy/config/initializers/permissions_policy.rb +0 -12
- data/dummy/config/initializers/wrap_parameters.rb +0 -16
- data/dummy/config/locales/en.yml +0 -33
- data/dummy/config/master.key +0 -1
- data/dummy/config/puma.rb +0 -45
- data/dummy/config/routes.rb +0 -5
- data/dummy/config/storage.yml +0 -34
- data/dummy/db/migrate/20210613015406_create_users.rb +0 -10
- data/dummy/db/production.sqlite3 +0 -0
- data/dummy/db/schema.rb +0 -20
- data/dummy/db/test.sqlite3 +0 -0
- data/dummy/lib/assets/.keep +0 -0
- data/dummy/log/.keep +0 -0
- data/dummy/log/development.log +0 -0
- data/dummy/log/production.log +0 -3
- data/dummy/log/test.log +0 -2110
- data/dummy/public/404.html +0 -67
- data/dummy/public/422.html +0 -67
- data/dummy/public/500.html +0 -66
- data/dummy/public/apple-touch-icon-precomposed.png +0 -0
- data/dummy/public/apple-touch-icon.png +0 -0
- data/dummy/public/favicon.ico +0 -0
- data/dummy/storage/.keep +0 -0
- data/dummy/tmp/.keep +0 -0
- data/dummy/tmp/development_secret.txt +0 -1
- data/dummy/tmp/pids/.keep +0 -0
- data/dummy/tmp/storage/.keep +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 99491dbba348e9e991f00436b70faa69d7ee3646961172014499a09276e9cb1e
|
4
|
+
data.tar.gz: ebb40194db4cf9893edb0b06f6b940a4076e5ec328ea00ba2ab40bd839ebe7e6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0b40900814f6cae2396025fd6ebda46b6fedc11ae7bca92ffcd534cdd6a782e0cca581a264c6f0b3bac05c1c925de8d32590270370445dab62a8c50f9749df90
|
7
|
+
data.tar.gz: 397925608f6083f3722e69661e7731d9f56557ee44d8b79e811b655a7d25dd2f58755f607ad00137296607dd6f1f3fe88045237152134769bb4b5b09aea5cb73
|
data/.gitignore
CHANGED
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
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']
|
data/lib/belated/version.rb
CHANGED
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.
|
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
|
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
|
-
*/
|
File without changes
|
@@ -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
|
File without changes
|
data/dummy/app/models/user.rb
DELETED
@@ -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 +0,0 @@
|
|
1
|
-
<%= yield %>
|
data/dummy/bin/rails
DELETED
data/dummy/bin/rake
DELETED
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
data/dummy/config/application.rb
DELETED
@@ -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__)
|
data/dummy/config/cable.yml
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
1zuzC12cZhC9H6EnSNxFNOCjGsN0dOa/tLdkfOpJl87/apPT0lf0bxLFCkY92rZkOCgdIpUhjBFNGg8jwaPH+UxXrQD8AqXW1sun0XwOTdjOpvVN9cPG1qH0X280TwQ43pGa8jQ8py1GDQ7oFz6cKlA94WdFSweLT25ilQwsGM/KH8WKhTYsDJY8yAMcKNmM2wdce3K0eOn0yBV0EYcFA3a/sEyHKN/8oOQkN0fCWyQDAgjSdzdRdUKCIt8QOSL0/mczttihDFh/wM1TGVt1fX2oGGWugBcknAfyQEhFgvn9cf4iix0BUKrGusMAvaKvUFJAsGxCRggBZS6BgkOh/BeIDq5w3hMiBqUKqlHylbIx+VtqVdgckaBPhUn831V9mRJmtUwS39L88cLdn2Rrv3y5+CwrfGR8vJyg--7gkmJqSvPeuFywft--kt7fo9SWInEWorAm08RaVQ==
|
data/dummy/config/database.yml
DELETED
@@ -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
|