rails_tokeninput 0.0.1 → 0.0.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.
- data/README.md +41 -0
- data/lib/rails_tokeninput/version.rb +1 -1
- metadata +8 -7
data/README.md
ADDED
@@ -0,0 +1,41 @@
|
|
1
|
+
# Rails Tokeninput
|
2
|
+
|
3
|
+
**Rails Tokeninput** is a small, lightweight gem which helps to automate installing of the jquery tokeninput plugin, including the standard included stylesheets.
|
4
|
+
|
5
|
+
# JqueryTokeninput Version
|
6
|
+
|
7
|
+
The current release of this gem is using **Version 1.6.0**
|
8
|
+
|
9
|
+
# Included Javascripts/Stylesheets
|
10
|
+
|
11
|
+
jquery.tokeninput.js
|
12
|
+
|
13
|
+
token-input-facebook.css
|
14
|
+
token-input-mac.css
|
15
|
+
token-input.css
|
16
|
+
|
17
|
+
### Installation
|
18
|
+
|
19
|
+
This gem should work out of the box. All you have to do is add the gem to your Gemfile:
|
20
|
+
|
21
|
+
gem 'rails_tokeninput'
|
22
|
+
|
23
|
+
Then bundle install or update (depending on if you want to upgrade an older version of this gem).
|
24
|
+
|
25
|
+
bundle install
|
26
|
+
bundle update
|
27
|
+
|
28
|
+
In your assets/javascripts/application.js, you will need to add d3 to your manifest:
|
29
|
+
|
30
|
+
//= require jquery
|
31
|
+
.
|
32
|
+
.
|
33
|
+
//= require jquery.tokeninput
|
34
|
+
|
35
|
+
In your assets/stylesheets/application.css, you can add the stylesheets you want by including them in your css manifest:
|
36
|
+
|
37
|
+
*= require_self
|
38
|
+
.
|
39
|
+
.
|
40
|
+
*= require token-input-facebook
|
41
|
+
..etc.
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails_tokeninput
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2011-12-29 00:00:00.000000000Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: railties
|
16
|
-
requirement: &
|
16
|
+
requirement: &70215912227620 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: 3.1.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70215912227620
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: bundler
|
27
|
-
requirement: &
|
27
|
+
requirement: &70215912227100 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ~>
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: 1.0.0
|
33
33
|
type: :development
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70215912227100
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: rails
|
38
|
-
requirement: &
|
38
|
+
requirement: &70215912226620 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ~>
|
@@ -43,7 +43,7 @@ dependencies:
|
|
43
43
|
version: '3.1'
|
44
44
|
type: :development
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *70215912226620
|
47
47
|
description: Gem installation of jquery tokeninput scripts and stylesheets
|
48
48
|
email:
|
49
49
|
- han@logicallsat.com
|
@@ -53,6 +53,7 @@ extra_rdoc_files: []
|
|
53
53
|
files:
|
54
54
|
- .gitignore
|
55
55
|
- Gemfile
|
56
|
+
- README.md
|
56
57
|
- Rakefile
|
57
58
|
- lib/rails_tokeninput.rb
|
58
59
|
- lib/rails_tokeninput/engine.rb
|