ruby-clock 2.0.0.beta5 → 2.0.0.beta6

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.
Files changed (193) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -1
  3. data/CHANGELOG.md +5 -2
  4. data/README.md +31 -5
  5. data/example-app/Clockfile +10 -6
  6. data/example-app/Gemfile +2 -0
  7. data/example-app/Gemfile.lock +3 -0
  8. data/example-rails-6-app/.browserslistrc +1 -0
  9. data/example-rails-6-app/.gitattributes +10 -0
  10. data/example-rails-6-app/.gitignore +40 -0
  11. data/example-rails-6-app/.ruby-version +1 -0
  12. data/{example-rails-app → example-rails-6-app}/Clockfile +1 -1
  13. data/example-rails-6-app/Gemfile +62 -0
  14. data/example-rails-6-app/Gemfile.lock +270 -0
  15. data/example-rails-6-app/README.md +24 -0
  16. data/{example-rails-app → example-rails-6-app}/Rakefile +0 -0
  17. data/example-rails-6-app/app/assets/config/manifest.js +2 -0
  18. data/{example-rails-app → example-rails-6-app}/app/assets/images/.keep +0 -0
  19. data/example-rails-6-app/app/assets/stylesheets/application.css +15 -0
  20. data/{example-rails-app → example-rails-6-app}/app/channels/application_cable/channel.rb +0 -0
  21. data/{example-rails-app → example-rails-6-app}/app/channels/application_cable/connection.rb +0 -0
  22. data/{example-rails-app → example-rails-6-app}/app/controllers/application_controller.rb +0 -0
  23. data/{example-rails-app → example-rails-6-app}/app/controllers/concerns/.keep +0 -0
  24. data/{example-rails-app → example-rails-6-app}/app/helpers/application_helper.rb +0 -0
  25. data/example-rails-6-app/app/javascript/channels/consumer.js +6 -0
  26. data/example-rails-6-app/app/javascript/channels/index.js +5 -0
  27. data/example-rails-6-app/app/javascript/packs/application.js +13 -0
  28. data/{example-rails-app → example-rails-6-app}/app/jobs/application_job.rb +0 -0
  29. data/example-rails-6-app/app/mailers/application_mailer.rb +4 -0
  30. data/example-rails-6-app/app/models/application_record.rb +3 -0
  31. data/{example-rails-app → example-rails-6-app}/app/models/concerns/.keep +0 -0
  32. data/{example-rails-app → example-rails-6-app}/app/models/example.rb +4 -4
  33. data/example-rails-6-app/app/views/layouts/application.html.erb +16 -0
  34. data/{example-rails-app → example-rails-6-app}/app/views/layouts/mailer.html.erb +0 -0
  35. data/{example-rails-app → example-rails-6-app}/app/views/layouts/mailer.text.erb +0 -0
  36. data/example-rails-6-app/babel.config.js +82 -0
  37. data/{example-rails-app → example-rails-6-app}/bin/bundle +0 -0
  38. data/example-rails-6-app/bin/rails +5 -0
  39. data/example-rails-6-app/bin/rake +5 -0
  40. data/example-rails-6-app/bin/setup +36 -0
  41. data/example-rails-6-app/bin/spring +14 -0
  42. data/example-rails-6-app/bin/webpack +18 -0
  43. data/example-rails-6-app/bin/webpack-dev-server +18 -0
  44. data/example-rails-6-app/bin/yarn +17 -0
  45. data/example-rails-6-app/config/application.rb +22 -0
  46. data/example-rails-6-app/config/boot.rb +4 -0
  47. data/example-rails-6-app/config/cable.yml +10 -0
  48. data/example-rails-6-app/config/credentials.yml.enc +1 -0
  49. data/example-rails-6-app/config/database.yml +25 -0
  50. data/{example-rails-app → example-rails-6-app}/config/environment.rb +0 -0
  51. data/example-rails-6-app/config/environments/development.rb +76 -0
  52. data/example-rails-6-app/config/environments/production.rb +120 -0
  53. data/example-rails-6-app/config/environments/test.rb +60 -0
  54. data/example-rails-6-app/config/initializers/application_controller_renderer.rb +8 -0
  55. data/example-rails-6-app/config/initializers/assets.rb +14 -0
  56. data/example-rails-6-app/config/initializers/backtrace_silencers.rb +8 -0
  57. data/example-rails-6-app/config/initializers/content_security_policy.rb +30 -0
  58. data/example-rails-6-app/config/initializers/cookies_serializer.rb +5 -0
  59. data/example-rails-6-app/config/initializers/filter_parameter_logging.rb +6 -0
  60. data/example-rails-6-app/config/initializers/inflections.rb +16 -0
  61. data/example-rails-6-app/config/initializers/mime_types.rb +4 -0
  62. data/{example-rails-app → example-rails-6-app}/config/initializers/permissions_policy.rb +0 -0
  63. data/example-rails-6-app/config/initializers/wrap_parameters.rb +14 -0
  64. data/example-rails-6-app/config/locales/en.yml +33 -0
  65. data/example-rails-6-app/config/puma.rb +43 -0
  66. data/example-rails-6-app/config/routes.rb +3 -0
  67. data/example-rails-6-app/config/spring.rb +6 -0
  68. data/example-rails-6-app/config/storage.yml +34 -0
  69. data/example-rails-6-app/config/webpack/development.js +5 -0
  70. data/example-rails-6-app/config/webpack/environment.js +3 -0
  71. data/example-rails-6-app/config/webpack/production.js +5 -0
  72. data/example-rails-6-app/config/webpack/test.js +5 -0
  73. data/example-rails-6-app/config/webpacker.yml +92 -0
  74. data/{example-rails-app → example-rails-6-app}/config.ru +0 -0
  75. data/example-rails-6-app/db/migrate/20221102224703_create_examples.rb +8 -0
  76. data/example-rails-6-app/db/schema.rb +20 -0
  77. data/example-rails-6-app/db/seeds.rb +7 -0
  78. data/{example-rails-app → example-rails-6-app}/lib/assets/.keep +0 -0
  79. data/{example-rails-app → example-rails-6-app}/lib/tasks/.keep +0 -0
  80. data/{example-rails-app → example-rails-6-app}/log/.keep +0 -0
  81. data/example-rails-6-app/package.json +17 -0
  82. data/example-rails-6-app/postcss.config.js +12 -0
  83. data/{example-rails-app → example-rails-6-app}/public/404.html +0 -0
  84. data/{example-rails-app → example-rails-6-app}/public/422.html +0 -0
  85. data/{example-rails-app → example-rails-6-app}/public/500.html +0 -0
  86. data/{example-rails-app → example-rails-6-app}/public/apple-touch-icon-precomposed.png +0 -0
  87. data/{example-rails-app → example-rails-6-app}/public/apple-touch-icon.png +0 -0
  88. data/{example-rails-app → example-rails-6-app}/public/favicon.ico +0 -0
  89. data/{example-rails-app → example-rails-6-app}/public/robots.txt +0 -0
  90. data/{example-rails-app → example-rails-6-app}/storage/.keep +0 -0
  91. data/{example-rails-app → example-rails-6-app}/test/application_system_test_case.rb +0 -0
  92. data/{example-rails-app → example-rails-6-app}/test/channels/application_cable/connection_test.rb +0 -0
  93. data/{example-rails-app → example-rails-6-app}/test/controllers/.keep +0 -0
  94. data/{example-rails-app → example-rails-6-app}/test/fixtures/files/.keep +0 -0
  95. data/{example-rails-app → example-rails-6-app}/test/helpers/.keep +0 -0
  96. data/{example-rails-app → example-rails-6-app}/test/integration/.keep +0 -0
  97. data/{example-rails-app → example-rails-6-app}/test/mailers/.keep +0 -0
  98. data/{example-rails-app → example-rails-6-app}/test/models/.keep +0 -0
  99. data/{example-rails-app → example-rails-6-app}/test/system/.keep +0 -0
  100. data/example-rails-6-app/test/test_helper.rb +13 -0
  101. data/{example-rails-app → example-rails-6-app}/tmp/.keep +0 -0
  102. data/{example-rails-app → example-rails-6-app}/tmp/pids/.keep +0 -0
  103. data/{example-rails-app/tmp/storage → example-rails-6-app/vendor}/.keep +0 -0
  104. data/example-rails-6-app/yarn.lock +7108 -0
  105. data/{example-rails-app → example-rails-7-app}/.gitattributes +0 -0
  106. data/{example-rails-app → example-rails-7-app}/.gitignore +0 -0
  107. data/{example-rails-app → example-rails-7-app}/.ruby-version +0 -0
  108. data/example-rails-7-app/Clockfile +19 -0
  109. data/{example-rails-app → example-rails-7-app}/Gemfile +1 -1
  110. data/example-rails-7-app/Gemfile.lock +247 -0
  111. data/{example-rails-app → example-rails-7-app}/README.md +0 -0
  112. data/example-rails-7-app/Rakefile +6 -0
  113. data/{example-rails-app → example-rails-7-app}/app/assets/config/manifest.js +0 -0
  114. data/{example-rails-app/vendor → example-rails-7-app/app/assets/images}/.keep +0 -0
  115. data/{example-rails-app → example-rails-7-app}/app/assets/stylesheets/application.css +0 -0
  116. data/example-rails-7-app/app/channels/application_cable/channel.rb +4 -0
  117. data/example-rails-7-app/app/channels/application_cable/connection.rb +4 -0
  118. data/example-rails-7-app/app/controllers/application_controller.rb +2 -0
  119. data/{example-rails-app/vendor/javascript → example-rails-7-app/app/controllers/concerns}/.keep +0 -0
  120. data/example-rails-7-app/app/helpers/application_helper.rb +2 -0
  121. data/{example-rails-app → example-rails-7-app}/app/javascript/application.js +0 -0
  122. data/{example-rails-app → example-rails-7-app}/app/javascript/controllers/application.js +0 -0
  123. data/{example-rails-app → example-rails-7-app}/app/javascript/controllers/hello_controller.js +0 -0
  124. data/{example-rails-app → example-rails-7-app}/app/javascript/controllers/index.js +0 -0
  125. data/example-rails-7-app/app/jobs/application_job.rb +7 -0
  126. data/{example-rails-app → example-rails-7-app}/app/mailers/application_mailer.rb +0 -0
  127. data/{example-rails-app → example-rails-7-app}/app/models/application_record.rb +0 -0
  128. data/example-rails-7-app/app/models/concerns/.keep +0 -0
  129. data/example-rails-7-app/app/models/example.rb +18 -0
  130. data/{example-rails-app → example-rails-7-app}/app/views/layouts/application.html.erb +0 -0
  131. data/example-rails-7-app/app/views/layouts/mailer.html.erb +13 -0
  132. data/example-rails-7-app/app/views/layouts/mailer.text.erb +1 -0
  133. data/example-rails-7-app/bin/bundle +114 -0
  134. data/{example-rails-app → example-rails-7-app}/bin/importmap +0 -0
  135. data/{example-rails-app → example-rails-7-app}/bin/rails +0 -0
  136. data/{example-rails-app → example-rails-7-app}/bin/rake +0 -0
  137. data/{example-rails-app → example-rails-7-app}/bin/setup +0 -0
  138. data/{example-rails-app → example-rails-7-app}/config/application.rb +0 -0
  139. data/{example-rails-app → example-rails-7-app}/config/boot.rb +0 -0
  140. data/{example-rails-app → example-rails-7-app}/config/cable.yml +0 -0
  141. data/{example-rails-app → example-rails-7-app}/config/credentials.yml.enc +0 -0
  142. data/{example-rails-app → example-rails-7-app}/config/database.yml +0 -0
  143. data/example-rails-7-app/config/environment.rb +5 -0
  144. data/{example-rails-app → example-rails-7-app}/config/environments/development.rb +0 -0
  145. data/{example-rails-app → example-rails-7-app}/config/environments/production.rb +0 -0
  146. data/{example-rails-app → example-rails-7-app}/config/environments/test.rb +0 -0
  147. data/{example-rails-app → example-rails-7-app}/config/importmap.rb +0 -0
  148. data/{example-rails-app → example-rails-7-app}/config/initializers/assets.rb +0 -0
  149. data/{example-rails-app → example-rails-7-app}/config/initializers/content_security_policy.rb +0 -0
  150. data/{example-rails-app → example-rails-7-app}/config/initializers/filter_parameter_logging.rb +0 -0
  151. data/{example-rails-app → example-rails-7-app}/config/initializers/inflections.rb +0 -0
  152. data/example-rails-7-app/config/initializers/permissions_policy.rb +11 -0
  153. data/{example-rails-app → example-rails-7-app}/config/locales/en.yml +0 -0
  154. data/{example-rails-app → example-rails-7-app}/config/puma.rb +0 -0
  155. data/{example-rails-app → example-rails-7-app}/config/routes.rb +0 -0
  156. data/{example-rails-app → example-rails-7-app}/config/storage.yml +0 -0
  157. data/example-rails-7-app/config.ru +6 -0
  158. data/{example-rails-app → example-rails-7-app}/db/migrate/20221001175928_create_examples.rb +0 -0
  159. data/{example-rails-app → example-rails-7-app}/db/schema.rb +0 -0
  160. data/{example-rails-app → example-rails-7-app}/db/seeds.rb +0 -0
  161. data/example-rails-7-app/lib/assets/.keep +0 -0
  162. data/example-rails-7-app/lib/tasks/.keep +0 -0
  163. data/example-rails-7-app/log/.keep +0 -0
  164. data/example-rails-7-app/public/404.html +67 -0
  165. data/example-rails-7-app/public/422.html +67 -0
  166. data/example-rails-7-app/public/500.html +66 -0
  167. data/example-rails-7-app/public/apple-touch-icon-precomposed.png +0 -0
  168. data/example-rails-7-app/public/apple-touch-icon.png +0 -0
  169. data/example-rails-7-app/public/favicon.ico +0 -0
  170. data/example-rails-7-app/public/robots.txt +1 -0
  171. data/example-rails-7-app/storage/.keep +0 -0
  172. data/example-rails-7-app/test/application_system_test_case.rb +5 -0
  173. data/example-rails-7-app/test/channels/application_cable/connection_test.rb +11 -0
  174. data/example-rails-7-app/test/controllers/.keep +0 -0
  175. data/example-rails-7-app/test/fixtures/files/.keep +0 -0
  176. data/example-rails-7-app/test/helpers/.keep +0 -0
  177. data/example-rails-7-app/test/integration/.keep +0 -0
  178. data/example-rails-7-app/test/mailers/.keep +0 -0
  179. data/example-rails-7-app/test/models/.keep +0 -0
  180. data/example-rails-7-app/test/system/.keep +0 -0
  181. data/{example-rails-app → example-rails-7-app}/test/test_helper.rb +0 -0
  182. data/example-rails-7-app/tmp/.keep +0 -0
  183. data/example-rails-7-app/tmp/pids/.keep +0 -0
  184. data/example-rails-7-app/tmp/storage/.keep +0 -0
  185. data/example-rails-7-app/vendor/.keep +0 -0
  186. data/example-rails-7-app/vendor/javascript/.keep +0 -0
  187. data/exe/clock +1 -0
  188. data/lib/ruby-clock/dsl.rb +16 -0
  189. data/lib/ruby-clock/version.rb +1 -1
  190. data/lib/ruby-clock.rb +0 -3
  191. data/ruby-clock.gemspec +1 -1
  192. metadata +182 -85
  193. data/lib/ruby-clock/runners.rb +0 -23
@@ -0,0 +1,19 @@
1
+ using RubyClock::DSL
2
+
3
+ load '../example-app/Clockfile'
4
+
5
+ every('2 seconds') do
6
+ puts Example.count
7
+ end
8
+
9
+ every('2 seconds') do
10
+ puts Example.check_for_global_method
11
+ end
12
+
13
+ every('2 seconds') do
14
+ puts Example.check_for_runner
15
+ end
16
+
17
+ every('2 seconds') do
18
+ rake 'about'
19
+ end
@@ -1,7 +1,7 @@
1
1
  source "https://rubygems.org"
2
2
  git_source(:github) { |repo| "https://github.com/#{repo}.git" }
3
3
 
4
- ruby "2.7.5"
4
+ ruby '>= 3.0'
5
5
 
6
6
  gem 'ruby-clock', path: '../'
7
7
 
@@ -0,0 +1,247 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ ruby-clock (2.0.0.beta5)
5
+ method_source
6
+ rufus-scheduler (~> 3.8)
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ actioncable (7.0.4)
12
+ actionpack (= 7.0.4)
13
+ activesupport (= 7.0.4)
14
+ nio4r (~> 2.0)
15
+ websocket-driver (>= 0.6.1)
16
+ actionmailbox (7.0.4)
17
+ actionpack (= 7.0.4)
18
+ activejob (= 7.0.4)
19
+ activerecord (= 7.0.4)
20
+ activestorage (= 7.0.4)
21
+ activesupport (= 7.0.4)
22
+ mail (>= 2.7.1)
23
+ net-imap
24
+ net-pop
25
+ net-smtp
26
+ actionmailer (7.0.4)
27
+ actionpack (= 7.0.4)
28
+ actionview (= 7.0.4)
29
+ activejob (= 7.0.4)
30
+ activesupport (= 7.0.4)
31
+ mail (~> 2.5, >= 2.5.4)
32
+ net-imap
33
+ net-pop
34
+ net-smtp
35
+ rails-dom-testing (~> 2.0)
36
+ actionpack (7.0.4)
37
+ actionview (= 7.0.4)
38
+ activesupport (= 7.0.4)
39
+ rack (~> 2.0, >= 2.2.0)
40
+ rack-test (>= 0.6.3)
41
+ rails-dom-testing (~> 2.0)
42
+ rails-html-sanitizer (~> 1.0, >= 1.2.0)
43
+ actiontext (7.0.4)
44
+ actionpack (= 7.0.4)
45
+ activerecord (= 7.0.4)
46
+ activestorage (= 7.0.4)
47
+ activesupport (= 7.0.4)
48
+ globalid (>= 0.6.0)
49
+ nokogiri (>= 1.8.5)
50
+ actionview (7.0.4)
51
+ activesupport (= 7.0.4)
52
+ builder (~> 3.1)
53
+ erubi (~> 1.4)
54
+ rails-dom-testing (~> 2.0)
55
+ rails-html-sanitizer (~> 1.1, >= 1.2.0)
56
+ activejob (7.0.4)
57
+ activesupport (= 7.0.4)
58
+ globalid (>= 0.3.6)
59
+ activemodel (7.0.4)
60
+ activesupport (= 7.0.4)
61
+ activerecord (7.0.4)
62
+ activemodel (= 7.0.4)
63
+ activesupport (= 7.0.4)
64
+ activestorage (7.0.4)
65
+ actionpack (= 7.0.4)
66
+ activejob (= 7.0.4)
67
+ activerecord (= 7.0.4)
68
+ activesupport (= 7.0.4)
69
+ marcel (~> 1.0)
70
+ mini_mime (>= 1.1.0)
71
+ activesupport (7.0.4)
72
+ concurrent-ruby (~> 1.0, >= 1.0.2)
73
+ i18n (>= 1.6, < 2)
74
+ minitest (>= 5.1)
75
+ tzinfo (~> 2.0)
76
+ addressable (2.8.1)
77
+ public_suffix (>= 2.0.2, < 6.0)
78
+ bindex (0.8.1)
79
+ bootsnap (1.13.0)
80
+ msgpack (~> 1.2)
81
+ builder (3.2.4)
82
+ capybara (3.37.1)
83
+ addressable
84
+ matrix
85
+ mini_mime (>= 0.1.3)
86
+ nokogiri (~> 1.8)
87
+ rack (>= 1.6.0)
88
+ rack-test (>= 0.6.3)
89
+ regexp_parser (>= 1.5, < 3.0)
90
+ xpath (~> 3.2)
91
+ childprocess (4.1.0)
92
+ concurrent-ruby (1.1.10)
93
+ crass (1.0.6)
94
+ debug (1.6.2)
95
+ irb (>= 1.3.6)
96
+ reline (>= 0.3.1)
97
+ erubi (1.11.0)
98
+ et-orbi (1.2.7)
99
+ tzinfo
100
+ fugit (1.7.1)
101
+ et-orbi (~> 1, >= 1.2.7)
102
+ raabro (~> 1.4)
103
+ globalid (1.0.0)
104
+ activesupport (>= 5.0)
105
+ i18n (1.12.0)
106
+ concurrent-ruby (~> 1.0)
107
+ importmap-rails (1.1.5)
108
+ actionpack (>= 6.0.0)
109
+ railties (>= 6.0.0)
110
+ io-console (0.5.11)
111
+ irb (1.4.1)
112
+ reline (>= 0.3.0)
113
+ jbuilder (2.11.5)
114
+ actionview (>= 5.0.0)
115
+ activesupport (>= 5.0.0)
116
+ loofah (2.19.0)
117
+ crass (~> 1.0.2)
118
+ nokogiri (>= 1.5.9)
119
+ mail (2.7.1)
120
+ mini_mime (>= 0.1.1)
121
+ marcel (1.0.2)
122
+ matrix (0.4.2)
123
+ method_source (1.0.0)
124
+ mini_mime (1.1.2)
125
+ minitest (5.16.3)
126
+ msgpack (1.6.0)
127
+ net-imap (0.3.1)
128
+ net-protocol
129
+ net-pop (0.1.2)
130
+ net-protocol
131
+ net-protocol (0.1.3)
132
+ timeout
133
+ net-smtp (0.3.2)
134
+ net-protocol
135
+ nio4r (2.5.8)
136
+ nokogiri (1.13.8-arm64-darwin)
137
+ racc (~> 1.4)
138
+ public_suffix (5.0.0)
139
+ puma (5.6.5)
140
+ nio4r (~> 2.0)
141
+ raabro (1.4.0)
142
+ racc (1.6.0)
143
+ rack (2.2.4)
144
+ rack-test (2.0.2)
145
+ rack (>= 1.3)
146
+ rails (7.0.4)
147
+ actioncable (= 7.0.4)
148
+ actionmailbox (= 7.0.4)
149
+ actionmailer (= 7.0.4)
150
+ actionpack (= 7.0.4)
151
+ actiontext (= 7.0.4)
152
+ actionview (= 7.0.4)
153
+ activejob (= 7.0.4)
154
+ activemodel (= 7.0.4)
155
+ activerecord (= 7.0.4)
156
+ activestorage (= 7.0.4)
157
+ activesupport (= 7.0.4)
158
+ bundler (>= 1.15.0)
159
+ railties (= 7.0.4)
160
+ rails-dom-testing (2.0.3)
161
+ activesupport (>= 4.2.0)
162
+ nokogiri (>= 1.6)
163
+ rails-html-sanitizer (1.4.3)
164
+ loofah (~> 2.3)
165
+ railties (7.0.4)
166
+ actionpack (= 7.0.4)
167
+ activesupport (= 7.0.4)
168
+ method_source
169
+ rake (>= 12.2)
170
+ thor (~> 1.0)
171
+ zeitwerk (~> 2.5)
172
+ rake (13.0.6)
173
+ redis (4.8.0)
174
+ regexp_parser (2.6.0)
175
+ reline (0.3.1)
176
+ io-console (~> 0.5)
177
+ rexml (3.2.5)
178
+ rubyzip (2.3.2)
179
+ rufus-scheduler (3.8.2)
180
+ fugit (~> 1.1, >= 1.1.6)
181
+ selenium-webdriver (4.5.0)
182
+ childprocess (>= 0.5, < 5.0)
183
+ rexml (~> 3.2, >= 3.2.5)
184
+ rubyzip (>= 1.2.2, < 3.0)
185
+ websocket (~> 1.0)
186
+ sprockets (4.1.1)
187
+ concurrent-ruby (~> 1.0)
188
+ rack (> 1, < 3)
189
+ sprockets-rails (3.4.2)
190
+ actionpack (>= 5.2)
191
+ activesupport (>= 5.2)
192
+ sprockets (>= 3.0.0)
193
+ sqlite3 (1.5.1-arm64-darwin)
194
+ stimulus-rails (1.1.0)
195
+ railties (>= 6.0.0)
196
+ thor (1.2.1)
197
+ timeout (0.3.0)
198
+ turbo-rails (1.3.0)
199
+ actionpack (>= 6.0.0)
200
+ activejob (>= 6.0.0)
201
+ railties (>= 6.0.0)
202
+ tzinfo (2.0.5)
203
+ concurrent-ruby (~> 1.0)
204
+ web-console (4.2.0)
205
+ actionview (>= 6.0.0)
206
+ activemodel (>= 6.0.0)
207
+ bindex (>= 0.4.0)
208
+ railties (>= 6.0.0)
209
+ webdrivers (5.2.0)
210
+ nokogiri (~> 1.6)
211
+ rubyzip (>= 1.3.0)
212
+ selenium-webdriver (~> 4.0)
213
+ websocket (1.2.9)
214
+ websocket-driver (0.7.5)
215
+ websocket-extensions (>= 0.1.0)
216
+ websocket-extensions (0.1.5)
217
+ xpath (3.2.0)
218
+ nokogiri (~> 1.8)
219
+ zeitwerk (2.6.1)
220
+
221
+ PLATFORMS
222
+ arm64-darwin-21
223
+
224
+ DEPENDENCIES
225
+ bootsnap
226
+ capybara
227
+ debug
228
+ importmap-rails
229
+ jbuilder
230
+ puma (~> 5.0)
231
+ rails (~> 7.0.4)
232
+ redis (~> 4.0)
233
+ ruby-clock!
234
+ selenium-webdriver
235
+ sprockets-rails
236
+ sqlite3 (~> 1.4)
237
+ stimulus-rails
238
+ turbo-rails
239
+ tzinfo-data
240
+ web-console
241
+ webdrivers
242
+
243
+ RUBY VERSION
244
+ ruby 3.1.2p20
245
+
246
+ BUNDLED WITH
247
+ 2.3.8
@@ -0,0 +1,6 @@
1
+ # Add your own tasks in files placed in lib/tasks ending in .rake,
2
+ # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
3
+
4
+ require_relative "config/application"
5
+
6
+ Rails.application.load_tasks
@@ -0,0 +1,4 @@
1
+ module ApplicationCable
2
+ class Channel < ActionCable::Channel::Base
3
+ end
4
+ end
@@ -0,0 +1,4 @@
1
+ module ApplicationCable
2
+ class Connection < ActionCable::Connection::Base
3
+ end
4
+ end
@@ -0,0 +1,2 @@
1
+ class ApplicationController < ActionController::Base
2
+ end
@@ -0,0 +1,2 @@
1
+ module ApplicationHelper
2
+ end
@@ -0,0 +1,7 @@
1
+ class ApplicationJob < ActiveJob::Base
2
+ # Automatically retry jobs that encountered a deadlock
3
+ # retry_on ActiveRecord::Deadlocked
4
+
5
+ # Most jobs are safe to ignore if the underlying records are no longer available
6
+ # discard_on ActiveJob::DeserializationError
7
+ end
File without changes
@@ -0,0 +1,18 @@
1
+ class Example < ApplicationRecord
2
+ def self.check_for_global_method
3
+ if defined?(schedule)
4
+ "💥 Oh no, the ruby-clock DSL is in the global environment! 💥"
5
+ else
6
+ "✅"
7
+ end
8
+ end
9
+
10
+ def self.check_for_runner
11
+ if defined?(shell) || defined?(rake)
12
+ "💥 Oh no, the runners got included in the global environment! 💥"
13
+ else
14
+ "✅"
15
+ end
16
+ end
17
+
18
+ end
@@ -0,0 +1,13 @@
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>
@@ -0,0 +1 @@
1
+ <%= yield %>
@@ -0,0 +1,114 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ #
5
+ # This file was generated by Bundler.
6
+ #
7
+ # The application 'bundle' is installed as part of a gem, and
8
+ # this file is here to facilitate running it.
9
+ #
10
+
11
+ require "rubygems"
12
+
13
+ m = Module.new do
14
+ module_function
15
+
16
+ def invoked_as_script?
17
+ File.expand_path($0) == File.expand_path(__FILE__)
18
+ end
19
+
20
+ def env_var_version
21
+ ENV["BUNDLER_VERSION"]
22
+ end
23
+
24
+ def cli_arg_version
25
+ return unless invoked_as_script? # don't want to hijack other binstubs
26
+ return unless "update".start_with?(ARGV.first || " ") # must be running `bundle update`
27
+ bundler_version = nil
28
+ update_index = nil
29
+ ARGV.each_with_index do |a, i|
30
+ if update_index && update_index.succ == i && a =~ Gem::Version::ANCHORED_VERSION_PATTERN
31
+ bundler_version = a
32
+ end
33
+ next unless a =~ /\A--bundler(?:[= ](#{Gem::Version::VERSION_PATTERN}))?\z/
34
+ bundler_version = $1
35
+ update_index = i
36
+ end
37
+ bundler_version
38
+ end
39
+
40
+ def gemfile
41
+ gemfile = ENV["BUNDLE_GEMFILE"]
42
+ return gemfile if gemfile && !gemfile.empty?
43
+
44
+ File.expand_path("../../Gemfile", __FILE__)
45
+ end
46
+
47
+ def lockfile
48
+ lockfile =
49
+ case File.basename(gemfile)
50
+ when "gems.rb" then gemfile.sub(/\.rb$/, gemfile)
51
+ else "#{gemfile}.lock"
52
+ end
53
+ File.expand_path(lockfile)
54
+ end
55
+
56
+ def lockfile_version
57
+ return unless File.file?(lockfile)
58
+ lockfile_contents = File.read(lockfile)
59
+ return unless lockfile_contents =~ /\n\nBUNDLED WITH\n\s{2,}(#{Gem::Version::VERSION_PATTERN})\n/
60
+ Regexp.last_match(1)
61
+ end
62
+
63
+ def bundler_requirement
64
+ @bundler_requirement ||=
65
+ env_var_version || cli_arg_version ||
66
+ bundler_requirement_for(lockfile_version)
67
+ end
68
+
69
+ def bundler_requirement_for(version)
70
+ return "#{Gem::Requirement.default}.a" unless version
71
+
72
+ bundler_gem_version = Gem::Version.new(version)
73
+
74
+ requirement = bundler_gem_version.approximate_recommendation
75
+
76
+ return requirement unless Gem.rubygems_version < Gem::Version.new("2.7.0")
77
+
78
+ requirement += ".a" if bundler_gem_version.prerelease?
79
+
80
+ requirement
81
+ end
82
+
83
+ def load_bundler!
84
+ ENV["BUNDLE_GEMFILE"] ||= gemfile
85
+
86
+ activate_bundler
87
+ end
88
+
89
+ def activate_bundler
90
+ gem_error = activation_error_handling do
91
+ gem "bundler", bundler_requirement
92
+ end
93
+ return if gem_error.nil?
94
+ require_error = activation_error_handling do
95
+ require "bundler/version"
96
+ end
97
+ return if require_error.nil? && Gem::Requirement.new(bundler_requirement).satisfied_by?(Gem::Version.new(Bundler::VERSION))
98
+ warn "Activating bundler (#{bundler_requirement}) failed:\n#{gem_error.message}\n\nTo install the version of bundler this project requires, run `gem install bundler -v '#{bundler_requirement}'`"
99
+ exit 42
100
+ end
101
+
102
+ def activation_error_handling
103
+ yield
104
+ nil
105
+ rescue StandardError, LoadError => e
106
+ e
107
+ end
108
+ end
109
+
110
+ m.load_bundler!
111
+
112
+ if m.invoked_as_script?
113
+ load Gem.bin_path("bundler", "bundle")
114
+ end
File without changes
@@ -0,0 +1,5 @@
1
+ # Load the Rails application.
2
+ require_relative "application"
3
+
4
+ # Initialize the Rails application.
5
+ Rails.application.initialize!
@@ -0,0 +1,11 @@
1
+ # Define an application-wide HTTP permissions policy. For further
2
+ # information see https://developers.google.com/web/updates/2018/06/feature-policy
3
+ #
4
+ # Rails.application.config.permissions_policy do |f|
5
+ # f.camera :none
6
+ # f.gyroscope :none
7
+ # f.microphone :none
8
+ # f.usb :none
9
+ # f.fullscreen :self
10
+ # f.payment :self, "https://secure.example.com"
11
+ # end
@@ -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
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>