perpetuity-mongodb 1.0.0.beta

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,8 @@
1
+ class Book
2
+ attr_accessor :title
3
+
4
+ def initialize title, authors=[]
5
+ @title = title
6
+ @authors = authors
7
+ end
8
+ end
@@ -0,0 +1,5 @@
1
+ class Car
2
+ def initialize attributes={}
3
+ @model = attributes[:model]
4
+ end
5
+ end
@@ -0,0 +1,7 @@
1
+ class User
2
+ attr_reader :name
3
+
4
+ def initialize name
5
+ @name = name
6
+ end
7
+ end
metadata ADDED
@@ -0,0 +1,152 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: perpetuity-mongodb
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0.beta
5
+ platform: ruby
6
+ authors:
7
+ - Jamie Gaskins
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2013-12-15 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ~>
18
+ - !ruby/object:Gem::Version
19
+ version: '1.3'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ~>
25
+ - !ruby/object:Gem::Version
26
+ version: '1.3'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rspec
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '>='
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - '>='
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: perpetuity
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: 1.0.0.beta
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ~>
67
+ - !ruby/object:Gem::Version
68
+ version: 1.0.0.beta
69
+ - !ruby/object:Gem::Dependency
70
+ name: moped
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - '>='
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - '>='
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ description: MongoDB adapter for Perpetuity
84
+ email:
85
+ - jgaskins@gmail.com
86
+ executables: []
87
+ extensions: []
88
+ extra_rdoc_files: []
89
+ files:
90
+ - .gitignore
91
+ - Gemfile
92
+ - LICENSE.txt
93
+ - README.md
94
+ - Rakefile
95
+ - lib/perpetuity/mongodb.rb
96
+ - lib/perpetuity/mongodb/index.rb
97
+ - lib/perpetuity/mongodb/nil_query.rb
98
+ - lib/perpetuity/mongodb/query.rb
99
+ - lib/perpetuity/mongodb/query_attribute.rb
100
+ - lib/perpetuity/mongodb/query_expression.rb
101
+ - lib/perpetuity/mongodb/query_intersection.rb
102
+ - lib/perpetuity/mongodb/query_union.rb
103
+ - lib/perpetuity/mongodb/serializer.rb
104
+ - lib/perpetuity/mongodb/version.rb
105
+ - perpetuity-mongodb.gemspec
106
+ - spec/perpetuity/mongodb/index_spec.rb
107
+ - spec/perpetuity/mongodb/query_attribute_spec.rb
108
+ - spec/perpetuity/mongodb/query_expression_spec.rb
109
+ - spec/perpetuity/mongodb/query_intersection_spec.rb
110
+ - spec/perpetuity/mongodb/query_spec.rb
111
+ - spec/perpetuity/mongodb/query_union_spec.rb
112
+ - spec/perpetuity/mongodb/serializer_spec.rb
113
+ - spec/perpetuity/mongodb_spec.rb
114
+ - spec/support/test_classes/book.rb
115
+ - spec/support/test_classes/car.rb
116
+ - spec/support/test_classes/user.rb
117
+ homepage: https://github.com/jgaskins/perpetuity-mongodb
118
+ licenses:
119
+ - MIT
120
+ metadata: {}
121
+ post_install_message:
122
+ rdoc_options: []
123
+ require_paths:
124
+ - lib
125
+ required_ruby_version: !ruby/object:Gem::Requirement
126
+ requirements:
127
+ - - '>='
128
+ - !ruby/object:Gem::Version
129
+ version: '0'
130
+ required_rubygems_version: !ruby/object:Gem::Requirement
131
+ requirements:
132
+ - - '>'
133
+ - !ruby/object:Gem::Version
134
+ version: 1.3.1
135
+ requirements: []
136
+ rubyforge_project:
137
+ rubygems_version: 2.0.6
138
+ signing_key:
139
+ specification_version: 4
140
+ summary: MongoDB adapter for Perpetuity
141
+ test_files:
142
+ - spec/perpetuity/mongodb/index_spec.rb
143
+ - spec/perpetuity/mongodb/query_attribute_spec.rb
144
+ - spec/perpetuity/mongodb/query_expression_spec.rb
145
+ - spec/perpetuity/mongodb/query_intersection_spec.rb
146
+ - spec/perpetuity/mongodb/query_spec.rb
147
+ - spec/perpetuity/mongodb/query_union_spec.rb
148
+ - spec/perpetuity/mongodb/serializer_spec.rb
149
+ - spec/perpetuity/mongodb_spec.rb
150
+ - spec/support/test_classes/book.rb
151
+ - spec/support/test_classes/car.rb
152
+ - spec/support/test_classes/user.rb