field_test 0.2.3 → 0.2.4

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of field_test might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: bf0f3fac61545757a6431b740be8d781bc40916b
4
- data.tar.gz: 7b83659f8ebc1d6b5bbe1d642a8b376191de0b74
2
+ SHA256:
3
+ metadata.gz: 91cef396b68f0ed43abcce42c80290ba216fe77105a947f0317925f7abb4d0fc
4
+ data.tar.gz: d2119a7219f278d182bf5484f959f788b03f40c129f23a58211ff8c9bfcfaeb5
5
5
  SHA512:
6
- metadata.gz: dddab4904f52e6c186a0a39a52a9cc3dbf88bff748ddf15cd56f3b356deea6660539eff75a6794a94ad537c66ba0e73590e50cf390994b3c64ed16f9b08a9870
7
- data.tar.gz: 43f4ada96d3338c83baf0e99067e96f873fd18c3888ebbd0f86154a18b352e8803a6886b327d3ca9f6cb93eb553b475d1ea3f1ae98bc86b48d3a83070927b476
6
+ metadata.gz: fce4404e2f2c90215f14414bc9cd5e8c8cb3fb023e1adaea5a116e63e096ad52f25b1a74130cbebbd2d97e80c294b41289249172ca0c02ffb44a6d0ccaddcfe5
7
+ data.tar.gz: 8dcd8402e676d67c15552b93277007f4cc2fc5210a4c7beef72a5b0a0acd9e6c1f4c171cc65d8300e810acb5fd524d19f67eabef4da3b1cb86aa83e4d0c5c943
@@ -1,3 +1,7 @@
1
+ ## 0.2.4
2
+
3
+ - Fixed `PG::AmbiguousColumn` error
4
+
1
5
  ## 0.2.3
2
6
 
3
7
  - Fixed participant reporting for multiple goals
data/README.md CHANGED
@@ -6,7 +6,7 @@
6
6
  - Comes with a [handy dashboard](https://fieldtest.dokkuapp.com/)
7
7
  - Seamlessly handles the transition from anonymous visitor to logged in user
8
8
 
9
- Uses [Bayesian statistics](http://www.evanmiller.org/bayesian-ab-testing.html) to evaluate results so you don’t need to choose a sample size ahead of time.
9
+ Uses [Bayesian statistics](https://www.evanmiller.org/bayesian-ab-testing.html) to evaluate results so you don’t need to choose a sample size ahead of time.
10
10
 
11
11
  ## Installation
12
12
 
@@ -191,7 +191,7 @@ ENV["FIELD_TEST_PASSWORD"] = "kingdom"
191
191
 
192
192
  ## Credits
193
193
 
194
- A huge thanks to [Evan Miller](http://www.evanmiller.org/) for deriving the Bayesian formulas.
194
+ A huge thanks to [Evan Miller](https://www.evanmiller.org/) for deriving the Bayesian formulas.
195
195
 
196
196
  ## TODO
197
197
 
@@ -1,7 +1,7 @@
1
1
  require "distribution/math_extension"
2
2
 
3
3
  # formulas from
4
- # http://www.evanmiller.org/bayesian-ab-testing.html
4
+ # https://www.evanmiller.org/bayesian-ab-testing.html
5
5
  module FieldTest
6
6
  module Calculations
7
7
  def self.prob_b_beats_a(alpha_a, beta_a, alpha_b, beta_b)
@@ -97,8 +97,8 @@ module FieldTest
97
97
  goal ||= goals.first
98
98
 
99
99
  relation = memberships.group(:variant)
100
- relation = relation.where("created_at >= ?", started_at) if started_at
101
- relation = relation.where("created_at <= ?", ended_at) if ended_at
100
+ relation = relation.where("field_test_memberships.created_at >= ?", started_at) if started_at
101
+ relation = relation.where("field_test_memberships.created_at <= ?", ended_at) if ended_at
102
102
 
103
103
  if use_events?
104
104
  data = {}
@@ -1,3 +1,3 @@
1
1
  module FieldTest
2
- VERSION = "0.2.3"
2
+ VERSION = "0.2.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: field_test
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Kane
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-01-29 00:00:00.000000000 Z
11
+ date: 2019-01-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -143,9 +143,9 @@ files:
143
143
  - lib/field_test/version.rb
144
144
  - lib/generators/field_test/events_generator.rb
145
145
  - lib/generators/field_test/install_generator.rb
146
- - lib/generators/field_test/templates/config.yml
147
- - lib/generators/field_test/templates/events.rb
148
- - lib/generators/field_test/templates/memberships.rb
146
+ - lib/generators/field_test/templates/config.yml.tt
147
+ - lib/generators/field_test/templates/events.rb.tt
148
+ - lib/generators/field_test/templates/memberships.rb.tt
149
149
  homepage: https://github.com/ankane/field_test
150
150
  licenses: []
151
151
  metadata: {}
@@ -165,7 +165,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
165
165
  version: '0'
166
166
  requirements: []
167
167
  rubyforge_project:
168
- rubygems_version: 2.6.13
168
+ rubygems_version: 2.7.6
169
169
  signing_key:
170
170
  specification_version: 4
171
171
  summary: A/B testing for Rails