bungee_gum 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/README.md +14 -8
- data/lib/bungee_gum/ruby_build.rb +6 -3
- data/lib/bungee_gum/version.rb +1 -1
- metadata +7 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2717cbc9e7adf665bb2bb9e1edf581f3c27cb3b1d70fa6ee32af763f0252de0a
|
4
|
+
data.tar.gz: ce755610c7c67cf776bb971be7741d4b4640876612088b61b79f16f2c00a19f4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 647259559afcb6cd17ed4ec2b00292d2fb6aefe5996a838941cd9b80a7669c68a2766add689a8e0cd02005a04115b9f06446702507a0931b253bbd7312de8b9e
|
7
|
+
data.tar.gz: 7283d0aee3ff80a406aaf61f139da6f8dd94207eecc9ecc5f090ca6cdc1192f2760739f7ff4a7e06958b2acc9412509c32b08ee9a326d6d2efa5c2a3d8871cfc
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
## [Unreleased]
|
2
2
|
|
3
|
+
## [0.1.1] - 2023-12-12
|
4
|
+
|
5
|
+
### Fixed
|
6
|
+
|
7
|
+
- Fixed a bug where the program would terminate abnormally if options were not specified.
|
8
|
+
- Fixed a bug where the `log` directory was not created if it did not exist.
|
9
|
+
- Renamed `log` directory to `logs` directory.
|
10
|
+
|
3
11
|
## [0.1.0] - 2023-12-06
|
4
12
|
|
5
13
|
- Initial release
|
data/README.md
CHANGED
@@ -1,22 +1,28 @@
|
|
1
|
-
#
|
1
|
+
# Bungee Gum
|
2
2
|
|
3
|
-
|
3
|
+
## Description
|
4
4
|
|
5
|
-
|
5
|
+
Bungee Gum collects Ruby building and testing logs.
|
6
6
|
|
7
|
-
|
7
|
+
This gem gets the latest source code from the [ruby/ruby](https://github.com/ruby/ruby) master branch. Then, build source codes in the same way as ["Building Ruby"](https://docs.ruby-lang.org/en/master/contributing/building_ruby_md.html). And also run tests (i.e. `make test-all`).
|
8
8
|
|
9
|
-
|
9
|
+
Log files are compressed as `.gz` and saved in `logs` directory. `logs` directory will be created in the same directory as the directory where Bungee Gum is executed.
|
10
10
|
|
11
|
-
|
11
|
+
## Installation
|
12
12
|
|
13
13
|
If bundler is not being used to manage dependencies, install the gem by executing:
|
14
14
|
|
15
|
-
$ gem install
|
15
|
+
$ gem install bungee_gum
|
16
|
+
|
17
|
+
Install the gem and add to the application's Gemfile by executing:
|
18
|
+
|
19
|
+
$ bundle add bungee_gum
|
16
20
|
|
17
21
|
## Usage
|
18
22
|
|
19
|
-
|
23
|
+
If you installed it yourself:
|
24
|
+
|
25
|
+
$ bgum
|
20
26
|
|
21
27
|
## Development
|
22
28
|
|
@@ -63,7 +63,9 @@ class BungeeGum::RubyBuild
|
|
63
63
|
}
|
64
64
|
opt.parse!(ARGV)
|
65
65
|
|
66
|
-
if
|
66
|
+
if param[:only].keys.size > 1 ||
|
67
|
+
(param[:only].keys.size == 1 && !param[:with].empty?) ||
|
68
|
+
(param[:only].keys.size == 1 && !!param[:all_build])
|
67
69
|
puts "`--only-universalparser` can not be used in conjunction with other options." if params.include?('--only-universalparser')
|
68
70
|
puts "`--only-yjit` can not be used in conjunction with other options." if params.include?('--only-yjit')
|
69
71
|
puts "`--only-rjit` can not be used in conjunction with other options." if params.include?('--only-rjit')
|
@@ -73,6 +75,7 @@ class BungeeGum::RubyBuild
|
|
73
75
|
|
74
76
|
clone_or_pull(LOCAL_RUBY_REPOSITORY, true)
|
75
77
|
Dir.mkdir(INSTALL_PREFIX_BASE, 0755) unless Dir.exist?(INSTALL_PREFIX_BASE)
|
78
|
+
Dir.mkdir('logs', 0755) unless Dir.exist?('./logs')
|
76
79
|
if param[:only].keys.size == 0
|
77
80
|
clone_or_pull(FOR_BUILD_REPOSITORY)
|
78
81
|
fork {
|
@@ -141,8 +144,8 @@ class BungeeGum::RubyBuild
|
|
141
144
|
wd = working_dir[repo_dir.to_sym]
|
142
145
|
current_dir = Dir.pwd
|
143
146
|
|
144
|
-
build_gz = "#{current_dir}/
|
145
|
-
test_gz = "#{current_dir}/
|
147
|
+
build_gz = "#{current_dir}/logs/ruby-#{build_type}-build.#{now}.log.gz"
|
148
|
+
test_gz = "#{current_dir}/logs/ruby-#{build_type}-test.#{now}.log.gz"
|
146
149
|
|
147
150
|
Dir.chdir(wd) do
|
148
151
|
unless Dir.exist?("#{current_dir}/configure")
|
data/lib/bungee_gum/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bungee_gum
|
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
|
- jinroq
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-12-
|
11
|
+
date: 2023-12-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: git
|
@@ -24,7 +24,9 @@ dependencies:
|
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '1.18'
|
27
|
-
description:
|
27
|
+
description: This gem gets the latest source code from the [ruby/ruby](https://github.com/ruby/ruby)
|
28
|
+
master branch. Then, build source codes in the same way as ["Building Ruby"](https://docs.ruby-lang.org/en/master/contributing/building_ruby_md.html).
|
29
|
+
And also run tests (i.e. `make test-all`).
|
28
30
|
email:
|
29
31
|
- 2787780+jinroq@users.noreply.github.com
|
30
32
|
executables:
|
@@ -64,8 +66,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
64
66
|
- !ruby/object:Gem::Version
|
65
67
|
version: '0'
|
66
68
|
requirements: []
|
67
|
-
rubygems_version: 3.
|
69
|
+
rubygems_version: 3.5.0.dev
|
68
70
|
signing_key:
|
69
71
|
specification_version: 4
|
70
|
-
summary: This gem
|
72
|
+
summary: This gem collects Ruby building and testing logs.
|
71
73
|
test_files: []
|