Skip to content

Commit 1945749

Browse files
committed
#11 Updated typos and css
1 parent c377205 commit 1945749

File tree

6 files changed

+26
-24
lines changed

6 files changed

+26
-24
lines changed

README.md

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

33
[![serverless](http://public.serverless.com/badges/v3.svg)](http://www.serverless.com) [![npm](https://img.shields.io/npm/v/serverless-ruby-layer.svg)](https://www.npmjs.com/package/serverless-ruby-layer) [![Build Status](https://img.shields.io/circleci/build/github/navarasu/serverless-ruby-layer)](https://circleci.com/gh/navarasu/serverless-ruby-layer) [![Coverage Status](https://coveralls.io/repos/github/navarasu/serverless-ruby-layer/badge.svg?branch=master)](https://coveralls.io/github/navarasu/serverless-ruby-layer?branch=master) [![MIT License](https://img.shields.io/npm/l/serverless-ruby-layer)](https://github.com/navarasu/serverless-ruby-layer/blob/master/LICENSE)
44

5-
A Serverless Plugin to bundle ruby gems from Gemfile and deploy it to lambda layer automatically while running `severless deploy`.
5+
A Serverless Plugin to bundle ruby gems from Gemfile and deploy it to the lambda layer automatically while running `serverless deploy`.
66

7-
It auto configures the lamda layer and RUBY_PATH to the all the functions.
7+
It auto-configures the AWS lambda layer and RUBY_PATH to all the functions.
88

99
## Install
1010

@@ -51,15 +51,15 @@ functions:
5151
gem 'httparty'
5252
```
5353

54-
Running `servleress deploy` automatically deploys the required gems as in Gemfile to AWS lambda layer and make the gems available to the `RUBY_PATH` of the functions `hello.handler`
54+
Running `serverless deploy` automatically deploys the required gems as in Gemfile to AWS lambda layer and make the gems available to the `RUBY_PATH` of the functions `hello.handler`
5555

5656
Refer [example](https://github.com/navarasu/serverless-ruby-layer/blob/master/examples/basic) amd [docs](https://navarasu.github.io/serverless-ruby-layer) for more details
5757

5858
### Customization
5959

60-
The plugin operation can be customized by specifying `custom` configuration under `rubyLayer`.
60+
The plugin operation can be customized by specifying the `custom` configuration under `rubyLayer`.
6161

62-
For example to use docker environment for packing gem, the below configuration is added to `serverless.yml`
62+
For example, to use docker environment for packing gem, the below configuration is added to `serverless.yml`
6363

6464
```YML
6565
custom:
@@ -76,14 +76,14 @@ Using the custom configuration, the plugin can be utilized for below cases,
7676
* Using locallly installed bundler for gems which native extensions - [Example](https://github.com/navarasu/serverless-ruby-layer/blob/master/examples/basic) - [Docs](https://navarasu.github.io/serverless-ruby-layer/#/use_local_bundler)
7777
* Using Docker for gems with OS native C extensions or system libraries like `http`, `Nokogiri` - [Example](https://github.com/navarasu/serverless-ruby-layer/blob/master/examples/use_docker) - [Docs](https://navarasu.github.io/serverless-ruby-layer/#/use_docker)
7878
* Preinstall OS packages (yum packages) for gems which requires OS native system libraries like `pg`, `mysql`, `RMagick` - [Example](https://github.com/navarasu/serverless-ruby-layer/blob/master/examples/use_docker_with_yums) - [Docs](https://navarasu.github.io/serverless-ruby-layer/#/use_docker_with_yums)
79-
* Using Dockerfile for gems which with other OS linux image or system libraries and utilities - [Example](https://github.com/navarasu/serverless-ruby-layer/blob/master/examples/use_docker_file) - [Docs](https://navarasu.github.io/serverless-ruby-layer/#/use_docker_file)
79+
* Using Dockerfile for gems which with other OS Linux image or system libraries and utilities - [Example](https://github.com/navarasu/serverless-ruby-layer/blob/master/examples/use_docker_file) - [Docs](https://navarasu.github.io/serverless-ruby-layer/#/use_docker_file)
8080

8181

8282
## Contributing
8383

8484
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
8585

86-
Please make sure to update tests as appropriate.
86+
Please make sure to update the tests as appropriate.
8787

8888
## License
8989

docs/configuration.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Configuration
22

3-
The plugin operation can be customized by specifying `custom` configuration under `rubyLayer`.
3+
The plugin operation can be customized by specifying the `custom` configuration under `rubyLayer`.
44

55
For example,
66

@@ -20,6 +20,6 @@ custom:
2020
| Option | Type | Default | Detail |
2121
| ------------- |-------- |-------------- | --------------------|
2222
| **use_docker** | boolean | false | Set true to use Docker to bundle gems with OS native C extensions or system libraries |
23-
| **docker_yums** | array | undefined | List of yum libraries to be preinstalled for gems which requires OS native system libraries |
24-
| **native_libs** | array | undefined | Paths of the native libraries files that need to be packed in lambda layer along wuth gems |
23+
| **docker_yums** | array | undefined | List of yum libraries to be preinstalled for gems which require OS native system libraries |
24+
| **native_libs** | array | undefined | Paths of the native libraries files that need to be packed in lambda layer along with gems |
2525
| **docker_file** | string | undefined | Path of the custom docker file to be used for bundling gems|

docs/home.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33

44
[![serverless](http://public.serverless.com/badges/v3.svg)](http://www.serverless.com) [![npm](https://img.shields.io/npm/v/serverless-ruby-layer.svg)](https://www.npmjs.com/package/serverless-ruby-layer) [![Build Status](https://img.shields.io/circleci/build/github/navarasu/serverless-ruby-layer)](https://circleci.com/gh/navarasu/serverless-ruby-layer) [![Coverage Status](https://coveralls.io/repos/github/navarasu/serverless-ruby-layer/badge.svg?branch=master)](https://coveralls.io/github/navarasu/serverless-ruby-layer?branch=master) [![MIT License](https://img.shields.io/npm/l/serverless-ruby-layer)](https://github.com/navarasu/serverless-ruby-layer/blob/master/LICENSE)
55

6-
A Serverless Plugin to bundle ruby gems from Gemfile and deploy it to lambda layer automatically while running `severless deploy`.
6+
A Serverless Plugin to bundle ruby gems from Gemfile and deploy it to the lambda layer automatically while running `serverless deploy`.
77

8-
It auto configures the lamda layer and RUBY_PATH to the all the functions.
8+
It auto-configures the AWS lambda layer and RUBY_PATH to all the functions.
99

1010
## Install
1111

@@ -52,15 +52,15 @@ functions:
5252
gem 'httparty'
5353
```
5454

55-
Running `servleress deploy` automatically deploys the required gems as in Gemfile to AWS lambda layer and make the gems available to the `RUBY_PATH` of the functions `hello.handler`
55+
Running `serverless deploy` automatically deploys the required gems as in Gemfile to AWS lambda layer and make the gems available to the `RUBY_PATH` of the functions `hello.handler`
5656

5757
Refer [example](https://github.com/navarasu/serverless-ruby-layer/blob/master/examples/basic) amd [docs](https://navarasu.github.io/serverless-ruby-layer) for more details
5858

5959
### Customization
6060

61-
The plugin operation can be customized by specifying `custom` configuration under `rubyLayer`.
61+
The plugin operation can be customized by specifying the `custom` configuration under `rubyLayer`.
6262

63-
For example to use docker environment for packing gem, the below configuration is added to `serverless.yml`
63+
For example, to use docker environment for packing gem, the below configuration is added to `serverless.yml`
6464

6565
```YML
6666
custom:
@@ -77,14 +77,14 @@ Using the custom configuration, the plugin can be utilized for below cases,
7777
* Using locallly installed bundler for gems which native extensions - [Example](https://github.com/navarasu/serverless-ruby-layer/blob/master/examples/basic) - [Docs](https://navarasu.github.io/serverless-ruby-layer/use_docker)
7878
* Using Docker for gems with OS native C extensions or system libraries like `http`, `Nokogiri` - [Example](https://github.com/navarasu/serverless-ruby-layer/blob/master/examples/use_docker) - [Docs](https://navarasu.github.io/serverless-ruby-layer/use_docker)
7979
* Preinstall OS packages (yum packages) for gems which requires OS native system libraries like `pg`, `mysql`, `RMagick` - [Example](https://github.com/navarasu/serverless-ruby-layer/blob/master/examples/use_docker_with_yums) - [Docs](https://navarasu.github.io/serverless-ruby-layer/use_docker_with_yums)
80-
* Using Dockerfile for gems which with other OS linux image or system libraries and utilities - [Example](https://github.com/navarasu/serverless-ruby-layer/blob/master/examples/use_docker_file) - [Docs](https://navarasu.github.io/serverless-ruby-layer/use_docker_file)
80+
* Using Dockerfile for gems which with other OS Linux image or system libraries and utilities - [Example](https://github.com/navarasu/serverless-ruby-layer/blob/master/examples/use_docker_file) - [Docs](https://navarasu.github.io/serverless-ruby-layer/use_docker_file)
8181

8282

8383
## Contributing
8484

8585
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
8686

87-
Please make sure to update tests as appropriate.
87+
Please make sure to update the tests as appropriate.
8888

8989
## License
9090

docs/quickstart.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,6 @@ functions:
3434
gem 'httparty'
3535
```
3636

37-
Running `servleress deploy` automatically deploys the required gems as in Gemfile to AWS lambda layer and make the gems available to the `RUBY_PATH` of the functions `hello.handler`
37+
Running `serverless deploy` automatically deploys the required gems as in Gemfile to AWS lambda layer and make the gems available to the `RUBY_PATH` of the functions `hello.handler`
3838

3939
Refer [example](https://github.com/navarasu/serverless-ruby-layer/blob/master/examples/basic) and [docs](serverless-ruby-layer/#/use_local_bundler) for more details

docs/theme-custom.css

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,14 @@
55
height: 60px;
66
}
77

8-
.btn {
9-
background: none;
10-
color: var(--heading-color);
8+
.app-nav li a.btn {
9+
color: white;
10+
background: #da4437;
11+
border: 1px solid #da4437;
12+
border-radius: 8px;
13+
font-weight: 500;
1114
padding: 8px 15px;
12-
border: 1px solid var(--heading-color);
13-
border-radius: 5px;
15+
}
1416
}
1517

1618
button:focus {outline:0;}

docs/usage_examples/use_docker_file.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
## Using Dockerfile for gems which with other OS linux image or system libraries and utilities
2+
## Using Dockerfile for gems which with other system libraries and configuration
33

44

55
<!-- tabs:start -->

0 commit comments

Comments
 (0)