active_spy 1.3.12 → 1.4.0

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: 51e6fe785d34c9c95de4482ae45114d2e6c5d737
4
- data.tar.gz: c0fac4b3e85b7be57c2de47a26a99f0398485c4d
3
+ metadata.gz: f49d0d82892ca2fca7d9c2e577dfb02a6fbd26d4
4
+ data.tar.gz: 147b520b64c3de63b54bc0bc7e765d57494a73c4
5
5
  SHA512:
6
- metadata.gz: 3f4b64f57fb64bd300d90763e1b98f8cfab87d02d4725957406896d1f1253e7970057653e2936ad6f32c990214d9694bf17c5d87b0bca3629ea50e7e876e2bcd
7
- data.tar.gz: 6266306580524deedca3292d8f14166c3750034c98d0df432361838f35f072ceb1c7c89078dd88b0fa9c91dda4294e0cbc422b67f433eab64ad3e65b1e6609c0
6
+ metadata.gz: 142fdca961625f833f3b08951241cd505ebd9bd05dc9f0726c7d14154327f044c2e32306843f0cf71d8ede6c5a441891d353f757ed1029c0f73b2cc6753f1009
7
+ data.tar.gz: 45db3e8ae62cf7c5eae7067e6c5b6a1644c8d38900639f4b24d739a0938b78c74093bfefa6e001a3470728ae8b2cfbffe57f73288b943609d97469fbf2a1608c
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.3.12
1
+ 1.4.0
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 1.3.12 ruby lib
5
+ # stub: active_spy 1.4.0 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "active_spy"
9
- s.version = "1.3.12"
9
+ s.version = "1.4.0"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib"]
13
13
  s.authors = ["Douglas Camata"]
14
- s.date = "2014-10-30"
14
+ s.date = "2015-01-27"
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 = [
@@ -2,7 +2,7 @@ require 'hashie'
2
2
 
3
3
  yml_path = Rails.root.join('config', 'active_spy.yml')
4
4
  if File.exists?(yml_path)
5
- all_settings = YAML.load_file(yml_path)
5
+ all_settings = YAML.load(ERB.new(File.read(yml_path)).result)
6
6
  env_settings = Hashie::Mash.new(all_settings[Rails.env])
7
7
  else
8
8
  # TODO: Add a warning here
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: 1.3.12
4
+ version: 1.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Douglas Camata
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-10-30 00:00:00.000000000 Z
11
+ date: 2015-01-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport