test_track_rails_client 0.9.9 → 0.9.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +8 -8
- data/README.md +19 -1
- data/app/models/test_track/analytics/safe_wrapper.rb +1 -5
- data/lib/test_track_rails_client/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
OTEzYWFhNzFkMDEzZGM2MzVhMjQ3ZmFmODYyNTY1NTg0YmZkMjlhMQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NTM0ZThhOTQ4MmUwY2Q5OWRjMmE2OGZmNDY2MTU2NWJlODJmMGQ3Mg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MWEyOTE5ZTRmMjAxYzQ5NTQ3ODZkNDM3OTdlYjgyOTJhZDUwNWZmYmEzYzVi
|
10
|
+
OGZhMzIyYTdiODRjNmMyNWJiZWRiNDUwYTVkZWU4MTVkNzJmNmQ1YmJkNmEw
|
11
|
+
YmU1ZmYxYmRmNTI0YTU1NDMxNDhhMTcyODJjODViZjA4NzhkNjQ=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
M2YyNzMxNDg2N2I5ZjM4MmE1ZDJkYTkxZDRkZjY5OGY0MWQyZmY5ZmZkZWJi
|
14
|
+
MmYwMGJiMWNmYjg3ZmViMGM4N2U4Yzk5Y2VkMjZiZTgxNjFiZjZiYzE2MmRj
|
15
|
+
NWNjNDM4MDY3ZDM3MTMwZGE4NjZiMzQ2ZDVmMDQwOTk5ZDBmNWM=
|
data/README.md
CHANGED
@@ -24,6 +24,11 @@ In every environment (local included) cut an App record via the **TestTrack serv
|
|
24
24
|
=> "[your new app password]"
|
25
25
|
```
|
26
26
|
|
27
|
+
*Note: [see the TestTrack
|
28
|
+
README](https://github.com/Betterment/test_track/blob/master/README.md#user-content-seeding-apps-for-local-development)*
|
29
|
+
for additional information on configuring seed apps for local
|
30
|
+
development.
|
31
|
+
|
27
32
|
Set up ENV vars in every environment:
|
28
33
|
|
29
34
|
* `MIXPANEL_TOKEN` - By default, TestTrack reports to Mixpanel. If you're using a [custom analytics provider](#custom-analytics) you can omit this.
|
@@ -128,7 +133,7 @@ test_track_visitor.vary :name_of_split, context: 'home_page' do |v|
|
|
128
133
|
end
|
129
134
|
```
|
130
135
|
|
131
|
-
The `test_track_visitor`'s `ab` method provides a convenient way to do two-way splits. The
|
136
|
+
The `test_track_visitor`'s `ab` method provides a convenient way to do two-way splits. The `true_variant` option is used to tell `ab` which variant is the "true" variant. If no `true_variant` option is provided, the "true" variant is assumed to be `true`, which is convenient for splits that have variants of `true` and `false`. `ab` can be easily used in an if statement.
|
132
137
|
|
133
138
|
```ruby
|
134
139
|
# "button_color" split with "blue" and "red" variants
|
@@ -246,3 +251,16 @@ def track_assignment(visitor_id, assignment, properties)
|
|
246
251
|
# @param existing_id [String] Any existing identifier for the visitor(defaults to Mixpanel's UniqueId)
|
247
252
|
def alias(visitor_id, existing_id)
|
248
253
|
```
|
254
|
+
|
255
|
+
## How to Contribute
|
256
|
+
|
257
|
+
We would love for you to contribute! Anything that benefits the majority of `test_track` users—from a documentation fix to an entirely new feature—is encouraged.
|
258
|
+
|
259
|
+
Before diving in, [check our issue tracker](//github.com/Betterment/test_track_rails_client/issues) and consider creating a new issue to get early feedback on your proposed change.
|
260
|
+
|
261
|
+
### Suggested Workflow
|
262
|
+
|
263
|
+
* Fork the project and create a new branch for your contribution.
|
264
|
+
* Write your contribution (and any applicable test coverage).
|
265
|
+
* Make sure all tests pass (`bundle exec rake`).
|
266
|
+
* Submit a pull request.
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: test_track_rails_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan O'Neill
|
@@ -13,7 +13,7 @@ authors:
|
|
13
13
|
autorequire:
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
|
-
date: 2016-
|
16
|
+
date: 2016-11-03 00:00:00.000000000 Z
|
17
17
|
dependencies:
|
18
18
|
- !ruby/object:Gem::Dependency
|
19
19
|
name: rails
|
@@ -419,7 +419,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
419
419
|
version: '0'
|
420
420
|
requirements: []
|
421
421
|
rubyforge_project:
|
422
|
-
rubygems_version: 2.6.
|
422
|
+
rubygems_version: 2.6.8
|
423
423
|
signing_key:
|
424
424
|
specification_version: 4
|
425
425
|
summary: Rails client for TestTrack
|