mattetti-couchrest 0.33 → 0.34
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +29 -10
- data/Rakefile +1 -0
- data/THANKS.md +1 -0
- data/lib/couchrest.rb +2 -1
- data/lib/couchrest/core/database.rb +0 -18
- data/lib/couchrest/core/document.rb +3 -2
- data/lib/couchrest/mixins/callbacks.rb +187 -138
- data/lib/couchrest/mixins/collection.rb +3 -16
- data/lib/couchrest/mixins/extended_attachments.rb +1 -1
- data/lib/couchrest/mixins/properties.rb +71 -44
- data/lib/couchrest/mixins/validation.rb +18 -29
- data/lib/couchrest/more/casted_model.rb +29 -1
- data/lib/couchrest/more/extended_document.rb +56 -17
- data/lib/couchrest/more/property.rb +19 -0
- data/lib/couchrest/support/class.rb +81 -67
- data/lib/couchrest/support/rails.rb +12 -5
- data/spec/couchrest/core/database_spec.rb +2 -2
- data/spec/couchrest/more/casted_extended_doc_spec.rb +2 -4
- data/spec/couchrest/more/casted_model_spec.rb +229 -0
- data/spec/couchrest/more/extended_doc_attachment_spec.rb +2 -2
- data/spec/couchrest/more/extended_doc_spec.rb +167 -16
- data/spec/couchrest/more/extended_doc_view_spec.rb +17 -6
- data/spec/couchrest/more/property_spec.rb +71 -3
- data/spec/fixtures/more/article.rb +2 -2
- data/spec/fixtures/more/cat.rb +1 -0
- data/spec/fixtures/more/event.rb +3 -0
- data/spec/fixtures/more/person.rb +1 -0
- metadata +3 -3
data/spec/fixtures/more/cat.rb
CHANGED
data/spec/fixtures/more/event.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mattetti-couchrest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: "0.
|
4
|
+
version: "0.34"
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- J. Chris Anderson
|
@@ -170,7 +170,7 @@ files:
|
|
170
170
|
- spec/spec_helper.rb
|
171
171
|
- utils/remap.rb
|
172
172
|
- utils/subset.rb
|
173
|
-
has_rdoc:
|
173
|
+
has_rdoc: true
|
174
174
|
homepage: http://github.com/jchris/couchrest
|
175
175
|
licenses:
|
176
176
|
post_install_message:
|
@@ -195,7 +195,7 @@ requirements: []
|
|
195
195
|
rubyforge_project:
|
196
196
|
rubygems_version: 1.3.5
|
197
197
|
signing_key:
|
198
|
-
specification_version:
|
198
|
+
specification_version: 2
|
199
199
|
summary: Lean and RESTful interface to CouchDB.
|
200
200
|
test_files: []
|
201
201
|
|