launchdarkly-server-sdk 6.2.1 → 6.2.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -3
- data/lib/ldclient-rb/config.rb +3 -3
- data/lib/ldclient-rb/impl/diagnostic_events.rb +1 -1
- data/lib/ldclient-rb/integrations/dynamodb.rb +1 -1
- data/lib/ldclient-rb/integrations/redis.rb +1 -1
- data/lib/ldclient-rb/interfaces.rb +1 -1
- data/lib/ldclient-rb/ldclient.rb +5 -5
- data/lib/ldclient-rb/requestor.rb +1 -1
- data/lib/ldclient-rb/version.rb +1 -1
- metadata +24 -132
- data/.circleci/config.yml +0 -40
- data/.github/ISSUE_TEMPLATE/bug_report.md +0 -37
- data/.github/ISSUE_TEMPLATE/config.yml +0 -5
- data/.github/ISSUE_TEMPLATE/feature_request.md +0 -20
- data/.github/pull_request_template.md +0 -21
- data/.gitignore +0 -16
- data/.hound.yml +0 -2
- data/.ldrelease/build-docs.sh +0 -18
- data/.ldrelease/circleci/linux/execute.sh +0 -18
- data/.ldrelease/circleci/mac/execute.sh +0 -18
- data/.ldrelease/circleci/template/build.sh +0 -29
- data/.ldrelease/circleci/template/publish.sh +0 -23
- data/.ldrelease/circleci/template/set-gem-home.sh +0 -7
- data/.ldrelease/circleci/template/test.sh +0 -10
- data/.ldrelease/circleci/template/update-version.sh +0 -8
- data/.ldrelease/circleci/windows/execute.ps1 +0 -19
- data/.ldrelease/config.yml +0 -29
- data/.rspec +0 -2
- data/.rubocop.yml +0 -600
- data/.simplecov +0 -4
- data/CHANGELOG.md +0 -359
- data/CODEOWNERS +0 -1
- data/CONTRIBUTING.md +0 -37
- data/Gemfile +0 -3
- data/azure-pipelines.yml +0 -51
- data/docs/Makefile +0 -26
- data/docs/index.md +0 -9
- data/launchdarkly-server-sdk.gemspec +0 -45
- data/spec/config_spec.rb +0 -63
- data/spec/diagnostic_events_spec.rb +0 -163
- data/spec/evaluation_detail_spec.rb +0 -135
- data/spec/event_sender_spec.rb +0 -197
- data/spec/event_summarizer_spec.rb +0 -63
- data/spec/events_spec.rb +0 -607
- data/spec/expiring_cache_spec.rb +0 -76
- data/spec/feature_store_spec_base.rb +0 -213
- data/spec/file_data_source_spec.rb +0 -283
- data/spec/fixtures/feature.json +0 -37
- data/spec/fixtures/feature1.json +0 -36
- data/spec/fixtures/user.json +0 -9
- data/spec/flags_state_spec.rb +0 -81
- data/spec/http_util.rb +0 -132
- data/spec/impl/evaluator_bucketing_spec.rb +0 -216
- data/spec/impl/evaluator_clause_spec.rb +0 -55
- data/spec/impl/evaluator_operators_spec.rb +0 -141
- data/spec/impl/evaluator_rule_spec.rb +0 -128
- data/spec/impl/evaluator_segment_spec.rb +0 -125
- data/spec/impl/evaluator_spec.rb +0 -349
- data/spec/impl/evaluator_spec_base.rb +0 -75
- data/spec/impl/event_factory_spec.rb +0 -108
- data/spec/impl/model/serialization_spec.rb +0 -41
- data/spec/in_memory_feature_store_spec.rb +0 -12
- data/spec/integrations/consul_feature_store_spec.rb +0 -40
- data/spec/integrations/dynamodb_feature_store_spec.rb +0 -103
- data/spec/integrations/store_wrapper_spec.rb +0 -276
- data/spec/launchdarkly-server-sdk_spec.rb +0 -13
- data/spec/launchdarkly-server-sdk_spec_autoloadtest.rb +0 -9
- data/spec/ldclient_end_to_end_spec.rb +0 -157
- data/spec/ldclient_spec.rb +0 -635
- data/spec/newrelic_spec.rb +0 -5
- data/spec/polling_spec.rb +0 -120
- data/spec/redis_feature_store_spec.rb +0 -121
- data/spec/requestor_spec.rb +0 -196
- data/spec/segment_store_spec_base.rb +0 -95
- data/spec/simple_lru_cache_spec.rb +0 -24
- data/spec/spec_helper.rb +0 -9
- data/spec/store_spec.rb +0 -10
- data/spec/stream_spec.rb +0 -45
- data/spec/user_filter_spec.rb +0 -91
- data/spec/util_spec.rb +0 -17
- data/spec/version_spec.rb +0 -7
@@ -1,23 +0,0 @@
|
|
1
|
-
#!/bin/bash
|
2
|
-
|
3
|
-
set -ue
|
4
|
-
|
5
|
-
# Standard publish.sh for Ruby-based projects - we can assume build.sh has already been run
|
6
|
-
|
7
|
-
export GEM_HOME="${LD_RELEASE_TEMP_DIR}/gems"
|
8
|
-
|
9
|
-
# If we're running in CircleCI, the RubyGems credentials will be in an environment
|
10
|
-
# variable and need to be copied to a file
|
11
|
-
if [ -n "${LD_RELEASE_RUBYGEMS_API_KEY}" ]; then
|
12
|
-
mkdir -p ~/.gem
|
13
|
-
cat >~/.gem/credentials <<EOF
|
14
|
-
---
|
15
|
-
:rubygems_api_key: $LD_RELEASE_RUBYGEMS_API_KEY
|
16
|
-
EOF
|
17
|
-
chmod 0600 ~/.gem/credentials
|
18
|
-
fi
|
19
|
-
|
20
|
-
# Since all Releaser builds are clean builds, we can assume that the only .gem file here
|
21
|
-
# is the one we just built
|
22
|
-
echo "Running gem push"
|
23
|
-
gem push ./*.gem || { echo "gem push failed" >&2; exit 1; }
|
@@ -1,8 +0,0 @@
|
|
1
|
-
#!/bin/bash
|
2
|
-
|
3
|
-
set -ue
|
4
|
-
|
5
|
-
# Standard update-version.sh for Ruby-based projects - this will work only if the version string
|
6
|
-
# is in a source file under lib/ that has a line like his: VERSION = "2.0.0"
|
7
|
-
|
8
|
-
"$(dirname "$0")/../update-version-constant.sh" lib '*.rb'
|
@@ -1,19 +0,0 @@
|
|
1
|
-
param(
|
2
|
-
[string]$step,
|
3
|
-
[string]$script
|
4
|
-
)
|
5
|
-
|
6
|
-
# Performs a delegated release step in a CircleCI Windows container using PowerShell. This
|
7
|
-
# mechanism is described in scripts/circleci/README.md. All of the necessary environment
|
8
|
-
# variables should already be in the generated CircleCI configuration.
|
9
|
-
|
10
|
-
$ErrorActionPreference = "Stop"
|
11
|
-
|
12
|
-
New-Item -Path "./artifacts" -ItemType "directory" -Force | Out-Null
|
13
|
-
|
14
|
-
$env:LD_RELEASE_TEMP_DIR = "$env:TEMP\project-releaser-temp"
|
15
|
-
New-Item -Path $env:LD_RELEASE_TEMP_DIR -ItemType "directory" -Force | Out-Null
|
16
|
-
|
17
|
-
Write-Host
|
18
|
-
Write-Host "[$step] executing $script"
|
19
|
-
& "./$script"
|
data/.ldrelease/config.yml
DELETED
@@ -1,29 +0,0 @@
|
|
1
|
-
repo:
|
2
|
-
public: ruby-server-sdk
|
3
|
-
private: ruby-server-sdk-private
|
4
|
-
|
5
|
-
releasableBranches:
|
6
|
-
- name: master
|
7
|
-
- name: 5.x
|
8
|
-
|
9
|
-
publications:
|
10
|
-
- url: https://rubygems.org/gems/launchdarkly-server-sdk
|
11
|
-
description: RubyGems
|
12
|
-
- url: https://www.rubydoc.info/gems/launchdarkly-server-sdk
|
13
|
-
description: documentation
|
14
|
-
|
15
|
-
template:
|
16
|
-
name: ruby
|
17
|
-
|
18
|
-
circleci:
|
19
|
-
linux:
|
20
|
-
image: circleci/ruby:2.6.6-buster
|
21
|
-
context: org-global
|
22
|
-
env:
|
23
|
-
LD_SKIP_DATABASE_TESTS: "1" # Don't run Redis/Consul/DynamoDB tests in release; they are run in CI
|
24
|
-
|
25
|
-
documentation:
|
26
|
-
githubPages: true
|
27
|
-
|
28
|
-
sdk:
|
29
|
-
displayName: "Ruby"
|
data/.rspec
DELETED