event-bus 0.2.2 → 0.2.3
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 +4 -4
- data/.simplecov +5 -1
- data/.travis.yml +9 -8
- data/CONTRIBUTING.md +1 -1
- data/Gemfile +22 -22
- data/History.md +3 -3
- data/README.md +5 -5
- data/Rakefile +10 -3
- data/event-bus.gemspec +1 -1
- data/lib/event/bus/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 437a2077b51cb0d3e085223febb1189cb45b4f44
|
4
|
+
data.tar.gz: fc494872fb85aecdbe100093342015153cbdd938
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7011ff186a5e71a79559ee31203b883b69cdfe6110959d6fe26cb489b26ce7d0929b47ecf3e84b55cdbc751c0d46691900099e75b5d3f2030c2b28298c714631
|
7
|
+
data.tar.gz: f17da0ffa2d42e7ab17fed54f06e9452d33b58e82f33d9f65d6a1ecef2de4c51cd2630d0c0bb7924f061f79cbe2c0851907bb23a2d6aa3267d6229f3b7b1ba33
|
data/.simplecov
CHANGED
data/.travis.yml
CHANGED
@@ -7,21 +7,22 @@ rvm:
|
|
7
7
|
- 1.9.2
|
8
8
|
- 1.9.3
|
9
9
|
- 2.0.0
|
10
|
-
- 2.1.
|
11
|
-
- 2.2.
|
10
|
+
- 2.1.8
|
11
|
+
- 2.2.4
|
12
|
+
- 2.3.0
|
12
13
|
- jruby
|
13
14
|
- jruby-20mode
|
14
15
|
- jruby-21mode
|
15
|
-
- jruby-9.0.
|
16
|
-
- jruby-9.0.
|
17
|
-
- jruby-9.0.
|
16
|
+
- jruby-9.0.1.0
|
17
|
+
- jruby-9.0.1.0-20mode
|
18
|
+
- jruby-9.0.1.0-21mode
|
18
19
|
- rbx
|
19
20
|
matrix:
|
20
21
|
allow_failures:
|
21
22
|
- rvm: rbx
|
22
|
-
- rvm: jruby-9.0.
|
23
|
-
- rvm: jruby-9.0.
|
24
|
-
- rvm: jruby-9.0.
|
23
|
+
- rvm: jruby-9.0.1.0
|
24
|
+
- rvm: jruby-9.0.1.0-20mode
|
25
|
+
- rvm: jruby-9.0.1.0-21mode
|
25
26
|
notifications:
|
26
27
|
email:
|
27
28
|
- cukes-devs@googlegroups.com
|
data/CONTRIBUTING.md
CHANGED
data/Gemfile
CHANGED
@@ -6,34 +6,34 @@ gemspec
|
|
6
6
|
# Debug aruba
|
7
7
|
group :debug do
|
8
8
|
if RUBY_VERSION >= '2' && !RUBY_PLATFORM.include?('java')
|
9
|
-
gem 'byebug', '~> 4.0.5'
|
10
|
-
gem 'pry-byebug', '~> 3.1.0'
|
9
|
+
gem 'byebug', '~> 4.0.5', :require => false
|
10
|
+
gem 'pry-byebug', '~> 3.1.0', :require => false
|
11
11
|
end
|
12
12
|
|
13
13
|
if RUBY_VERSION < '2' && RUBY_VERSION > '1.9' && !RUBY_PLATFORM.include?('java')
|
14
|
-
gem 'debugger', '~> 1.6.8'
|
15
|
-
gem 'pry-debugger', '~> 0.2.3'
|
14
|
+
gem 'debugger', '~> 1.6.8', :require => false
|
15
|
+
gem 'pry-debugger', '~> 0.2.3', :require => false
|
16
16
|
end
|
17
17
|
|
18
|
-
gem 'pry-doc', '~> 0.8.0'
|
18
|
+
gem 'pry-doc', '~> 0.8.0', :require => false
|
19
19
|
end
|
20
20
|
|
21
21
|
group :development, :test do
|
22
22
|
# we use this to demonstrate interactive debugging within our feature tests
|
23
23
|
if RUBY_VERSION >= '2'
|
24
|
-
gem 'pry', '~> 0.10.1'
|
24
|
+
gem 'pry', '~> 0.10.1', :require => false
|
25
25
|
else
|
26
|
-
gem 'pry', '~>0.9.12'
|
26
|
+
gem 'pry', '~>0.9.12', :require => false
|
27
27
|
end
|
28
28
|
|
29
|
-
gem 'aruba', '~>0.
|
29
|
+
gem 'aruba', '~>0.12.0', :require => false
|
30
30
|
|
31
31
|
# Run development tasks
|
32
|
-
gem 'rake', '~> 10.4.2', require
|
32
|
+
gem 'rake', '~> 10.4.2', :require => false
|
33
33
|
|
34
34
|
if RUBY_VERSION >= '2.0.0'
|
35
35
|
# Lint travis yaml
|
36
|
-
gem 'travis-yaml', require
|
36
|
+
gem 'travis-yaml', :require => false
|
37
37
|
|
38
38
|
# Reporting
|
39
39
|
gem 'bcat', '~> 0.6.2'
|
@@ -41,42 +41,42 @@ group :development, :test do
|
|
41
41
|
end
|
42
42
|
|
43
43
|
# Code Coverage
|
44
|
-
gem 'simplecov', '~> 0.10', require
|
44
|
+
gem 'simplecov', '~> 0.10', :require => false
|
45
45
|
|
46
46
|
# Test api
|
47
|
-
gem 'rspec', '~> 3.4', require
|
48
|
-
gem 'fuubar', '~> 2.0.0', require
|
49
|
-
gem 'coveralls', '~> 0.8.10', require: false
|
47
|
+
gem 'rspec', '~> 3.4', :require => false
|
48
|
+
gem 'fuubar', '~> 2.0.0', :require => false
|
50
49
|
|
51
50
|
# using platform for this make bundler complain about the same gem given
|
52
51
|
# twice
|
53
52
|
if RUBY_VERSION < '1.9.3'
|
54
|
-
gem 'cucumber', '~> 1.3.20', require
|
53
|
+
gem 'cucumber', '~> 1.3.20', :require => false
|
55
54
|
else
|
56
|
-
gem 'cucumber', '~> 2.0', require
|
55
|
+
gem 'cucumber', '~> 2.0', :require => false
|
57
56
|
end
|
58
57
|
|
59
58
|
if RUBY_VERSION >= '1.9.3'
|
60
59
|
# Make aruba compliant to ruby community guide
|
61
|
-
gem 'rubocop', '~> 0.32.0', require
|
60
|
+
gem 'rubocop', '~> 0.32.0', :require => false
|
62
61
|
end
|
63
62
|
|
64
63
|
gem 'cucumber-pro', '~> 0.0' if RUBY_VERSION >= '1.9.3'
|
65
64
|
|
66
65
|
if RUBY_VERSION >= '1.9.3'
|
67
66
|
# License compliance
|
68
|
-
gem 'license_finder', '~> 2.0.4', require
|
67
|
+
gem 'license_finder', '~> 2.0.4', :require => false
|
69
68
|
end
|
70
69
|
|
71
70
|
if RUBY_VERSION >= '1.9.3'
|
72
71
|
# Upload documentation
|
73
|
-
gem 'relish', '~> 0.7.1', require
|
72
|
+
gem 'relish', '~> 0.7.1', :require => false
|
73
|
+
gem 'coveralls', '~> 0.8.10', :require => false
|
74
74
|
end
|
75
75
|
|
76
|
-
gem 'minitest', '~> 5.8.0', require
|
76
|
+
gem 'minitest', '~> 5.8.0', :require => false
|
77
77
|
end
|
78
78
|
|
79
79
|
platforms :rbx do
|
80
|
-
gem 'rubysl', '~> 2.0'
|
81
|
-
gem 'rubinius-developer_tools'
|
80
|
+
gem 'rubysl', '~> 2.0', :require => false
|
81
|
+
gem 'rubinius-developer_tools', :require => false
|
82
82
|
end
|
data/History.md
CHANGED
@@ -1,12 +1,12 @@
|
|
1
|
-
## [v0.2.2](https
|
1
|
+
## [v0.2.2](https://github.com/fedux-org/aruba/compare/v0.2.1...v0.2.2)
|
2
2
|
|
3
3
|
* Update links to point to the correct source repository
|
4
4
|
|
5
|
-
## [v0.2.1](https
|
5
|
+
## [v0.2.1](https://github.com/fedux-org/aruba/compare/v0.2.0...v0.2.1)
|
6
6
|
|
7
7
|
* Make `event-bus` compatible with ruby `< 1.9.3`
|
8
8
|
|
9
|
-
## [v0.2.0](https
|
9
|
+
## [v0.2.0](https://github.com/fedux-org/aruba/compare/v0.1.0...v0.2.0)
|
10
10
|
|
11
11
|
* Register a handler to multiple events at once
|
12
12
|
|
data/README.md
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
# Event Bus
|
2
2
|
|
3
|
-
[](https://travis-ci.org/fedux-org/event-bus)
|
4
|
+
[](https://codeclimate.com/github/fedux-org/event-bus)
|
5
|
+
[](https://coveralls.io/r/fedux-org/event-bus?branch=master)
|
6
6
|
[](http://badge.fury.io/rb/proxy_pac_rb)
|
7
7
|
[](http://rubygems.org/gems/proxy_pac_rb)
|
8
8
|
|
@@ -27,7 +27,7 @@ Or install it yourself as:
|
|
27
27
|
|
28
28
|
## Usage
|
29
29
|
|
30
|
-
Please have a look at [features/bus.feature](https
|
30
|
+
Please have a look at [features/bus.feature](https://github.com/fedux-org/event-bus/blob/master/features/bus.feature) for an
|
31
31
|
example application.
|
32
32
|
|
33
33
|
## Development
|
@@ -41,7 +41,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
41
41
|
## Contributing
|
42
42
|
|
43
43
|
Bug reports and pull requests are welcome on GitHub at
|
44
|
-
https
|
44
|
+
https://github.com/fedux-org/event-bus. This project is intended to be a
|
45
45
|
safe, welcoming space for collaboration, and contributors are expected to
|
46
46
|
adhere to the [Contributor Covenant](contributor-covenant.org) code of conduct.
|
47
47
|
|
data/Rakefile
CHANGED
@@ -7,9 +7,6 @@ namespace :gem do
|
|
7
7
|
require 'bundler/gem_tasks'
|
8
8
|
end
|
9
9
|
|
10
|
-
require 'coveralls/rake/task'
|
11
|
-
Coveralls::RakeTask.new
|
12
|
-
|
13
10
|
require 'cucumber/rake/task'
|
14
11
|
|
15
12
|
Cucumber::Rake::Task.new do |t|
|
@@ -55,6 +52,16 @@ else
|
|
55
52
|
RuboCop::RakeTask.new
|
56
53
|
end
|
57
54
|
|
55
|
+
if RUBY_VERSION < '1.9.3'
|
56
|
+
namespace :coveralls do
|
57
|
+
desc 'Stub task to make rake happy'
|
58
|
+
task(:push) {}
|
59
|
+
end
|
60
|
+
else
|
61
|
+
require 'coveralls/rake/task'
|
62
|
+
Coveralls::RakeTask.new
|
63
|
+
end
|
64
|
+
|
58
65
|
desc 'Run tests, both RSpec and Cucumber'
|
59
66
|
task :test => ['travis:lint', :rubocop, :spec, :cucumber, :cucumber_wip, 'coveralls:push']
|
60
67
|
|
data/event-bus.gemspec
CHANGED
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
|
|
11
11
|
|
12
12
|
spec.summary = 'Notify subscribers about event'
|
13
13
|
spec.description = 'This gem notifies subscribers about event'
|
14
|
-
spec.homepage = 'https://github.com/
|
14
|
+
spec.homepage = 'https://github.com/fedux-org/event-bus'
|
15
15
|
spec.license = 'MIT'
|
16
16
|
|
17
17
|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
data/lib/event/bus/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: event-bus
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dennis Günnewig
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-01-
|
11
|
+
date: 2016-01-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -61,7 +61,7 @@ files:
|
|
61
61
|
- script/console
|
62
62
|
- script/setup
|
63
63
|
- script/test
|
64
|
-
homepage: https://github.com/
|
64
|
+
homepage: https://github.com/fedux-org/event-bus
|
65
65
|
licenses:
|
66
66
|
- MIT
|
67
67
|
metadata: {}
|
@@ -81,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
81
81
|
version: '0'
|
82
82
|
requirements: []
|
83
83
|
rubyforge_project:
|
84
|
-
rubygems_version: 2.
|
84
|
+
rubygems_version: 2.5.1
|
85
85
|
signing_key:
|
86
86
|
specification_version: 4
|
87
87
|
summary: Notify subscribers about event
|