ruby_event_store-rspec 2.0.0 → 2.3.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/README.md +3 -203
- data/lib/ruby_event_store/rspec/apply.rb +32 -46
- data/lib/ruby_event_store/rspec/be_event.rb +15 -13
- data/lib/ruby_event_store/rspec/crude_failure_message_formatter.rb +130 -0
- data/lib/ruby_event_store/rspec/expected_collection.rb +43 -0
- data/lib/ruby_event_store/rspec/fetch_events.rb +33 -0
- data/lib/ruby_event_store/rspec/fetch_unpublished_events.rb +19 -0
- data/lib/ruby_event_store/rspec/have_applied.rb +15 -22
- data/lib/ruby_event_store/rspec/have_published.rb +28 -24
- data/lib/ruby_event_store/rspec/have_subscribed_to_events.rb +2 -2
- data/lib/ruby_event_store/rspec/match_events.rb +32 -0
- data/lib/ruby_event_store/rspec/matchers.rb +5 -5
- data/lib/ruby_event_store/rspec/publish.rb +47 -48
- data/lib/ruby_event_store/rspec/step_by_step_failure_message_formatter.rb +218 -0
- data/lib/ruby_event_store/rspec/version.rb +1 -1
- data/lib/ruby_event_store/rspec.rb +27 -9
- metadata +14 -15
- data/.mutant.yml +0 -1
- data/Gemfile +0 -10
- data/Gemfile.lock +0 -113
- data/Makefile +0 -21
- data/lib/rails_event_store/rspec.rb +0 -13
- data/rails_event_store-rspec.gemspec +0 -36
- data/ruby_event_store-rspec.gemspec +0 -26
data/Makefile
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
GEM_VERSION = $(shell cat ../RES_VERSION)
|
|
2
|
-
GEM_NAME = ruby_event_store-rspec
|
|
3
|
-
REQUIRE = ruby_event_store/rspec
|
|
4
|
-
IGNORE = RubyEventStore::RSpec::Matchers\#differ \
|
|
5
|
-
RubyEventStore::RSpec::Matchers\#formatter \
|
|
6
|
-
RubyEventStore::RSpec::Matchers\#have_published \
|
|
7
|
-
RubyEventStore::RSpec::Matchers\#have_applied \
|
|
8
|
-
RubyEventStore::RSpec::Matchers\#have_subscribed_to_events \
|
|
9
|
-
RubyEventStore::RSpec::Matchers\#publish \
|
|
10
|
-
RubyEventStore::RSpec::Matchers\#be_an_event \
|
|
11
|
-
RubyEventStore::RSpec::Publish\#last_event \
|
|
12
|
-
RubyEventStore::RSpec::Matchers::ListPhraser.all_but_last
|
|
13
|
-
|
|
14
|
-
SUBJECT ?= RubyEventStore::RSpec*
|
|
15
|
-
DATABASE_URL ?= sqlite3::memory:
|
|
16
|
-
|
|
17
|
-
include ../support/make/install.mk
|
|
18
|
-
include ../support/make/test.mk
|
|
19
|
-
include ../support/make/mutant.mk
|
|
20
|
-
include ../support/make/gem.mk
|
|
21
|
-
include ../support/make/help.mk
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
require 'ruby_event_store/rspec'
|
|
2
|
-
|
|
3
|
-
warn <<~EOW
|
|
4
|
-
The 'rails_event_store-rspec' gem has been renamed.
|
|
5
|
-
|
|
6
|
-
Please change your Gemfile or gemspec
|
|
7
|
-
to reflect its new name:
|
|
8
|
-
|
|
9
|
-
'ruby_event_store-rspec'
|
|
10
|
-
|
|
11
|
-
EOW
|
|
12
|
-
|
|
13
|
-
RailsEventStore::RSpec = RubyEventStore::RSpec
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
# coding: utf-8
|
|
2
|
-
lib = File.expand_path('../lib', __FILE__)
|
|
3
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
|
-
|
|
5
|
-
Gem::Specification.new do |spec|
|
|
6
|
-
spec.name = 'rails_event_store-rspec'
|
|
7
|
-
spec.version = '2.0.0'
|
|
8
|
-
spec.licenses = ['MIT']
|
|
9
|
-
spec.authors = ['Arkency']
|
|
10
|
-
spec.email = ['dev@arkency.com']
|
|
11
|
-
|
|
12
|
-
spec.summary = %q{RSpec matchers for RailsEventStore}
|
|
13
|
-
spec.homepage = 'https://railseventstore.org'
|
|
14
|
-
spec.metadata = {
|
|
15
|
-
"homepage_uri" => "https://railseventstore.org/",
|
|
16
|
-
"changelog_uri" => "https://github.com/RailsEventStore/rails_event_store/releases",
|
|
17
|
-
"source_code_uri" => "https://github.com/RailsEventStore/rails_event_store",
|
|
18
|
-
"bug_tracker_uri" => "https://github.com/RailsEventStore/rails_event_store/issues",
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
spec.files = ['lib/rails_event_store/rspec.rb']
|
|
22
|
-
spec.require_paths = ['lib']
|
|
23
|
-
|
|
24
|
-
spec.add_runtime_dependency 'rspec', '~> 3.0'
|
|
25
|
-
spec.add_runtime_dependency 'ruby_event_store-rspec', '= 2.0.0'
|
|
26
|
-
|
|
27
|
-
spec.post_install_message = <<~EOW
|
|
28
|
-
The 'rails_event_store-rspec' gem has been renamed.
|
|
29
|
-
|
|
30
|
-
Please change your Gemfile or gemspec
|
|
31
|
-
to reflect its new name:
|
|
32
|
-
|
|
33
|
-
'ruby_event_store-rspec'
|
|
34
|
-
|
|
35
|
-
EOW
|
|
36
|
-
end
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
# coding: utf-8
|
|
2
|
-
lib = File.expand_path('../lib', __FILE__)
|
|
3
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
|
-
require 'ruby_event_store/rspec/version'
|
|
5
|
-
|
|
6
|
-
Gem::Specification.new do |spec|
|
|
7
|
-
spec.name = 'ruby_event_store-rspec'
|
|
8
|
-
spec.version = RubyEventStore::RSpec::VERSION
|
|
9
|
-
spec.licenses = ['MIT']
|
|
10
|
-
spec.authors = ['Arkency']
|
|
11
|
-
spec.email = ['dev@arkency.com']
|
|
12
|
-
|
|
13
|
-
spec.summary = %q{RSpec matchers for RailsEventStore}
|
|
14
|
-
spec.homepage = 'https://railseventstore.org'
|
|
15
|
-
spec.metadata = {
|
|
16
|
-
"homepage_uri" => "https://railseventstore.org/",
|
|
17
|
-
"changelog_uri" => "https://github.com/RailsEventStore/rails_event_store/releases",
|
|
18
|
-
"source_code_uri" => "https://github.com/RailsEventStore/rails_event_store",
|
|
19
|
-
"bug_tracker_uri" => "https://github.com/RailsEventStore/rails_event_store/issues",
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
|
23
|
-
spec.require_paths = ['lib']
|
|
24
|
-
|
|
25
|
-
spec.add_runtime_dependency 'rspec', '~> 3.0'
|
|
26
|
-
end
|