rails-local-ci 0.1.0 → 0.1.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/LICENSE +7 -1
- data/README.md +3 -0
- data/lib/active_support/continuous_integration/group.rb +4 -0
- data/lib/active_support/continuous_integration.rb +4 -0
- data/lib/generators/rails_local_ci/templates/bin_ci +3 -0
- data/lib/generators/rails_local_ci/templates/config_ci.rb +4 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 454a957773807b9400e406ce3fc9777f2699380e4f67a928679e43470760a6f6
|
|
4
|
+
data.tar.gz: 1f3c8adffb0cb1db8d07fe853dbef10e9da8cc7635cc494da85f35a518da984a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0ec9946fec0b46010bd0fd34827585bdd665780d0f9d682abafa4eb696ba210e1389a3dd13f61ffc00fd6cee93f7f8d129052cb87843563577cca9b2b1bd09f2
|
|
7
|
+
data.tar.gz: 75fe4f8ae4217839e0e0c202af4e5564eafa4f825b10044aa7d4dcddee5f7849a8b23c486a81433e83df84cada4da6e9ee5c22b768b97c736ff20191b4592690
|
data/LICENSE
CHANGED
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
MIT License
|
|
2
2
|
|
|
3
|
-
Copyright (c)
|
|
3
|
+
Copyright (c) 2026 rails_local_ci contributors
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
Portions of this software are adapted from Ruby on Rails (https://github.com/rails/rails).
|
|
8
|
+
Copyright (c) David Heinemeier Hansson, licensed under the MIT License.
|
|
9
|
+
See https://github.com/rails/rails/blob/main/MIT-LICENSE
|
|
4
10
|
|
|
5
11
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
12
|
of this software and associated documentation files (the "Software"), to deal
|
data/README.md
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
# rails-local-ci
|
|
2
2
|
|
|
3
|
+
[](https://rubygems.org/gems/rails-local-ci)
|
|
4
|
+
[](https://github.com/its-magdy/rails-local-ci/actions/workflows/ci.yml)
|
|
5
|
+
|
|
3
6
|
> Backport of Rails 8.1's `ActiveSupport::ContinuousIntegration` for Rails 5.2–7.x
|
|
4
7
|
|
|
5
8
|
Rails 8.1 introduced a standardized `bin/ci` script and `ActiveSupport::ContinuousIntegration` class ([PR #54693](https://github.com/rails/rails/pull/54693)) that runs the same CI steps locally and in the cloud. This gem ships that class for apps on Rails 5.2–7.x so you don't have to wait for an upgrade.
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
+
# This file is adapted from Ruby on Rails (https://github.com/rails/rails).
|
|
4
|
+
# Copyright (c) David Heinemeier Hansson, licensed under the MIT License.
|
|
5
|
+
# See https://github.com/rails/rails/blob/main/MIT-LICENSE
|
|
6
|
+
|
|
3
7
|
require "tmpdir"
|
|
4
8
|
|
|
5
9
|
module ActiveSupport
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
+
# This file is adapted from Ruby on Rails (https://github.com/rails/rails).
|
|
4
|
+
# Copyright (c) David Heinemeier Hansson, licensed under the MIT License.
|
|
5
|
+
# See https://github.com/rails/rails/blob/main/MIT-LICENSE
|
|
6
|
+
|
|
3
7
|
module ActiveSupport
|
|
4
8
|
# Provides a DSL for declaring a continuous integration workflow that can be run either locally or in the cloud.
|
|
5
9
|
# Each step is timed, reports success/error, and is aggregated into a collective report that reports total runtime,
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env ruby
|
|
2
|
+
# This file is adapted from Ruby on Rails (https://github.com/rails/rails).
|
|
3
|
+
# Copyright (c) David Heinemeier Hansson, licensed under the MIT License.
|
|
4
|
+
# See https://github.com/rails/rails/blob/main/MIT-LICENSE
|
|
2
5
|
require_relative "../config/boot"
|
|
3
6
|
require "active_support/continuous_integration"
|
|
4
7
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rails-local-ci
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Mohamed Magdy Omar
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-03-
|
|
11
|
+
date: 2026-03-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|