couch_rest_adapter 0.4.7 → 0.4.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/couch_rest_adapter.rb +1 -1
- data/lib/couch_rest_adapter/version.rb +1 -1
- data/test/dummy/log/test.log +60 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c7618322c3eb3fd70cc44387f1aa019d95339dad
|
4
|
+
data.tar.gz: bd3627dbb435a332d1b84de37d8ccda425a46536
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 92ccce9dbd450d38239eb9e4aa2258176cbce03a36aa348184d8a01d874965cf6e8f0c45ffbcba7f3065d799b087140bd9b69c9cb53987abc2cdcb2d67c6cab3
|
7
|
+
data.tar.gz: 76b8c4c52b8b31c26298046e4036c3d5ff672fc594ec1899a7d9dad863579adc20def618ca3d764f8e662b8af72585ea984ff2068479cf6a02278d8beda236f1
|
data/lib/couch_rest_adapter.rb
CHANGED
@@ -10,7 +10,7 @@ require File.join(File.dirname(__FILE__), '/exceptions/couch_rest_adapter')
|
|
10
10
|
using CouchRestAdapter::Helpers
|
11
11
|
|
12
12
|
module CouchRestAdapter
|
13
|
-
|
13
|
+
autoload :Railtie, 'couch_rest_adapter/railtie'
|
14
14
|
|
15
15
|
class Base < CouchRest::Document
|
16
16
|
#TODO: As abstract class should not have any method definition
|
data/test/dummy/log/test.log
CHANGED
@@ -2806,3 +2806,63 @@ LintTest: test_to_param
|
|
2806
2806
|
------------------------------
|
2807
2807
|
LintTest: test_to_partial_path
|
2808
2808
|
------------------------------
|
2809
|
+
---------------------------------------------------
|
2810
|
+
CouchRestAdapter::AttributeMethodTest: test_base_id
|
2811
|
+
---------------------------------------------------
|
2812
|
+
-----------------------------------------------------------------------------------------------------------------------
|
2813
|
+
CouchRestAdapter::DocumentManagementTest: test__set_id_and_namespace_will_set_the__id_variable_with_an_id_and_namespace
|
2814
|
+
-----------------------------------------------------------------------------------------------------------------------
|
2815
|
+
---------------------------------------------------------------------------------------------------
|
2816
|
+
CouchRestAdapter::DocumentManagementTest: test_class_method_namespace=_allows_override_of_namespace
|
2817
|
+
---------------------------------------------------------------------------------------------------
|
2818
|
+
---------------------------------------------------------------------------------------------
|
2819
|
+
CouchRestAdapter::DocumentManagementTest: test_class_method_namespace_defaults_to_object_name
|
2820
|
+
---------------------------------------------------------------------------------------------
|
2821
|
+
-----------------------------------------------------------------------------------------------------------
|
2822
|
+
CouchRestAdapter::DocumentManagementTest: test_class_method_object_name_returns_model_name_in_singular_form
|
2823
|
+
-----------------------------------------------------------------------------------------------------------
|
2824
|
+
--------------------------------------------------------------
|
2825
|
+
CouchRestAdapterTest: test_attributes_are_available_as_methods
|
2826
|
+
--------------------------------------------------------------
|
2827
|
+
---------------------------------------------------------
|
2828
|
+
CouchRestAdapterTest: test_can_not_instantiate_base_class
|
2829
|
+
---------------------------------------------------------
|
2830
|
+
---------------------------------------------------------------------------------------------
|
2831
|
+
CouchRestAdapterTest: test_find_by_attr_will_return_array_of_docs_with_type_set_to_model_name
|
2832
|
+
---------------------------------------------------------------------------------------------
|
2833
|
+
---------------------------------------------------------
|
2834
|
+
CouchRestAdapterTest: test_find_will_work_with_partial_id
|
2835
|
+
---------------------------------------------------------
|
2836
|
+
-------------------------------------------------------------
|
2837
|
+
CouchRestAdapterTest: test_one_can_update_existing_attributes
|
2838
|
+
-------------------------------------------------------------
|
2839
|
+
--------------------------------------------------------------------------------------------------
|
2840
|
+
CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
|
2841
|
+
--------------------------------------------------------------------------------------------------
|
2842
|
+
----------------------------------------------------------------------
|
2843
|
+
CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
|
2844
|
+
----------------------------------------------------------------------
|
2845
|
+
-------------------------------------------------------
|
2846
|
+
CouchRestAdapterTest: test_update_to_attr=_will_persist
|
2847
|
+
-------------------------------------------------------
|
2848
|
+
--------------------------------------------------------------
|
2849
|
+
CouchRestAdapterTest: test_will_add_class_underscorename_to_id
|
2850
|
+
--------------------------------------------------------------
|
2851
|
+
--------------------------
|
2852
|
+
LintTest: test_errors_aref
|
2853
|
+
--------------------------
|
2854
|
+
---------------------------
|
2855
|
+
LintTest: test_model_naming
|
2856
|
+
---------------------------
|
2857
|
+
-------------------------
|
2858
|
+
LintTest: test_persisted?
|
2859
|
+
-------------------------
|
2860
|
+
---------------------
|
2861
|
+
LintTest: test_to_key
|
2862
|
+
---------------------
|
2863
|
+
-----------------------
|
2864
|
+
LintTest: test_to_param
|
2865
|
+
-----------------------
|
2866
|
+
------------------------------
|
2867
|
+
LintTest: test_to_partial_path
|
2868
|
+
------------------------------
|