Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mruby
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
mruby
Commits
e6ae5c86
Commit
e6ae5c86
authored
Sep 05, 2014
by
take_cheeze
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix default gem loading in `generate_gem_table`.
parent
3f70edbd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
tasks/mrbgem_spec.rake
tasks/mrbgem_spec.rake
+2
-2
tasks/mrbgems_test.rake
tasks/mrbgems_test.rake
+1
-1
No files found.
tasks/mrbgem_spec.rake
View file @
e6ae5c86
...
...
@@ -298,7 +298,7 @@ module MRuby
@ary
.
empty?
end
def
generate_gem_table
def
generate_gem_table
build
gem_table
=
@ary
.
reduce
({})
{
|
res
,
v
|
res
[
v
.
name
]
=
v
;
res
}
default_gems
=
[]
...
...
@@ -381,7 +381,7 @@ module MRuby
end
def
check
(
build
)
gem_table
=
generate_gem_table
gem_table
=
generate_gem_table
build
@ary
=
tsort_dependencies
gem_table
.
keys
,
gem_table
,
true
...
...
tasks/mrbgems_test.rake
View file @
e6ae5c86
MRuby
.
each_target
do
gem_table
=
gems
.
generate_gem_table
gem_table
=
gems
.
generate_gem_table
self
gems
.
each
do
|
g
|
test_rbobj
=
g
.
test_rbireps
.
ext
(
exts
.
object
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment