facio 0.1.11 → 0.1.13
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/.devcontainer/Dockerfile +3 -0
- data/.devcontainer/compose.yaml +49 -0
- data/.devcontainer/devcontainer.json +35 -0
- data/facio.gemspec +1 -1
- data/lib/facio/concerns/callbacks.rb +0 -1
- data/lib/facio/context.rb +8 -0
- data/lib/facio/service.rb +1 -1
- data/lib/facio/version.rb +1 -1
- data/mise.toml +2 -0
- metadata +8 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 78fd84c0df628d66cf2ae1ee9776fbdce89015c8d0451723662f60caa2893995
|
|
4
|
+
data.tar.gz: 610a113b4434bc52a215b707930fc6accb9a0cbe7cdc1a4e2b4b3bbdaef616cd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 218f4858fb6583b7a86efcaec1f6fa37010c0829c431df05371d69ed433917905a5c7b42ab58b8893fdb2795006f73325392104181d40e3e57441ae316d3d6a7
|
|
7
|
+
data.tar.gz: 42576dbb7026b7b034ac80334090386d0a40763b05b7eaa26e765efb389120e59b450e759b3c548271f395fa632ab7bb51bd31feca9771fa282f77e6a27674de
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
name: "facio"
|
|
2
|
+
|
|
3
|
+
services:
|
|
4
|
+
app:
|
|
5
|
+
cpu_count: 2
|
|
6
|
+
build:
|
|
7
|
+
context: ..
|
|
8
|
+
dockerfile: .devcontainer/Dockerfile
|
|
9
|
+
|
|
10
|
+
volumes:
|
|
11
|
+
- ../..:/workspaces:cached
|
|
12
|
+
# Overrides default command so things don't shut down after the process ends.
|
|
13
|
+
command: sleep infinity
|
|
14
|
+
|
|
15
|
+
# Uncomment the next line to use a non-root user for all processes.
|
|
16
|
+
# user: vscode
|
|
17
|
+
|
|
18
|
+
# Use "forwardPorts" in **devcontainer.json** to forward an app port locally.
|
|
19
|
+
# (Adding the "ports" property to this file will not forward from a Codespace.)
|
|
20
|
+
depends_on:
|
|
21
|
+
- selenium
|
|
22
|
+
- postgres
|
|
23
|
+
- redis
|
|
24
|
+
|
|
25
|
+
environment:
|
|
26
|
+
- DATABASE_URL=postgres://postgres:postgres@postgres:5432
|
|
27
|
+
- RUBY_YJIT_ENABLE=1
|
|
28
|
+
|
|
29
|
+
selenium:
|
|
30
|
+
image: selenium/standalone-chromium
|
|
31
|
+
restart: unless-stopped
|
|
32
|
+
|
|
33
|
+
redis:
|
|
34
|
+
image: redis:6.2
|
|
35
|
+
restart: unless-stopped
|
|
36
|
+
|
|
37
|
+
postgres:
|
|
38
|
+
image: postgres:17.0
|
|
39
|
+
restart: unless-stopped
|
|
40
|
+
networks:
|
|
41
|
+
- default
|
|
42
|
+
volumes:
|
|
43
|
+
- postgres-data:/var/lib/postgresql/data
|
|
44
|
+
environment:
|
|
45
|
+
POSTGRES_USER: postgres
|
|
46
|
+
POSTGRES_PASSWORD: postgres
|
|
47
|
+
|
|
48
|
+
volumes:
|
|
49
|
+
postgres-data:
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
|
|
2
|
+
// README at: https://github.com/devcontainers/templates/tree/main/src/ruby
|
|
3
|
+
{
|
|
4
|
+
"name": "facio",
|
|
5
|
+
"dockerComposeFile": "compose.yaml",
|
|
6
|
+
"service": "app",
|
|
7
|
+
"workspaceFolder": "/workspaces/facio",
|
|
8
|
+
// Features to add to the dev container. More info: https://containers.dev/features.
|
|
9
|
+
"features": {
|
|
10
|
+
"ghcr.io/devcontainers/features/github-cli:1": { },
|
|
11
|
+
"ghcr.io/rails/devcontainer/features/activestorage": { },
|
|
12
|
+
"ghcr.io/rails/devcontainer/features/postgres-client": {
|
|
13
|
+
"version": "17"
|
|
14
|
+
},
|
|
15
|
+
"ghcr.io/devcontainers/features/node:1": { },
|
|
16
|
+
"ghcr.io/duduribeiro/devcontainer-features/tmux:1": { }
|
|
17
|
+
},
|
|
18
|
+
"containerEnv": {
|
|
19
|
+
"CAPYBARA_SERVER_PORT": "45678",
|
|
20
|
+
"SELENIUM_HOST": "selenium",
|
|
21
|
+
"DB_HOST": "postgres"
|
|
22
|
+
},
|
|
23
|
+
"forwardPorts": [
|
|
24
|
+
3000,
|
|
25
|
+
5432
|
|
26
|
+
],
|
|
27
|
+
"customizations": {
|
|
28
|
+
"vscode": {
|
|
29
|
+
"extensions": [
|
|
30
|
+
"Shopify.ruby-lsp"
|
|
31
|
+
]
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"postCreateCommand": "bin/setup"
|
|
35
|
+
}
|
data/facio.gemspec
CHANGED
|
@@ -43,7 +43,7 @@ Gem::Specification.new do |spec|
|
|
|
43
43
|
spec.add_development_dependency "debug", "~> 1.9"
|
|
44
44
|
spec.add_development_dependency "rubocop", "~> 1"
|
|
45
45
|
spec.add_development_dependency "standard", "~> 1"
|
|
46
|
-
spec.add_development_dependency "sqlite3", "~> 1
|
|
46
|
+
spec.add_development_dependency "sqlite3", "~> 2.1"
|
|
47
47
|
|
|
48
48
|
# For more information and examples about making a new gem, check out our
|
|
49
49
|
# guide at: https://bundler.io/guides/creating_gem.html
|
data/lib/facio/context.rb
CHANGED
data/lib/facio/service.rb
CHANGED
data/lib/facio/version.rb
CHANGED
data/mise.toml
ADDED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: facio
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.13
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tom de Grunt
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2026-01-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: actionpack
|
|
@@ -156,14 +156,14 @@ dependencies:
|
|
|
156
156
|
requirements:
|
|
157
157
|
- - "~>"
|
|
158
158
|
- !ruby/object:Gem::Version
|
|
159
|
-
version: '1
|
|
159
|
+
version: '2.1'
|
|
160
160
|
type: :development
|
|
161
161
|
prerelease: false
|
|
162
162
|
version_requirements: !ruby/object:Gem::Requirement
|
|
163
163
|
requirements:
|
|
164
164
|
- - "~>"
|
|
165
165
|
- !ruby/object:Gem::Version
|
|
166
|
-
version: '1
|
|
166
|
+
version: '2.1'
|
|
167
167
|
description: Command pattern for Ruby
|
|
168
168
|
email:
|
|
169
169
|
- tom@degrunt.nl
|
|
@@ -171,6 +171,9 @@ executables: []
|
|
|
171
171
|
extensions: []
|
|
172
172
|
extra_rdoc_files: []
|
|
173
173
|
files:
|
|
174
|
+
- ".devcontainer/Dockerfile"
|
|
175
|
+
- ".devcontainer/compose.yaml"
|
|
176
|
+
- ".devcontainer/devcontainer.json"
|
|
174
177
|
- ".rubocop.yml"
|
|
175
178
|
- CHANGELOG.md
|
|
176
179
|
- CODE_OF_CONDUCT.md
|
|
@@ -199,6 +202,7 @@ files:
|
|
|
199
202
|
- lib/generators/facio/templates/context.rb
|
|
200
203
|
- lib/generators/facio/templates/service.rb
|
|
201
204
|
- lib/generators/facio/templates/service_test.rb
|
|
205
|
+
- mise.toml
|
|
202
206
|
- sig/mando.rbs
|
|
203
207
|
homepage: https://github.com/entdec/facio
|
|
204
208
|
licenses:
|