collector 0.0.3 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.md +5 -1
- data/collector.gemspec +2 -2
- data/lib/collector/version.rb +1 -1
- metadata +3 -3
data/README.md
CHANGED
@@ -1,6 +1,10 @@
|
|
1
1
|
# Collector
|
2
2
|
|
3
|
-
|
3
|
+
[](https://codeclimate.com/github/brandonweiss/collector)
|
4
|
+
|
5
|
+
_Collector isn't ready for use just yet. When it has a basic feature set and is stable I will bump the minor version (to 0.1.0). Until then it's still effectively pre-release._
|
6
|
+
|
7
|
+
Collector is an implementation of the Repository Pattern for MongoDB. For those new to the Repository Pattern, it is a Facade that isolates the persistence layer from your application. If you're familiar with Rails, or more specifically ActiveRecord or most other ORMs, you'll know that the models and persistence layer are tightly coupled—literally they are the same object. That pattern is a great way to cut your teeth, but ultimately it's a terrible design. Your application does not and should not care about how its data is persisted. Collector will help with that.
|
4
8
|
|
5
9
|
## Installation
|
6
10
|
|
data/collector.gemspec
CHANGED
@@ -8,8 +8,8 @@ Gem::Specification.new do |gem|
|
|
8
8
|
gem.version = Collector::VERSION
|
9
9
|
gem.authors = ["Brandon Weiss"]
|
10
10
|
gem.email = ["brandon@anti-pattern.com"]
|
11
|
-
gem.description = %q{An implementation of the Repository Pattern}
|
12
|
-
gem.summary = %q{An implementation of the Repository Pattern}
|
11
|
+
gem.description = %q{An implementation of the Repository Pattern for MongoDB.}
|
12
|
+
gem.summary = %q{An implementation of the Repository Pattern for MongoDB}
|
13
13
|
gem.homepage = ""
|
14
14
|
|
15
15
|
gem.files = `git ls-files`.split($/)
|
data/lib/collector/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: collector
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -27,7 +27,7 @@ dependencies:
|
|
27
27
|
- - ~>
|
28
28
|
- !ruby/object:Gem::Version
|
29
29
|
version: 3.2.8
|
30
|
-
description: An implementation of the Repository Pattern
|
30
|
+
description: An implementation of the Repository Pattern for MongoDB.
|
31
31
|
email:
|
32
32
|
- brandon@anti-pattern.com
|
33
33
|
executables: []
|
@@ -69,7 +69,7 @@ rubyforge_project:
|
|
69
69
|
rubygems_version: 1.8.23
|
70
70
|
signing_key:
|
71
71
|
specification_version: 3
|
72
|
-
summary: An implementation of the Repository Pattern
|
72
|
+
summary: An implementation of the Repository Pattern for MongoDB
|
73
73
|
test_files:
|
74
74
|
- test/collector/model_spec.rb
|
75
75
|
- test/collector_spec.rb
|