aboutsummaryrefslogtreecommitdiff
path: root/ruby
diff options
context:
space:
mode:
authorOtto Kekäläinen <otto@seravo.fi>2016-07-03 15:26:04 +0300
committerOtto Kekäläinen <otto@seravo.fi>2016-07-03 15:26:04 +0300
commit3808d091f86e079c8f3437f5cd66bd2c507cef8a (patch)
tree83e72f0b4fb9548251fdb0af74003e1523251226 /ruby
parentcae3b0cbb689d0ed1e5da73942a5a9705f3411b0 (diff)
downloadprotobuf-3808d091f86e079c8f3437f5cd66bd2c507cef8a.tar.gz
protobuf-3808d091f86e079c8f3437f5cd66bd2c507cef8a.tar.bz2
protobuf-3808d091f86e079c8f3437f5cd66bd2c507cef8a.zip
Fix spelling in strings and comments
Diffstat (limited to 'ruby')
-rw-r--r--ruby/ext/google/protobuf_c/upb.h2
-rw-r--r--ruby/lib/google/protobuf/repeated_field.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/ruby/ext/google/protobuf_c/upb.h b/ruby/ext/google/protobuf_c/upb.h
index 2faf74e5..e8b683bd 100644
--- a/ruby/ext/google/protobuf_c/upb.h
+++ b/ruby/ext/google/protobuf_c/upb.h
@@ -55,7 +55,7 @@
** store pointers or integers of at least 32 bits (upb isn't really useful on
** systems where sizeof(void*) < 4).
**
-** The table must be homogenous (all values of the same type). In debug
+** The table must be homogeneous (all values of the same type). In debug
** mode, we check this on insert and lookup.
*/
diff --git a/ruby/lib/google/protobuf/repeated_field.rb b/ruby/lib/google/protobuf/repeated_field.rb
index 0ad2060d..831e0320 100644
--- a/ruby/lib/google/protobuf/repeated_field.rb
+++ b/ruby/lib/google/protobuf/repeated_field.rb
@@ -173,7 +173,7 @@ module Google
external_enumerator.each_with_index do |val, i|
result = yield(val)
results << result
- #nil means no change occured from yield; usually occurs when #to_a is called
+ #nil means no change occurred from yield; usually occurs when #to_a is called
if result
repeated_field[i] = result if result != val
end