autocompl 0.1.1 → 0.1.2
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 +4 -4
- data/lib/autocompl.rb +2 -2
- data/lib/autocompl/{definder.rb → base.rb} +2 -2
- data/lib/autocompl/version.rb +1 -1
- data/test/dummy/Gemfile.lock +1 -1
- data/test/dummy/log/development.log +52 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 19416ac1c6db67a3efdee2c6e10bae1c92fce7d3
|
|
4
|
+
data.tar.gz: e075934218867cb758eb23c094210b5629d078b2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c3d81bb6af2d049a9b6073bae7e298f8ee22d7080400e8dfc7e69e265adb0c264d92df04d16530e4a68adb604a853c63a865eabd7678144496e8f84d81a392a7
|
|
7
|
+
data.tar.gz: c95713572871f53ace8e1053f7cdcef3647fb721651f31c655e317c64f11e07e56202b6515994eeab46ad6a1aa4646532c20a720c48ca2d9a81079a7560caf42
|
data/lib/autocompl.rb
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
require 'autocompl/repository'
|
|
2
2
|
|
|
3
3
|
module Autocompl
|
|
4
|
-
module
|
|
4
|
+
module Base
|
|
5
5
|
def self.included(target)
|
|
6
|
-
target.extend Autocompl::
|
|
6
|
+
target.extend Autocompl::Base::ClassMethods
|
|
7
7
|
target.send :include, Autocompl::Repository
|
|
8
8
|
end
|
|
9
9
|
|
data/lib/autocompl/version.rb
CHANGED
data/test/dummy/Gemfile.lock
CHANGED
|
@@ -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
|
+
[1m[36mActiveRecord::SchemaMigration Load (1.3ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
2000
|
+
Processing by ProductsController#index as HTML
|
|
2001
|
+
Rendering products/index.html.erb within layouts/application
|
|
2002
|
+
[1m[36mProduct Load (1.4ms)[0m [1m[34mSELECT "products".* FROM "products"[0m
|
|
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
|
+
[1m[36mProduct Load (0.3ms)[0m [1m[34mSELECT DISTINCT "products"."name" FROM "products"[0m
|
|
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
|
+
[1m[36mMaker Load (1.7ms)[0m [1m[34mSELECT "makers".* FROM "makers"[0m
|
|
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
|
+
[1m[36mProduct Load (0.2ms)[0m [1m[34mSELECT DISTINCT "products"."name" FROM "products"[0m
|
|
2026
|
+
[1m[36mMaker Load (0.1ms)[0m [1m[34mSELECT DISTINCT "makers"."name_ja" FROM "makers"[0m
|
|
2027
|
+
[1m[36mMaker Load (0.1ms)[0m [1m[34mSELECT DISTINCT "makers"."name_en" FROM "makers"[0m
|
|
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
|
+
[1m[36mProduct Load (0.3ms)[0m [1m[34mSELECT DISTINCT "products"."name" FROM "products"[0m
|
|
2035
|
+
[1m[36mMaker Load (0.1ms)[0m [1m[34mSELECT DISTINCT "makers"."name_ja" FROM "makers"[0m
|
|
2036
|
+
[1m[36mMaker Load (0.1ms)[0m [1m[34mSELECT DISTINCT "makers"."name_en" FROM "makers"[0m
|
|
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
|
+
[1m[36mProduct Load (0.3ms)[0m [1m[34mSELECT DISTINCT "products"."name" FROM "products"[0m
|
|
2044
|
+
[1m[36mMaker Load (0.2ms)[0m [1m[34mSELECT DISTINCT "makers"."name_ja" FROM "makers"[0m
|
|
2045
|
+
[1m[36mMaker Load (0.2ms)[0m [1m[34mSELECT DISTINCT "makers"."name_en" FROM "makers"[0m
|
|
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.
|
|
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/
|
|
61
|
+
- lib/autocompl/base.rb
|
|
62
62
|
- lib/autocompl/engine.rb
|
|
63
63
|
- lib/autocompl/repository.rb
|
|
64
64
|
- lib/autocompl/version.rb
|