satis 2.2.0 → 2.2.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/app/assets/fontawesome/brands.js +1 -1
- data/app/assets/fontawesome/fontawesome.js +2 -2
- data/app/assets/fontawesome/regular.js +2 -2
- data/app/assets/fontawesome/solid.js +2 -2
- data/flake.lock +109 -0
- data/flake.nix +98 -0
- data/lib/satis/version.rb +1 -1
- metadata +4 -2
data/flake.lock
ADDED
@@ -0,0 +1,109 @@
|
|
1
|
+
{
|
2
|
+
"nodes": {
|
3
|
+
"flake-parts": {
|
4
|
+
"inputs": {
|
5
|
+
"nixpkgs-lib": "nixpkgs-lib"
|
6
|
+
},
|
7
|
+
"locked": {
|
8
|
+
"lastModified": 1754487366,
|
9
|
+
"narHash": "sha256-pHYj8gUBapuUzKV/kN/tR3Zvqc7o6gdFB9XKXIp1SQ8=",
|
10
|
+
"owner": "hercules-ci",
|
11
|
+
"repo": "flake-parts",
|
12
|
+
"rev": "af66ad14b28a127c5c0f3bbb298218fc63528a18",
|
13
|
+
"type": "github"
|
14
|
+
},
|
15
|
+
"original": {
|
16
|
+
"owner": "hercules-ci",
|
17
|
+
"repo": "flake-parts",
|
18
|
+
"type": "github"
|
19
|
+
}
|
20
|
+
},
|
21
|
+
"nixpkgs": {
|
22
|
+
"locked": {
|
23
|
+
"lastModified": 1756636162,
|
24
|
+
"narHash": "sha256-mBecwgUTWRgClJYqcF+y4O1bY8PQHqeDpB+zsAn+/zA=",
|
25
|
+
"owner": "nixos",
|
26
|
+
"repo": "nixpkgs",
|
27
|
+
"rev": "37ff64b7108517f8b6ba5705ee5085eac636a249",
|
28
|
+
"type": "github"
|
29
|
+
},
|
30
|
+
"original": {
|
31
|
+
"owner": "nixos",
|
32
|
+
"ref": "nixpkgs-unstable",
|
33
|
+
"repo": "nixpkgs",
|
34
|
+
"type": "github"
|
35
|
+
}
|
36
|
+
},
|
37
|
+
"nixpkgs-lib": {
|
38
|
+
"locked": {
|
39
|
+
"lastModified": 1753579242,
|
40
|
+
"narHash": "sha256-zvaMGVn14/Zz8hnp4VWT9xVnhc8vuL3TStRqwk22biA=",
|
41
|
+
"owner": "nix-community",
|
42
|
+
"repo": "nixpkgs.lib",
|
43
|
+
"rev": "0f36c44e01a6129be94e3ade315a5883f0228a6e",
|
44
|
+
"type": "github"
|
45
|
+
},
|
46
|
+
"original": {
|
47
|
+
"owner": "nix-community",
|
48
|
+
"repo": "nixpkgs.lib",
|
49
|
+
"type": "github"
|
50
|
+
}
|
51
|
+
},
|
52
|
+
"process-compose-flake": {
|
53
|
+
"locked": {
|
54
|
+
"lastModified": 1749418557,
|
55
|
+
"narHash": "sha256-wJHHckWz4Gvj8HXtM5WVJzSKXAEPvskQANVoRiu2w1w=",
|
56
|
+
"owner": "Platonic-Systems",
|
57
|
+
"repo": "process-compose-flake",
|
58
|
+
"rev": "91dcc48a6298e47e2441ec76df711f4e38eab94e",
|
59
|
+
"type": "github"
|
60
|
+
},
|
61
|
+
"original": {
|
62
|
+
"owner": "Platonic-Systems",
|
63
|
+
"repo": "process-compose-flake",
|
64
|
+
"type": "github"
|
65
|
+
}
|
66
|
+
},
|
67
|
+
"root": {
|
68
|
+
"inputs": {
|
69
|
+
"flake-parts": "flake-parts",
|
70
|
+
"nixpkgs": "nixpkgs",
|
71
|
+
"process-compose-flake": "process-compose-flake",
|
72
|
+
"services-flake": "services-flake",
|
73
|
+
"systems": "systems"
|
74
|
+
}
|
75
|
+
},
|
76
|
+
"services-flake": {
|
77
|
+
"locked": {
|
78
|
+
"lastModified": 1756600705,
|
79
|
+
"narHash": "sha256-MRsbapTbaHI17JJ8axMRf6uQaiDf+D3I+AbxkHqxDiY=",
|
80
|
+
"owner": "juspay",
|
81
|
+
"repo": "services-flake",
|
82
|
+
"rev": "383348cffc753cde22b67b3e7a3aa65e4a9f28e9",
|
83
|
+
"type": "github"
|
84
|
+
},
|
85
|
+
"original": {
|
86
|
+
"owner": "juspay",
|
87
|
+
"repo": "services-flake",
|
88
|
+
"type": "github"
|
89
|
+
}
|
90
|
+
},
|
91
|
+
"systems": {
|
92
|
+
"locked": {
|
93
|
+
"lastModified": 1681028828,
|
94
|
+
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
95
|
+
"owner": "nix-systems",
|
96
|
+
"repo": "default",
|
97
|
+
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
98
|
+
"type": "github"
|
99
|
+
},
|
100
|
+
"original": {
|
101
|
+
"owner": "nix-systems",
|
102
|
+
"repo": "default",
|
103
|
+
"type": "github"
|
104
|
+
}
|
105
|
+
}
|
106
|
+
},
|
107
|
+
"root": "root",
|
108
|
+
"version": 7
|
109
|
+
}
|
data/flake.nix
ADDED
@@ -0,0 +1,98 @@
|
|
1
|
+
# This flake provides a development environment for a Ruby on Rails application
|
2
|
+
#
|
3
|
+
# Make sure you have direnv (and nix) installed.
|
4
|
+
# Your .envrc should at least have the following content:
|
5
|
+
#
|
6
|
+
# ```
|
7
|
+
# export DIRENV_WARN_TIMEOUT=1m
|
8
|
+
# use flake
|
9
|
+
# ```
|
10
|
+
# Then just cd into the folder, that should then install the tools so you have everything in place.
|
11
|
+
# To start services you can run the following:
|
12
|
+
# `nix run .#default`
|
13
|
+
#
|
14
|
+
{
|
15
|
+
# https://community.flake.parts
|
16
|
+
description = "Ruby on Rails with PostgreSQL and Redis";
|
17
|
+
inputs = {
|
18
|
+
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
|
19
|
+
flake-parts.url = "github:hercules-ci/flake-parts";
|
20
|
+
systems.url = "github:nix-systems/default";
|
21
|
+
process-compose-flake.url = "github:Platonic-Systems/process-compose-flake";
|
22
|
+
services-flake.url = "github:juspay/services-flake";
|
23
|
+
};
|
24
|
+
outputs =
|
25
|
+
inputs:
|
26
|
+
inputs.flake-parts.lib.mkFlake { inherit inputs; } {
|
27
|
+
systems = import inputs.systems;
|
28
|
+
imports = [
|
29
|
+
inputs.process-compose-flake.flakeModule
|
30
|
+
];
|
31
|
+
perSystem =
|
32
|
+
{
|
33
|
+
self,
|
34
|
+
pkgs,
|
35
|
+
config,
|
36
|
+
lib,
|
37
|
+
...
|
38
|
+
}:
|
39
|
+
{
|
40
|
+
# `process-compose.foo` will add a flake package output called "foo".
|
41
|
+
# Therefore, this will add a default package that you can build using
|
42
|
+
# `nix build` and run using `nix run`.
|
43
|
+
process-compose."default" =
|
44
|
+
{ config, ... }:
|
45
|
+
let
|
46
|
+
dbName = "satis_development";
|
47
|
+
in
|
48
|
+
assert dbName != "";
|
49
|
+
{
|
50
|
+
imports = [
|
51
|
+
inputs.services-flake.processComposeModules.default
|
52
|
+
];
|
53
|
+
|
54
|
+
services.redis."r1" = {
|
55
|
+
enable = true;
|
56
|
+
};
|
57
|
+
|
58
|
+
services.postgres."pg1" = {
|
59
|
+
enable = true;
|
60
|
+
initialScript.before = ''
|
61
|
+
CREATE USER postgres WITH password 'postgres';
|
62
|
+
ALTER USER postgres WITH SUPERUSER;
|
63
|
+
'';
|
64
|
+
initialDatabases = [
|
65
|
+
{
|
66
|
+
name = dbName;
|
67
|
+
}
|
68
|
+
];
|
69
|
+
};
|
70
|
+
};
|
71
|
+
|
72
|
+
devShells.default = pkgs.mkShell {
|
73
|
+
buildInputs = [
|
74
|
+
pkgs.ruby_3_3
|
75
|
+
pkgs.nodejs
|
76
|
+
pkgs.rubyPackages_3_3.ruby-vips # ruby-vips gem built for Ruby 3.4
|
77
|
+
pkgs.libyaml
|
78
|
+
pkgs.shared-mime-info
|
79
|
+
pkgs.libffi
|
80
|
+
pkgs.openssl
|
81
|
+
pkgs.pkg-config
|
82
|
+
pkgs.nixd
|
83
|
+
];
|
84
|
+
|
85
|
+
FREEDESKTOP_MIME_TYPES_PATH = "${pkgs.shared-mime-info}/share/mime/packages/freedesktop.org.xml";
|
86
|
+
REDIS_URL = "redis://localhost:6379/0";
|
87
|
+
RAILS_REDIS_URL = "redis://localhost:6379/0";
|
88
|
+
CABLE_REDIS_URL = "redis://localhost:6379/1";
|
89
|
+
DB_HOST = "localhost";
|
90
|
+
|
91
|
+
inputsFrom = [
|
92
|
+
config.process-compose."default".services.outputs.devShell
|
93
|
+
];
|
94
|
+
|
95
|
+
};
|
96
|
+
};
|
97
|
+
};
|
98
|
+
}
|
data/lib/satis/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: satis
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tom de Grunt
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-09-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: browser
|
@@ -912,6 +912,8 @@ files:
|
|
912
912
|
- db/migrate/20220929142147_create_satis_user_data.rb
|
913
913
|
- db/migrate/20221212083110_change_satis_user_data.rb
|
914
914
|
- db/migrate/20230918115448_add_type_to_satis_user_data.rb
|
915
|
+
- flake.lock
|
916
|
+
- flake.nix
|
915
917
|
- lib/generators/satis/install_generator.rb
|
916
918
|
- lib/generators/satis/tailwind_config_generator.rb
|
917
919
|
- lib/generators/satis/templates/config/initializers/satis.rb
|