[Groonga-commit] ranguba/groonga-client-model at afe24e1 [master] Use loaded_ids

Back to archive index

Kouhei Sutou null+****@clear*****
Fri Dec 9 15:27:39 JST 2016


Kouhei Sutou	2016-12-09 15:27:39 +0900 (Fri, 09 Dec 2016)

  New Revision: afe24e168f39abf3517dfbeeff1daaccd7cac244
  https://github.com/ranguba/groonga-client-model/commit/afe24e168f39abf3517dfbeeff1daaccd7cac244

  Message:
    Use loaded_ids

  Modified files:
    groonga-client-model.gemspec
    lib/groonga_client_model/record.rb

  Modified: groonga-client-model.gemspec (+1 -1)
===================================================================
--- groonga-client-model.gemspec    2016-12-07 14:31:24 +0900 (08336f3)
+++ groonga-client-model.gemspec    2016-12-09 15:27:39 +0900 (952f6bf)
@@ -43,7 +43,7 @@ Gem::Specification.new do |spec|
   spec.files += Dir.glob("doc/text/*")
   spec.test_files += Dir.glob("test/**/*")
 
-  spec.add_runtime_dependency("groonga-client", ">= 0.3.2")
+  spec.add_runtime_dependency("groonga-client", ">= 0.3.3")
   spec.add_runtime_dependency("groonga-command-parser")
   spec.add_runtime_dependency("activemodel")
 

  Modified: lib/groonga_client_model/record.rb (+1 -1)
===================================================================
--- lib/groonga_client_model/record.rb    2016-12-07 14:31:24 +0900 (b5d0c12)
+++ lib/groonga_client_model/record.rb    2016-12-09 15:27:39 +0900 (9fbf6dd)
@@ -188,7 +188,7 @@ module GroongaClientModel
           raise RecordNotSaved.new(message, self)
         end
         if @new_record
-          id = response.ids.first
+          id = response.loaded_ids.first
           if id.nil?
             if****@attri*****?("_key")
               key = _key
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index