satis 2.2.0 → 2.2.2

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.
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
@@ -1,3 +1,3 @@
1
1
  module Satis
2
- VERSION = "2.2.0"
2
+ VERSION = "2.2.2"
3
3
  end
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.0
4
+ version: 2.2.2
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-07-31 00:00:00.000000000 Z
11
+ date: 2026-05-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: browser
@@ -196,10 +196,7 @@ files:
196
196
  - Rakefile
197
197
  - TODO.md
198
198
  - app/assets/config/satis_manifest.js
199
- - app/assets/fontawesome/brands.js
200
- - app/assets/fontawesome/fontawesome.js
201
199
  - app/assets/fontawesome/regular.js
202
- - app/assets/fontawesome/solid.js
203
200
  - app/assets/images/satis/.keep
204
201
  - app/assets/images/satis/flags/1x1/ac.svg
205
202
  - app/assets/images/satis/flags/1x1/ad.svg
@@ -770,6 +767,7 @@ files:
770
767
  - app/components/satis/card/component.css
771
768
  - app/components/satis/card/component.html.slim
772
769
  - app/components/satis/card/component.rb
770
+ - app/components/satis/card/component_controller.js
773
771
  - app/components/satis/color_picker/component.css
774
772
  - app/components/satis/color_picker/component.rb
775
773
  - app/components/satis/color_picker/component.slim
@@ -912,6 +910,8 @@ files:
912
910
  - db/migrate/20220929142147_create_satis_user_data.rb
913
911
  - db/migrate/20221212083110_change_satis_user_data.rb
914
912
  - db/migrate/20230918115448_add_type_to_satis_user_data.rb
913
+ - flake.lock
914
+ - flake.nix
915
915
  - lib/generators/satis/install_generator.rb
916
916
  - lib/generators/satis/tailwind_config_generator.rb
917
917
  - lib/generators/satis/templates/config/initializers/satis.rb