autocompl 0.1.1 → 0.1.2

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: fa893fec4771c8e0ec14be7e01a37b3d66fc1340
4
- data.tar.gz: 7ea4e4890c4d420db0a6cf4889f5985f168bdad4
3
+ metadata.gz: 19416ac1c6db67a3efdee2c6e10bae1c92fce7d3
4
+ data.tar.gz: e075934218867cb758eb23c094210b5629d078b2
5
5
  SHA512:
6
- metadata.gz: 259895375c1816e2ea8550f1a2d3c6a2c961fa5a9184f58aa0b200ece55e6dfee6397352b2e48d521a6e9dfe6c01741434945b3cd3b777a02ab61cc48a02a021
7
- data.tar.gz: 770154cf40c8cfbdb6c556c806c69dc1cb2513e93cdb1277ff5c56c779060766b4d048dc1625460a52bdeeace7d2a86ef41cd3009facaf99ed40853b22c1cacc
6
+ metadata.gz: c3d81bb6af2d049a9b6073bae7e298f8ee22d7080400e8dfc7e69e265adb0c264d92df04d16530e4a68adb604a853c63a865eabd7678144496e8f84d81a392a7
7
+ data.tar.gz: c95713572871f53ace8e1053f7cdcef3647fb721651f31c655e317c64f11e07e56202b6515994eeab46ad6a1aa4646532c20a720c48ca2d9a81079a7560caf42
data/lib/autocompl.rb CHANGED
@@ -1,9 +1,9 @@
1
1
  require 'autocompl/engine'
2
- require 'autocompl/definder'
2
+ require 'autocompl/base'
3
3
 
4
4
  module Autocompl
5
5
  end
6
6
 
7
7
  class ActionController::Base
8
- include Autocompl::Definder
8
+ include Autocompl::Base
9
9
  end
@@ -1,9 +1,9 @@
1
1
  require 'autocompl/repository'
2
2
 
3
3
  module Autocompl
4
- module Definder
4
+ module Base
5
5
  def self.included(target)
6
- target.extend Autocompl::Definder::ClassMethods
6
+ target.extend Autocompl::Base::ClassMethods
7
7
  target.send :include, Autocompl::Repository
8
8
  end
9
9
 
@@ -1,3 +1,3 @@
1
1
  module Autocompl
2
- VERSION = '0.1.1'.freeze
2
+ VERSION = '0.1.2'.freeze
3
3
  end
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ../../
3
3
  specs:
4
- autocompl (0.1.0)
4
+ autocompl (0.1.1)
5
5
  rails (>= 4.2.0)
6
6
 
7
7
  GEM
@@ -1994,3 +1994,55 @@ Processing by ProductsController#autocomplete_endpoint as JSON
1994
1994
  Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
1995
1995
 
1996
1996
 
1997
+ Started GET "/products" for ::1 at 2017-01-25 22:47:40 +0900
1998
+ DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from block (3 levels) in <class:Railtie> at /Users/takahashiseiji/src/github.com/timakin/autocompl/test/dummy/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/railtie.rb:113)
1999
+ ActiveRecord::SchemaMigration Load (1.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
2000
+ Processing by ProductsController#index as HTML
2001
+ Rendering products/index.html.erb within layouts/application
2002
+ Product Load (1.4ms) SELECT "products".* FROM "products"
2003
+ Rendered products/index.html.erb within layouts/application (27.8ms)
2004
+ Completed 200 OK in 382ms (Views: 371.7ms | ActiveRecord: 1.9ms)
2005
+
2006
+
2007
+ Started GET "/products/autocomplete_endpoint?term=%E3%82%8A%E3%82%93%E3%81%94" for ::1 at 2017-01-25 22:47:44 +0900
2008
+ Processing by ProductsController#autocomplete_endpoint as JSON
2009
+ Parameters: {"term"=>"りんご"}
2010
+ Product Load (0.3ms) SELECT DISTINCT "products"."name" FROM "products"
2011
+ Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
2012
+
2013
+
2014
+ Started GET "/makers" for ::1 at 2017-01-25 22:47:52 +0900
2015
+ Processing by MakersController#index as HTML
2016
+ Rendering makers/index.html.erb within layouts/application
2017
+ Maker Load (1.7ms) SELECT "makers".* FROM "makers"
2018
+ Rendered makers/index.html.erb within layouts/application (7.6ms)
2019
+ Completed 200 OK in 32ms (Views: 22.5ms | ActiveRecord: 2.1ms)
2020
+
2021
+
2022
+ Started GET "/makers/autocomplete_endpoint?term=Aoya" for ::1 at 2017-01-25 22:47:55 +0900
2023
+ Processing by MakersController#autocomplete_endpoint as JSON
2024
+ Parameters: {"term"=>"Aoya"}
2025
+ Product Load (0.2ms) SELECT DISTINCT "products"."name" FROM "products"
2026
+ Maker Load (0.1ms) SELECT DISTINCT "makers"."name_ja" FROM "makers"
2027
+ Maker Load (0.1ms) SELECT DISTINCT "makers"."name_en" FROM "makers"
2028
+ Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.4ms)
2029
+
2030
+
2031
+ Started GET "/makers/autocomplete_endpoint?term=Aoyama" for ::1 at 2017-01-25 22:47:55 +0900
2032
+ Processing by MakersController#autocomplete_endpoint as JSON
2033
+ Parameters: {"term"=>"Aoyama"}
2034
+ Product Load (0.3ms) SELECT DISTINCT "products"."name" FROM "products"
2035
+ Maker Load (0.1ms) SELECT DISTINCT "makers"."name_ja" FROM "makers"
2036
+ Maker Load (0.1ms) SELECT DISTINCT "makers"."name_en" FROM "makers"
2037
+ Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.5ms)
2038
+
2039
+
2040
+ Started GET "/makers/autocomplete_endpoint?term=aoyam" for ::1 at 2017-01-25 22:47:56 +0900
2041
+ Processing by MakersController#autocomplete_endpoint as JSON
2042
+ Parameters: {"term"=>"aoyam"}
2043
+ Product Load (0.3ms) SELECT DISTINCT "products"."name" FROM "products"
2044
+ Maker Load (0.2ms) SELECT DISTINCT "makers"."name_ja" FROM "makers"
2045
+ Maker Load (0.2ms) SELECT DISTINCT "makers"."name_en" FROM "makers"
2046
+ Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.7ms)
2047
+
2048
+
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: autocompl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - timakin
@@ -58,7 +58,7 @@ files:
58
58
  - app/assets/javascripts/autocompl.min.js
59
59
  - app/assets/stylesheets/autocompl.css
60
60
  - lib/autocompl.rb
61
- - lib/autocompl/definder.rb
61
+ - lib/autocompl/base.rb
62
62
  - lib/autocompl/engine.rb
63
63
  - lib/autocompl/repository.rb
64
64
  - lib/autocompl/version.rb