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 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
@@ -6,7 +6,7 @@ module Mongoid_Event
6
6
  field :actor, :type => String
7
7
  field :type, :type => String
8
8
  field :receiver, :type => String
9
- field :metadata, :type => Hash
9
+ field :meta_data, :type => Hash
10
10
 
11
11
  end
12
12
  end
@@ -1,3 +1,3 @@
1
1
  module Mongoid_Event
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.4"
3
3
  end
@@ -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
- ## A fantasticly unneccessary library
3
+ ## Requirement
4
4
 
5
- A vanilla mongoid backed event model.
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
- hash: 27
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
- date: 2012-09-19 00:00:00 Z
19
- dependencies:
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
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
24
- none: false
25
- requirements:
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
26
17
  - - ">="
27
- - !ruby/object:Gem::Version
28
- hash: 3
29
- segments:
30
- - 0
31
- version: "0"
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
32
20
  type: :runtime
33
- version_requirements: *id001
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
- files:
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
- post_install_message:
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
- none: false
62
- requirements:
50
+ required_ruby_version: !ruby/object:Gem::Requirement
51
+ requirements:
63
52
  - - ">="
64
- - !ruby/object:Gem::Version
65
- hash: 3
66
- segments:
67
- - 0
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
- hash: 3
75
- segments:
76
- - 0
77
- version: "0"
58
+ - !ruby/object:Gem::Version
59
+ version: '0'
78
60
  requirements: []
79
-
80
- rubyforge_project: mongoid-event
81
- rubygems_version: 1.8.10
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
-