Skip to content

Commit 3965ac7

Browse files
authored
chore: fix grammar (#55)
1 parent e4596c2 commit 3965ac7

4 files changed

Lines changed: 7 additions & 8 deletions

File tree

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
# Contributing to Apache OpenWhisk
2222

23-
Anyone can contribute to the OpenWhisk project and we welcome your contributions.
23+
Anyone can contribute to the OpenWhisk project, and we welcome your contributions.
2424

2525
There are multiple ways to contribute: report bugs, improve the docs, and
2626
contribute code, but you must follow these prerequisites and guidelines:
@@ -49,7 +49,7 @@ Please raise any bug reports or enhancement requests on the respective project r
4949
list to see if your issue has already been raised.
5050

5151
A good bug report is one that make it easy for us to understand what you were trying to do and what went wrong.
52-
Provide as much context as possible so we can try to recreate the issue.
52+
Provide as much context as possible, so we can try to recreate the issue.
5353

5454
A good enhancement request comes with an explanation of what you are trying to do and how that enhancement would help you.
5555

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ To use as docker action push to your own dockerhub account
7575
docker tag whisk/ruby2.5Action $user_prefix/action-ruby-v2.5
7676
docker push $user_prefix/action-ruby-v2.5
7777
```
78-
Then create the action using your the image from dockerhub
78+
Then create the action using your image from Docker Hub.
7979
```
8080
wsk action update myAction my_action.rb --docker $user_prefix/action-ruby-v2.5
8181
```
@@ -97,5 +97,4 @@ Using gradle to run some tests
9797
```
9898
Using IntelliJ:
9999
- Import project as gradle project.
100-
- Make sure working directory is root of the project/repo
101-
100+
- Make sure the working directory is root of the project/repo.

core/ruby2.5Action/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
# Ruby 2.5 OpenWhisk Runtime Container
2121

2222
## Next Release
23-
- Install latest security fixes with every image build.
23+
- Install the latest security fixes with every image build.
2424

2525
## 1.15.0
2626
- Build proxy using golang 1.15 and openwhisk-runtime-go 1.16.0 (#48)

gradle/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,14 @@ Project level options that can be used on `distDocker`:
4141

4242
### Test
4343

44-
To run tests one uses the `test` task. OpenWhisk consolidates tests into a single `tests` project. Hence the command to run all tests is `gradle :tests:test`.
44+
To run tests one uses the `test` task. OpenWhisk consolidates tests into a single `tests` project. Hence, the command to run all tests is `gradle :tests:test`.
4545

4646
It is possible to run specific tests using [Gradle testfilters](https://docs.gradle.org/current/userguide/java_plugin.html#test_filtering). For example `gradle :tests:test --tests "your.package.name.TestClass.evenMethodName"`. Wildcard `*` may be used anywhere.
4747

4848
## Build your own `build.gradle`
4949
In Gradle, most of the tasks we use are default tasks provided by plugins in Gradle. The [`scala` Plugin](https://docs.gradle.org/current/userguide/scala_plugin.html) for example includes tasks, that are needed to build Scala projects. Moreover, Gradle is aware of *Applications*. The [`application` Plugin](https://docs.gradle.org/current/userguide/application_plugin.html) provides tasks that are required to distribute a self-contained application. When `application` and `scala` are used in conjunction, they hook into each other and provide the tasks needed to distribute a Scala application. `distTar` for example compiles the Scala code, creates a jar containing the compiled classes and resources and creates a Tarball including that jar and all of its dependencies (defined in the dependencies section of `build.gradle`). It also creates a start-script which correctly sets the classpath for all those dependencies and starts the app.
5050

51-
In OpenWhisk, we want to distribute our application via Docker images. Hence we wrote a "plugin" that creates the task `distDocker`. That task will build an image from the `Dockerfile` that is located next to the `build.gradle` it is called from, for example Controller's `Dockerfile` and `build.gradle` are both located at `core/controller`.
51+
In OpenWhisk, we want to distribute our application via Docker images. Hence, we wrote a "plugin" that creates the task `distDocker`. That task will build an image from the `Dockerfile` that is located next to the `build.gradle` it is called from, for example Controller's `Dockerfile` and `build.gradle` are both located at `core/controller`.
5252

5353
If you want to create a new `build.gradle` for your component, simply put the `Dockerfile` right next to it and include `docker.gradle` by using
5454

0 commit comments

Comments
 (0)