rails_event_store_active_record 0.6.12 → 0.6.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -1
- data/CONTRIBUTING.md +2 -26
- data/lib/rails_event_store_active_record/generators/migration_generator.rb +9 -1
- data/lib/rails_event_store_active_record/generators/templates/migration_template.rb +1 -1
- data/lib/rails_event_store_active_record/version.rb +1 -1
- data/rails_event_store_active_record.gemspec +1 -0
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 772e54bf88c1b4ffb31fb3a838335870be4f5630
|
4
|
+
data.tar.gz: 122e4f6f15ea78ec984a41be605d476fd4f24ef8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ac99bcc7a22aab73c1f4dc74e7503ab47ec06f20424300c9d2621861790ecfbe914aade7b82d3fcca5756da8e69fac1f88ff2e996579c14979529af026fdfa90
|
7
|
+
data.tar.gz: e37e7b0b9a7f25caa0c789c6ccd8b46710d592585cc90c3cc5886aac0e9ff138266a13bb3d11de83bd546cddaaae5b94fc6ca683548c65c1d5b0f3c2735ae77c
|
data/CHANGELOG.md
CHANGED
data/CONTRIBUTING.md
CHANGED
@@ -1,27 +1,3 @@
|
|
1
|
-
# Contributing to
|
1
|
+
# Contributing to this repository
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
## Found a bug? Have a question?
|
6
|
-
|
7
|
-
* [Create a new issue](https://github.com/arkency/rails_event_store_active_record/issues/new), assuming one does not already exist.
|
8
|
-
* Clearly describe the issue including steps to reproduce when it is a bug.
|
9
|
-
* If possible provide a Pull Request with failing test case.
|
10
|
-
|
11
|
-
## Getting Started
|
12
|
-
|
13
|
-
* Make sure you have a [GitHub account](https://github.com/signup/free).
|
14
|
-
* [Fork the repository](https://help.github.com/articles/fork-a-repo/) on GitHub.
|
15
|
-
|
16
|
-
## Making Changes
|
17
|
-
|
18
|
-
* Create a feature branch from where you want to base your work.
|
19
|
-
* Do your work. Please try to keep your commits small and focussed.
|
20
|
-
* Make sure you have added the necessary tests for your changes.
|
21
|
-
* Push your changes to a feature branch in your fork of the repository.
|
22
|
-
* Submit a pull request to the RailsEventStore repository.
|
23
|
-
|
24
|
-
# Additional Resources
|
25
|
-
|
26
|
-
* [General GitHub documentation](http://help.github.com/)
|
27
|
-
* [GitHub pull request documentation](http://help.github.com/send-pull-requests/)
|
3
|
+
Contribution Policy for this repository: [http://railseventstore.org/docs/contributing.html](http://railseventstore.org/docs/contributing.html)
|
@@ -10,9 +10,17 @@ module RailsEventStoreActiveRecord
|
|
10
10
|
|
11
11
|
private
|
12
12
|
|
13
|
+
def rails_version
|
14
|
+
Rails::VERSION::STRING
|
15
|
+
end
|
16
|
+
|
17
|
+
def migration_version
|
18
|
+
return nil if Gem::Version.new(rails_version) < Gem::Version.new("5.0.0")
|
19
|
+
"[4.2]"
|
20
|
+
end
|
21
|
+
|
13
22
|
def timestamp
|
14
23
|
Time.now.strftime("%Y%m%d%H%M%S")
|
15
24
|
end
|
16
|
-
|
17
25
|
end
|
18
26
|
end
|
@@ -26,6 +26,7 @@ Gem::Specification.new do |spec|
|
|
26
26
|
spec.add_development_dependency 'rails', '~> 4.2'
|
27
27
|
spec.add_development_dependency 'sqlite3'
|
28
28
|
spec.add_development_dependency 'mutant-rspec', '~> 0.8.11'
|
29
|
+
spec.add_development_dependency 'fakefs'
|
29
30
|
|
30
31
|
spec.add_dependency 'ruby_event_store', '~> 0.14.0'
|
31
32
|
spec.add_dependency 'activesupport', '>= 3.0'
|
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.6.
|
4
|
+
version: 0.6.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Arkency
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-08-
|
11
|
+
date: 2017-08-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -108,6 +108,20 @@ dependencies:
|
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: 0.8.11
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: fakefs
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
111
125
|
- !ruby/object:Gem::Dependency
|
112
126
|
name: ruby_event_store
|
113
127
|
requirement: !ruby/object:Gem::Requirement
|