mongoid-event 0.0.2 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/mongoid-event/event.rb +1 -1
- data/lib/mongoid-event/version.rb +1 -1
- data/mongoid-event.gemspec +4 -0
- data/readme.md +17 -3
- metadata +37 -58
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 1edc416482ad33c1fdafc1a8e9be78d3d502756d8659e41ccc69cb765e720022
|
4
|
+
data.tar.gz: c535f73c905268576cdf84109853c65ce88edf2d5bbcb9a30f8bbed16341d18f
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: ffaf2cf5d73ebfef47a3a1f5ed7a549d0cbfdb4d823385e3b49a9a22b151303cb0f486fdfbcc0a7c918057f7fd5d6470dc978f551c8b7ae86b468fdcdd8cef0a
|
7
|
+
data.tar.gz: 404bd006d541a65a90c66a6a0cbc66fa2418272d769a8d987c82325702f371f222b4f501f7600572f67e71fbd32958ead15c3e8f78a31823cc8071843162be2d
|
data/lib/mongoid-event/event.rb
CHANGED
data/mongoid-event.gemspec
CHANGED
@@ -18,6 +18,10 @@ Gem::Specification.new do |s|
|
|
18
18
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
19
19
|
s.require_paths = ["lib"]
|
20
20
|
|
21
|
+
s.metadata = {
|
22
|
+
"source_code_uri" => "https://github.com/akeem/mongoid-event",
|
23
|
+
}
|
24
|
+
|
21
25
|
# s.add_development_dependency "rspec"
|
22
26
|
s.add_runtime_dependency "mongoid"
|
23
27
|
end
|
data/readme.md
CHANGED
@@ -1,12 +1,26 @@
|
|
1
1
|
#mongoid-event
|
2
2
|
|
3
|
-
##
|
3
|
+
## Requirement
|
4
4
|
|
5
|
-
|
5
|
+
This has only been emperically tested with Mongoid 3.
|
6
|
+
|
7
|
+
## What are there no tests with this gem?
|
8
|
+
|
9
|
+
This test only contains a data model, any tests for this functionally
|
10
|
+
should/do live with the Mongoid gem.
|
11
|
+
|
12
|
+
## What is this?
|
13
|
+
|
14
|
+
Its a standard vanilla mongoid backed event model. It provides a base
|
15
|
+
for those that wish to store events of some kind.
|
16
|
+
|
17
|
+
## How can I used this?
|
18
|
+
|
19
|
+
After storing events, figure out what matters to you, index against the
|
20
|
+
fields you care about and query to your heart's content.
|
6
21
|
|
7
22
|
## How does it work?
|
8
23
|
|
9
24
|
Use it directly, subclass it, preload it with things important to your
|
10
25
|
application . what ever you find clever.
|
11
26
|
|
12
|
-
|
metadata
CHANGED
@@ -1,47 +1,37 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: mongoid-event
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 0
|
9
|
-
- 2
|
10
|
-
version: 0.0.2
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.4
|
11
5
|
platform: ruby
|
12
|
-
authors:
|
6
|
+
authors:
|
13
7
|
- Akeem Adeniji
|
14
|
-
autorequire:
|
8
|
+
autorequire:
|
15
9
|
bindir: bin
|
16
10
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
- !ruby/object:Gem::Dependency
|
11
|
+
date: 2024-03-01 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
21
14
|
name: mongoid
|
22
|
-
|
23
|
-
|
24
|
-
none: false
|
25
|
-
requirements:
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
26
17
|
- - ">="
|
27
|
-
- !ruby/object:Gem::Version
|
28
|
-
|
29
|
-
segments:
|
30
|
-
- 0
|
31
|
-
version: "0"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
32
20
|
type: :runtime
|
33
|
-
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
34
27
|
description: A simple mongoid model for storing events.
|
35
|
-
email:
|
28
|
+
email:
|
36
29
|
- akeem.adeniji@gmail.com
|
37
30
|
executables: []
|
38
|
-
|
39
31
|
extensions: []
|
40
|
-
|
41
32
|
extra_rdoc_files: []
|
42
|
-
|
43
|
-
|
44
|
-
- .gitignore
|
33
|
+
files:
|
34
|
+
- ".gitignore"
|
45
35
|
- Gemfile
|
46
36
|
- Rakefile
|
47
37
|
- lib/mongoid-event.rb
|
@@ -49,38 +39,27 @@ files:
|
|
49
39
|
- lib/mongoid-event/version.rb
|
50
40
|
- mongoid-event.gemspec
|
51
41
|
- readme.md
|
52
|
-
homepage:
|
42
|
+
homepage: ''
|
53
43
|
licenses: []
|
54
|
-
|
55
|
-
|
44
|
+
metadata:
|
45
|
+
source_code_uri: https://github.com/akeem/mongoid-event
|
46
|
+
post_install_message:
|
56
47
|
rdoc_options: []
|
57
|
-
|
58
|
-
require_paths:
|
48
|
+
require_paths:
|
59
49
|
- lib
|
60
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
61
|
-
|
62
|
-
requirements:
|
50
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
63
52
|
- - ">="
|
64
|
-
- !ruby/object:Gem::Version
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
version: "0"
|
69
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
70
|
-
none: false
|
71
|
-
requirements:
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
56
|
+
requirements:
|
72
57
|
- - ">="
|
73
|
-
- !ruby/object:Gem::Version
|
74
|
-
|
75
|
-
segments:
|
76
|
-
- 0
|
77
|
-
version: "0"
|
58
|
+
- !ruby/object:Gem::Version
|
59
|
+
version: '0'
|
78
60
|
requirements: []
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
signing_key:
|
83
|
-
specification_version: 3
|
61
|
+
rubygems_version: 3.5.3
|
62
|
+
signing_key:
|
63
|
+
specification_version: 4
|
84
64
|
summary: A mongoid backed event model
|
85
65
|
test_files: []
|
86
|
-
|