mongoid-event 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore ADDED
@@ -0,0 +1,4 @@
1
+ *.gem
2
+ .bundle
3
+ Gemfile.lock
4
+ pkg/*
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source "http://rubygems.org"
2
+
3
+ # Specify your gem's dependencies in mongoid-event.gemspec
4
+ gemspec
data/Rakefile ADDED
@@ -0,0 +1 @@
1
+ require "bundler/gem_tasks"
@@ -0,0 +1,12 @@
1
+ module Mongoid_Event
2
+ class Event
3
+ include Mongoid::Document
4
+ include Mongoid::Timestamps::Created
5
+
6
+ field :actor, :type => String
7
+ field :type, :type => String
8
+ field :receiver, :type => String
9
+ field :details, :type => String
10
+
11
+ end
12
+ end
@@ -0,0 +1,3 @@
1
+ module Mongoid_Event
2
+ VERSION = "0.0.1"
3
+ end
@@ -0,0 +1,5 @@
1
+ require "mongoid-event/version"
2
+ require "mongoid-event/event"
3
+
4
+ module Mongoid_Event
5
+ end
@@ -0,0 +1,23 @@
1
+ # -*- encoding: utf-8 -*-
2
+ $:.push File.expand_path("../lib", __FILE__)
3
+ require "mongoid-event/version"
4
+
5
+ Gem::Specification.new do |s|
6
+ s.name = "mongoid-event"
7
+ s.version = Mongoid_Event::VERSION
8
+ s.authors = ["Akeem Adeniji"]
9
+ s.email = ["akeem.adeniji@gmail.com"]
10
+ s.homepage = ""
11
+ s.summary = %q{A mongoid backed event model}
12
+ s.description = %q{A simple mongoid model for storing events.}
13
+
14
+ s.rubyforge_project = "mongoid-event"
15
+
16
+ s.files = `git ls-files`.split("\n")
17
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
18
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
19
+ s.require_paths = ["lib"]
20
+
21
+ # s.add_development_dependency "rspec"
22
+ s.add_runtime_dependency "mongoid"
23
+ end
data/readme.md ADDED
@@ -0,0 +1,12 @@
1
+ #mongoid-event
2
+
3
+ ## A fantasticly unneccessary library
4
+
5
+ A vanilla mongoid backed event model.
6
+
7
+ ## How does it work?
8
+
9
+ Use it directly, subclass it, preload it with things important to your
10
+ application . what ever you find clever.
11
+
12
+
metadata ADDED
@@ -0,0 +1,86 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: mongoid-event
3
+ version: !ruby/object:Gem::Version
4
+ hash: 29
5
+ prerelease:
6
+ segments:
7
+ - 0
8
+ - 0
9
+ - 1
10
+ version: 0.0.1
11
+ platform: ruby
12
+ authors:
13
+ - Akeem Adeniji
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain: []
17
+
18
+ date: 2012-09-18 00:00:00 Z
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
21
+ name: mongoid
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
24
+ none: false
25
+ requirements:
26
+ - - ">="
27
+ - !ruby/object:Gem::Version
28
+ hash: 3
29
+ segments:
30
+ - 0
31
+ version: "0"
32
+ type: :runtime
33
+ version_requirements: *id001
34
+ description: A simple mongoid model for storing events.
35
+ email:
36
+ - akeem.adeniji@gmail.com
37
+ executables: []
38
+
39
+ extensions: []
40
+
41
+ extra_rdoc_files: []
42
+
43
+ files:
44
+ - .gitignore
45
+ - Gemfile
46
+ - Rakefile
47
+ - lib/mongoid-event.rb
48
+ - lib/mongoid-event/event.rb
49
+ - lib/mongoid-event/version.rb
50
+ - mongoid-event.gemspec
51
+ - readme.md
52
+ homepage: ""
53
+ licenses: []
54
+
55
+ post_install_message:
56
+ rdoc_options: []
57
+
58
+ require_paths:
59
+ - lib
60
+ required_ruby_version: !ruby/object:Gem::Requirement
61
+ none: false
62
+ requirements:
63
+ - - ">="
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:
72
+ - - ">="
73
+ - !ruby/object:Gem::Version
74
+ hash: 3
75
+ segments:
76
+ - 0
77
+ version: "0"
78
+ requirements: []
79
+
80
+ rubyforge_project: mongoid-event
81
+ rubygems_version: 1.8.10
82
+ signing_key:
83
+ specification_version: 3
84
+ summary: A mongoid backed event model
85
+ test_files: []
86
+