dolly 0.5.3 → 0.5.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 35db1156ac5ee6dea64335de6635119f60bb8c52
4
- data.tar.gz: 34a314ce6e203b996408b971d61147575bfbe842
3
+ metadata.gz: 8a70cacfed23685943e10fef2c3670b86200f0d5
4
+ data.tar.gz: 6ce6ee2783d5c6e78f4d737acdc0f983195999b5
5
5
  SHA512:
6
- metadata.gz: 87435c54056ff4f61ff78c96db633df2b9fc8dabc08bf2929defe6e88b6af801dc8d933a6d1dfe25ded35e3a97d4c30427306de6c2e361d9d765373b282c3db0
7
- data.tar.gz: 446963d22016a5eb7a31bda7a4a3396b424cf570fe8bebdf6a9ae9f32eab0642bf0f6142cc1a496aa2399d2923244cb21e487a5f6e8513647c4ab245c68a50be
6
+ metadata.gz: b2c55287f2c1a64aa35b280412e6646557ad4bfc6eb50afed9d0b37332266c10752418cc7ff3c9a3f32ff14f0c01c15bb5b5c2fcb16c2670f0dccd25d8a1f687
7
+ data.tar.gz: 398dbed16e7fb181a0381b3f0445281a853c5e59cdc8543d483b1d10b5340adb87e807cc1e528872c1c10a1788b459879a1988d21decca7dd89380581cc348ae
@@ -5,7 +5,7 @@ module Dolly
5
5
  include ActiveModel::Naming
6
6
 
7
7
  def name_paramitized
8
- model_name.param_key
8
+ model_name.element
9
9
  end
10
10
 
11
11
  def base_id id
data/lib/dolly/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Dolly
2
- VERSION = "0.5.3"
2
+ VERSION = "0.5.4"
3
3
  end
@@ -31033,3 +31033,90 @@ DocumentTest: test_with_default_will_return_default_value_on_nil
31033
31033
  -----------------------------------
31034
31034
  DocumentTest: test_with_timestamps!
31035
31035
  -----------------------------------
31036
+ --------------------------------------------------
31037
+ BulkDocumentTest: test_adding_document_to_bulk_doc
31038
+ --------------------------------------------------
31039
+ -----------------------------------------------------------------
31040
+ BulkDocumentTest: test_bulk_document_intialize_with_empty_payload
31041
+ -----------------------------------------------------------------
31042
+ ------------------------------------------------------------------
31043
+ BulkDocumentTest: test_save_document_will_remove_docs_from_payload
31044
+ ------------------------------------------------------------------
31045
+ --------------------------------------------------------------
31046
+ DocumentTest: test_Dolly::Document_have_bulk_document_instance
31047
+ --------------------------------------------------------------
31048
+ -------------------------------------------
31049
+ DocumentTest: test_all_first_returns_FooBar
31050
+ -------------------------------------------
31051
+ ------------------------------------------
31052
+ DocumentTest: test_all_last_returns_FooBar
31053
+ ------------------------------------------
31054
+ --------------------------------------
31055
+ DocumentTest: test_all_will_get_2_docs
31056
+ --------------------------------------
31057
+ ------------------------------------------------
31058
+ DocumentTest: test_all_will_get_FooBar_documents
31059
+ ------------------------------------------------
31060
+ ----------------------------------------------
31061
+ DocumentTest: test_default_will_be_avoerwriten
31062
+ ----------------------------------------------
31063
+ --------------------------------------------
31064
+ DocumentTest: test_delete_method_on_document
31065
+ --------------------------------------------
31066
+ ------------------------------------------------
31067
+ DocumentTest: test_empty_find_should_raise_error
31068
+ ------------------------------------------------
31069
+ ------------------------------------------------------------
31070
+ DocumentTest: test_error_on_server_raises_Dolly::ServerError
31071
+ ------------------------------------------------------------
31072
+ --------------------------------------------------
31073
+ DocumentTest: test_find_will_get_a_FooBar_document
31074
+ --------------------------------------------------
31075
+ ----------------------------------------------------------------
31076
+ DocumentTest: test_find_with_multiple_ids_will_return_Collection
31077
+ ----------------------------------------------------------------
31078
+ --------------------------------------------------------
31079
+ DocumentTest: test_first_class_method_returns_collection
31080
+ --------------------------------------------------------
31081
+ ---------------------------------------------------------
31082
+ DocumentTest: test_first_class_method_returns_single_item
31083
+ ---------------------------------------------------------
31084
+ ---------------------------------------------
31085
+ DocumentTest: test_getting_not_found_document
31086
+ ---------------------------------------------
31087
+ -------------------------------------------------------
31088
+ DocumentTest: test_last_class_method_returns_collection
31089
+ -------------------------------------------------------
31090
+ --------------------------------------------------------
31091
+ DocumentTest: test_last_class_method_returns_single_item
31092
+ --------------------------------------------------------
31093
+ -------------------------------------------------
31094
+ DocumentTest: test_multi_response_with_right_data
31095
+ -------------------------------------------------
31096
+ ---------------------------------------
31097
+ DocumentTest: test_new_document_have_id
31098
+ ---------------------------------------
31099
+ -----------------------------------------
31100
+ DocumentTest: test_new_in_memory_document
31101
+ -----------------------------------------
31102
+ ------------------------------------
31103
+ DocumentTest: test_query_custom_view
31104
+ ------------------------------------
31105
+ ------------------------------------------
31106
+ DocumentTest: test_soft_delete_on_document
31107
+ ------------------------------------------
31108
+ -------------------------------------------
31109
+ DocumentTest: test_will_have_key_properties
31110
+ -------------------------------------------
31111
+ --------------------------------------------------------
31112
+ DocumentTest: test_will_have_object_with_boolean?_method
31113
+ --------------------------------------------------------
31114
+ ------------------------------------------------
31115
+ DocumentTest: test_will_have_only_set_properties
31116
+ ------------------------------------------------
31117
+ ----------------------------------------------------------------
31118
+ DocumentTest: test_with_default_will_return_default_value_on_nil
31119
+ ----------------------------------------------------------------
31120
+ -----------------------------------
31121
+ DocumentTest: test_with_timestamps!
31122
+ -----------------------------------
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.5.3
4
+ version: 0.5.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - javierg
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-11-22 00:00:00.000000000 Z
11
+ date: 2013-11-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails