couch_rest_adapter 0.5.0 → 0.6.0

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: 60f566692542259314dff994e82c53f758c1f31b
4
- data.tar.gz: 44d4d85b68038c226b4b790f885922f1d5f289e3
3
+ metadata.gz: 8a14243b3a620237550b3d1c3db648e6b52630d8
4
+ data.tar.gz: 0236bb4d38bac7ebd3ef5a61fee634d888b420b2
5
5
  SHA512:
6
- metadata.gz: 929ee89b7afdbfacf0ca8de56b61b3eb32a9fb041073efb58cf5f6abd70e50617737dbb049851ec1b97f467e94e08a6cdce148a6ddb65fb0e84c18d682a1c97c
7
- data.tar.gz: 723a3d8de2904a1c1c7eaf25b3b639a807c23bc670b26ad1f4cf9e71d76a63d7c03955383d06971998c12f3570c6e4560e8aac2ce575ddbb5d41b56b4de16e35
6
+ metadata.gz: fc9991166fc69049fed979fdd10fc7b85697427d4210d7bef6d8775ee1e10941bec7291de94d76c58ca8cbe34f1dc3110309feb9aee34bc2717afec41d47b97b
7
+ data.tar.gz: 159eb4c9ee2cde712b32c2a5de13c72c01cb154c5805317fc2e19d18b26c0fd50efe3c91cbf42018faf3a0d86287dbb7528bcfe2297f09d145d800107fc0096c
@@ -13,7 +13,7 @@ module CouchRestAdapter
13
13
  end
14
14
 
15
15
  def object_name
16
- model_name.singular
16
+ model_name.element
17
17
  end
18
18
  end
19
19
 
@@ -1,3 +1,3 @@
1
1
  module CouchRestAdapter
2
- VERSION = "0.5.0"
2
+ VERSION = "0.6.0"
3
3
  end
@@ -4396,3 +4396,183 @@ LintTest: test_to_param
4396
4396
  ------------------------------
4397
4397
  LintTest: test_to_partial_path
4398
4398
  ------------------------------
4399
+ ---------------------------------------------------
4400
+ CouchRestAdapter::AttributeMethodTest: test_base_id
4401
+ ---------------------------------------------------
4402
+ -----------------------------------------------------------------------------------------------------------------------
4403
+ CouchRestAdapter::DocumentManagementTest: test__set_id_and_namespace_will_set_the__id_variable_with_an_id_and_namespace
4404
+ -----------------------------------------------------------------------------------------------------------------------
4405
+ ---------------------------------------------------------------------------------------------------
4406
+ CouchRestAdapter::DocumentManagementTest: test_class_method_namespace=_allows_override_of_namespace
4407
+ ---------------------------------------------------------------------------------------------------
4408
+ ---------------------------------------------------------------------------------------------
4409
+ CouchRestAdapter::DocumentManagementTest: test_class_method_namespace_defaults_to_object_name
4410
+ ---------------------------------------------------------------------------------------------
4411
+ -----------------------------------------------------------------------------------------------------------
4412
+ CouchRestAdapter::DocumentManagementTest: test_class_method_object_name_returns_model_name_in_singular_form
4413
+ -----------------------------------------------------------------------------------------------------------
4414
+ --------------------------------------------------------------
4415
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
4416
+ --------------------------------------------------------------
4417
+ ---------------------------------------------------------
4418
+ CouchRestAdapterTest: test_can_not_instantiate_base_class
4419
+ ---------------------------------------------------------
4420
+ ---------------------------------------------------------------------------------------------
4421
+ CouchRestAdapterTest: test_find_by_attr_will_return_array_of_docs_with_type_set_to_model_name
4422
+ ---------------------------------------------------------------------------------------------
4423
+ ---------------------------------------------------------
4424
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
4425
+ ---------------------------------------------------------
4426
+ -------------------------------------------------------------
4427
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
4428
+ -------------------------------------------------------------
4429
+ --------------------------------------------------------------------------------------------------
4430
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
4431
+ --------------------------------------------------------------------------------------------------
4432
+ ----------------------------------------------------------------------
4433
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
4434
+ ----------------------------------------------------------------------
4435
+ -------------------------------------------------------
4436
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
4437
+ -------------------------------------------------------
4438
+ --------------------------------------------------------------
4439
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
4440
+ --------------------------------------------------------------
4441
+ --------------------------
4442
+ LintTest: test_errors_aref
4443
+ --------------------------
4444
+ ---------------------------
4445
+ LintTest: test_model_naming
4446
+ ---------------------------
4447
+ -------------------------
4448
+ LintTest: test_persisted?
4449
+ -------------------------
4450
+ ---------------------
4451
+ LintTest: test_to_key
4452
+ ---------------------
4453
+ -----------------------
4454
+ LintTest: test_to_param
4455
+ -----------------------
4456
+ ------------------------------
4457
+ LintTest: test_to_partial_path
4458
+ ------------------------------
4459
+ ---------------------------------------------------
4460
+ CouchRestAdapter::AttributeMethodTest: test_base_id
4461
+ ---------------------------------------------------
4462
+ -----------------------------------------------------------------------------------------------------------------------
4463
+ CouchRestAdapter::DocumentManagementTest: test__set_id_and_namespace_will_set_the__id_variable_with_an_id_and_namespace
4464
+ -----------------------------------------------------------------------------------------------------------------------
4465
+ ---------------------------------------------------------------------------------------------------
4466
+ CouchRestAdapter::DocumentManagementTest: test_class_method_namespace=_allows_override_of_namespace
4467
+ ---------------------------------------------------------------------------------------------------
4468
+ ---------------------------------------------------------------------------------------------
4469
+ CouchRestAdapter::DocumentManagementTest: test_class_method_namespace_defaults_to_object_name
4470
+ ---------------------------------------------------------------------------------------------
4471
+ -----------------------------------------------------------------------------------------------------------
4472
+ CouchRestAdapter::DocumentManagementTest: test_class_method_object_name_returns_model_name_in_singular_form
4473
+ -----------------------------------------------------------------------------------------------------------
4474
+ --------------------------------------------------------------
4475
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
4476
+ --------------------------------------------------------------
4477
+ ---------------------------------------------------------
4478
+ CouchRestAdapterTest: test_can_not_instantiate_base_class
4479
+ ---------------------------------------------------------
4480
+ ---------------------------------------------------------------------------------------------
4481
+ CouchRestAdapterTest: test_find_by_attr_will_return_array_of_docs_with_type_set_to_model_name
4482
+ ---------------------------------------------------------------------------------------------
4483
+ ---------------------------------------------------------
4484
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
4485
+ ---------------------------------------------------------
4486
+ -------------------------------------------------------------
4487
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
4488
+ -------------------------------------------------------------
4489
+ --------------------------------------------------------------------------------------------------
4490
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
4491
+ --------------------------------------------------------------------------------------------------
4492
+ ----------------------------------------------------------------------
4493
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
4494
+ ----------------------------------------------------------------------
4495
+ -------------------------------------------------------
4496
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
4497
+ -------------------------------------------------------
4498
+ --------------------------------------------------------------
4499
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
4500
+ --------------------------------------------------------------
4501
+ --------------------------
4502
+ LintTest: test_errors_aref
4503
+ --------------------------
4504
+ ---------------------------
4505
+ LintTest: test_model_naming
4506
+ ---------------------------
4507
+ -------------------------
4508
+ LintTest: test_persisted?
4509
+ -------------------------
4510
+ ---------------------
4511
+ LintTest: test_to_key
4512
+ ---------------------
4513
+ -----------------------
4514
+ LintTest: test_to_param
4515
+ -----------------------
4516
+ ------------------------------
4517
+ LintTest: test_to_partial_path
4518
+ ------------------------------
4519
+ ---------------------------------------------------
4520
+ CouchRestAdapter::AttributeMethodTest: test_base_id
4521
+ ---------------------------------------------------
4522
+ -----------------------------------------------------------------------------------------------------------------------
4523
+ CouchRestAdapter::DocumentManagementTest: test__set_id_and_namespace_will_set_the__id_variable_with_an_id_and_namespace
4524
+ -----------------------------------------------------------------------------------------------------------------------
4525
+ ---------------------------------------------------------------------------------------------------
4526
+ CouchRestAdapter::DocumentManagementTest: test_class_method_namespace=_allows_override_of_namespace
4527
+ ---------------------------------------------------------------------------------------------------
4528
+ ---------------------------------------------------------------------------------------------
4529
+ CouchRestAdapter::DocumentManagementTest: test_class_method_namespace_defaults_to_object_name
4530
+ ---------------------------------------------------------------------------------------------
4531
+ -----------------------------------------------------------------------------------------------------------
4532
+ CouchRestAdapter::DocumentManagementTest: test_class_method_object_name_returns_model_name_in_singular_form
4533
+ -----------------------------------------------------------------------------------------------------------
4534
+ --------------------------------------------------------------
4535
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
4536
+ --------------------------------------------------------------
4537
+ ---------------------------------------------------------
4538
+ CouchRestAdapterTest: test_can_not_instantiate_base_class
4539
+ ---------------------------------------------------------
4540
+ ---------------------------------------------------------------------------------------------
4541
+ CouchRestAdapterTest: test_find_by_attr_will_return_array_of_docs_with_type_set_to_model_name
4542
+ ---------------------------------------------------------------------------------------------
4543
+ ---------------------------------------------------------
4544
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
4545
+ ---------------------------------------------------------
4546
+ -------------------------------------------------------------
4547
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
4548
+ -------------------------------------------------------------
4549
+ --------------------------------------------------------------------------------------------------
4550
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
4551
+ --------------------------------------------------------------------------------------------------
4552
+ ----------------------------------------------------------------------
4553
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
4554
+ ----------------------------------------------------------------------
4555
+ -------------------------------------------------------
4556
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
4557
+ -------------------------------------------------------
4558
+ --------------------------------------------------------------
4559
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
4560
+ --------------------------------------------------------------
4561
+ --------------------------
4562
+ LintTest: test_errors_aref
4563
+ --------------------------
4564
+ ---------------------------
4565
+ LintTest: test_model_naming
4566
+ ---------------------------
4567
+ -------------------------
4568
+ LintTest: test_persisted?
4569
+ -------------------------
4570
+ ---------------------
4571
+ LintTest: test_to_key
4572
+ ---------------------
4573
+ -----------------------
4574
+ LintTest: test_to_param
4575
+ -----------------------
4576
+ ------------------------------
4577
+ LintTest: test_to_partial_path
4578
+ ------------------------------
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: couch_rest_adapter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Javier Guerra