govuk_ab_testing 2.1.0 → 2.2.0
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 932ff8b3b3372bd294d76a70863720b2d83c24f7
|
|
4
|
+
data.tar.gz: bcb3ed31428a44de078d465292e15370870f0c5f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8b0fd195675173cc90c1ec42021749f47f0c1f7096e8c8c821939db377f634b4d6768beb6c0a0748ac8428907b045ce3cb2d6b9b47e7077e0956cf3aae84dce2
|
|
7
|
+
data.tar.gz: b4816a5cc4017ce3a5411b2433f15adee7ee952b045587f9d3b06677174d03be9e28c445d8cf2ec2af6413b3affd34994c552a5c253267e9022c24778c7bdf3b
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
## 2.2.0
|
|
2
|
+
|
|
3
|
+
* Remove string interpolated parameter in error message of
|
|
4
|
+
* `assert_page_not_tracked_in_ab_test` which may potentially be nil.
|
|
5
|
+
* Add keyname parameters for `assert_has_size` call inside `assert_is_empty`.
|
|
6
|
+
|
|
1
7
|
## 2.1.0
|
|
2
8
|
|
|
3
9
|
* Refactor both RSpec and Minitest helpers to use the same Abstract helper
|
|
@@ -64,10 +64,8 @@ module GovukAbTesting
|
|
|
64
64
|
assert_is_empty(
|
|
65
65
|
enumerable: ab_test_meta_tags,
|
|
66
66
|
error_message: <<-ERROR
|
|
67
|
-
Found the
|
|
68
|
-
the A/B test
|
|
69
|
-
|
|
70
|
-
#{ab_test_meta_tags.first.content}
|
|
67
|
+
Found the '#{ab_test_name}' A/B testing meta tag on a page that should not be modified by
|
|
68
|
+
the A/B test.
|
|
71
69
|
|
|
72
70
|
Check for incorrect usage of GovukAbTesting::RequestedVariant#analytics_meta_tag
|
|
73
71
|
ERROR
|
|
@@ -17,7 +17,7 @@ module GovukAbTesting
|
|
|
17
17
|
end
|
|
18
18
|
|
|
19
19
|
def assert_is_empty(enumerable:, error_message:)
|
|
20
|
-
assert_has_size(enumerable, 0, error_message)
|
|
20
|
+
assert_has_size(enumerable: enumerable, size: 0, error_message: error_message)
|
|
21
21
|
end
|
|
22
22
|
|
|
23
23
|
def assert_not_blank(string:, error_message:)
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: govuk_ab_testing
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- GOV.UK Dev
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-
|
|
11
|
+
date: 2017-05-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rake
|
|
@@ -133,7 +133,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
133
133
|
version: '0'
|
|
134
134
|
requirements: []
|
|
135
135
|
rubyforge_project:
|
|
136
|
-
rubygems_version: 2.
|
|
136
|
+
rubygems_version: 2.6.8
|
|
137
137
|
signing_key:
|
|
138
138
|
specification_version: 4
|
|
139
139
|
summary: Gem to help with A/B testing on the GOV.UK platform
|