Skip to content

Commit 812c832

Browse files
ci(travis): add mdspell (#210)
* ci(travis): add mdspell * use latest version of .spelling * spelling fixes * update source location for .spelling * improves build speed
1 parent 32e3f29 commit 812c832

File tree

4 files changed

+18
-8
lines changed

4 files changed

+18
-8
lines changed

.travis.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,24 @@ stages:
1515
jobs:
1616
include:
1717
- stage: 'Lint markdown files'
18-
language: ruby
19-
rvm: 2.4.1
2018
os: linux
19+
language: generic
2120
install: gem install awesome_bot
2221
script:
2322
- find . -type f -name '*.md' -exec awesome_bot {} \;
2423
notifications:
2524
email: false
25+
- stage: 'Lint markdown files'
26+
os: linux
27+
language: generic
28+
before_install: skip
29+
install:
30+
- npm i -g markdown-spellcheck
31+
before_script:
32+
- wget --quiet https://raw.githubusercontent.com/optimizely/mdspell-config/master/.spelling
33+
script:
34+
- mdspell -a -n -r --en-us '**/*.md'
35+
after_success: skip
2636
- &integrationtest
2737
stage: 'Integration tests'
2838
env: SDK=csharp SDK_BRANCH=$TRAVIS_PULL_REQUEST_BRANCH

CHANGELOG.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ January 23rd, 2020
88
- Call `GetOptimizelyConfig()` to get a snapshot copy of project configuration static data.
99
- It returns an `OptimizelyConfig` instance which includes a datafile revision number, all experiments, and feature flags mapped by their key values.
1010
- Added caching for `GetOptimizelyConfig` - `OptimizelyConfig` object will be cached and reused for the lifetime of the datafile
11-
- For details, refer to a documention page: https://docs.developers.optimizely.com/full-stack/docs/optimizelyconfig-csharp
11+
- For details, refer to a documentation page: https://docs.developers.optimizely.com/full-stack/docs/optimizelyconfig-csharp
1212

1313
### Bug Fixes:
1414
- Blocking timeout was not being assigned. When not providing any value, it was just logging not setting up periodinterval and blocking timeout value. [#202](https://github.com/optimizely/csharp-sdk/pull/202)
@@ -23,7 +23,7 @@ September 26th, 2019
2323
- To configure event batching, set the `MaxEventBatchSize` and `MaxEventFlushInterval` properties in the `OptimizelyFactory` using `OptimizelyFactory.SetBatchSize(int batchSize)` and `OptimizelyFactory.SetFlushInterval(TimeSpan flushInterval)` and then creating using `OptimizelyFactory.NewDefaultInstance`.
2424
- Event batching is enabled by default. `eventBatchSize` defaults to `10`. `eventFlushInterval` defaults to `30000` milliseconds.
2525
- Updated the `Dispose` method representing the process of closing the instance. When `Dispose` is called, any events waiting to be sent as part of a batched event request will be immediately batched and sent to the event dispatcher.
26-
- If any such requests were sent to the event dispatcher, `Stop` waits for provided `TimeoutInterval` before stoping, so that events get successfully dispatched.
26+
- If any such requests were sent to the event dispatcher, `Stop` waits for provided `TimeoutInterval` before stopping, so that events get successfully dispatched.
2727
- `OptimizelyFactory` now provides support of setting configuration variables from ***App.config***, User will now be able to provide configuration variables of `HttpConfigManager` and `BatchEventProcessor` in ***App.config***. Steps of usage are provided in [README.md](https://github.com/optimizely/csharp-sdk#using-appconfig-in-optimizelyfactory).
2828

2929
### Deprecated
@@ -119,7 +119,7 @@ October 26, 2018
119119
* feat(api): Accepting all types for attributes values ([#102](https://github.com/optimizely/csharp-sdk/pull/102))
120120

121121
### Bug fixes
122-
* fix(whitelistng): Removed logic from bucketing since it is checked in Decision Service. ([#98](https://github.com/optimizely/csharp-sdk/pull/98))
122+
* fix(whitelisting): Removed logic from bucketing since it is checked in Decision Service. ([#98](https://github.com/optimizely/csharp-sdk/pull/98))
123123
* fix(track): Send decisions for all experiments using an event when using track. ([#100](https://github.com/optimizely/csharp-sdk/pull/100))
124124
* fix(datafile-parsing): Prevent newer versions datafile ([#101](https://github.com/optimizely/csharp-sdk/pull/101))
125125
* fix(api): Only track attributes with valid attribute types. ([#103](https://github.com/optimizely/csharp-sdk/pull/103))

OptimizelySDK.DemoApp/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Using the instructions below, you can run the app locally and mimic bucketing we
2424
* Metrics: "Overall revenue"
2525
* Event Key: "add_to_cart".
2626
("Create New Event...", "Add to Experiment")
27-
5. Save and start your experment
27+
5. Save and start your experiment
2828
("Create Experiment", "Start Experiment")
2929
6. In "Audiences" tab of your project's Optimizely dashboard, create
3030
* 3 Audience attributes "user_id", "user_name", and "age".

OptimizelySDK.DemoApp/Scripts/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ the poppers.
4747
Some of the key points are:
4848

4949
- Position elements keeping them in their original DOM context (doesn't mess with your DOM!);
50-
- Allows to export the computed informations to integrate with React and other view libraries;
50+
- Allows to export the computed information to integrate with React and other view libraries;
5151
- Supports Shadow DOM elements;
5252
- Completely customizable thanks to the modifiers based structure;
5353

@@ -122,7 +122,7 @@ var anotherPopper = new Popper(
122122
### Callbacks
123123

124124
Popper.js supports two kinds of callbacks, the `onCreate` callback is called after
125-
the popper has been initalized. The `onUpdate` one is called on any subsequent update.
125+
the popper has been initialized. The `onUpdate` one is called on any subsequent update.
126126

127127
```js
128128
const reference = document.querySelector('.my-button');

0 commit comments

Comments
 (0)