ruby-clock 1.0.0 → 2.0.0.beta2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (90) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +23 -0
  3. data/README.md +39 -31
  4. data/example-app/Clockfile +7 -3
  5. data/example-rails-app/.gitattributes +9 -0
  6. data/example-rails-app/.gitignore +35 -0
  7. data/example-rails-app/.ruby-version +1 -0
  8. data/example-rails-app/Clockfile +23 -0
  9. data/example-rails-app/Gemfile +74 -0
  10. data/example-rails-app/README.md +12 -0
  11. data/example-rails-app/Rakefile +6 -0
  12. data/example-rails-app/app/assets/config/manifest.js +4 -0
  13. data/example-rails-app/app/assets/images/.keep +0 -0
  14. data/example-rails-app/app/assets/stylesheets/application.css +15 -0
  15. data/example-rails-app/app/channels/application_cable/channel.rb +4 -0
  16. data/example-rails-app/app/channels/application_cable/connection.rb +4 -0
  17. data/example-rails-app/app/controllers/application_controller.rb +2 -0
  18. data/example-rails-app/app/controllers/concerns/.keep +0 -0
  19. data/example-rails-app/app/helpers/application_helper.rb +2 -0
  20. data/example-rails-app/app/javascript/application.js +3 -0
  21. data/example-rails-app/app/javascript/controllers/application.js +9 -0
  22. data/example-rails-app/app/javascript/controllers/hello_controller.js +7 -0
  23. data/example-rails-app/app/javascript/controllers/index.js +11 -0
  24. data/example-rails-app/app/jobs/application_job.rb +7 -0
  25. data/example-rails-app/app/mailers/application_mailer.rb +4 -0
  26. data/example-rails-app/app/models/application_record.rb +3 -0
  27. data/example-rails-app/app/models/concerns/.keep +0 -0
  28. data/example-rails-app/app/models/example.rb +2 -0
  29. data/example-rails-app/app/views/layouts/application.html.erb +16 -0
  30. data/example-rails-app/app/views/layouts/mailer.html.erb +13 -0
  31. data/example-rails-app/app/views/layouts/mailer.text.erb +1 -0
  32. data/example-rails-app/bin/bundle +114 -0
  33. data/example-rails-app/bin/importmap +4 -0
  34. data/example-rails-app/bin/rails +4 -0
  35. data/example-rails-app/bin/rake +4 -0
  36. data/example-rails-app/bin/setup +33 -0
  37. data/example-rails-app/config/application.rb +22 -0
  38. data/example-rails-app/config/boot.rb +4 -0
  39. data/example-rails-app/config/cable.yml +11 -0
  40. data/example-rails-app/config/credentials.yml.enc +1 -0
  41. data/example-rails-app/config/database.yml +25 -0
  42. data/example-rails-app/config/environment.rb +5 -0
  43. data/example-rails-app/config/environments/development.rb +70 -0
  44. data/example-rails-app/config/environments/production.rb +93 -0
  45. data/example-rails-app/config/environments/test.rb +60 -0
  46. data/example-rails-app/config/importmap.rb +7 -0
  47. data/example-rails-app/config/initializers/assets.rb +12 -0
  48. data/example-rails-app/config/initializers/content_security_policy.rb +25 -0
  49. data/example-rails-app/config/initializers/filter_parameter_logging.rb +8 -0
  50. data/example-rails-app/config/initializers/inflections.rb +16 -0
  51. data/example-rails-app/config/initializers/permissions_policy.rb +11 -0
  52. data/example-rails-app/config/locales/en.yml +33 -0
  53. data/example-rails-app/config/puma.rb +43 -0
  54. data/example-rails-app/config/routes.rb +6 -0
  55. data/example-rails-app/config/storage.yml +34 -0
  56. data/example-rails-app/config.ru +6 -0
  57. data/example-rails-app/db/migrate/20221001175928_create_examples.rb +8 -0
  58. data/example-rails-app/db/schema.rb +19 -0
  59. data/example-rails-app/db/seeds.rb +7 -0
  60. data/example-rails-app/lib/assets/.keep +0 -0
  61. data/example-rails-app/lib/tasks/.keep +0 -0
  62. data/example-rails-app/log/.keep +0 -0
  63. data/example-rails-app/public/404.html +67 -0
  64. data/example-rails-app/public/422.html +67 -0
  65. data/example-rails-app/public/500.html +66 -0
  66. data/example-rails-app/public/apple-touch-icon-precomposed.png +0 -0
  67. data/example-rails-app/public/apple-touch-icon.png +0 -0
  68. data/example-rails-app/public/favicon.ico +0 -0
  69. data/example-rails-app/public/robots.txt +1 -0
  70. data/example-rails-app/storage/.keep +0 -0
  71. data/example-rails-app/test/application_system_test_case.rb +5 -0
  72. data/example-rails-app/test/channels/application_cable/connection_test.rb +11 -0
  73. data/example-rails-app/test/controllers/.keep +0 -0
  74. data/example-rails-app/test/fixtures/files/.keep +0 -0
  75. data/example-rails-app/test/helpers/.keep +0 -0
  76. data/example-rails-app/test/integration/.keep +0 -0
  77. data/example-rails-app/test/mailers/.keep +0 -0
  78. data/example-rails-app/test/models/.keep +0 -0
  79. data/example-rails-app/test/system/.keep +0 -0
  80. data/example-rails-app/test/test_helper.rb +13 -0
  81. data/example-rails-app/tmp/.keep +0 -0
  82. data/example-rails-app/tmp/pids/.keep +0 -0
  83. data/example-rails-app/tmp/storage/.keep +0 -0
  84. data/example-rails-app/vendor/.keep +0 -0
  85. data/example-rails-app/vendor/javascript/.keep +0 -0
  86. data/exe/clock +37 -5
  87. data/lib/ruby-clock/version.rb +2 -2
  88. data/lib/ruby-clock.rb +12 -2
  89. data/ruby-clock.gemspec +1 -1
  90. metadata +87 -6
@@ -0,0 +1,34 @@
1
+ test:
2
+ service: Disk
3
+ root: <%= Rails.root.join("tmp/storage") %>
4
+
5
+ local:
6
+ service: Disk
7
+ root: <%= Rails.root.join("storage") %>
8
+
9
+ # Use bin/rails credentials:edit to set the AWS secrets (as aws:access_key_id|secret_access_key)
10
+ # amazon:
11
+ # service: S3
12
+ # access_key_id: <%= Rails.application.credentials.dig(:aws, :access_key_id) %>
13
+ # secret_access_key: <%= Rails.application.credentials.dig(:aws, :secret_access_key) %>
14
+ # region: us-east-1
15
+ # bucket: your_own_bucket-<%= Rails.env %>
16
+
17
+ # Remember not to checkin your GCS keyfile to a repository
18
+ # google:
19
+ # service: GCS
20
+ # project: your_project
21
+ # credentials: <%= Rails.root.join("path/to/gcs.keyfile") %>
22
+ # bucket: your_own_bucket-<%= Rails.env %>
23
+
24
+ # Use bin/rails credentials:edit to set the Azure Storage secret (as azure_storage:storage_access_key)
25
+ # microsoft:
26
+ # service: AzureStorage
27
+ # storage_account_name: your_account_name
28
+ # storage_access_key: <%= Rails.application.credentials.dig(:azure_storage, :storage_access_key) %>
29
+ # container: your_container_name-<%= Rails.env %>
30
+
31
+ # mirror:
32
+ # service: Mirror
33
+ # primary: local
34
+ # mirrors: [ amazon, google, microsoft ]
@@ -0,0 +1,6 @@
1
+ # This file is used by Rack-based servers to start the application.
2
+
3
+ require_relative "config/environment"
4
+
5
+ run Rails.application
6
+ Rails.application.load_server
@@ -0,0 +1,8 @@
1
+ class CreateExamples < ActiveRecord::Migration[7.0]
2
+ def change
3
+ create_table :examples do |t|
4
+
5
+ t.timestamps
6
+ end
7
+ end
8
+ end
@@ -0,0 +1,19 @@
1
+ # This file is auto-generated from the current state of the database. Instead
2
+ # of editing this file, please use the migrations feature of Active Record to
3
+ # incrementally modify your database, and then regenerate this schema definition.
4
+ #
5
+ # This file is the source Rails uses to define your schema when running `bin/rails
6
+ # db:schema:load`. When creating a new database, `bin/rails db:schema:load` tends to
7
+ # be faster and is potentially less error prone than running all of your
8
+ # migrations from scratch. Old migrations may fail to apply correctly if those
9
+ # migrations use external dependencies or application code.
10
+ #
11
+ # It's strongly recommended that you check this file into your version control system.
12
+
13
+ ActiveRecord::Schema[7.0].define(version: 2022_10_01_175928) do
14
+ create_table "examples", force: :cascade do |t|
15
+ t.datetime "created_at", null: false
16
+ t.datetime "updated_at", null: false
17
+ end
18
+
19
+ end
@@ -0,0 +1,7 @@
1
+ # This file should contain all the record creation needed to seed the database with its default values.
2
+ # The data can then be loaded with the bin/rails db:seed command (or created alongside the database with db:setup).
3
+ #
4
+ # Examples:
5
+ #
6
+ # movies = Movie.create([{ name: "Star Wars" }, { name: "Lord of the Rings" }])
7
+ # Character.create(name: "Luke", movie: movies.first)
File without changes
File without changes
File without changes
@@ -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
@@ -0,0 +1 @@
1
+ # See https://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file
File without changes
@@ -0,0 +1,5 @@
1
+ require "test_helper"
2
+
3
+ class ApplicationSystemTestCase < ActionDispatch::SystemTestCase
4
+ driven_by :selenium, using: :chrome, screen_size: [1400, 1400]
5
+ end
@@ -0,0 +1,11 @@
1
+ require "test_helper"
2
+
3
+ class ApplicationCable::ConnectionTest < ActionCable::Connection::TestCase
4
+ # test "connects with cookies" do
5
+ # cookies.signed[:user_id] = 42
6
+ #
7
+ # connect
8
+ #
9
+ # assert_equal connection.user_id, "42"
10
+ # end
11
+ end
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -0,0 +1,13 @@
1
+ ENV["RAILS_ENV"] ||= "test"
2
+ require_relative "../config/environment"
3
+ require "rails/test_help"
4
+
5
+ class ActiveSupport::TestCase
6
+ # Run tests in parallel with specified workers
7
+ parallelize(workers: :number_of_processors)
8
+
9
+ # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
10
+ fixtures :all
11
+
12
+ # Add more helper methods to be used by all tests here...
13
+ end
File without changes
File without changes
File without changes
File without changes
File without changes
data/exe/clock CHANGED
@@ -1,5 +1,11 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
+ begin
4
+ require './config/environment.rb'
5
+ puts "Detected rails app has been loaded."
6
+ rescue LoadError
7
+ end
8
+
3
9
  require 'ruby-clock'
4
10
  require 'method_source'
5
11
 
@@ -17,11 +23,37 @@ class Rufus::Scheduler::Job
17
23
  end
18
24
  end
19
25
 
20
- include RubyClock
26
+ RubyClock.instance.listen_to_signals
27
+ RubyClock.instance.prepare_rake
28
+ RubyClock.instance.schedule.pause
29
+
30
+
31
+
32
+ ## Add methods to top-level namespace
33
+ def schedule
34
+ RubyClock.instance.schedule
35
+ end
36
+
37
+ def on_error(&on_error_block)
38
+ RubyClock.instance.on_error = on_error_block
39
+ def schedule.on_error(job, error)
40
+ RubyClock.instance.on_error.call(job, error)
41
+ end
42
+ end
43
+
44
+ def cron(...)
45
+ RubyClock.instance.schedule.cron(...)
46
+ end
47
+
48
+ def every(...)
49
+ RubyClock.instance.schedule.every(...)
50
+ end
51
+
52
+ def shell(string)
53
+ RubyClock.instance.shell(string)
54
+ end
55
+ #####################################
21
56
 
22
- listen_to_signals
23
- prepare_rake
24
- schedule.pause
25
57
 
26
58
  load ARGV[0] || 'Clockfile'
27
59
 
@@ -36,4 +68,4 @@ if defined?(::Rails)
36
68
  end
37
69
  end
38
70
 
39
- run_jobs
71
+ RubyClock.instance.run_jobs
@@ -1,3 +1,3 @@
1
- module RubyClock
2
- VERSION = "1.0.0"
1
+ class RubyClock
2
+ VERSION = "2.0.0.beta2"
3
3
  end
data/lib/ruby-clock.rb CHANGED
@@ -1,9 +1,18 @@
1
1
  require "ruby-clock/version"
2
2
  require 'rufus-scheduler'
3
+ require 'singleton'
4
+
5
+ class RubyClock
6
+
7
+ include Singleton
8
+
9
+ attr_accessor :on_error
10
+
11
+ def wait_seconds
12
+ ENV['RUBY_CLOCK_SHUTDOWN_WAIT_SECONDS']&.to_i || 29
13
+ end
3
14
 
4
- module RubyClock
5
15
  def shutdown
6
- wait_seconds = ENV['RUBY_CLOCK_SHUTDOWN_WAIT_SECONDS']&.to_i || 29
7
16
  puts "Shutting down ruby-clock. Waiting #{wait_seconds} seconds for jobs to finish..."
8
17
  schedule.shutdown(wait: wait_seconds)
9
18
  puts "...done 🐈️ 👋"
@@ -21,6 +30,7 @@ module RubyClock
21
30
  end
22
31
  end
23
32
  end
33
+ puts "RUBY_CLOCK_SHUTDOWN_WAIT_SECONDS is set to #{wait_seconds}"
24
34
  end
25
35
 
26
36
  def schedule
data/ruby-clock.gemspec CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
10
10
  # spec.description = %q{TODO: Write a longer description or delete this line.}
11
11
  spec.homepage = "https://github.com/jjb/ruby-clock"
12
12
  spec.license = "MIT"
13
- spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0")
13
+ spec.required_ruby_version = Gem::Requirement.new(">= 2.7.0")
14
14
 
15
15
  # spec.metadata["allowed_push_host"] = "TODO: Set to 'http://mygemserver.com'"
16
16
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-clock
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 2.0.0.beta2
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Bachir
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-04-16 00:00:00.000000000 Z
11
+ date: 2022-10-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rufus-scheduler
@@ -59,6 +59,87 @@ files:
59
59
  - example-app/Gemfile
60
60
  - example-app/Gemfile.lock
61
61
  - example-app/README.md
62
+ - example-rails-app/.gitattributes
63
+ - example-rails-app/.gitignore
64
+ - example-rails-app/.ruby-version
65
+ - example-rails-app/Clockfile
66
+ - example-rails-app/Gemfile
67
+ - example-rails-app/README.md
68
+ - example-rails-app/Rakefile
69
+ - example-rails-app/app/assets/config/manifest.js
70
+ - example-rails-app/app/assets/images/.keep
71
+ - example-rails-app/app/assets/stylesheets/application.css
72
+ - example-rails-app/app/channels/application_cable/channel.rb
73
+ - example-rails-app/app/channels/application_cable/connection.rb
74
+ - example-rails-app/app/controllers/application_controller.rb
75
+ - example-rails-app/app/controllers/concerns/.keep
76
+ - example-rails-app/app/helpers/application_helper.rb
77
+ - example-rails-app/app/javascript/application.js
78
+ - example-rails-app/app/javascript/controllers/application.js
79
+ - example-rails-app/app/javascript/controllers/hello_controller.js
80
+ - example-rails-app/app/javascript/controllers/index.js
81
+ - example-rails-app/app/jobs/application_job.rb
82
+ - example-rails-app/app/mailers/application_mailer.rb
83
+ - example-rails-app/app/models/application_record.rb
84
+ - example-rails-app/app/models/concerns/.keep
85
+ - example-rails-app/app/models/example.rb
86
+ - example-rails-app/app/views/layouts/application.html.erb
87
+ - example-rails-app/app/views/layouts/mailer.html.erb
88
+ - example-rails-app/app/views/layouts/mailer.text.erb
89
+ - example-rails-app/bin/bundle
90
+ - example-rails-app/bin/importmap
91
+ - example-rails-app/bin/rails
92
+ - example-rails-app/bin/rake
93
+ - example-rails-app/bin/setup
94
+ - example-rails-app/config.ru
95
+ - example-rails-app/config/application.rb
96
+ - example-rails-app/config/boot.rb
97
+ - example-rails-app/config/cable.yml
98
+ - example-rails-app/config/credentials.yml.enc
99
+ - example-rails-app/config/database.yml
100
+ - example-rails-app/config/environment.rb
101
+ - example-rails-app/config/environments/development.rb
102
+ - example-rails-app/config/environments/production.rb
103
+ - example-rails-app/config/environments/test.rb
104
+ - example-rails-app/config/importmap.rb
105
+ - example-rails-app/config/initializers/assets.rb
106
+ - example-rails-app/config/initializers/content_security_policy.rb
107
+ - example-rails-app/config/initializers/filter_parameter_logging.rb
108
+ - example-rails-app/config/initializers/inflections.rb
109
+ - example-rails-app/config/initializers/permissions_policy.rb
110
+ - example-rails-app/config/locales/en.yml
111
+ - example-rails-app/config/puma.rb
112
+ - example-rails-app/config/routes.rb
113
+ - example-rails-app/config/storage.yml
114
+ - example-rails-app/db/migrate/20221001175928_create_examples.rb
115
+ - example-rails-app/db/schema.rb
116
+ - example-rails-app/db/seeds.rb
117
+ - example-rails-app/lib/assets/.keep
118
+ - example-rails-app/lib/tasks/.keep
119
+ - example-rails-app/log/.keep
120
+ - example-rails-app/public/404.html
121
+ - example-rails-app/public/422.html
122
+ - example-rails-app/public/500.html
123
+ - example-rails-app/public/apple-touch-icon-precomposed.png
124
+ - example-rails-app/public/apple-touch-icon.png
125
+ - example-rails-app/public/favicon.ico
126
+ - example-rails-app/public/robots.txt
127
+ - example-rails-app/storage/.keep
128
+ - example-rails-app/test/application_system_test_case.rb
129
+ - example-rails-app/test/channels/application_cable/connection_test.rb
130
+ - example-rails-app/test/controllers/.keep
131
+ - example-rails-app/test/fixtures/files/.keep
132
+ - example-rails-app/test/helpers/.keep
133
+ - example-rails-app/test/integration/.keep
134
+ - example-rails-app/test/mailers/.keep
135
+ - example-rails-app/test/models/.keep
136
+ - example-rails-app/test/system/.keep
137
+ - example-rails-app/test/test_helper.rb
138
+ - example-rails-app/tmp/.keep
139
+ - example-rails-app/tmp/pids/.keep
140
+ - example-rails-app/tmp/storage/.keep
141
+ - example-rails-app/vendor/.keep
142
+ - example-rails-app/vendor/javascript/.keep
62
143
  - exe/clock
63
144
  - lib/ruby-clock.rb
64
145
  - lib/ruby-clock/version.rb
@@ -78,14 +159,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
78
159
  requirements:
79
160
  - - ">="
80
161
  - !ruby/object:Gem::Version
81
- version: 2.3.0
162
+ version: 2.7.0
82
163
  required_rubygems_version: !ruby/object:Gem::Requirement
83
164
  requirements:
84
- - - ">="
165
+ - - ">"
85
166
  - !ruby/object:Gem::Version
86
- version: '0'
167
+ version: 1.3.1
87
168
  requirements: []
88
- rubygems_version: 3.2.22
169
+ rubygems_version: 3.1.6
89
170
  signing_key:
90
171
  specification_version: 4
91
172
  summary: A "clock" process for invoking ruby code within a persistent runtime