rails_event_store 2.2.0 → 2.3.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
  SHA256:
3
- metadata.gz: 586675e2b2821f83f1366522b755fe53d2d117c2f11b018e0b2f51ca2293801c
4
- data.tar.gz: dc24606c67dcca51a3b34f64e04daaaea80c849c3df82f078dcc3811bf766b10
3
+ metadata.gz: b956e083f03d6da44d1f82cdd1662a093b3f9526c846f38832a85f38daa698c7
4
+ data.tar.gz: 3a5202592d84ae5a63315b0badc598000c785bdf97f438425f699671da28f340
5
5
  SHA512:
6
- metadata.gz: a53fe7ba30c8b43bc2ff1f8e7d391a99e5992464d12d9396f632861e4a78e3eda9dbeb03fae1908d648dc07258a621225cce896ed2ad5c057aa34250646a4bcd
7
- data.tar.gz: 2ca555bfc94f13a69ce5214eba73ddc447072b56c70485b8c64efbcca264aa88efa735784287584d5354977b60d4b95d0f724c1738655e42abd264680e35cf8c
6
+ metadata.gz: 39852a4cf687b8965d51fa364e46fff94d4d689f3b0c75ae8abdd84109b38728eb4f4c0fcca076cbadcd54c6f7c41f88a17383311654bee7918a586e3dc17a1b
7
+ data.tar.gz: 83e445adc6aa7937b2f535010908bb265fa5ca2d75100b2539e1247a0453e6924fd83065c6c56a960ebd42937e44c13e96742e474d409ea968ec022251050c6f
@@ -1,11 +1,11 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'rails/generators'
3
+ require "rails/generators"
4
4
 
5
5
  module RailsEventStore
6
6
  module Generators
7
7
  class BoundedContextGenerator < Rails::Generators::NamedBase
8
- source_root File.expand_path(File.join(File.dirname(__FILE__), '../templates'))
8
+ source_root File.expand_path(File.join(File.dirname(__FILE__), "../templates"))
9
9
  hook_for :test_framework
10
10
 
11
11
  def create_bounded_context
@@ -1,11 +1,11 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'rails/generators'
3
+ require "rails/generators"
4
4
 
5
5
  module RailsEventStore
6
6
  module Generators
7
7
  class RspecGenerator < Rails::Generators::NamedBase
8
- source_root File.expand_path(File.join(File.dirname(__FILE__), '../templates'))
8
+ source_root File.expand_path(File.join(File.dirname(__FILE__), "../templates"))
9
9
 
10
10
  def spec_helper
11
11
  template "spec_helper.rb", "#{bounded_context_name}/spec/spec_helper.rb"
@@ -1,11 +1,11 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'rails/generators'
3
+ require "rails/generators"
4
4
 
5
5
  module RailsEventStore
6
6
  module Generators
7
7
  class TestUnitGenerator < Rails::Generators::NamedBase
8
- source_root File.expand_path(File.join(File.dirname(__FILE__), '../templates'))
8
+ source_root File.expand_path(File.join(File.dirname(__FILE__), "../templates"))
9
9
 
10
10
  def test_helper
11
11
  template "test_helper.rb", "#{bounded_context_name}/test/test_helper.rb"
@@ -1,6 +1,6 @@
1
- require 'rails_helper'
1
+ require "rails_helper"
2
2
 
3
- path = Rails.root.join('<%= bounded_context_name %>/spec')
3
+ path = Rails.root.join("<%= bounded_context_name %>/spec")
4
4
  Dir.glob("#{path}/**/*_spec.rb") do |file|
5
5
  require file
6
6
  end
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'active_job'
3
+ require "active_job"
4
4
 
5
5
  module RailsEventStore
6
6
  class ActiveJobScheduler
@@ -1,14 +1,14 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'ruby_event_store'
4
- require_relative 'async_handler_helpers'
5
- require_relative 'link_by_metadata'
6
- require_relative 'after_commit_async_dispatcher'
7
- require_relative 'active_job_scheduler'
8
- require_relative 'client'
9
- require_relative 'version'
10
- require_relative 'railtie'
11
- require_relative 'browser'
3
+ require "ruby_event_store"
4
+ require_relative "async_handler_helpers"
5
+ require_relative "link_by_metadata"
6
+ require_relative "after_commit_async_dispatcher"
7
+ require_relative "active_job_scheduler"
8
+ require_relative "client"
9
+ require_relative "version"
10
+ require_relative "railtie"
11
+ require_relative "browser"
12
12
 
13
13
  module RailsEventStore
14
14
  Event = RubyEventStore::Event
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'ruby_event_store/browser/app'
3
+ require "ruby_event_store/browser/app"
4
4
 
5
5
  module RailsEventStore
6
6
  Browser = RubyEventStore::Browser::App.for(event_store_locator: -> { Rails.configuration.event_store })
@@ -1,11 +1,11 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'rails/railtie'
4
- require_relative 'middleware'
3
+ require "rails/railtie"
4
+ require_relative "middleware"
5
5
 
6
6
  module RailsEventStore
7
7
  class Railtie < ::Rails::Railtie
8
- initializer 'rails_event_store.middleware' do |rails|
8
+ initializer "rails_event_store.middleware" do |rails|
9
9
  rails.middleware.use(::RailsEventStore::Middleware)
10
10
  end
11
11
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RailsEventStore
4
- VERSION = "2.2.0"
4
+ VERSION = "2.3.0"
5
5
  end
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'rails_event_store_active_record'
4
- require_relative 'rails_event_store/all'
3
+ require "rails_event_store_active_record"
4
+ require_relative "rails_event_store/all"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_event_store
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0
4
+ version: 2.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arkency
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-04-09 00:00:00.000000000 Z
11
+ date: 2021-09-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ruby_event_store
@@ -16,56 +16,56 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 2.2.0
19
+ version: 2.3.0
20
20
  type: :runtime
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: 2.2.0
26
+ version: 2.3.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: ruby_event_store-browser
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 2.2.0
33
+ version: 2.3.0
34
34
  type: :runtime
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: 2.2.0
40
+ version: 2.3.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rails_event_store_active_record
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: 2.2.0
47
+ version: 2.3.0
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - '='
53
53
  - !ruby/object:Gem::Version
54
- version: 2.2.0
54
+ version: 2.3.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: aggregate_root
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - '='
60
60
  - !ruby/object:Gem::Version
61
- version: 2.2.0
61
+ version: 2.3.0
62
62
  type: :runtime
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: 2.2.0
68
+ version: 2.3.0
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: activesupport
71
71
  requirement: !ruby/object:Gem::Requirement