Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix some minor typos #107

Merged
merged 1 commit into from
Jul 30, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ A performant, portable [jq](https://github.com/stedolan/jq/) wrapper thats facil

A statically linked binary for Linux `x86_64` as available on the [Releases](https://github.com/Blacksmoke16/oq/releases) tab. Additionally it can also be installed via various package managers.

#### Snap
#### Snapcraft

For more on installing & using `snap` with your Linux distribution, see the [official documentation](https://docs.snapcraft.io/installing-snapd).

```sh
sudo snap install oq
```

#### Arch
#### Arch Linux

Using [yay](https://github.com/Jguer/yay):

Expand All @@ -42,7 +42,7 @@ A pre-compiled version is also available:
yay -S oq-bin
```

### MacOS
### macOS

```sh
brew install oq
Expand Down Expand Up @@ -150,7 +150,7 @@ processor = OQ::Processor.new output_format: :yaml
File.open("./out.yml", "w") do |file|
# Process the data using our custom input and output IOs.
# The first argument represents the input arguments;
# i.g. the filter and/or any other arguments that should be passed to `jq`.
# i.e. the filter and/or any other arguments that should be passed to `jq`.
processor.process ["."], input: input_io, output: file
end
```
Expand Down
2 changes: 1 addition & 1 deletion spec/spec_helper.cr
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require "spec"
require "../src/oq"

# Runs the the binary with the given *name* and *args*.
# Runs the binary with the given *name* and *args*.
def run_binary(input : String | Process::Redirect | Nil = nil, name : String = "bin/oq", args : Array(String) = [] of String, *, success : Bool = true, file = __FILE__, line = __LINE__, & : String, Process::Status, String -> Nil)
buffer_io = IO::Memory.new
error_io = IO::Memory.new
Expand Down
2 changes: 1 addition & 1 deletion src/oq.cr
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ module OQ
# File.open("./out.yml", "w") do |file|
# # Process the data using our custom input and output IOs.
# # The first argument represents the input arguments;
# # i.g. the filter and/or any other arguments that should be passed to `jq`.
# # i.e. the filter and/or any other arguments that should be passed to `jq`.
# processor.process ["."], input: input_io, output: file
# end
# ```
Expand Down