byci 0.0.0
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 +7 -0
- data/lib/byci.rb +46 -0
- metadata +43 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 1dd135a1f284eb48a0246bbcc4de40f3da4c7d50a731200a1bc1edbfd855b81c
|
|
4
|
+
data.tar.gz: 3e0c7f18949ca539b8571f48da5bf8b4d06e183f979e963826e385c10a2deb28
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: a405b734071e872ec9b76f4e74c990891f6d71adb947546dff72f0865c745fa1d05d816eaafd5b62e205668f1c670283ffda1d0a3cc3bf4f6f63ada4f4398f3d
|
|
7
|
+
data.tar.gz: '09bf03611b1125fb07bc22814b8dc256131a40863c5adc4a13b49d22cf8d9b002d1ce1ae66244e9a2c513dbe039554dac30281d890e4298ed67c191a7dd763dc'
|
data/lib/byci.rb
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
class Build
|
|
2
|
+
attr_reader :_image, :_before_jobs, :_jobs, :_after_jobs
|
|
3
|
+
|
|
4
|
+
def self.with
|
|
5
|
+
Build.new
|
|
6
|
+
end
|
|
7
|
+
|
|
8
|
+
def image(image_name)
|
|
9
|
+
@_image = image_name
|
|
10
|
+
self
|
|
11
|
+
end
|
|
12
|
+
|
|
13
|
+
def before_jobs(*jobs)
|
|
14
|
+
@_before_jobs = jobs
|
|
15
|
+
self
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
def after_jobs(*jobs)
|
|
19
|
+
@_after_jobs = jobs
|
|
20
|
+
self
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
def jobs(*jobs)
|
|
24
|
+
@_jobs = jobs
|
|
25
|
+
self
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
class Step
|
|
30
|
+
attr_reader :_name, :_command
|
|
31
|
+
|
|
32
|
+
def self.with
|
|
33
|
+
Step.new
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
def name(name)
|
|
37
|
+
@_name = name
|
|
38
|
+
self
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
def command(command)
|
|
42
|
+
@_command = command
|
|
43
|
+
self
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
|
metadata
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: byci
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.0.0
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Rupin Raveendra Nath
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: bin
|
|
10
|
+
cert_chain: []
|
|
11
|
+
date: 2024-06-01 00:00:00.000000000 Z
|
|
12
|
+
dependencies: []
|
|
13
|
+
description: The byci Gem
|
|
14
|
+
email: rupinr@gmail.com
|
|
15
|
+
executables: []
|
|
16
|
+
extensions: []
|
|
17
|
+
extra_rdoc_files: []
|
|
18
|
+
files:
|
|
19
|
+
- lib/byci.rb
|
|
20
|
+
homepage: https://rubygems.org/gems/hola
|
|
21
|
+
licenses:
|
|
22
|
+
- MIT
|
|
23
|
+
metadata: {}
|
|
24
|
+
post_install_message:
|
|
25
|
+
rdoc_options: []
|
|
26
|
+
require_paths:
|
|
27
|
+
- lib
|
|
28
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
29
|
+
requirements:
|
|
30
|
+
- - ">="
|
|
31
|
+
- !ruby/object:Gem::Version
|
|
32
|
+
version: '0'
|
|
33
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
34
|
+
requirements:
|
|
35
|
+
- - ">="
|
|
36
|
+
- !ruby/object:Gem::Version
|
|
37
|
+
version: '0'
|
|
38
|
+
requirements: []
|
|
39
|
+
rubygems_version: 3.5.4
|
|
40
|
+
signing_key:
|
|
41
|
+
specification_version: 4
|
|
42
|
+
summary: The byci Gem
|
|
43
|
+
test_files: []
|