rascal 0.3.6 → 0.3.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/test.yml +4 -0
- data/.ruby-version +1 -1
- data/CHANGELOG.md +10 -0
- data/Gemfile +1 -0
- data/Gemfile.2.5 +1 -0
- data/Gemfile.2.5.lock +125 -0
- data/Gemfile.common +14 -0
- data/Gemfile.lock +72 -65
- data/cucumber.yml +1 -0
- data/lib/rascal/environments_definition/gitlab.rb +2 -1
- data/lib/rascal/version.rb +1 -1
- data/rascal.gemspec +1 -1
- metadata +11 -11
- data/Gemfile +0 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 22c78d7c9292f897efdaba2a08b29dfc00d9a2aede627ddd06ca0462bd1236c3
|
4
|
+
data.tar.gz: 5c5872e06dad5a8cbe24e5db69aa45ec11cf1bfba7908c4a6f72215d4c2e6599
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 82ffaf3d2c09d6be60674d5066e5b9694e7be4f3693f68bc8ff96bdbc60c461023a8e60d5d090bb51df89d7a5fdc1c502c24ee8127a6ae1c44c2b81dd77e14b7
|
7
|
+
data.tar.gz: e2e7f8c122a9e6a97c804502ae81e8143751471f404201aa6b99587d41ff166b87465d31d026809a152f3ba707c7e8a1cd3484f9b6788a0fc2eb22a0a1ec3dc4
|
data/.github/workflows/test.yml
CHANGED
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
3.4.1
|
data/CHANGELOG.md
CHANGED
@@ -4,6 +4,16 @@ All notable changes to this project will be documented here.
|
|
4
4
|
|
5
5
|
Rascal follows semantic versioning. This has little consequence pre 1.0, so expect breaking changes.
|
6
6
|
|
7
|
+
## 0.3.8 (2025-02-10)
|
8
|
+
|
9
|
+
- Ruby 3.4 support.
|
10
|
+
|
11
|
+
|
12
|
+
## 0.3.7 (2024-03-22)
|
13
|
+
|
14
|
+
- Ignore `stage:` blocks in .gitlab-ci.yml.
|
15
|
+
|
16
|
+
|
7
17
|
## 0.3.6 (2023-01-27)
|
8
18
|
|
9
19
|
- Handle `default:` blocks in .gitlab-ci.yml.
|
data/Gemfile
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
Gemfile.common
|
data/Gemfile.2.5
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
Gemfile.common
|
data/Gemfile.2.5.lock
ADDED
@@ -0,0 +1,125 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
rascal (0.3.8)
|
5
|
+
thor (>= 1.0.0)
|
6
|
+
|
7
|
+
GEM
|
8
|
+
remote: https://rubygems.org/
|
9
|
+
specs:
|
10
|
+
aruba (0.14.14)
|
11
|
+
childprocess (>= 0.6.3, < 4.0.0)
|
12
|
+
contracts (~> 0.9)
|
13
|
+
cucumber (>= 1.3.19)
|
14
|
+
ffi (~> 1.9)
|
15
|
+
rspec-expectations (>= 2.99)
|
16
|
+
thor (>= 0.19, < 2.0)
|
17
|
+
builder (3.2.4)
|
18
|
+
childprocess (1.0.0)
|
19
|
+
coderay (1.1.2)
|
20
|
+
contracts (0.16.0)
|
21
|
+
cucumber (7.1.0)
|
22
|
+
builder (~> 3.2, >= 3.2.4)
|
23
|
+
cucumber-core (~> 10.1, >= 10.1.0)
|
24
|
+
cucumber-create-meta (~> 6.0, >= 6.0.1)
|
25
|
+
cucumber-cucumber-expressions (~> 14.0, >= 14.0.0)
|
26
|
+
cucumber-gherkin (~> 22.0, >= 22.0.0)
|
27
|
+
cucumber-html-formatter (~> 17.0, >= 17.0.0)
|
28
|
+
cucumber-messages (~> 17.1, >= 17.1.1)
|
29
|
+
cucumber-wire (~> 6.2, >= 6.2.0)
|
30
|
+
diff-lcs (~> 1.4, >= 1.4.4)
|
31
|
+
mime-types (~> 3.3, >= 3.3.1)
|
32
|
+
multi_test (~> 0.1, >= 0.1.2)
|
33
|
+
sys-uname (~> 1.2, >= 1.2.2)
|
34
|
+
cucumber-core (10.1.1)
|
35
|
+
cucumber-gherkin (~> 22.0, >= 22.0.0)
|
36
|
+
cucumber-messages (~> 17.1, >= 17.1.1)
|
37
|
+
cucumber-tag-expressions (~> 4.1, >= 4.1.0)
|
38
|
+
cucumber-create-meta (6.0.4)
|
39
|
+
cucumber-messages (~> 17.1, >= 17.1.1)
|
40
|
+
sys-uname (~> 1.2, >= 1.2.2)
|
41
|
+
cucumber-cucumber-expressions (14.0.0)
|
42
|
+
cucumber-gherkin (22.0.0)
|
43
|
+
cucumber-messages (~> 17.1, >= 17.1.1)
|
44
|
+
cucumber-html-formatter (17.0.0)
|
45
|
+
cucumber-messages (~> 17.1, >= 17.1.0)
|
46
|
+
cucumber-messages (17.1.1)
|
47
|
+
cucumber-tag-expressions (4.1.0)
|
48
|
+
cucumber-wire (6.2.1)
|
49
|
+
cucumber-core (~> 10.1, >= 10.1.0)
|
50
|
+
cucumber-cucumber-expressions (~> 14.0, >= 14.0.0)
|
51
|
+
diff-lcs (1.5.0)
|
52
|
+
ffi (1.10.0)
|
53
|
+
formatador (0.2.5)
|
54
|
+
guard (2.17.0)
|
55
|
+
formatador (>= 0.2.4)
|
56
|
+
listen (>= 2.7, < 4.0)
|
57
|
+
lumberjack (>= 1.0.12, < 2.0)
|
58
|
+
nenv (~> 0.1)
|
59
|
+
notiffany (~> 0.0)
|
60
|
+
pry (>= 0.9.12)
|
61
|
+
shellany (~> 0.0)
|
62
|
+
thor (>= 0.18.1)
|
63
|
+
guard-compat (1.2.1)
|
64
|
+
guard-cucumber (1.5.4)
|
65
|
+
cucumber (>= 1.3.0)
|
66
|
+
guard-compat (~> 1.0)
|
67
|
+
nenv (~> 0.1)
|
68
|
+
guard-rspec (4.7.3)
|
69
|
+
guard (~> 2.1)
|
70
|
+
guard-compat (~> 1.1)
|
71
|
+
rspec (>= 2.99.0, < 4.0)
|
72
|
+
listen (3.1.5)
|
73
|
+
rb-fsevent (~> 0.9, >= 0.9.4)
|
74
|
+
rb-inotify (~> 0.9, >= 0.9.7)
|
75
|
+
ruby_dep (~> 1.2)
|
76
|
+
lumberjack (1.0.13)
|
77
|
+
method_source (0.9.2)
|
78
|
+
mime-types (3.4.1)
|
79
|
+
mime-types-data (~> 3.2015)
|
80
|
+
mime-types-data (3.2022.0105)
|
81
|
+
multi_test (0.1.2)
|
82
|
+
nenv (0.3.0)
|
83
|
+
notiffany (0.1.1)
|
84
|
+
nenv (~> 0.1)
|
85
|
+
shellany (~> 0.0)
|
86
|
+
pry (0.12.2)
|
87
|
+
coderay (~> 1.1.0)
|
88
|
+
method_source (~> 0.9.0)
|
89
|
+
rake (13.0.1)
|
90
|
+
rb-fsevent (0.10.3)
|
91
|
+
rb-inotify (0.10.0)
|
92
|
+
ffi (~> 1.0)
|
93
|
+
rspec (3.8.0)
|
94
|
+
rspec-core (~> 3.8.0)
|
95
|
+
rspec-expectations (~> 3.8.0)
|
96
|
+
rspec-mocks (~> 3.8.0)
|
97
|
+
rspec-core (3.8.0)
|
98
|
+
rspec-support (~> 3.8.0)
|
99
|
+
rspec-expectations (3.8.2)
|
100
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
101
|
+
rspec-support (~> 3.8.0)
|
102
|
+
rspec-mocks (3.8.0)
|
103
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
104
|
+
rspec-support (~> 3.8.0)
|
105
|
+
rspec-support (3.8.0)
|
106
|
+
ruby_dep (1.5.0)
|
107
|
+
shellany (0.0.1)
|
108
|
+
sys-uname (1.2.2)
|
109
|
+
ffi (~> 1.1)
|
110
|
+
thor (1.2.2)
|
111
|
+
|
112
|
+
PLATFORMS
|
113
|
+
ruby
|
114
|
+
|
115
|
+
DEPENDENCIES
|
116
|
+
aruba
|
117
|
+
cucumber
|
118
|
+
guard-cucumber
|
119
|
+
guard-rspec
|
120
|
+
rake (~> 13.0)
|
121
|
+
rascal!
|
122
|
+
rspec
|
123
|
+
|
124
|
+
BUNDLED WITH
|
125
|
+
2.3.27
|
data/Gemfile.common
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
source "https://rubygems.org"
|
2
|
+
|
3
|
+
git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
|
4
|
+
|
5
|
+
# Specify your gem's dependencies in rascal.gemspec
|
6
|
+
gemspec
|
7
|
+
|
8
|
+
gem 'rake', '~> 13.0'
|
9
|
+
gem 'rspec'
|
10
|
+
gem 'cucumber'
|
11
|
+
gem 'aruba'
|
12
|
+
|
13
|
+
gem 'guard-rspec'
|
14
|
+
gem 'guard-cucumber'
|
data/Gemfile.lock
CHANGED
@@ -1,97 +1,104 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
rascal (0.3.
|
5
|
-
thor (
|
4
|
+
rascal (0.3.8)
|
5
|
+
thor (>= 1.0.0)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
|
-
aruba (0.14.
|
11
|
-
childprocess (>= 0.6.3, <
|
10
|
+
aruba (0.14.14)
|
11
|
+
childprocess (>= 0.6.3, < 4.0.0)
|
12
12
|
contracts (~> 0.9)
|
13
13
|
cucumber (>= 1.3.19)
|
14
14
|
ffi (~> 1.9)
|
15
15
|
rspec-expectations (>= 2.99)
|
16
|
-
thor (
|
17
|
-
|
18
|
-
builder (3.
|
19
|
-
childprocess (
|
20
|
-
coderay (1.1.
|
21
|
-
contracts (0.
|
22
|
-
cucumber (
|
23
|
-
builder (
|
24
|
-
cucumber-
|
25
|
-
cucumber-
|
26
|
-
cucumber-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
cucumber-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
gherkin (
|
42
|
-
|
16
|
+
thor (>= 0.19, < 2.0)
|
17
|
+
bigdecimal (3.1.9)
|
18
|
+
builder (3.3.0)
|
19
|
+
childprocess (3.0.0)
|
20
|
+
coderay (1.1.3)
|
21
|
+
contracts (0.17)
|
22
|
+
cucumber (9.2.1)
|
23
|
+
builder (~> 3.2)
|
24
|
+
cucumber-ci-environment (> 9, < 11)
|
25
|
+
cucumber-core (> 13, < 14)
|
26
|
+
cucumber-cucumber-expressions (~> 17.0)
|
27
|
+
cucumber-gherkin (> 24, < 28)
|
28
|
+
cucumber-html-formatter (> 20.3, < 22)
|
29
|
+
cucumber-messages (> 19, < 25)
|
30
|
+
diff-lcs (~> 1.5)
|
31
|
+
mini_mime (~> 1.1)
|
32
|
+
multi_test (~> 1.1)
|
33
|
+
sys-uname (~> 1.2)
|
34
|
+
cucumber-ci-environment (10.0.1)
|
35
|
+
cucumber-core (13.0.3)
|
36
|
+
cucumber-gherkin (>= 27, < 28)
|
37
|
+
cucumber-messages (>= 20, < 23)
|
38
|
+
cucumber-tag-expressions (> 5, < 7)
|
39
|
+
cucumber-cucumber-expressions (17.1.0)
|
40
|
+
bigdecimal
|
41
|
+
cucumber-gherkin (27.0.0)
|
42
|
+
cucumber-messages (>= 19.1.4, < 23)
|
43
|
+
cucumber-html-formatter (21.9.0)
|
44
|
+
cucumber-messages (> 19, < 28)
|
45
|
+
cucumber-messages (22.0.0)
|
46
|
+
cucumber-tag-expressions (6.1.2)
|
47
|
+
diff-lcs (1.5.1)
|
48
|
+
ffi (1.17.1)
|
49
|
+
formatador (1.1.0)
|
50
|
+
guard (2.18.0)
|
43
51
|
formatador (>= 0.2.4)
|
44
52
|
listen (>= 2.7, < 4.0)
|
45
53
|
lumberjack (>= 1.0.12, < 2.0)
|
46
54
|
nenv (~> 0.1)
|
47
55
|
notiffany (~> 0.0)
|
48
|
-
pry (>= 0.
|
56
|
+
pry (>= 0.13.0)
|
49
57
|
shellany (~> 0.0)
|
50
58
|
thor (>= 0.18.1)
|
51
59
|
guard-compat (1.2.1)
|
52
|
-
guard-cucumber (
|
53
|
-
cucumber (>=
|
54
|
-
|
55
|
-
nenv (~> 0.1)
|
60
|
+
guard-cucumber (3.0.0)
|
61
|
+
cucumber (>= 3.1)
|
62
|
+
nenv (>= 0.1)
|
56
63
|
guard-rspec (4.7.3)
|
57
64
|
guard (~> 2.1)
|
58
65
|
guard-compat (~> 1.1)
|
59
66
|
rspec (>= 2.99.0, < 4.0)
|
60
|
-
listen (3.
|
61
|
-
rb-fsevent (~> 0.
|
62
|
-
rb-inotify (~> 0.9, >= 0.9.
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
multi_test (0.1.2)
|
67
|
+
listen (3.8.0)
|
68
|
+
rb-fsevent (~> 0.10, >= 0.10.3)
|
69
|
+
rb-inotify (~> 0.9, >= 0.9.10)
|
70
|
+
lumberjack (1.2.8)
|
71
|
+
method_source (1.0.0)
|
72
|
+
mini_mime (1.1.5)
|
73
|
+
multi_test (1.1.0)
|
68
74
|
nenv (0.3.0)
|
69
|
-
notiffany (0.1.
|
75
|
+
notiffany (0.1.3)
|
70
76
|
nenv (~> 0.1)
|
71
77
|
shellany (~> 0.0)
|
72
|
-
pry (0.
|
73
|
-
coderay (~> 1.1
|
74
|
-
method_source (~>
|
75
|
-
rake (13.
|
76
|
-
rb-fsevent (0.
|
77
|
-
rb-inotify (0.10.
|
78
|
+
pry (0.14.2)
|
79
|
+
coderay (~> 1.1)
|
80
|
+
method_source (~> 1.0)
|
81
|
+
rake (13.2.1)
|
82
|
+
rb-fsevent (0.11.2)
|
83
|
+
rb-inotify (0.10.1)
|
78
84
|
ffi (~> 1.0)
|
79
|
-
rspec (3.
|
80
|
-
rspec-core (~> 3.
|
81
|
-
rspec-expectations (~> 3.
|
82
|
-
rspec-mocks (~> 3.
|
83
|
-
rspec-core (3.
|
84
|
-
rspec-support (~> 3.
|
85
|
-
rspec-expectations (3.
|
85
|
+
rspec (3.12.0)
|
86
|
+
rspec-core (~> 3.12.0)
|
87
|
+
rspec-expectations (~> 3.12.0)
|
88
|
+
rspec-mocks (~> 3.12.0)
|
89
|
+
rspec-core (3.12.0)
|
90
|
+
rspec-support (~> 3.12.0)
|
91
|
+
rspec-expectations (3.12.2)
|
86
92
|
diff-lcs (>= 1.2.0, < 2.0)
|
87
|
-
rspec-support (~> 3.
|
88
|
-
rspec-mocks (3.
|
93
|
+
rspec-support (~> 3.12.0)
|
94
|
+
rspec-mocks (3.12.3)
|
89
95
|
diff-lcs (>= 1.2.0, < 2.0)
|
90
|
-
rspec-support (~> 3.
|
91
|
-
rspec-support (3.
|
92
|
-
ruby_dep (1.5.0)
|
96
|
+
rspec-support (~> 3.12.0)
|
97
|
+
rspec-support (3.12.0)
|
93
98
|
shellany (0.0.1)
|
94
|
-
|
99
|
+
sys-uname (1.3.1)
|
100
|
+
ffi (~> 1.1)
|
101
|
+
thor (1.3.2)
|
95
102
|
|
96
103
|
PLATFORMS
|
97
104
|
ruby
|
@@ -106,4 +113,4 @@ DEPENDENCIES
|
|
106
113
|
rspec
|
107
114
|
|
108
115
|
BUNDLED WITH
|
109
|
-
2.
|
116
|
+
2.6.3
|
data/cucumber.yml
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
default: --publish-quiet
|
@@ -4,6 +4,7 @@ module Rascal
|
|
4
4
|
module EnvironmentsDefinition
|
5
5
|
class Gitlab
|
6
6
|
DEFAULT_KEY = 'default'.freeze
|
7
|
+
SPECIAL_KEYS = [DEFAULT_KEY, 'stages'].freeze
|
7
8
|
|
8
9
|
class << self
|
9
10
|
def detect(path)
|
@@ -68,7 +69,7 @@ module Rascal
|
|
68
69
|
@info.collect do |key, environment_config|
|
69
70
|
config = Config.new(deep_merge(environment_config, default_config, @rascal_config, @rascal_environment_config[key] || {}), key)
|
70
71
|
docker_repo_dir = config.get('repo_dir', '/repo')
|
71
|
-
unless key.start_with?('.') || config.get('hide', false) || key
|
72
|
+
unless key.start_with?('.') || config.get('hide', false) || SPECIAL_KEYS.include?(key)
|
72
73
|
name = config.get('name', key)
|
73
74
|
full_name = "#{@base_name}-#{name}"
|
74
75
|
shared_volumes = [build_repo_volume(docker_repo_dir), build_builds_volume(full_name)]
|
data/lib/rascal/version.rb
CHANGED
data/rascal.gemspec
CHANGED
metadata
CHANGED
@@ -1,30 +1,28 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rascal
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tobias Kraze
|
8
|
-
autorequire:
|
9
8
|
bindir: exe
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-02-10 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: thor
|
15
14
|
requirement: !ruby/object:Gem::Requirement
|
16
15
|
requirements:
|
17
|
-
- - "
|
16
|
+
- - ">="
|
18
17
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
18
|
+
version: 1.0.0
|
20
19
|
type: :runtime
|
21
20
|
prerelease: false
|
22
21
|
version_requirements: !ruby/object:Gem::Requirement
|
23
22
|
requirements:
|
24
|
-
- - "
|
23
|
+
- - ">="
|
25
24
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.
|
27
|
-
description:
|
25
|
+
version: 1.0.0
|
28
26
|
email:
|
29
27
|
- tobias.kraze@makandra.de
|
30
28
|
executables:
|
@@ -38,6 +36,9 @@ files:
|
|
38
36
|
- ".ruby-version"
|
39
37
|
- CHANGELOG.md
|
40
38
|
- Gemfile
|
39
|
+
- Gemfile.2.5
|
40
|
+
- Gemfile.2.5.lock
|
41
|
+
- Gemfile.common
|
41
42
|
- Gemfile.lock
|
42
43
|
- Guardfile
|
43
44
|
- LICENSE.txt
|
@@ -49,6 +50,7 @@ files:
|
|
49
50
|
- bin/guard
|
50
51
|
- bin/rspec
|
51
52
|
- bin/setup
|
53
|
+
- cucumber.yml
|
52
54
|
- exe/rascal
|
53
55
|
- lib/rascal.rb
|
54
56
|
- lib/rascal/cli.rb
|
@@ -77,7 +79,6 @@ metadata:
|
|
77
79
|
source_code_uri: https://github.com/makandra/rascal
|
78
80
|
changelog_uri: https://github.com/makandra/rascal/blob/master/CHANGELOG.md
|
79
81
|
rubygems_mfa_required: 'true'
|
80
|
-
post_install_message:
|
81
82
|
rdoc_options: []
|
82
83
|
require_paths:
|
83
84
|
- lib
|
@@ -92,8 +93,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
92
93
|
- !ruby/object:Gem::Version
|
93
94
|
version: '0'
|
94
95
|
requirements: []
|
95
|
-
rubygems_version: 3.3
|
96
|
-
signing_key:
|
96
|
+
rubygems_version: 3.6.3
|
97
97
|
specification_version: 4
|
98
98
|
summary: Spin up CI environments locally.
|
99
99
|
test_files: []
|
data/Gemfile
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
source "https://rubygems.org"
|
2
|
-
|
3
|
-
git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
|
4
|
-
|
5
|
-
# Specify your gem's dependencies in rascal.gemspec
|
6
|
-
gemspec
|
7
|
-
|
8
|
-
gem 'rake', '~> 13.0'
|
9
|
-
gem 'rspec'
|
10
|
-
gem 'cucumber'
|
11
|
-
gem 'aruba'
|
12
|
-
|
13
|
-
gem 'guard-rspec'
|
14
|
-
gem 'guard-cucumber'
|