dolly 0.6.0 → 0.6.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f310bb10ff18ec990f101c2f6ad8470ba4ecfe24
4
- data.tar.gz: 25ac2e2e160160ddb1fbab3ec95d0554772fe4c1
3
+ metadata.gz: 6fa754d3dc83a36b3a435cc6d8db15c39495f3e7
4
+ data.tar.gz: cd61f6a272fdb3bdab8129073828d08bfb8f9efa
5
5
  SHA512:
6
- metadata.gz: 190ec76bedcb882c2ca6e66e4f791861ad66773308f3994d664b9e3af301751924cb551c89bee17ac123984a45ebcd4e1aac3f88a8f2ff24b216efe10d590092
7
- data.tar.gz: 54397eca72bcd6f50ab064e94cde974f48f6d5b5348a8e8eebe22b22aa92b8c225908444203ff041c13453306394b8c562584b15c67f2c513f222d40a7571c85
6
+ metadata.gz: 802b991ce692d899773ae0a57527d197525544f48a3f1a3773834d1b5bd51cb3aa78a81a2c90dc1b3858602320540099ceba9e908ac07fd7876eadb3c9eaf8b3
7
+ data.tar.gz: 885a621fc09244dbb4bf031150ee804269ac7925d5f1fca4e2a21c0e4476c7d58c2226637b98024216f77eb6d604af6e33fc5ca003ce8196ac3f12eed9fe3c58
data/lib/dolly/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Dolly
2
- VERSION = "0.6.0"
2
+ VERSION = "0.6.1"
3
3
  end
data/lib/tasks/db.rake CHANGED
@@ -8,7 +8,7 @@ namespace :db do
8
8
  desc "Will update design document with what is on db/designs/*.coffee"
9
9
  task design: :environment do
10
10
  path = File.join Rails.root, 'db', 'designs'
11
- files = Dir.glob("**/*.coffee")
11
+ files = Dir.glob("#{path}/*.coffee")
12
12
  views = {}
13
13
  filters = {}
14
14
 
@@ -42802,3 +42802,363 @@ DocumentTest: test_with_default_will_return_default_value_on_nil
42802
42802
  -----------------------------------
42803
42803
  DocumentTest: test_with_timestamps!
42804
42804
  -----------------------------------
42805
+ --------------------------------------------------
42806
+ BulkDocumentTest: test_adding_document_to_bulk_doc
42807
+ --------------------------------------------------
42808
+ -----------------------------------------------------------------
42809
+ BulkDocumentTest: test_bulk_document_intialize_with_empty_payload
42810
+ -----------------------------------------------------------------
42811
+ ------------------------------------------------------------------
42812
+ BulkDocumentTest: test_save_document_will_remove_docs_from_payload
42813
+ ------------------------------------------------------------------
42814
+ --------------------------------------------------------------
42815
+ DocumentTest: test_Dolly::Document_have_bulk_document_instance
42816
+ --------------------------------------------------------------
42817
+ -------------------------------------------
42818
+ DocumentTest: test_all_first_returns_FooBar
42819
+ -------------------------------------------
42820
+ ------------------------------------------
42821
+ DocumentTest: test_all_last_returns_FooBar
42822
+ ------------------------------------------
42823
+ --------------------------------------
42824
+ DocumentTest: test_all_will_get_2_docs
42825
+ --------------------------------------
42826
+ ------------------------------------------------
42827
+ DocumentTest: test_all_will_get_FooBar_documents
42828
+ ------------------------------------------------
42829
+ ------------------------------------------
42830
+ DocumentTest: test_call_view_helper_method
42831
+ ------------------------------------------
42832
+ ----------------------------------------------
42833
+ DocumentTest: test_default_will_be_avoerwriten
42834
+ ----------------------------------------------
42835
+ --------------------------------------------
42836
+ DocumentTest: test_delete_method_on_document
42837
+ --------------------------------------------
42838
+ ------------------------------------------------
42839
+ DocumentTest: test_empty_find_should_raise_error
42840
+ ------------------------------------------------
42841
+ ------------------------------------------------------------
42842
+ DocumentTest: test_error_on_server_raises_Dolly::ServerError
42843
+ ------------------------------------------------------------
42844
+ --------------------------------------------------
42845
+ DocumentTest: test_find_will_get_a_FooBar_document
42846
+ --------------------------------------------------
42847
+ ----------------------------------------------------------------
42848
+ DocumentTest: test_find_with_multiple_ids_will_return_Collection
42849
+ ----------------------------------------------------------------
42850
+ --------------------------------------------------------
42851
+ DocumentTest: test_first_class_method_returns_collection
42852
+ --------------------------------------------------------
42853
+ ---------------------------------------------------------
42854
+ DocumentTest: test_first_class_method_returns_single_item
42855
+ ---------------------------------------------------------
42856
+ ---------------------------------------------
42857
+ DocumentTest: test_getting_not_found_document
42858
+ ---------------------------------------------
42859
+ -------------------------------------------------------
42860
+ DocumentTest: test_last_class_method_returns_collection
42861
+ -------------------------------------------------------
42862
+ --------------------------------------------------------
42863
+ DocumentTest: test_last_class_method_returns_single_item
42864
+ --------------------------------------------------------
42865
+ -------------------------------------------------
42866
+ DocumentTest: test_multi_response_with_right_data
42867
+ -------------------------------------------------
42868
+ ---------------------------------------
42869
+ DocumentTest: test_new_document_have_id
42870
+ ---------------------------------------
42871
+ -----------------------------------------
42872
+ DocumentTest: test_new_in_memory_document
42873
+ -----------------------------------------
42874
+ ------------------------------------
42875
+ DocumentTest: test_query_custom_view
42876
+ ------------------------------------
42877
+ ------------------------------------------
42878
+ DocumentTest: test_soft_delete_on_document
42879
+ ------------------------------------------
42880
+ -------------------------------------------
42881
+ DocumentTest: test_will_have_key_properties
42882
+ -------------------------------------------
42883
+ --------------------------------------------------------
42884
+ DocumentTest: test_will_have_object_with_boolean?_method
42885
+ --------------------------------------------------------
42886
+ ------------------------------------------------
42887
+ DocumentTest: test_will_have_only_set_properties
42888
+ ------------------------------------------------
42889
+ ----------------------------------------------------------------
42890
+ DocumentTest: test_with_default_will_return_default_value_on_nil
42891
+ ----------------------------------------------------------------
42892
+ -----------------------------------
42893
+ DocumentTest: test_with_timestamps!
42894
+ -----------------------------------
42895
+ --------------------------------------------------
42896
+ BulkDocumentTest: test_adding_document_to_bulk_doc
42897
+ --------------------------------------------------
42898
+ -----------------------------------------------------------------
42899
+ BulkDocumentTest: test_bulk_document_intialize_with_empty_payload
42900
+ -----------------------------------------------------------------
42901
+ ------------------------------------------------------------------
42902
+ BulkDocumentTest: test_save_document_will_remove_docs_from_payload
42903
+ ------------------------------------------------------------------
42904
+ --------------------------------------------------------------
42905
+ DocumentTest: test_Dolly::Document_have_bulk_document_instance
42906
+ --------------------------------------------------------------
42907
+ -------------------------------------------
42908
+ DocumentTest: test_all_first_returns_FooBar
42909
+ -------------------------------------------
42910
+ ------------------------------------------
42911
+ DocumentTest: test_all_last_returns_FooBar
42912
+ ------------------------------------------
42913
+ --------------------------------------
42914
+ DocumentTest: test_all_will_get_2_docs
42915
+ --------------------------------------
42916
+ ------------------------------------------------
42917
+ DocumentTest: test_all_will_get_FooBar_documents
42918
+ ------------------------------------------------
42919
+ ------------------------------------------
42920
+ DocumentTest: test_call_view_helper_method
42921
+ ------------------------------------------
42922
+ ----------------------------------------------
42923
+ DocumentTest: test_default_will_be_avoerwriten
42924
+ ----------------------------------------------
42925
+ --------------------------------------------
42926
+ DocumentTest: test_delete_method_on_document
42927
+ --------------------------------------------
42928
+ ------------------------------------------------
42929
+ DocumentTest: test_empty_find_should_raise_error
42930
+ ------------------------------------------------
42931
+ ------------------------------------------------------------
42932
+ DocumentTest: test_error_on_server_raises_Dolly::ServerError
42933
+ ------------------------------------------------------------
42934
+ --------------------------------------------------
42935
+ DocumentTest: test_find_will_get_a_FooBar_document
42936
+ --------------------------------------------------
42937
+ ----------------------------------------------------------------
42938
+ DocumentTest: test_find_with_multiple_ids_will_return_Collection
42939
+ ----------------------------------------------------------------
42940
+ --------------------------------------------------------
42941
+ DocumentTest: test_first_class_method_returns_collection
42942
+ --------------------------------------------------------
42943
+ ---------------------------------------------------------
42944
+ DocumentTest: test_first_class_method_returns_single_item
42945
+ ---------------------------------------------------------
42946
+ ---------------------------------------------
42947
+ DocumentTest: test_getting_not_found_document
42948
+ ---------------------------------------------
42949
+ -------------------------------------------------------
42950
+ DocumentTest: test_last_class_method_returns_collection
42951
+ -------------------------------------------------------
42952
+ --------------------------------------------------------
42953
+ DocumentTest: test_last_class_method_returns_single_item
42954
+ --------------------------------------------------------
42955
+ -------------------------------------------------
42956
+ DocumentTest: test_multi_response_with_right_data
42957
+ -------------------------------------------------
42958
+ ---------------------------------------
42959
+ DocumentTest: test_new_document_have_id
42960
+ ---------------------------------------
42961
+ -----------------------------------------
42962
+ DocumentTest: test_new_in_memory_document
42963
+ -----------------------------------------
42964
+ ------------------------------------
42965
+ DocumentTest: test_query_custom_view
42966
+ ------------------------------------
42967
+ ------------------------------------------
42968
+ DocumentTest: test_soft_delete_on_document
42969
+ ------------------------------------------
42970
+ -------------------------------------------
42971
+ DocumentTest: test_will_have_key_properties
42972
+ -------------------------------------------
42973
+ --------------------------------------------------------
42974
+ DocumentTest: test_will_have_object_with_boolean?_method
42975
+ --------------------------------------------------------
42976
+ ------------------------------------------------
42977
+ DocumentTest: test_will_have_only_set_properties
42978
+ ------------------------------------------------
42979
+ ----------------------------------------------------------------
42980
+ DocumentTest: test_with_default_will_return_default_value_on_nil
42981
+ ----------------------------------------------------------------
42982
+ -----------------------------------
42983
+ DocumentTest: test_with_timestamps!
42984
+ -----------------------------------
42985
+ --------------------------------------------------
42986
+ BulkDocumentTest: test_adding_document_to_bulk_doc
42987
+ --------------------------------------------------
42988
+ -----------------------------------------------------------------
42989
+ BulkDocumentTest: test_bulk_document_intialize_with_empty_payload
42990
+ -----------------------------------------------------------------
42991
+ ------------------------------------------------------------------
42992
+ BulkDocumentTest: test_save_document_will_remove_docs_from_payload
42993
+ ------------------------------------------------------------------
42994
+ --------------------------------------------------------------
42995
+ DocumentTest: test_Dolly::Document_have_bulk_document_instance
42996
+ --------------------------------------------------------------
42997
+ -------------------------------------------
42998
+ DocumentTest: test_all_first_returns_FooBar
42999
+ -------------------------------------------
43000
+ ------------------------------------------
43001
+ DocumentTest: test_all_last_returns_FooBar
43002
+ ------------------------------------------
43003
+ --------------------------------------
43004
+ DocumentTest: test_all_will_get_2_docs
43005
+ --------------------------------------
43006
+ ------------------------------------------------
43007
+ DocumentTest: test_all_will_get_FooBar_documents
43008
+ ------------------------------------------------
43009
+ ------------------------------------------
43010
+ DocumentTest: test_call_view_helper_method
43011
+ ------------------------------------------
43012
+ ----------------------------------------------
43013
+ DocumentTest: test_default_will_be_avoerwriten
43014
+ ----------------------------------------------
43015
+ --------------------------------------------
43016
+ DocumentTest: test_delete_method_on_document
43017
+ --------------------------------------------
43018
+ ------------------------------------------------
43019
+ DocumentTest: test_empty_find_should_raise_error
43020
+ ------------------------------------------------
43021
+ ------------------------------------------------------------
43022
+ DocumentTest: test_error_on_server_raises_Dolly::ServerError
43023
+ ------------------------------------------------------------
43024
+ --------------------------------------------------
43025
+ DocumentTest: test_find_will_get_a_FooBar_document
43026
+ --------------------------------------------------
43027
+ ----------------------------------------------------------------
43028
+ DocumentTest: test_find_with_multiple_ids_will_return_Collection
43029
+ ----------------------------------------------------------------
43030
+ --------------------------------------------------------
43031
+ DocumentTest: test_first_class_method_returns_collection
43032
+ --------------------------------------------------------
43033
+ ---------------------------------------------------------
43034
+ DocumentTest: test_first_class_method_returns_single_item
43035
+ ---------------------------------------------------------
43036
+ ---------------------------------------------
43037
+ DocumentTest: test_getting_not_found_document
43038
+ ---------------------------------------------
43039
+ -------------------------------------------------------
43040
+ DocumentTest: test_last_class_method_returns_collection
43041
+ -------------------------------------------------------
43042
+ --------------------------------------------------------
43043
+ DocumentTest: test_last_class_method_returns_single_item
43044
+ --------------------------------------------------------
43045
+ -------------------------------------------------
43046
+ DocumentTest: test_multi_response_with_right_data
43047
+ -------------------------------------------------
43048
+ ---------------------------------------
43049
+ DocumentTest: test_new_document_have_id
43050
+ ---------------------------------------
43051
+ -----------------------------------------
43052
+ DocumentTest: test_new_in_memory_document
43053
+ -----------------------------------------
43054
+ ------------------------------------
43055
+ DocumentTest: test_query_custom_view
43056
+ ------------------------------------
43057
+ ------------------------------------------
43058
+ DocumentTest: test_soft_delete_on_document
43059
+ ------------------------------------------
43060
+ -------------------------------------------
43061
+ DocumentTest: test_will_have_key_properties
43062
+ -------------------------------------------
43063
+ --------------------------------------------------------
43064
+ DocumentTest: test_will_have_object_with_boolean?_method
43065
+ --------------------------------------------------------
43066
+ ------------------------------------------------
43067
+ DocumentTest: test_will_have_only_set_properties
43068
+ ------------------------------------------------
43069
+ ----------------------------------------------------------------
43070
+ DocumentTest: test_with_default_will_return_default_value_on_nil
43071
+ ----------------------------------------------------------------
43072
+ -----------------------------------
43073
+ DocumentTest: test_with_timestamps!
43074
+ -----------------------------------
43075
+ --------------------------------------------------
43076
+ BulkDocumentTest: test_adding_document_to_bulk_doc
43077
+ --------------------------------------------------
43078
+ -----------------------------------------------------------------
43079
+ BulkDocumentTest: test_bulk_document_intialize_with_empty_payload
43080
+ -----------------------------------------------------------------
43081
+ ------------------------------------------------------------------
43082
+ BulkDocumentTest: test_save_document_will_remove_docs_from_payload
43083
+ ------------------------------------------------------------------
43084
+ --------------------------------------------------------------
43085
+ DocumentTest: test_Dolly::Document_have_bulk_document_instance
43086
+ --------------------------------------------------------------
43087
+ -------------------------------------------
43088
+ DocumentTest: test_all_first_returns_FooBar
43089
+ -------------------------------------------
43090
+ ------------------------------------------
43091
+ DocumentTest: test_all_last_returns_FooBar
43092
+ ------------------------------------------
43093
+ --------------------------------------
43094
+ DocumentTest: test_all_will_get_2_docs
43095
+ --------------------------------------
43096
+ ------------------------------------------------
43097
+ DocumentTest: test_all_will_get_FooBar_documents
43098
+ ------------------------------------------------
43099
+ ------------------------------------------
43100
+ DocumentTest: test_can_find_with_fixnum_id
43101
+ ------------------------------------------
43102
+ ----------------------------------------------
43103
+ DocumentTest: test_default_will_be_avoerwriten
43104
+ ----------------------------------------------
43105
+ --------------------------------------------
43106
+ DocumentTest: test_delete_method_on_document
43107
+ --------------------------------------------
43108
+ ------------------------------------------------
43109
+ DocumentTest: test_empty_find_should_raise_error
43110
+ ------------------------------------------------
43111
+ ------------------------------------------------------------
43112
+ DocumentTest: test_error_on_server_raises_Dolly::ServerError
43113
+ ------------------------------------------------------------
43114
+ --------------------------------------------------
43115
+ DocumentTest: test_find_will_get_a_FooBar_document
43116
+ --------------------------------------------------
43117
+ ----------------------------------------------------------------
43118
+ DocumentTest: test_find_with_multiple_ids_will_return_Collection
43119
+ ----------------------------------------------------------------
43120
+ --------------------------------------------------------
43121
+ DocumentTest: test_first_class_method_returns_collection
43122
+ --------------------------------------------------------
43123
+ ---------------------------------------------------------
43124
+ DocumentTest: test_first_class_method_returns_single_item
43125
+ ---------------------------------------------------------
43126
+ ---------------------------------------------
43127
+ DocumentTest: test_getting_not_found_document
43128
+ ---------------------------------------------
43129
+ -------------------------------------------------------
43130
+ DocumentTest: test_last_class_method_returns_collection
43131
+ -------------------------------------------------------
43132
+ --------------------------------------------------------
43133
+ DocumentTest: test_last_class_method_returns_single_item
43134
+ --------------------------------------------------------
43135
+ -------------------------------------------------
43136
+ DocumentTest: test_multi_response_with_right_data
43137
+ -------------------------------------------------
43138
+ ---------------------------------------
43139
+ DocumentTest: test_new_document_have_id
43140
+ ---------------------------------------
43141
+ -----------------------------------------
43142
+ DocumentTest: test_new_in_memory_document
43143
+ -----------------------------------------
43144
+ ------------------------------------
43145
+ DocumentTest: test_query_custom_view
43146
+ ------------------------------------
43147
+ ------------------------------------------
43148
+ DocumentTest: test_soft_delete_on_document
43149
+ ------------------------------------------
43150
+ -------------------------------------------
43151
+ DocumentTest: test_will_have_key_properties
43152
+ -------------------------------------------
43153
+ --------------------------------------------------------
43154
+ DocumentTest: test_will_have_object_with_boolean?_method
43155
+ --------------------------------------------------------
43156
+ ------------------------------------------------
43157
+ DocumentTest: test_will_have_only_set_properties
43158
+ ------------------------------------------------
43159
+ ----------------------------------------------------------------
43160
+ DocumentTest: test_with_default_will_return_default_value_on_nil
43161
+ ----------------------------------------------------------------
43162
+ -----------------------------------
43163
+ DocumentTest: test_with_timestamps!
43164
+ -----------------------------------
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dolly
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - javierg
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-04 00:00:00.000000000 Z
11
+ date: 2014-02-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails