active_spy 2.0.0.pre2 → 2.0.0.pre3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e5ea4576b9c157d2c08c00a0235918302fa39b59
4
- data.tar.gz: 6c2dbae61778fcefa542571baa2b5438edfe8a02
3
+ metadata.gz: e79f36fab3fac7b3606e63e52124dbcbeed4b184
4
+ data.tar.gz: f8acecbe881ad497f1e04411de9c4ee75d24b60f
5
5
  SHA512:
6
- metadata.gz: 505138265fcbd3a23b87917985ab7c7ed532b3e9a25a3746d0a0721f88b58b0bc06ff961fc2abd485bf2e61793509b35a30902eb099b82985b43ca7e7acd923a
7
- data.tar.gz: 664584ec54fd4621659ed69b3e876412463f2340ac56c35dcbd450f0e544502162b64793e8d9b0ef61317d1bee1448638e74d88210394a83e54fb104b5542983
6
+ metadata.gz: 04a19c14dc9552f221b2b529d83cbf8dce853b0f3f66a4f93250d88cd73784d04c38298c693c6ba0e1a370706eb95a62c2950890b90628a0c624ec753dcbde7b
7
+ data.tar.gz: 3ed7bb881fe74577d85164a6b552a47bf79241e36f28c3ae8be836459be5bf6308b969c316f06739cccfe8eb788a2f548c3550d89dbc7be2a1046cfdd5135958
data/active_spy.gemspec CHANGED
@@ -2,16 +2,16 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: active_spy 2.0.0.pre2 ruby lib
5
+ # stub: active_spy 2.0.0.pre3 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "active_spy"
9
- s.version = "2.0.0.pre2"
9
+ s.version = "2.0.0.pre3"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib"]
13
13
  s.authors = ["Douglas Camata"]
14
- s.date = "2015-08-31"
14
+ s.date = "2015-09-01"
15
15
  s.description = " Watch for a method call in any class and run before/after callbacks.\n You can even watch your Rails models for events (like create, update,\n destroy), send these events to a event-runner instance and it redirect these\n events to other apps that are subscrived for them. This gem also provides\n classes that you can use to process the received events too.\n"
16
16
  s.email = "d.camata@gmail.com"
17
17
  s.extra_rdoc_files = [
@@ -39,7 +39,7 @@ module ActiveSpy
39
39
  end
40
40
 
41
41
  def payload_for(action)
42
- { self.class.name.underscore => attributes }
42
+ attributes
43
43
  end
44
44
 
45
45
  def payload_for_actor
@@ -17,7 +17,7 @@ module ActiveSpy
17
17
  def perform(sqs_message, body)
18
18
  type = body.delete('type')
19
19
  action = body.delete('action')
20
- payload = body.delete('payload')[type]
20
+ payload = body.delete('payload')
21
21
  actor = body.delete('actor')
22
22
 
23
23
  class_name = self.class.name
@@ -3,7 +3,7 @@ module ActiveSpy
3
3
  MAJOR = 2
4
4
  MINOR = 0
5
5
  PATCH = 0
6
- BUILD = 'pre2'
6
+ BUILD = 'pre3'
7
7
 
8
8
  STRING = [MAJOR, MINOR, PATCH, BUILD].compact.join('.')
9
9
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_spy
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0.pre2
4
+ version: 2.0.0.pre3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Douglas Camata
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-08-31 00:00:00.000000000 Z
11
+ date: 2015-09-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport