corejs-typeahead-rails 1.3.1

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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: e8a86c6b3402f062c8467fb0f575d4e701ef7adc9f06f14dc0adc94e42c322aa
4
+ data.tar.gz: 4874b9861eeea4ecd1f1f0dca0ca84226d42bcc3417ec346f38a6eb979d10123
5
+ SHA512:
6
+ metadata.gz: be7ede7fdd52f16276f641a1667359d6533419a672986e4419a92829b8c7e83ad984c14dfbe25e81df8b05a66d8285bbec96cffb452a8cad391f7a656102c6cc
7
+ data.tar.gz: '09d40c0966e54f9bc0d68f716f9a224b83e5215e0a0376b3f8e0bf4b77063881231690efec504e19500295b48655da7da9cd2db95831e3f1e3f4be53bf92f42d'
data/Gemfile ADDED
@@ -0,0 +1,3 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gemspec
data/LICENSE ADDED
@@ -0,0 +1,24 @@
1
+ Copyright (c) 2022 Evan Juneau
2
+ Copyright (c) 2013 Yousef Ourabi
3
+ Copyright (c) 2013-2014 Twitter, Inc
4
+
5
+ MIT License
6
+
7
+ Permission is hereby granted, free of charge, to any person obtaining
8
+ a copy of this software and associated documentation files (the
9
+ "Software"), to deal in the Software without restriction, including
10
+ without limitation the rights to use, copy, modify, merge, publish,
11
+ distribute, sublicense, and/or sell copies of the Software, and to
12
+ permit persons to whom the Software is furnished to do so, subject to
13
+ the following conditions:
14
+
15
+ The above copyright notice and this permission notice shall be
16
+ included in all copies or substantial portions of the Software.
17
+
18
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
19
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
20
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
21
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
22
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
23
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
24
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,58 @@
1
+ # CoreJS typeahead.js jQuery plugin
2
+
3
+ This asset gem packages the [maintained fork of Twitter's typeahead.js library by CoreJS](https://github.com/corejavascript/typeahead.js) as a jQuery plugin for the Rails asset pipeline.
4
+
5
+ To learn more about Twitter's original typeahead.js project and see examples visit [Twitter's GitHub IO Project page](https://twitter.github.io/typeahead.js).
6
+
7
+ This gem includes the standard and minified versions of the assets.
8
+
9
+ This gem is forked from [Yousef Ourabi's twitter-typeahead-rails gem](https://github.com/yourabi/twitter-typeahead-rails) but is reconfigured to track the CoreJS fork with updated and tagged versions.
10
+
11
+ Currently this gem tracks corejs-typeahead v1.3.1.
12
+
13
+ ## Installation
14
+
15
+ Add this line to your application's Gemfile:
16
+
17
+ gem 'corejs-typeahead-rails'
18
+
19
+ or
20
+
21
+ gem 'corejs-typeahead-rails', :git => "git://github.com/evanjuneau/corejs-typeahead-rails.git"
22
+
23
+
24
+ And then execute:
25
+
26
+ $ bundle
27
+
28
+ Or install it yourself as:
29
+
30
+ $ gem install corejs-typeahead-rails
31
+
32
+ ## Usage
33
+
34
+ To start using the CoreJS typeahead.js plugin in your Rails application enable it via the asset pipeline (app/assets/javascripts/application.js).
35
+
36
+ Add one of the following to your application.js manifest:
37
+
38
+ ```js
39
+
40
+ //= require corejs/typeahead
41
+
42
+ //= require corejs/typeahead.min
43
+
44
+ ```
45
+
46
+ See the documentation and examples on how to use the library at [CoreJS's repository](https://github.com/corejavascript/typeahead.js).
47
+
48
+ ## Issues
49
+
50
+ For issues related to the typeahead.js library itself, please create an issue on the [CoreJS typeahead.js GitHub repository](https://github.com/corejavascript/typeahead.js/issues). For issues related to this gem, please create an issue here!
51
+
52
+ ## Contributing
53
+
54
+ 1. Fork it
55
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
56
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
57
+ 4. Push to the branch (`git push origin my-new-feature`)
58
+ 5. Create new Pull Request
data/Rakefile ADDED
@@ -0,0 +1 @@
1
+ require "bundler/gem_tasks"
@@ -0,0 +1,7 @@
1
+ module CoreJS
2
+ module Typeahead
3
+ module Rails
4
+ VERSION = "1.3.1"
5
+ end
6
+ end
7
+ end
@@ -0,0 +1,10 @@
1
+ require "corejs-typeahead-rails/version"
2
+
3
+ module CoreJS
4
+ module Typeahead
5
+ module Rails
6
+ class Engine < ::Rails::Engine
7
+ end
8
+ end
9
+ end
10
+ end