preact 0.6.3 → 0.6.4

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.
data/lib/preact.rb CHANGED
@@ -58,7 +58,9 @@ module Preact
58
58
  })
59
59
  elsif event.is_a?(Hash)
60
60
  preact_event = ActionEvent.new(event)
61
- elsif !event.is_a?(ActionEvent)
61
+ elsif event.is_a?(ActionEvent)
62
+ preact_event = event
63
+ else
62
64
  raise StandardError.new "Unknown event class, must pass a string event name, event hash or ActionEvent object"
63
65
  end
64
66
 
@@ -1,3 +1,3 @@
1
1
  module Preact
2
- VERSION = "0.6.3"
2
+ VERSION = "0.6.4"
3
3
  end
data/readme.md CHANGED
@@ -97,7 +97,6 @@ class User < ActiveRecord::Base
97
97
  :email => self.email,
98
98
  :uid => self.id,
99
99
  :properties => {
100
- :account_level => self.account_level,
101
100
  :is_paying => self.paying_customer?,
102
101
  :created_at => self.created_at.to_i
103
102
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: preact
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.3
4
+ version: 0.6.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: