sub_pub 0.0.10 → 0.0.11

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.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 481a96767b0146b19366dfaa3742685627129bbe
4
+ data.tar.gz: 09fffe3067f8e999b3510c3a84f9935f568690ec
5
+ SHA512:
6
+ metadata.gz: 66d39dd8704aa5429b1c3caca2a73b05b75ffef5b727075e1be7830c9e6e749fc7b93b14a3c22cdfed4a89355148ac8d7aa63c2c577ae7835e0f724c65d86d15
7
+ data.tar.gz: 17252d836444d1ad870171354d93d02f44d8cd17b9627ca18b74d9773662e51bc7f602aceeab933bd5d19dae4c328cb09f3ca6159e3ea8bf1b1d1c46eca05353
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- sub_pub (0.0.10)
4
+ sub_pub (0.0.11)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -38,7 +38,7 @@ Or install it yourself as:
38
38
  SubPub.disable # disables publishing
39
39
  SubPub.enable # enables publishing
40
40
 
41
- By default, SubPub looks for subscribers in app/models/pub_sub/*
41
+ By default, SubPub looks for subscribers in app/sub_pubs/*
42
42
 
43
43
 
44
44
  ### Within a plain ruby project
@@ -80,7 +80,7 @@ Or install it yourself as:
80
80
  #
81
81
  # Subscribe to the after_create callback of User
82
82
  #
83
- # currently, SubPub loads all subscribers in app/models/pub_sub/*
83
+ # currently, SubPub loads all subscribers in app/sub_pubs/*
84
84
  #
85
85
  class SendWelcomeEmailToUser < SubPub::ActiveRecord::Subscriber
86
86
  subscribe_to(User, 'after_create')
@@ -7,7 +7,7 @@ module SubPub
7
7
 
8
8
  config.after_initialize do
9
9
  Dir[
10
- File.expand_path("app/models/pub_sub/*.rb", Rails.root)
10
+ File.expand_path("app/sub_pubs/*.rb", Rails.root)
11
11
  ].each { |file| require file }
12
12
  end
13
13
  end
@@ -1,3 +1,3 @@
1
1
  module SubPub
2
- VERSION = "0.0.10"
2
+ VERSION = "0.0.11"
3
3
  end
metadata CHANGED
@@ -1,15 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sub_pub
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.10
5
- prerelease:
4
+ version: 0.0.11
6
5
  platform: ruby
7
6
  authors:
8
7
  - zephyr-dev@googlegroups.com
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-01-04 00:00:00.000000000 Z
11
+ date: 2013-04-08 00:00:00.000000000 Z
13
12
  dependencies: []
14
13
  description: In process publish/subscribe for Ruby
15
14
  email:
@@ -52,33 +51,26 @@ files:
52
51
  - sub_pub.gemspec
53
52
  homepage: ''
54
53
  licenses: []
54
+ metadata: {}
55
55
  post_install_message:
56
56
  rdoc_options: []
57
57
  require_paths:
58
58
  - lib
59
59
  required_ruby_version: !ruby/object:Gem::Requirement
60
- none: false
61
60
  requirements:
62
- - - ! '>='
61
+ - - '>='
63
62
  - !ruby/object:Gem::Version
64
63
  version: '0'
65
- segments:
66
- - 0
67
- hash: -3975189905250384298
68
64
  required_rubygems_version: !ruby/object:Gem::Requirement
69
- none: false
70
65
  requirements:
71
- - - ! '>='
66
+ - - '>='
72
67
  - !ruby/object:Gem::Version
73
68
  version: '0'
74
- segments:
75
- - 0
76
- hash: -3975189905250384298
77
69
  requirements: []
78
70
  rubyforge_project:
79
- rubygems_version: 1.8.24
71
+ rubygems_version: 2.0.3
80
72
  signing_key:
81
- specification_version: 3
73
+ specification_version: 4
82
74
  summary: SubPub is a thin wrapper around ActiveSupport::Notifications, which provides
83
75
  an implementation of the Publish/Subscribe pattern.
84
76
  test_files: