ruby_event_store 0.1.0 → 0.2.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
  SHA1:
3
- metadata.gz: b20c0b1993fd1f71772a7963b630a711184bdfe2
4
- data.tar.gz: 76fbda0433d8411362b2bb7a9352bb2771662928
3
+ metadata.gz: 9f95db0e815029c6c7fcd916acab4cafeed7b438
4
+ data.tar.gz: 009860a36cfcb176063d12f04b8dab1d5c23c1ab
5
5
  SHA512:
6
- metadata.gz: 32aa8a98da6beb67d3c8e7814eb27d7460672db707ee71a5e85392e63a237ac149da7785692211b01ce66a84a78d3f562193c0bba7b842092ee4f9b65deed6f6
7
- data.tar.gz: d29d1fc35b3fd86c1951aae3639bf946c59353d5646e2fe98945077aa101662cf171e0f2d665d24230ee758a04d9e05fd7f2a73d73c169b8ce62395c229cfce9
6
+ metadata.gz: c9f1553586e1c380c8e11c3683bcd47e79c760b80ea962f295f689932164d75c32d75e1325e385aeacec32ef742063cbb1f8b820ff7eb4c8687565a1d7418ab5
7
+ data.tar.gz: d25334086e1afbdfe4c91576b083ec65a57b5b59b35915c3c126bb497559dfd965561cd9f327f6f472e68ebafc90c05ab6c35661de628e1bbe76016cbf0f9dad
data/.travis.yml CHANGED
@@ -7,3 +7,5 @@ script: bundle exec mutant --include lib --require ruby_event_store --use rspec
7
7
  notifications:
8
8
  slack:
9
9
  secure: qCcGv1MmryEhPoHzTvZvgSv21UcC7j2Cfq0b0hmQWuYHrHN+jhqjhg7PuElNyr0mk6N1acIcVqOAWpS20ZkG/mipW2RBBXVEc9zVR10pvJnlKDmGKd4Vmj394VgIknn8ciruglw1LoJManf1bV7/Wm4ITMt3zCQqTMGclRUqA0l/dzK2z9zU35cT4v38nTGnoGVrPQx29FvpU3J/h9qC6kGllw3Bkic2nmpFABYOI49LQFF3/vdrbnK3Zo1rudHMV0lNoPg5Ntrbd6XHXUKrBGBcZmGSh3wW/mfYf9Tcft+5MwtCu4b70KnFknx7oFmBlU8JFYg2x5f1xNSIoRkDmLI5/jNDWJ3oLAtYjgY5CdBMlxnhhfnCBmbaxEJhTuscm2sIp+S+4+ggm8x/daIK3BUaBAV5BT8An52BXhQ/F6cdnYiSVn+5lGap/1wF2TWwnN/oVc+JVfATouG9FCygzMekUaji94JMKBtS+QgoLdAE5ufEGBeDONJELRD8Lca1R4uWSg2snf93GWoONca9aJfkIfXj3m+VaoAM9Bq9DGcOXwZESkltE2E+31Fznh5qYCRH1zgtgB0Hx8x7sdaxNQyybvgNS1R0lGnIU/NrUmREcUi5BYEI5YqygBtkTZ7F/nlYQgydKjjHJ6FG3oLc3ggxffE8oAdpuxvlUQ8ZN6o=
10
+ env:
11
+ - CODECLIMATE_REPO_TOKEN=164ccfacd5c379b0113f81b055179574f55d8611bac432b3e9bd5f7c5858084a
data/Gemfile CHANGED
@@ -1,4 +1,3 @@
1
1
  source 'https://rubygems.org'
2
-
3
- # Specify your gem's dependencies in ruby_event_store.gemspec
4
2
  gemspec
3
+ gem 'codeclimate-test-reporter', group: :test, require: nil
data/README.md CHANGED
@@ -1 +1,16 @@
1
- # ruby_event_store
1
+ [![Build Status](https://travis-ci.org/arkency/ruby_event_store.svg?branch=master)](https://travis-ci.org/arkency/ruby_event_store)
2
+ [![Gem Version](https://badge.fury.io/rb/ruby_event_store.svg)](http://badge.fury.io/rb/ruby_event_store)
3
+ [![Code Climate](https://codeclimate.com/github/arkency/ruby_event_store/badges/gpa.svg)](https://codeclimate.com/github/arkency/ruby_event_store)
4
+ [![Test Coverage](https://codeclimate.com/github/arkency/ruby_event_store/badges/coverage.svg)](https://codeclimate.com/github/arkency/ruby_event_store/coverage)
5
+
6
+ # RubyEventStore
7
+
8
+ A Ruby implementation of an EventStore. It is an integral part of `rails_event_store` gem.
9
+
10
+ ## About
11
+
12
+ <img src="http://arkency.com/images/arkency.png" alt="Arkency" width="20%" align="left" />
13
+
14
+ This repository is funded and maintained by Arkency. Check out our other [open-source projects](https://github.com/arkency).
15
+
16
+ You can also [hire us](http://arkency.com) or [read our blog](http://blog.arkency.com).
@@ -9,7 +9,6 @@ module RubyEventStore
9
9
  def call(stream_name, event, expected_version)
10
10
  raise WrongExpectedEventVersion if version_incorrect?(stream_name, expected_version)
11
11
  save_event(event, stream_name)
12
- event
13
12
  end
14
13
 
15
14
  private
@@ -1,3 +1,3 @@
1
1
  module RubyEventStore
2
- VERSION = '0.1.0'
2
+ VERSION = '0.2.0'
3
3
  end
@@ -6,8 +6,8 @@ require 'ruby_event_store/version'
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "ruby_event_store"
8
8
  spec.version = RubyEventStore::VERSION
9
- spec.authors = ["rybex"]
10
- spec.email = ["tomek.rybka@gmail.com"]
9
+ spec.authors = ["rybex", "mpraglowski"]
10
+ spec.email = ["tomek.rybka@gmail.com", "m@praglowski.com"]
11
11
 
12
12
  spec.summary = %q{Implementation of Event Store in Ruby}
13
13
  spec.description = %q{Implementation of Event Store in Ruby}
@@ -22,6 +22,5 @@ Gem::Specification.new do |spec|
22
22
  spec.add_development_dependency "rake", "~> 10.0"
23
23
  spec.add_development_dependency 'rspec'
24
24
  spec.add_development_dependency 'pry'
25
- spec.add_development_dependency 'mutant', '~> 0.7.8'
26
- spec.add_development_dependency 'mutant-rspec', '~> 0.7.8'
25
+ spec.add_development_dependency 'mutant-rspec', '~> 0.7.9'
27
26
  end
metadata CHANGED
@@ -1,14 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby_event_store
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - rybex
8
+ - mpraglowski
8
9
  autorequire:
9
10
  bindir: exe
10
11
  cert_chain: []
11
- date: 2015-05-26 00:00:00.000000000 Z
12
+ date: 2016-01-27 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: bundler
@@ -66,37 +67,24 @@ dependencies:
66
67
  - - ">="
67
68
  - !ruby/object:Gem::Version
68
69
  version: '0'
69
- - !ruby/object:Gem::Dependency
70
- name: mutant
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - "~>"
74
- - !ruby/object:Gem::Version
75
- version: 0.7.8
76
- type: :development
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - "~>"
81
- - !ruby/object:Gem::Version
82
- version: 0.7.8
83
70
  - !ruby/object:Gem::Dependency
84
71
  name: mutant-rspec
85
72
  requirement: !ruby/object:Gem::Requirement
86
73
  requirements:
87
74
  - - "~>"
88
75
  - !ruby/object:Gem::Version
89
- version: 0.7.8
76
+ version: 0.7.9
90
77
  type: :development
91
78
  prerelease: false
92
79
  version_requirements: !ruby/object:Gem::Requirement
93
80
  requirements:
94
81
  - - "~>"
95
82
  - !ruby/object:Gem::Version
96
- version: 0.7.8
83
+ version: 0.7.9
97
84
  description: Implementation of Event Store in Ruby
98
85
  email:
99
86
  - tomek.rybka@gmail.com
87
+ - m@praglowski.com
100
88
  executables: []
101
89
  extensions: []
102
90
  extra_rdoc_files: []
@@ -138,7 +126,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
138
126
  version: '0'
139
127
  requirements: []
140
128
  rubyforge_project:
141
- rubygems_version: 2.4.3
129
+ rubygems_version: 2.2.5
142
130
  signing_key:
143
131
  specification_version: 4
144
132
  summary: Implementation of Event Store in Ruby