slimmer 3.3.0 → 3.3.1

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.
@@ -12,7 +12,7 @@ module Slimmer::Processors
12
12
  def filter(src, dest)
13
13
  custom_vars = []
14
14
  if @artefact
15
- custom_vars << set_custom_var(1, "Section", @artefact.primary_section["title"]) if @artefact.primary_section
15
+ custom_vars << set_custom_var(1, "Section", @artefact.primary_root_section["title"]) if @artefact.primary_root_section
16
16
  custom_vars << set_custom_var(3, "NeedID", @artefact.need_id)
17
17
  custom_vars << set_custom_var(4, "Proposition", (@artefact.business_proposition ? 'business' : 'citizen')) unless @artefact.business_proposition.nil?
18
18
  end
@@ -1,3 +1,3 @@
1
1
  module Slimmer
2
- VERSION = '3.3.0'
2
+ VERSION = '3.3.1'
3
3
  end
@@ -54,7 +54,7 @@ module GoogleAnalyticsTest
54
54
  def setup
55
55
  super
56
56
 
57
- artefact = artefact_for_slug_in_a_section("something", "rhubarb")
57
+ artefact = artefact_for_slug_in_a_subsection("something", "rhubarb/in-puddings")
58
58
  artefact["details"].merge!(
59
59
  "need_id" => "42",
60
60
  "business_proposition" => true
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: slimmer
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 3.3.0
5
+ version: 3.3.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - Ben Griffiths
@@ -11,7 +11,7 @@ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
13
 
14
- date: 2012-09-17 00:00:00 Z
14
+ date: 2012-09-18 00:00:00 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: nokogiri
@@ -239,7 +239,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
239
239
  requirements:
240
240
  - - ">="
241
241
  - !ruby/object:Gem::Version
242
- hash: 3759142448918952269
242
+ hash: 1141452506327548945
243
243
  segments:
244
244
  - 0
245
245
  version: "0"
@@ -248,7 +248,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
248
248
  requirements:
249
249
  - - ">="
250
250
  - !ruby/object:Gem::Version
251
- hash: 3759142448918952269
251
+ hash: 1141452506327548945
252
252
  segments:
253
253
  - 0
254
254
  version: "0"