Skip to content
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
19 changes: 0 additions & 19 deletions .github/workflows/lint_markdown.yml

This file was deleted.

5 changes: 1 addition & 4 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Ruby
name: build

on:
push:
Expand All @@ -7,9 +7,6 @@ on:
branches: [ master ]

jobs:
lint_markdown_files:
uses: optimizely/ruby-sdk/.github/workflows/lint_markdown.yml@master

integration_tests:
uses: optimizely/ruby-sdk/.github/workflows/integration_test.yml@master
secrets:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/source_clear_crone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.1'
bundler-cache: true
- name: Source clear scan
env:
SRCCLR_API_TOKEN: ${{ secrets.SRCCLR_API_TOKEN }}
Expand Down
54 changes: 27 additions & 27 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Optimizely Ruby SDK
[![Build Status](https://travis-ci.org/optimizely/ruby-sdk.svg?branch=master)](https://travis-ci.org/optimizely/ruby-sdk)
[![Build Status](https://github.com/optimizely/ruby-sdk/actions/workflows/ruby.yml/badge.svg?branch=master)](https://github.com/optimizely/ruby-sdk/actions/workflows/ruby.yml?query=branch%3Amaster)
[![Coverage Status](https://coveralls.io/repos/github/optimizely/ruby-sdk/badge.svg)](https://coveralls.io/github/optimizely/ruby-sdk)
[![Apache 2.0](https://img.shields.io/github/license/nebula-plugins/gradle-extra-configurations-plugin.svg)](http://www.apache.org/licenses/LICENSE-2.0)

Expand Down Expand Up @@ -66,7 +66,7 @@ You can initialize the Optimizely instance in two ways: directly with a datafile
notification_center,
event_processor
)
```
```


#### HTTP Config Manager
Expand All @@ -91,7 +91,7 @@ The `HTTPConfigManager` asynchronously polls for datafiles from a specified URL
datafile_access_token: nil,
proxy_config: nil
)
~~~~~~
~~~~~~
**Note:** You must provide either the `sdk_key` or URL. If you provide both, the URL takes precedence.

**sdk_key**
Expand Down Expand Up @@ -137,7 +137,7 @@ A notification signal will be triggered whenever a _new_ datafile is fetched and

#### BatchEventProcessor

[BatchEventProcessor](https://github.com/optimizely/ruby-sdk/blob/master/lib/optimizely/event/batch_event_processor.rb) is a batched implementation of the [EventProcessor](https://github.com/optimizely/ruby-sdk/blob/master/lib/optimizely/event/event_processor.rb)
[BatchEventProcessor](https://github.com/optimizely/ruby-sdk/blob/master/lib/optimizely/event/batch_event_processor.rb) is a batched implementation of the [EventProcessor](https://github.com/optimizely/ruby-sdk/blob/master/lib/optimizely/event/event_processor.rb)

* Events passed to the `BatchEventProcessor` are immediately added to a `Queue`.

Expand All @@ -153,7 +153,7 @@ event_processor = Optimizely::BatchEventProcessor.new(
logger: logger,
notification_center: notification_center
)
~~~~~~
~~~~~~

#### Advanced configuration
The following properties can be used to customize the `BatchEventProcessor` configuration.
Expand Down Expand Up @@ -204,45 +204,45 @@ Please see [CONTRIBUTING](CONTRIBUTING.md).
### Credits
This software incorporates code from the following open source projects:

**Httparty** [https://github.com/jnunemaker/httparty](https://github.com/jnunemaker/httparty)
Copyright © 2008 John Nunemaker
**Httparty** [https://github.com/jnunemaker/httparty](https://github.com/jnunemaker/httparty)
Copyright © 2008 John Nunemaker
License (MIT): [https://github.com/jnunemaker/httparty/blob/master/MIT-LICENSE](https://github.com/jnunemaker/httparty/blob/master/MIT-LICENSE)

**JSON Schema Validator** [https://github.com/ruby-json-schema/json-schema](https://github.com/ruby-json-schema/json-schema)
Copyright © 2010-2011, Lookingglass Cyber Solutions
**JSON Schema Validator** [https://github.com/ruby-json-schema/json-schema](https://github.com/ruby-json-schema/json-schema)
Copyright © 2010-2011, Lookingglass Cyber Solutions
License (MIT): [https://github.com/ruby-json-schema/json-schema/blob/master/LICENSE.md](https://github.com/ruby-json-schema/json-schema/blob/master/LICENSE.md)

**Murmurhash3** [https://github.com/funny-falcon/murmurhash3-ruby](https://github.com/funny-falcon/murmurhash3-ruby)
Copyright © 2012 Sokolov Yura 'funny-falcon'
**Murmurhash3** [https://github.com/funny-falcon/murmurhash3-ruby](https://github.com/funny-falcon/murmurhash3-ruby)
Copyright © 2012 Sokolov Yura 'funny-falcon'
License (MIT): [https://github.com/funny-falcon/murmurhash3-ruby/blob/master/LICENSE](https://github.com/funny-falcon/murmurhash3-ruby/blob/master/LICENSE)


### Additional Code
This software may be used with additional code that is separately downloaded by you. _These components are subject to
their own license terms, which you should review carefully_.

**Bundler** [https://github.com/bundler/bundler](https://github.com/bundler/bundler)
Copyright © 2008-2018 Andre Arko, Engine Yard, et al
**Bundler** [https://github.com/bundler/bundler](https://github.com/bundler/bundler)
Copyright © 2008-2018 Andre Arko, Engine Yard, et al
License (MIT): [https://github.com/bundler/bundler/blob/master/LICENSE.md](https://github.com/bundler/bundler/blob/master/LICENSE.md)

**Coveralls** [https://github.com/lemurheavy/coveralls-ruby](https://github.com/lemurheavy/coveralls-ruby)
Copyright © 2012 Wil Gieseler
**Coveralls** [https://github.com/lemurheavy/coveralls-ruby](https://github.com/lemurheavy/coveralls-ruby)
Copyright © 2012 Wil Gieseler
License (MIT): [https://github.com/lemurheavy/coveralls-ruby/blob/master/LICENSE](https://github.com/lemurheavy/coveralls-ruby/blob/master/LICENSE)

**Rake** [https://github.com/ruby/rake](https://github.com/ruby/rake)
Copyright © 2004-2017 Jim Weirich
License (MIT): [https://github.com/ruby/rake/blob/master/MIT-LICENSE](https://github.com/ruby/rake/blob/master/MIT-LICENSE)
**Rake** [https://github.com/ruby/rake](https://github.com/ruby/rake)
Copyright © 2004-2017 Jim Weirich
License (MIT): [https://github.com/ruby/rake/blob/master/MIT-LICENSE](https://github.com/ruby/rake/blob/master/MIT-LICENSE)

**RSpec** [https://github.com/rspec/rspec](https://github.com/rspec/rspec)
Copyright © 2009 Chad Humphries, David Chelimsky
Copyright © 2006 David Chelimsky, The RSpec Development Team
Copyright © 2005 Steven Baker
License (MIT): [https://github.com/rspec/rspec/blob/master/LICENSE.md](https://github.com/rspec/rspec/blob/master/LICENSE.md)
**RSpec** [https://github.com/rspec/rspec](https://github.com/rspec/rspec)
Copyright © 2009 Chad Humphries, David Chelimsky
Copyright © 2006 David Chelimsky, The RSpec Development Team
Copyright © 2005 Steven Baker
License (MIT): [https://github.com/rspec/rspec/blob/master/LICENSE.md](https://github.com/rspec/rspec/blob/master/LICENSE.md)

**RuboCop** [https://github.com/rubocop-hq/rubocop](https://github.com/rubocop-hq/rubocop)
Copyright © 2012-19 Bozhidar Batsov
**RuboCop** [https://github.com/rubocop-hq/rubocop](https://github.com/rubocop-hq/rubocop)
Copyright © 2012-19 Bozhidar Batsov
License (MIT): [https://github.com/rubocop-hq/rubocop/blob/master/LICENSE.txt](https://github.com/rubocop-hq/rubocop/blob/master/LICENSE.txt)

**WebMock** [https://github.com/bblimke/webmock](https://github.com/bblimke/webmock)
Copyright © 2009-2010 Bartosz Blimke
**WebMock** [https://github.com/bblimke/webmock](https://github.com/bblimke/webmock)
Copyright © 2009-2010 Bartosz Blimke
License (MIT): [https://github.com/bblimke/webmock/blob/master/LICENSE](https://github.com/bblimke/webmock/blob/master/LICENSE)