laboratory 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/linters.yml +24 -0
- data/.rubocop.yml +11 -0
- data/.rubocop_defaults.yml +3963 -0
- data/Gemfile +2 -2
- data/Gemfile.lock +1 -1
- data/README.md +40 -2
- data/Rakefile +3 -3
- data/bin/console +4 -4
- data/laboratory.gemspec +8 -5
- data/lib/laboratory/adapters/redis_adapter.rb +34 -15
- data/lib/laboratory/algorithms/random.rb +1 -1
- data/lib/laboratory/calculations/confidence_level.rb +7 -4
- data/lib/laboratory/calculations/z_score.rb +17 -15
- data/lib/laboratory/experiment/analysis_summary.rb +7 -5
- data/lib/laboratory/experiment/variant.rb +5 -1
- data/lib/laboratory/experiment.rb +57 -21
- data/lib/laboratory/ui/helpers.rb +12 -7
- data/lib/laboratory/ui.rb +4 -4
- data/lib/laboratory/version.rb +1 -1
- metadata +15 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f2c796f9282f1162446569e2625bd596b0505132362949dd86cb2436db4fa760
|
4
|
+
data.tar.gz: 66289aae59ab02f88b92af86c070688e1b37f2f47044e0454f9ee00733413b9f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 74dd54de95625344b74c61f8ade928e72f1a4642420a059cd6a75b4733e639ffa15541a73d65b87328c4e653ad1f44707e71eb1ca49d3a44dd562cd9e8fda475
|
7
|
+
data.tar.gz: f737d73fa7f214a9ce4e9a50e5d9351cc660df42ba8cc470f5c034e5bd065fe4e602fdfed6b62dbff4039e91be1932bcafe58fd4fe0ff07bef5ed208b2f19bb7
|
@@ -0,0 +1,24 @@
|
|
1
|
+
name: Linters
|
2
|
+
|
3
|
+
on: [pull_request]
|
4
|
+
|
5
|
+
jobs:
|
6
|
+
rubocop:
|
7
|
+
runs-on: ubuntu-latest
|
8
|
+
steps:
|
9
|
+
- uses: actions/checkout@v1
|
10
|
+
- uses: actions/setup-ruby@v1
|
11
|
+
with:
|
12
|
+
ruby-version: '2.6.x'
|
13
|
+
|
14
|
+
- run: gem install rubocop:0.79.0 rubocop-rails:2.4.1 rubocop-rspec:1.33.0
|
15
|
+
|
16
|
+
- name: Install reviewdog
|
17
|
+
run: curl -sfL https://raw.githubusercontent.com/reviewdog/reviewdog/master/install.sh| sh -s
|
18
|
+
|
19
|
+
- name: Run RuboCop
|
20
|
+
run: |
|
21
|
+
diff_sha=$(git rev-parse "origin/${{ github.base_ref }}")
|
22
|
+
rubocop . | ./bin/reviewdog -f=rubocop -diff="git diff $diff_sha" -reporter=github-pr-check
|
23
|
+
env:
|
24
|
+
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.github_token }}
|