Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
P
protobuf
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
protobuf
Commits
fc7f8d9c
Commit
fc7f8d9c
authored
Jan 12, 2016
by
Josh Haberman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed Ruby conformance tests by running them under rvm Ruby.
parent
bf50ec4a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
5 deletions
+4
-5
Gemfile.lock
ruby/Gemfile.lock
+1
-1
defs.c
ruby/ext/google/protobuf_c/defs.c
+1
-2
travis-test.sh
ruby/travis-test.sh
+2
-2
No files found.
ruby/Gemfile.lock
View file @
fc7f8d9c
PATH
remote: .
specs:
google-protobuf (3.0.0.alpha.
5
.0)
google-protobuf (3.0.0.alpha.
4
.0)
GEM
remote: https://rubygems.org/
...
...
ruby/ext/google/protobuf_c/defs.c
View file @
fc7f8d9c
...
...
@@ -543,8 +543,7 @@ VALUE FieldDescriptor_name_set(VALUE _self, VALUE str) {
upb_fieldtype_t
ruby_to_fieldtype
(
VALUE
type
)
{
if
(
TYPE
(
type
)
!=
T_SYMBOL
)
{
rb_raise
(
rb_eArgError
,
"Expected symbol for field type, not: %s (%d)"
,
RSTRING_PTR
(
rb_inspect
(
type
)),
TYPE
(
type
));
rb_raise
(
rb_eArgError
,
"Expected symbol for field type."
);
}
#define CONVERT(upb, ruby) \
...
...
ruby/travis-test.sh
View file @
fc7f8d9c
...
...
@@ -17,8 +17,8 @@ test_version() {
"rvm install
$version
&& rvm use
$version
&&
\
which ruby &&
\
gem install bundler && bundle &&
\
rake test
"
cd
../conformance
&&
make test_ruby
rake test
&&
cd ../conformance && make test_ruby"
fi
}
...
...
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