sb-styleguide 1.2.1 → 1.2.2

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.
@@ -1,3 +1,6 @@
1
+ ## 1.2.2
2
+ - Fixing bug which caused the event data to be category only
3
+
1
4
  ## 1.2.1
2
5
  - Adding missing plugin definition for the Snowplow events JS plugin
3
6
 
@@ -8,7 +8,7 @@ GIT
8
8
  PATH
9
9
  remote: .
10
10
  specs:
11
- sb-styleguide (1.2.1)
11
+ sb-styleguide (1.2.2)
12
12
  actionpack (>= 3.1, < 4.1)
13
13
  activesupport (>= 3.1, < 4.1)
14
14
  compass-rails (>= 1.0, < 2.0)
@@ -1,5 +1,5 @@
1
1
  module Sb
2
2
  module Styleguide
3
- VERSION = "1.2.1"
3
+ VERSION = "1.2.2"
4
4
  end
5
5
  end
@@ -39,7 +39,8 @@ plugin = ($) ->
39
39
  #
40
40
  constructor: (el, @content) ->
41
41
  $el = $(el)
42
- @sendEvent if !(content.split('|') instanceof Array) then content.split('|') else [content]
42
+ event = if (content.split('|') instanceof Array) then content.split('|') else [content]
43
+ @sendEvent event
43
44
 
44
45
  _constructor: SPEvent
45
46
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sb-styleguide
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -513,7 +513,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
513
513
  version: '0'
514
514
  segments:
515
515
  - 0
516
- hash: 508744650872052994
516
+ hash: 4480789578768228897
517
517
  required_rubygems_version: !ruby/object:Gem::Requirement
518
518
  none: false
519
519
  requirements:
@@ -522,7 +522,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
522
522
  version: '0'
523
523
  segments:
524
524
  - 0
525
- hash: 508744650872052994
525
+ hash: 4480789578768228897
526
526
  requirements: []
527
527
  rubyforge_project:
528
528
  rubygems_version: 1.8.23