select2-rails 3.4.6 → 3.4.7
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +2 -2
- data/app/assets/images/select2x2.png +0 -0
- data/lib/select2-rails/source_file.rb +2 -0
- data/lib/select2-rails/version.rb +1 -1
- data/select2-rails.gemspec +1 -1
- metadata +6 -4
- data/LICENSE +0 -19
data/README.md
CHANGED
@@ -51,6 +51,6 @@ If you want to contribute, please:
|
|
51
51
|
* Make your feature addition or bug fix.
|
52
52
|
* Send me a pull request on Github.
|
53
53
|
|
54
|
-
##
|
54
|
+
## License
|
55
55
|
|
56
|
-
|
56
|
+
Selec2-Rails is released under the [MIT License](http://www.opensource.org/licenses/MIT).
|
Binary file
|
@@ -12,6 +12,7 @@ class SourceFile < Thor
|
|
12
12
|
self.destination_root = "app/assets"
|
13
13
|
remote = "https://github.com/ivaynberg/select2"
|
14
14
|
get "#{remote}/raw/#{tag}/select2.png", "images/select2.png"
|
15
|
+
get "#{remote}/raw/#{tag}/select2x2.png", "images/select2x2.png"
|
15
16
|
get "#{remote}/raw/#{tag}/select2-spinner.gif", "images/select2-spinner.gif"
|
16
17
|
get "#{remote}/raw/#{tag}/select2.css", "stylesheets/select2.css"
|
17
18
|
get "#{remote}/raw/#{tag}/select2.js", "javascripts/select2.js"
|
@@ -27,6 +28,7 @@ class SourceFile < Thor
|
|
27
28
|
run("cp stylesheets/select2.css stylesheets/select2.css.scss")
|
28
29
|
gsub_file 'stylesheets/select2.css.scss', '(select2-spinner.gif)', "('select2-spinner.gif')"
|
29
30
|
gsub_file 'stylesheets/select2.css.scss', '(select2.png)', "('select2.png')"
|
31
|
+
gsub_file 'stylesheets/select2.css.scss', '(select2x2.png)', "('select2x2.png')"
|
30
32
|
gsub_file 'stylesheets/select2.css.scss', ' url', ' image-url'
|
31
33
|
end
|
32
34
|
end
|
data/select2-rails.gemspec
CHANGED
@@ -9,7 +9,7 @@ Gem::Specification.new do |s|
|
|
9
9
|
s.homepage = "https://github.com/argerim/select2-rails"
|
10
10
|
s.summary = %q{Integrate Select2 javascript library with Rails asset pipeline}
|
11
11
|
s.description = %q{Select2 is a jQuery based replacement for select boxes. It supports searching, remote data sets, and infinite scrolling of results. This gem integrates Select2 with Rails asset pipeline for easy of use.}
|
12
|
-
|
12
|
+
s.license = 'MIT'
|
13
13
|
s.files = `git ls-files`.split("\n")
|
14
14
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
15
15
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: select2-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.4.
|
4
|
+
version: 3.4.7
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2013-08-
|
13
|
+
date: 2013-08-05 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: thor
|
@@ -104,11 +104,11 @@ extra_rdoc_files: []
|
|
104
104
|
files:
|
105
105
|
- .gitignore
|
106
106
|
- Gemfile
|
107
|
-
- LICENSE
|
108
107
|
- README.md
|
109
108
|
- Rakefile
|
110
109
|
- app/assets/images/select2-spinner.gif
|
111
110
|
- app/assets/images/select2.png
|
111
|
+
- app/assets/images/select2x2.png
|
112
112
|
- app/assets/javascripts/select2.js
|
113
113
|
- app/assets/javascripts/select2_locale_ar.js
|
114
114
|
- app/assets/javascripts/select2_locale_ca.js
|
@@ -154,7 +154,8 @@ files:
|
|
154
154
|
- lib/select2-rails/version.rb
|
155
155
|
- select2-rails.gemspec
|
156
156
|
homepage: https://github.com/argerim/select2-rails
|
157
|
-
licenses:
|
157
|
+
licenses:
|
158
|
+
- MIT
|
158
159
|
post_install_message:
|
159
160
|
rdoc_options: []
|
160
161
|
require_paths:
|
@@ -178,3 +179,4 @@ signing_key:
|
|
178
179
|
specification_version: 3
|
179
180
|
summary: Integrate Select2 javascript library with Rails asset pipeline
|
180
181
|
test_files: []
|
182
|
+
has_rdoc:
|
data/LICENSE
DELETED
@@ -1,19 +0,0 @@
|
|
1
|
-
Copyright (C) 2012 by Rogerio Medeiros
|
2
|
-
|
3
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
4
|
-
of this software and associated documentation files (the "Software"), to deal
|
5
|
-
in the Software without restriction, including without limitation the rights
|
6
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
7
|
-
copies of the Software, and to permit persons to whom the Software is
|
8
|
-
furnished to do so, subject to the following conditions:
|
9
|
-
|
10
|
-
The above copyright notice and this permission notice shall be included in
|
11
|
-
all copies or substantial portions of the Software.
|
12
|
-
|
13
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
14
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
15
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
16
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
17
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
18
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
19
|
-
SOFTWARE.
|