typeahead-rails 0.9.3

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
+ SHA1:
3
+ metadata.gz: 23fcf0e23cdd0e8fe31e9692a33227c7cec859b5
4
+ data.tar.gz: ef55a632f90c2e27ad6a1ff1ccb1a23f2ab0d2b1
5
+ SHA512:
6
+ metadata.gz: 63f93bf48e754cc6cc0f3aac4faf8069266170183d73c24caca2c0ab0872f2bf2f5fbf696f6c6830be28fbbf16be9ac5889029dbe198ee7748a1f0d6d6ec1958
7
+ data.tar.gz: 49f41c1e066106d65b7f34c59092ada7fc654133d68f7b4347c5ffe81eaa25b885705ca6fc5418a97214ecbd3770fcc39c4d25c4fd5dbbbdff8da1b52d09faa4
data/.gitignore ADDED
@@ -0,0 +1,17 @@
1
+ *.gem
2
+ *.rbc
3
+ .bundle
4
+ .config
5
+ .yardoc
6
+ Gemfile.lock
7
+ InstalledFiles
8
+ _yardoc
9
+ coverage
10
+ doc/
11
+ lib/bundler/man
12
+ pkg
13
+ rdoc
14
+ spec/reports
15
+ test/tmp
16
+ test/version_tmp
17
+ tmp
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in typeahead-rails.gemspec
4
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2013 Maksim Berjoza
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,31 @@
1
+ # Typeahead in JavaScript in Rails3
2
+
3
+ Provides an easy-to-use Rails 3.1 asset for [typeahead.js](http://twitter.github.io/typeahead.js/)
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ gem 'typeahead-rails'
10
+
11
+ And then execute:
12
+
13
+ $ bundle
14
+
15
+ Or install it yourself as:
16
+
17
+ $ gem install typeahead-rails
18
+
19
+ ## Usage
20
+
21
+ Add the following to your app/assets/javascripts/application.js:
22
+
23
+ //= require typeahead.js
24
+
25
+ ## Contributing
26
+
27
+ 1. Fork it
28
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
29
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
30
+ 4. Push to the branch (`git push origin my-new-feature`)
31
+ 5. Create new Pull Request
data/Rakefile ADDED
@@ -0,0 +1 @@
1
+ require "bundler/gem_tasks"
@@ -0,0 +1,5 @@
1
+ module Typeahead
2
+ module Rails
3
+ VERSION = "0.9.3"
4
+ end
5
+ end
@@ -0,0 +1,7 @@
1
+ require "typeahead/rails/version"
2
+
3
+ module Typeahead
4
+ module Rails
5
+ # Your code goes here...
6
+ end
7
+ end
@@ -0,0 +1,23 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'typeahead/rails/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = 'typeahead-rails'
8
+ spec.version = Typeahead::Rails::VERSION
9
+ spec.authors = ['Maksim Berjoza']
10
+ spec.email = ['torbjon@gmail.com']
11
+ spec.description = 'Twitter Typeahead.js with Rails asset pipeline'
12
+ spec.homepage = 'https://github.com/torbjon/json2-rails'
13
+ spec.summary = 'Twitter Typeahead.js with Rails asset pipeline'
14
+ spec.license = 'MIT'
15
+
16
+ spec.files = `git ls-files`.split($/)
17
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
+ spec.require_paths = %w(lib)
20
+
21
+ spec.add_development_dependency 'bundler', '~> 1.3'
22
+ spec.add_development_dependency 'rake'
23
+ end