You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by ko...@apache.org on 2023/11/29 00:26:52 UTC
(arrow) branch main updated: GH-38940: [Ruby] Fix spelling (#38941)
This is an automated email from the ASF dual-hosted git repository.
kou pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/main by this push:
new b0bdce5370 GH-38940: [Ruby] Fix spelling (#38941)
b0bdce5370 is described below
commit b0bdce537059d0bd8bf791a3f34407e7d3ec1a32
Author: Josh Soref <21...@users.noreply.github.com>
AuthorDate: Tue Nov 28 19:26:44 2023 -0500
GH-38940: [Ruby] Fix spelling (#38941)
### Rationale for this change
### What changes are included in this PR?
Spelling fixes to ruby/
### Are these changes tested?
### Are there any user-facing changes?
* Closes: #38940
Authored-by: Josh Soref <21...@users.noreply.github.com>
Signed-off-by: Sutou Kouhei <ko...@clear-code.com>
---
ruby/red-arrow/lib/arrow/array.rb | 2 +-
ruby/red-arrow/lib/arrow/sort-key.rb | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/ruby/red-arrow/lib/arrow/array.rb b/ruby/red-arrow/lib/arrow/array.rb
index e7ca560676..2c5e5cf275 100644
--- a/ruby/red-arrow/lib/arrow/array.rb
+++ b/ruby/red-arrow/lib/arrow/array.rb
@@ -250,7 +250,7 @@ module Arrow
"[array][resolve] need to implement " +
"a feature that building #{value_data_type} array " +
"from raw Ruby Array"
- raise NotImpelemented, message
+ raise NotImplemented, message
end
other_array
elsif other_array.respond_to?(:value_data_type)
diff --git a/ruby/red-arrow/lib/arrow/sort-key.rb b/ruby/red-arrow/lib/arrow/sort-key.rb
index 7ceab631ea..e1df50ebb7 100644
--- a/ruby/red-arrow/lib/arrow/sort-key.rb
+++ b/ruby/red-arrow/lib/arrow/sort-key.rb
@@ -79,9 +79,9 @@ module Arrow
# target and corresponding order is used. `"+"` uses ascending
# order and `"-"` uses ascending order.
#
- # If `target` is not a String nor `target` doesn't start with the
- # leading order mark, sort column target is `target` as-is and
- # ascending order is used.
+ # If `target` is either not a String or `target` doesn't start
+ # with the leading order mark, sort column is `target` as-is
+ # and ascending order is used.
#
# @example String without the leading order mark
# key = Arrow::SortKey.new("count")