octiron 0.4.0 → 0.5.0
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/.gitignore +1 -1
- data/.rubocop.yml +32 -10
- data/.travis.yml +2 -0
- data/Gemfile.lock +35 -32
- data/lib/octiron.rb +1 -1
- data/lib/octiron/events/bus.rb +1 -1
- data/lib/octiron/support/camel_case.rb +1 -1
- data/lib/octiron/support/constantize.rb +1 -1
- data/lib/octiron/support/identifiers.rb +1 -1
- data/lib/octiron/transmogrifiers/registry.rb +1 -1
- data/lib/octiron/version.rb +2 -2
- data/lib/octiron/world.rb +1 -1
- data/octiron.gemspec +10 -10
- metadata +13 -13
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2c4c6d80915525b7e5a2c8dff8e8ef7f8603d747
|
|
4
|
+
data.tar.gz: a5fdf0e5ce3c2b8c3c40b43aa7047125f9bfc225
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e24a18ad4c12019d08d4d3472f904a22a2f60587c3be57e15554f8724cdd2be3943ef8bad09c4c96b1d916becb8c676767e96b1c96073ef3a9a93f9c0275a529
|
|
7
|
+
data.tar.gz: 5ab5a748e6bf0367208b065ac88a6ebe43c245b49739a4f852b47ced29bda7ff79f15dd8386dcb4003cb88623a77a03b500dbb50013c2a5897cc0af32d37f123
|
data/.gitignore
CHANGED
|
@@ -29,7 +29,7 @@ build/
|
|
|
29
29
|
# for a library or gem, you might want to ignore these files since the code is
|
|
30
30
|
# intended to run in multiple environments; otherwise, check them in:
|
|
31
31
|
# Gemfile.lock
|
|
32
|
-
|
|
32
|
+
.ruby-version
|
|
33
33
|
# .ruby-gemset
|
|
34
34
|
|
|
35
35
|
# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
|
data/.rubocop.yml
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
AllCops:
|
|
2
|
-
TargetRubyVersion: 2.
|
|
2
|
+
TargetRubyVersion: 2.3
|
|
3
3
|
|
|
4
4
|
# Metrics
|
|
5
5
|
|
|
6
6
|
Metrics/LineLength:
|
|
7
|
-
Max:
|
|
7
|
+
Max: 84
|
|
8
8
|
Details: >-
|
|
9
9
|
Line length of 80 is ideal for readability and compatibility; we'll accept
|
|
10
|
-
an extra
|
|
10
|
+
an extra 4 for minor edge cases (e.g. copyright notice).
|
|
11
11
|
|
|
12
12
|
Metrics/MethodLength:
|
|
13
13
|
Max: 35
|
|
@@ -30,6 +30,9 @@ Metrics/ClassLength:
|
|
|
30
30
|
Metrics/ModuleLength:
|
|
31
31
|
Max: 300
|
|
32
32
|
|
|
33
|
+
Metrics/BlockLength:
|
|
34
|
+
Max: 300
|
|
35
|
+
|
|
33
36
|
# Style
|
|
34
37
|
|
|
35
38
|
Style/StringLiterals:
|
|
@@ -38,9 +41,6 @@ Style/StringLiterals:
|
|
|
38
41
|
Style/ConditionalAssignment:
|
|
39
42
|
Enabled: false
|
|
40
43
|
|
|
41
|
-
Style/EmptyLinesAroundModuleBody:
|
|
42
|
-
Enabled: false
|
|
43
|
-
|
|
44
44
|
Style/AndOr:
|
|
45
45
|
Enabled: false
|
|
46
46
|
|
|
@@ -59,9 +59,6 @@ Style/IfUnlessModifier:
|
|
|
59
59
|
Style/TrailingCommaInLiteral:
|
|
60
60
|
Enabled: false
|
|
61
61
|
|
|
62
|
-
Style/FirstParameterIndentation:
|
|
63
|
-
Enabled: false
|
|
64
|
-
|
|
65
62
|
Style/TrailingUnderscoreVariable:
|
|
66
63
|
Enabled: false
|
|
67
64
|
|
|
@@ -71,8 +68,33 @@ Style/NumericLiterals:
|
|
|
71
68
|
Style/FileName:
|
|
72
69
|
Enabled: false
|
|
73
70
|
|
|
74
|
-
Style/
|
|
71
|
+
Style/FrozenStringLiteralComment:
|
|
72
|
+
Enabled: false
|
|
73
|
+
|
|
74
|
+
Style/PreferredHashMethods:
|
|
75
|
+
Enabled: false
|
|
76
|
+
|
|
77
|
+
Style/NumericPredicate:
|
|
78
|
+
Enabled: false # Not compatible with <= 2.2
|
|
79
|
+
|
|
80
|
+
Style/YodaCondition:
|
|
75
81
|
Enabled: false
|
|
76
82
|
|
|
77
83
|
Style/ClassAndModuleChildren:
|
|
78
84
|
Enabled: false
|
|
85
|
+
|
|
86
|
+
# Layout
|
|
87
|
+
|
|
88
|
+
Layout/EmptyLineAfterMagicComment:
|
|
89
|
+
Enabled: false
|
|
90
|
+
|
|
91
|
+
Layout/SpaceAfterNot:
|
|
92
|
+
Enabled: false
|
|
93
|
+
|
|
94
|
+
Layout/FirstParameterIndentation:
|
|
95
|
+
Enabled: false
|
|
96
|
+
|
|
97
|
+
Layout/EmptyLinesAroundModuleBody:
|
|
98
|
+
Enabled: false
|
|
99
|
+
|
|
100
|
+
|
data/.travis.yml
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,70 +1,73 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
octiron (0.
|
|
5
|
-
collapsium (~> 0.
|
|
4
|
+
octiron (0.5.0)
|
|
5
|
+
collapsium (~> 0.9)
|
|
6
6
|
rgl (~> 0.5)
|
|
7
7
|
|
|
8
8
|
GEM
|
|
9
9
|
remote: https://rubygems.org/
|
|
10
10
|
specs:
|
|
11
11
|
ast (2.3.0)
|
|
12
|
-
codeclimate-test-reporter (1.0.
|
|
13
|
-
simplecov
|
|
14
|
-
collapsium (0.
|
|
15
|
-
diff-lcs (1.
|
|
12
|
+
codeclimate-test-reporter (1.0.8)
|
|
13
|
+
simplecov (<= 0.13)
|
|
14
|
+
collapsium (0.9.1)
|
|
15
|
+
diff-lcs (1.3)
|
|
16
16
|
docile (1.1.5)
|
|
17
|
-
json (2.0
|
|
17
|
+
json (2.1.0)
|
|
18
18
|
lazy_priority_queue (0.1.1)
|
|
19
|
-
|
|
19
|
+
parallel (1.12.0)
|
|
20
|
+
parser (2.4.0.0)
|
|
20
21
|
ast (~> 2.2)
|
|
21
22
|
powerpack (0.1.1)
|
|
22
|
-
rainbow (2.
|
|
23
|
+
rainbow (2.2.2)
|
|
24
|
+
rake
|
|
23
25
|
rake (11.3.0)
|
|
24
|
-
rgl (0.5.
|
|
26
|
+
rgl (0.5.3)
|
|
25
27
|
lazy_priority_queue (~> 0.1.0)
|
|
26
28
|
stream (~> 0.5.0)
|
|
27
|
-
rspec (3.
|
|
28
|
-
rspec-core (~> 3.
|
|
29
|
-
rspec-expectations (~> 3.
|
|
30
|
-
rspec-mocks (~> 3.
|
|
31
|
-
rspec-core (3.
|
|
32
|
-
rspec-support (~> 3.
|
|
33
|
-
rspec-expectations (3.
|
|
29
|
+
rspec (3.6.0)
|
|
30
|
+
rspec-core (~> 3.6.0)
|
|
31
|
+
rspec-expectations (~> 3.6.0)
|
|
32
|
+
rspec-mocks (~> 3.6.0)
|
|
33
|
+
rspec-core (3.6.0)
|
|
34
|
+
rspec-support (~> 3.6.0)
|
|
35
|
+
rspec-expectations (3.6.0)
|
|
34
36
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
35
|
-
rspec-support (~> 3.
|
|
36
|
-
rspec-mocks (3.
|
|
37
|
+
rspec-support (~> 3.6.0)
|
|
38
|
+
rspec-mocks (3.6.0)
|
|
37
39
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
38
|
-
rspec-support (~> 3.
|
|
39
|
-
rspec-support (3.
|
|
40
|
-
rubocop (0.
|
|
41
|
-
|
|
40
|
+
rspec-support (~> 3.6.0)
|
|
41
|
+
rspec-support (3.6.0)
|
|
42
|
+
rubocop (0.49.1)
|
|
43
|
+
parallel (~> 1.10)
|
|
44
|
+
parser (>= 2.3.3.1, < 3.0)
|
|
42
45
|
powerpack (~> 0.1)
|
|
43
46
|
rainbow (>= 1.99.1, < 3.0)
|
|
44
47
|
ruby-progressbar (~> 1.7)
|
|
45
48
|
unicode-display_width (~> 1.0, >= 1.0.1)
|
|
46
49
|
ruby-progressbar (1.8.1)
|
|
47
|
-
simplecov (0.
|
|
50
|
+
simplecov (0.13.0)
|
|
48
51
|
docile (~> 1.1.0)
|
|
49
52
|
json (>= 1.8, < 3)
|
|
50
53
|
simplecov-html (~> 0.10.0)
|
|
51
|
-
simplecov-html (0.10.
|
|
54
|
+
simplecov-html (0.10.2)
|
|
52
55
|
stream (0.5)
|
|
53
|
-
unicode-display_width (1.
|
|
54
|
-
yard (0.9.
|
|
56
|
+
unicode-display_width (1.3.0)
|
|
57
|
+
yard (0.9.9)
|
|
55
58
|
|
|
56
59
|
PLATFORMS
|
|
57
60
|
ruby
|
|
58
61
|
|
|
59
62
|
DEPENDENCIES
|
|
60
|
-
bundler (~> 1.
|
|
63
|
+
bundler (~> 1.15)
|
|
61
64
|
codeclimate-test-reporter
|
|
62
65
|
octiron!
|
|
63
66
|
rake (~> 11.3)
|
|
64
|
-
rspec (~> 3.
|
|
65
|
-
rubocop (~> 0.
|
|
66
|
-
simplecov (~> 0.
|
|
67
|
+
rspec (~> 3.6)
|
|
68
|
+
rubocop (~> 0.49)
|
|
69
|
+
simplecov (~> 0.13)
|
|
67
70
|
yard (~> 0.9)
|
|
68
71
|
|
|
69
72
|
BUNDLED WITH
|
|
70
|
-
1.
|
|
73
|
+
1.15.4
|
data/lib/octiron.rb
CHANGED
data/lib/octiron/events/bus.rb
CHANGED
data/lib/octiron/version.rb
CHANGED
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
# octiron
|
|
4
4
|
# https://github.com/jfinkhaeuser/octiron
|
|
5
5
|
#
|
|
6
|
-
# Copyright (c) 2016 Jens Finkhaeuser and other octiron contributors.
|
|
6
|
+
# Copyright (c) 2016-2017 Jens Finkhaeuser and other octiron contributors.
|
|
7
7
|
# All rights reserved.
|
|
8
8
|
#
|
|
9
9
|
module Octiron
|
|
10
10
|
# The current release version
|
|
11
|
-
VERSION = "0.
|
|
11
|
+
VERSION = "0.5.0".freeze
|
|
12
12
|
end
|
data/lib/octiron/world.rb
CHANGED
data/octiron.gemspec
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
# octiron
|
|
4
4
|
# https://github.com/jfinkhaeuser/octiron
|
|
5
5
|
#
|
|
6
|
-
# Copyright (c) 2016 Jens Finkhaeuser and other octiron contributors.
|
|
6
|
+
# Copyright (c) 2016-2017 Jens Finkhaeuser and other octiron contributors.
|
|
7
7
|
# All rights reserved.
|
|
8
8
|
#
|
|
9
9
|
|
|
@@ -11,8 +11,8 @@ lib = File.expand_path('../lib', __FILE__)
|
|
|
11
11
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
12
12
|
require 'octiron/version'
|
|
13
13
|
|
|
14
|
-
# rubocop:disable Style/UnneededPercentQ,
|
|
15
|
-
# rubocop:disable
|
|
14
|
+
# rubocop:disable Style/UnneededPercentQ, Layout/ExtraSpacing
|
|
15
|
+
# rubocop:disable Layout/SpaceAroundOperators
|
|
16
16
|
Gem::Specification.new do |spec|
|
|
17
17
|
spec.name = "octiron"
|
|
18
18
|
spec.version = Octiron::VERSION
|
|
@@ -36,15 +36,15 @@ Gem::Specification.new do |spec|
|
|
|
36
36
|
|
|
37
37
|
spec.required_ruby_version = '>= 2.0'
|
|
38
38
|
|
|
39
|
-
spec.add_development_dependency "bundler", "~> 1.
|
|
40
|
-
spec.add_development_dependency "rubocop", "~> 0.
|
|
39
|
+
spec.add_development_dependency "bundler", "~> 1.15"
|
|
40
|
+
spec.add_development_dependency "rubocop", "~> 0.49"
|
|
41
41
|
spec.add_development_dependency "rake", "~> 11.3"
|
|
42
|
-
spec.add_development_dependency "rspec", "~> 3.
|
|
43
|
-
spec.add_development_dependency "simplecov", "~> 0.
|
|
42
|
+
spec.add_development_dependency "rspec", "~> 3.6"
|
|
43
|
+
spec.add_development_dependency "simplecov", "~> 0.13"
|
|
44
44
|
spec.add_development_dependency "yard", "~> 0.9"
|
|
45
45
|
|
|
46
|
-
spec.add_dependency "collapsium", "~> 0.
|
|
46
|
+
spec.add_dependency "collapsium", "~> 0.9"
|
|
47
47
|
spec.add_dependency "rgl", "~> 0.5"
|
|
48
48
|
end
|
|
49
|
-
# rubocop:enable
|
|
50
|
-
# rubocop:enable Style/UnneededPercentQ,
|
|
49
|
+
# rubocop:enable Layout/SpaceAroundOperators
|
|
50
|
+
# rubocop:enable Style/UnneededPercentQ, Layout/ExtraSpacing
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: octiron
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.5.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jens Finkhaeuser
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2017-08-31 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -16,28 +16,28 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - "~>"
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: '1.
|
|
19
|
+
version: '1.15'
|
|
20
20
|
type: :development
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
24
|
- - "~>"
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
|
-
version: '1.
|
|
26
|
+
version: '1.15'
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: rubocop
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
30
30
|
requirements:
|
|
31
31
|
- - "~>"
|
|
32
32
|
- !ruby/object:Gem::Version
|
|
33
|
-
version: '0.
|
|
33
|
+
version: '0.49'
|
|
34
34
|
type: :development
|
|
35
35
|
prerelease: false
|
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
37
|
requirements:
|
|
38
38
|
- - "~>"
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
|
-
version: '0.
|
|
40
|
+
version: '0.49'
|
|
41
41
|
- !ruby/object:Gem::Dependency
|
|
42
42
|
name: rake
|
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -58,28 +58,28 @@ dependencies:
|
|
|
58
58
|
requirements:
|
|
59
59
|
- - "~>"
|
|
60
60
|
- !ruby/object:Gem::Version
|
|
61
|
-
version: '3.
|
|
61
|
+
version: '3.6'
|
|
62
62
|
type: :development
|
|
63
63
|
prerelease: false
|
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
|
65
65
|
requirements:
|
|
66
66
|
- - "~>"
|
|
67
67
|
- !ruby/object:Gem::Version
|
|
68
|
-
version: '3.
|
|
68
|
+
version: '3.6'
|
|
69
69
|
- !ruby/object:Gem::Dependency
|
|
70
70
|
name: simplecov
|
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
|
72
72
|
requirements:
|
|
73
73
|
- - "~>"
|
|
74
74
|
- !ruby/object:Gem::Version
|
|
75
|
-
version: '0.
|
|
75
|
+
version: '0.13'
|
|
76
76
|
type: :development
|
|
77
77
|
prerelease: false
|
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
|
79
79
|
requirements:
|
|
80
80
|
- - "~>"
|
|
81
81
|
- !ruby/object:Gem::Version
|
|
82
|
-
version: '0.
|
|
82
|
+
version: '0.13'
|
|
83
83
|
- !ruby/object:Gem::Dependency
|
|
84
84
|
name: yard
|
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -100,14 +100,14 @@ dependencies:
|
|
|
100
100
|
requirements:
|
|
101
101
|
- - "~>"
|
|
102
102
|
- !ruby/object:Gem::Version
|
|
103
|
-
version: '0.
|
|
103
|
+
version: '0.9'
|
|
104
104
|
type: :runtime
|
|
105
105
|
prerelease: false
|
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
|
107
107
|
requirements:
|
|
108
108
|
- - "~>"
|
|
109
109
|
- !ruby/object:Gem::Version
|
|
110
|
-
version: '0.
|
|
110
|
+
version: '0.9'
|
|
111
111
|
- !ruby/object:Gem::Dependency
|
|
112
112
|
name: rgl
|
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -177,7 +177,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
177
177
|
version: '0'
|
|
178
178
|
requirements: []
|
|
179
179
|
rubyforge_project:
|
|
180
|
-
rubygems_version: 2.
|
|
180
|
+
rubygems_version: 2.6.11
|
|
181
181
|
signing_key:
|
|
182
182
|
specification_version: 4
|
|
183
183
|
summary: Octiron is an event bus with the ability to magically transform events.
|