rom-event_store 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 435583124333c725e4b522409cf600c4c06cb655
4
+ data.tar.gz: 64d0e7a7018f8077278611715a46db584a7f39f6
5
+ SHA512:
6
+ metadata.gz: f61e292ab57ccd54ad77665f3a45b952304f90e57ffaadcba5aa30a6d09bcbe01edfa0e4022d4d99b5019fda097a136aa05bef57f31710e1393a5ed0b06d195f
7
+ data.tar.gz: 0c1c454ba16eda1d4b466c2fa693261b03604986a44514a79218e89c40d224ed9283d8bbdedec2625a15a240fe6fb208361f5e5b68f2f16bd4491929f006d0a6
data/.gitignore ADDED
@@ -0,0 +1,10 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+ /.idea/
data/.rubocop.yml ADDED
@@ -0,0 +1,74 @@
1
+ # Generated by `rubocop --auto-gen-config`
2
+ inherit_from: .rubocop_todo.yml
3
+
4
+ # Exclude temporary files
5
+ AllCops:
6
+ Exclude:
7
+ - tmp/**/*
8
+
9
+ # It’s quite readable when we know what we are doing
10
+ Lint/AssignmentInCondition:
11
+ Enabled: false
12
+
13
+ # No need to handle LoadError in Rakefile
14
+ Lint/HandleExceptions:
15
+ Exclude:
16
+ - Rakefile
17
+
18
+ # gemspec is a special snowflake
19
+ Metrics/LineLength:
20
+ Exclude:
21
+ - rom-event_store.gemspec
22
+
23
+ # The enforced style doesn’t match Vim’s defaults
24
+ Style/AlignParameters:
25
+ Enabled: false
26
+
27
+ # UTF-8 is perfectly fine in comments
28
+ Style/AsciiComments:
29
+ Enabled: false
30
+
31
+ # Allow using braces for value-returning blocks
32
+ Style/Blocks:
33
+ Enabled: false
34
+
35
+ # Documentation checked by Inch CI
36
+ Style/Documentation:
37
+ Enabled: false
38
+
39
+ # Early returns have their vices
40
+ Style/GuardClause:
41
+ Enabled: false
42
+
43
+ # Need to be skipped for >-> usage
44
+ Style/Lambda:
45
+ Enabled: false
46
+
47
+ # Multiline block chains are ok
48
+ Style/MultilineBlockChain:
49
+ Enabled: false
50
+
51
+ # Even a single escaped slash can be confusing
52
+ Style/RegexpLiteral:
53
+ MaxSlashes: 0
54
+
55
+ # Don’t introduce semantic fail/raise distinction
56
+ Style/SignalException:
57
+ EnforcedStyle: only_raise
58
+
59
+ # Need to be skipped for >-> usage
60
+ Style/SpaceAroundOperators:
61
+ Enabled: false
62
+
63
+ # Accept both single and double quotes
64
+ Style/StringLiterals:
65
+ Enabled: false
66
+
67
+ # Allow def self.foo; @foo; end
68
+ Style/TrivialAccessors:
69
+ Enabled: false
70
+
71
+ # This is a shim file for those who require 'rom-mongo'
72
+ Style/FileName:
73
+ Exclude:
74
+ - lib/rom-event_store.rb
data/.rubocop_todo.yml ADDED
@@ -0,0 +1,6 @@
1
+ # This configuration was generated by `rubocop --auto-gen-config`
2
+ # on 2015-01-26 22:39:39 +0100 using RuboCop version 0.28.0.
3
+ # The point is for the user to remove these configuration records
4
+ # one by one as the offenses are removed from the code base.
5
+ # Note that changes in the inspected code, or installation of new
6
+ # versions of RuboCop, may require this file to be generated again.
data/.travis.yml ADDED
@@ -0,0 +1,20 @@
1
+ language: ruby
2
+ sudo: false
3
+ cache: bundler
4
+ bundler_args: --without yard guard benchmarks tools
5
+ env:
6
+ global:
7
+ - JRUBY_OPTS='--dev -J-Xmx1024M'
8
+ - CODECLIMATE_REPO_TOKEN=e5f7d153e6fdf6dbd413b18aefe31b20f03e954e9decd46d251431bd43c99fb7
9
+ script: "bundle exec rake ci"
10
+ rvm:
11
+ - 2.0
12
+ - 2.1
13
+ - rbx-2
14
+ - jruby
15
+ - jruby-head
16
+ - ruby-head
17
+ matrix:
18
+ allow_failures:
19
+ - rvm: ruby-head
20
+ - rvm: jruby-head
data/Gemfile ADDED
@@ -0,0 +1,18 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in rom-event_store.gemspec
4
+ gemspec
5
+
6
+ group :test do
7
+ gem 'rom', git: 'https://github.com/rom-rb/rom.git', branch: 'master'
8
+ gem 'rspec', '~> 3.1'
9
+ gem 'codeclimate-test-reporter', require: false
10
+ end
11
+
12
+ group :tools do
13
+ gem 'rubocop'
14
+
15
+ gem 'guard'
16
+ gem 'guard-rspec'
17
+ gem 'guard-rubocop'
18
+ end
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2015 Héctor Ramón Jiménez
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,40 @@
1
+ [gem]: https://rubygems.org/gems/rom-event_store
2
+ [travis]: https://travis-ci.org/rom-eventstore/rom-event_store
3
+ [gemnasium]: https://gemnasium.com/rom-eventstore/rom-event_store
4
+ [codeclimate]: https://codeclimate.com/github/rom-eventstore/rom-event_store
5
+ [inchpages]: http://inch-ci.org/github/rom-eventstore/rom-event_store
6
+
7
+ # Rom::EventStore
8
+
9
+ [![Gem Version](https://badge.fury.io/rb/rom-event_store.svg)][gem]
10
+ [![Build Status](https://travis-ci.org/rom-eventstore/rom-event_store.svg?branch=master)][travis]
11
+ [![Dependency Status](https://gemnasium.com/rom-eventstore/rom-event_store.png)][gemnasium]
12
+ [![Code Climate](https://codeclimate.com/github/rom-eventstore/rom-event_store/badges/gpa.svg)][codeclimate]
13
+ [![Test Coverage](https://codeclimate.com/github/rom-eventstore/rom-event_store/badges/coverage.svg)][codeclimate]
14
+ [![Inline docs](http://inch-ci.org/github/rom-eventstore/rom-event_store.svg?branch=master)][inchpages]
15
+
16
+ Event Store support for [Ruby Object Mapper](https://github.com/rom-rb/rom)
17
+
18
+ ## Installation
19
+
20
+ Add this line to your application's Gemfile:
21
+
22
+ ```ruby
23
+ gem 'rom-event_store'
24
+ ```
25
+
26
+ And then execute:
27
+
28
+ $ bundle
29
+
30
+ Or install it yourself as:
31
+
32
+ $ gem install rom-event_store
33
+
34
+ ## Usage
35
+
36
+ See [spec/integration/repository_spec.rb](spec/integration/repository_spec.rb) for a sample usage.
37
+
38
+ ## License
39
+
40
+ See [LICENSE](LICENSE) file.
data/Rakefile ADDED
@@ -0,0 +1,18 @@
1
+ require 'rspec/core/rake_task'
2
+
3
+ RSpec::Core::RakeTask.new(:spec)
4
+ task default: [:ci]
5
+
6
+ desc 'Run CI tasks'
7
+ task ci: [:spec]
8
+
9
+ begin
10
+ require 'rubocop/rake_task'
11
+
12
+ Rake::Task[:default].enhance [:rubocop]
13
+
14
+ RuboCop::RakeTask.new do |task|
15
+ task.options << '--display-cop-names'
16
+ end
17
+ rescue LoadError
18
+ end
@@ -0,0 +1,5 @@
1
+ module Rom
2
+ module EventStore
3
+ VERSION = '0.0.1'
4
+ end
5
+ end
@@ -0,0 +1,7 @@
1
+ require 'rom/event_store/version'
2
+
3
+ module Rom
4
+ module EventStore
5
+ # Your code goes here...
6
+ end
7
+ end
@@ -0,0 +1,27 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'rom/event_store/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = 'rom-event_store'
8
+ spec.version = Rom::EventStore::VERSION
9
+ spec.authors = ['Héctor Ramón', 'Lorenzo Arribas']
10
+ spec.email = ['hector0193@gmail.com', 'lorenzo.s.arribas@gmail.com']
11
+
12
+ spec.summary = 'Event Store support for Ruby Object Mapper'
13
+ spec.description = spec.summary
14
+ spec.homepage = 'https://github.com/rom-eventstore/rom-event_store'
15
+ spec.license = 'MIT'
16
+
17
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
18
+ spec.bindir = 'exe'
19
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
20
+ spec.require_paths = ['lib']
21
+
22
+ spec.add_runtime_dependency 'rom', '~> 0.6'
23
+
24
+ spec.add_development_dependency 'bundler'
25
+ spec.add_development_dependency 'rake'
26
+ spec.add_development_dependency 'rubocop', '~> 0.28.0'
27
+ end
metadata ADDED
@@ -0,0 +1,113 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rom-event_store
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Héctor Ramón
8
+ - Lorenzo Arribas
9
+ autorequire:
10
+ bindir: exe
11
+ cert_chain: []
12
+ date: 2015-03-30 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rom
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - "~>"
19
+ - !ruby/object:Gem::Version
20
+ version: '0.6'
21
+ type: :runtime
22
+ prerelease: false
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - "~>"
26
+ - !ruby/object:Gem::Version
27
+ version: '0.6'
28
+ - !ruby/object:Gem::Dependency
29
+ name: bundler
30
+ requirement: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - ">="
33
+ - !ruby/object:Gem::Version
34
+ version: '0'
35
+ type: :development
36
+ prerelease: false
37
+ version_requirements: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - ">="
40
+ - !ruby/object:Gem::Version
41
+ version: '0'
42
+ - !ruby/object:Gem::Dependency
43
+ name: rake
44
+ requirement: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - ">="
47
+ - !ruby/object:Gem::Version
48
+ version: '0'
49
+ type: :development
50
+ prerelease: false
51
+ version_requirements: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - ">="
54
+ - !ruby/object:Gem::Version
55
+ version: '0'
56
+ - !ruby/object:Gem::Dependency
57
+ name: rubocop
58
+ requirement: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - "~>"
61
+ - !ruby/object:Gem::Version
62
+ version: 0.28.0
63
+ type: :development
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - "~>"
68
+ - !ruby/object:Gem::Version
69
+ version: 0.28.0
70
+ description: Event Store support for Ruby Object Mapper
71
+ email:
72
+ - hector0193@gmail.com
73
+ - lorenzo.s.arribas@gmail.com
74
+ executables: []
75
+ extensions: []
76
+ extra_rdoc_files: []
77
+ files:
78
+ - ".gitignore"
79
+ - ".rubocop.yml"
80
+ - ".rubocop_todo.yml"
81
+ - ".travis.yml"
82
+ - Gemfile
83
+ - LICENSE
84
+ - README.md
85
+ - Rakefile
86
+ - lib/rom/event_store.rb
87
+ - lib/rom/event_store/version.rb
88
+ - rom-event_store.gemspec
89
+ homepage: https://github.com/rom-eventstore/rom-event_store
90
+ licenses:
91
+ - MIT
92
+ metadata: {}
93
+ post_install_message:
94
+ rdoc_options: []
95
+ require_paths:
96
+ - lib
97
+ required_ruby_version: !ruby/object:Gem::Requirement
98
+ requirements:
99
+ - - ">="
100
+ - !ruby/object:Gem::Version
101
+ version: '0'
102
+ required_rubygems_version: !ruby/object:Gem::Requirement
103
+ requirements:
104
+ - - ">="
105
+ - !ruby/object:Gem::Version
106
+ version: '0'
107
+ requirements: []
108
+ rubyforge_project:
109
+ rubygems_version: 2.4.6
110
+ signing_key:
111
+ specification_version: 4
112
+ summary: Event Store support for Ruby Object Mapper
113
+ test_files: []