meta_workflows 0.7.0 → 0.7.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/README.md +28 -0
- data/db/migrate/20250613213159_add_error_fields_to_workflow_steps.rb +2 -0
- data/lib/meta_workflows/version.rb +1 -1
- data/lib/tasks/git_hooks.rake +12 -0
- metadata +6 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bd9461e41652231e6ddcbd6aff71c4ced97fdb79a1a349a2cd789a0803379d67
|
4
|
+
data.tar.gz: 778d893c99b094d987021a41b6a80966044abae432a5a3644ec629339756daee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6473b7dbcaab6cbb688846dbba1bc403081f6b63d0833da4033a57fb45b8b316d104ab4273a260d2b23f06750b8770d914dd3f89749a1822f11a0b82d3b7ea7c
|
7
|
+
data.tar.gz: 05e7e92d737f5d2dc6a3f8b39e4be6aa0e456d07738f4d91e9e9f1f2bb0f2f990d74e9dd307d40fb3b44ea5ee4f1909933a18e8c19c7d57217a234f9dbb3fd2d
|
data/README.md
CHANGED
@@ -112,6 +112,34 @@ Or install it yourself as:
|
|
112
112
|
gem install meta_workflows
|
113
113
|
```
|
114
114
|
|
115
|
+
## Git Hooks with Overcommit
|
116
|
+
|
117
|
+
This project uses Overcommit to manage Git hooks. The hooks are configured to run various code quality and security checks before commits and pushes:
|
118
|
+
|
119
|
+
- **Pre-commit**:
|
120
|
+
- RuboCop: Checks for code style violations
|
121
|
+
|
122
|
+
- **Pre-push**:
|
123
|
+
- RuboCop: Performs a more thorough code style check
|
124
|
+
- BundleAudit: Scans for vulnerable gems
|
125
|
+
- Brakeman: Scans for security vulnerabilities
|
126
|
+
|
127
|
+
To set up the git hooks, run:
|
128
|
+
|
129
|
+
```shell
|
130
|
+
bundle install
|
131
|
+
bundle exec rake app:git:setup_hooks
|
132
|
+
```
|
133
|
+
|
134
|
+
If you need to bypass the hooks temporarily, you can use:
|
135
|
+
|
136
|
+
```shell
|
137
|
+
git commit --no-verify
|
138
|
+
git push --no-verify
|
139
|
+
```
|
140
|
+
|
141
|
+
> **Note:** While bypassing hooks can be useful in specific scenarios, we recommend fixing issues rather than bypassing checks regularly.
|
142
|
+
|
115
143
|
## Setup
|
116
144
|
|
117
145
|
### 1. Database Setup
|
@@ -0,0 +1,12 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
namespace :git do
|
4
|
+
desc 'Set up git hooks using Overcommit'
|
5
|
+
task setup_hooks: :environment do
|
6
|
+
puts 'Setting up git hooks with Overcommit...'
|
7
|
+
|
8
|
+
system('bundle exec overcommit --install') || abort('Failed to install Overcommit hooks')
|
9
|
+
system('bundle exec overcommit --sign') || abort('Failed to sign Overcommit hooks')
|
10
|
+
puts 'Git hooks have been set up successfully!'
|
11
|
+
end
|
12
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: meta_workflows
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Leonid Medovyy
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2025-06-
|
12
|
+
date: 2025-06-17 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -20,7 +20,7 @@ dependencies:
|
|
20
20
|
version: 7.2.0
|
21
21
|
- - "<"
|
22
22
|
- !ruby/object:Gem::Version
|
23
|
-
version: '
|
23
|
+
version: '8.1'
|
24
24
|
type: :runtime
|
25
25
|
prerelease: false
|
26
26
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -30,7 +30,7 @@ dependencies:
|
|
30
30
|
version: 7.2.0
|
31
31
|
- - "<"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '8.1'
|
34
34
|
- !ruby/object:Gem::Dependency
|
35
35
|
name: sidekiq
|
36
36
|
requirement: !ruby/object:Gem::Requirement
|
@@ -186,6 +186,7 @@ files:
|
|
186
186
|
- lib/services/meta_workflows/application_service.rb
|
187
187
|
- lib/services/meta_workflows/meta_workflow_service.rb
|
188
188
|
- lib/services/meta_workflows/updaters/meta_service.rb
|
189
|
+
- lib/tasks/git_hooks.rake
|
189
190
|
- lib/tasks/meta_workflows_tasks.rake
|
190
191
|
homepage: https://github.com/strongmind/meta_workflows
|
191
192
|
licenses:
|
@@ -212,7 +213,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
212
213
|
- !ruby/object:Gem::Version
|
213
214
|
version: '0'
|
214
215
|
requirements: []
|
215
|
-
rubygems_version: 3.
|
216
|
+
rubygems_version: 3.4.19
|
216
217
|
signing_key:
|
217
218
|
specification_version: 4
|
218
219
|
summary: A Rails engine for managing AI-powered meta workflows
|