rails_event_store_active_record 0.38.1 → 0.39.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: c34ee9ab78f434bebe7d5454baf95f720ec0b7bd32ece2a8845574e54fdae6f4
4
- data.tar.gz: 855a1626a87e49bb334cff7a63d56454f0b4d6b6b0a92542e1d3fc2281da45b6
3
+ metadata.gz: b2810aabf298087fd63e27cd8d6847e42407ea18c1fae4a63cdd1d9a25c6b7b3
4
+ data.tar.gz: 289ae131aa91e2c90d5f18f6a38fa870ccea50ac27c055385d6e0feb09b44051
5
5
  SHA512:
6
- metadata.gz: 01dae417f383b9827fba6b99a9c09fcc5f8a4fe20b2dac117238ef4a3b7e5547346f7168b1949e320f6dfee99381c72a9f868f083a468d4f6f0bbcb517ef5037
7
- data.tar.gz: 7db9898d37dd0d7b3f23b8ac1e8561815e1bdc8aa04c2d84ffd0ab45c3858df53fa5dde1223908b9d8a6d51fe73ab41749bd21470136b35f49093b5f6bebe7ec
6
+ metadata.gz: b4c5b50d24eb18445e7c330b7a9bd2c15320f2ce35feb96efcc27e24752d5e48d0f689c267fdcbddca08539e3e469b2a8e069caa6dfd7d0035d71788c7079195
7
+ data.tar.gz: 852091c0dabc95ea098f4fc7d70bae57f2523c5a1cea4ecae414ebde632ef252353f685668278d17919398d2d559ac2244f5dc50f1b81be515f86a0a6838b68c
data/Gemfile CHANGED
@@ -1,7 +1,8 @@
1
1
  source 'https://rubygems.org'
2
+ git_source(:github) { |repo| "https://github.com/#{repo}.git" }
2
3
  gemspec
3
4
 
4
- eval_gemfile File.expand_path('../lib/Gemfile.shared', __dir__)
5
+ eval_gemfile File.expand_path('../support/bundler/Gemfile.shared', __dir__)
5
6
 
6
7
  gem 'ruby_event_store', path: '../ruby_event_store'
7
8
  gem 'sqlite3', '1.3.13'
data/Makefile CHANGED
@@ -7,22 +7,22 @@ IGNORE = RailsEventStoreActiveRecord::IndexViolationDetector\#detect \
7
7
  SUBJECT ?= RailsEventStoreActiveRecord*
8
8
  DATABASE_URL ?= sqlite3::memory:
9
9
 
10
- include ../lib/install.mk
11
- include ../lib/test.mk
12
- include ../lib/mutant.mk
13
- include ../lib/gem.mk
14
- include ../lib/help.mk
10
+ include ../support/make/install.mk
11
+ include ../support/make/test.mk
12
+ include ../support/make/mutant.mk
13
+ include ../support/make/gem.mk
14
+ include ../support/make/help.mk
15
15
 
16
16
  install: install-gemfiles
17
17
 
18
18
  remove-lock: remove-lockfiles
19
19
 
20
20
  install-gemfiles:
21
- @BUNDLE_GEMFILE=../lib/Gemfile.0_33_0 bundle check || BUNDLE_GEMFILE=../lib/Gemfile.0_33_0 bundle install
22
- @BUNDLE_GEMFILE=../lib/Gemfile.0_34_0 bundle check || BUNDLE_GEMFILE=../lib/Gemfile.0_34_0 bundle install
23
- @BUNDLE_GEMFILE=../lib/Gemfile.0_35_0 bundle check || BUNDLE_GEMFILE=../lib/Gemfile.0_35_0 bundle install
21
+ @BUNDLE_GEMFILE=../support/bundler/Gemfile.0_33_0 bundle check || BUNDLE_GEMFILE=../support/bundler/Gemfile.0_33_0 bundle install
22
+ @BUNDLE_GEMFILE=../support/bundler/Gemfile.0_34_0 bundle check || BUNDLE_GEMFILE=../support/bundler/Gemfile.0_34_0 bundle install
23
+ @BUNDLE_GEMFILE=../support/bundler/Gemfile.0_35_0 bundle check || BUNDLE_GEMFILE=../support/bundler/Gemfile.0_35_0 bundle install
24
24
 
25
25
  remove-lockfiles:
26
- -rm ../lib/Gemfile.0_33_0.lock
27
- -rm ../lib/Gemfile.0_34_0.lock
28
- -rm ../lib/Gemfile.0_35_0.lock
26
+ -rm ../support/bundler/Gemfile.0_33_0.lock
27
+ -rm ../support/bundler/Gemfile.0_34_0.lock
28
+ -rm ../support/bundler/Gemfile.0_35_0.lock
@@ -43,7 +43,7 @@ module RailsEventStoreActiveRecord
43
43
  stream = stream.joins(:event).where(event_store_events: {event_type: spec.with_types}) if spec.with_types?
44
44
  stream = stream.order(position: order(spec)) unless spec.stream.global?
45
45
  stream = stream.limit(spec.limit) if spec.limit?
46
- stream = stream.where(start_condition(spec)) unless spec.head?
46
+ stream = stream.where(start_condition(spec)) if spec.start
47
47
  stream = stream.where(stop_condition(spec)) if spec.stop
48
48
  stream = stream.order(id: order(spec))
49
49
  stream
@@ -1,3 +1,3 @@
1
1
  module RailsEventStoreActiveRecord
2
- VERSION = "0.38.1"
2
+ VERSION = "0.39.0"
3
3
  end
@@ -25,8 +25,8 @@ Gem::Specification.new do |spec|
25
25
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
26
26
  spec.require_paths = ['lib']
27
27
 
28
- spec.add_dependency 'ruby_event_store', '= 0.38.1'
28
+ spec.add_dependency 'ruby_event_store', '= 0.39.0'
29
29
  spec.add_dependency 'activesupport', '>= 3.0'
30
30
  spec.add_dependency 'activemodel', '>= 3.0'
31
- spec.add_dependency 'activerecord-import', '~> 0.21'
31
+ spec.add_dependency 'activerecord-import', '~> 0.26'
32
32
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_event_store_active_record
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.38.1
4
+ version: 0.39.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arkency
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-03-12 00:00:00.000000000 Z
11
+ date: 2019-04-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ruby_event_store
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 0.38.1
19
+ version: 0.39.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: 0.38.1
26
+ version: 0.39.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: activesupport
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '0.21'
61
+ version: '0.26'
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: '0.21'
68
+ version: '0.26'
69
69
  description: Implementation of events repository based on Rails Active Record for
70
70
  Rails Event Store
71
71
  email:
@@ -120,7 +120,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
120
120
  - !ruby/object:Gem::Version
121
121
  version: '0'
122
122
  requirements: []
123
- rubygems_version: 3.0.2
123
+ rubygems_version: 3.0.3
124
124
  signing_key:
125
125
  specification_version: 4
126
126
  summary: Active Record events repository for Rails Event Store