select2-rails 3.4.5 → 3.4.6
Sign up to get free protection for your applications and to get access to all the features.
- data/{vendor → app}/assets/images/select2-spinner.gif +0 -0
- data/{vendor → app}/assets/images/select2.png +0 -0
- data/{vendor → app}/assets/javascripts/select2.js +0 -0
- data/{vendor → app}/assets/javascripts/select2_locale_ar.js +0 -0
- data/{vendor → app}/assets/javascripts/select2_locale_ca.js +0 -0
- data/{vendor → app}/assets/javascripts/select2_locale_cs.js +0 -0
- data/{vendor → app}/assets/javascripts/select2_locale_da.js +0 -0
- data/{vendor → app}/assets/javascripts/select2_locale_de.js +0 -0
- data/{vendor → app}/assets/javascripts/select2_locale_el.js +0 -0
- data/{vendor → app}/assets/javascripts/select2_locale_es.js +0 -0
- data/{vendor → app}/assets/javascripts/select2_locale_et.js +0 -0
- data/{vendor → app}/assets/javascripts/select2_locale_eu.js +0 -0
- data/{vendor → app}/assets/javascripts/select2_locale_fi.js +0 -0
- data/{vendor → app}/assets/javascripts/select2_locale_fr.js +0 -0
- data/{vendor → app}/assets/javascripts/select2_locale_gl.js +0 -0
- data/{vendor → app}/assets/javascripts/select2_locale_he.js +0 -0
- data/{vendor → app}/assets/javascripts/select2_locale_hr.js +0 -0
- data/{vendor → app}/assets/javascripts/select2_locale_hu.js +0 -0
- data/{vendor → app}/assets/javascripts/select2_locale_id.js +0 -0
- data/{vendor → app}/assets/javascripts/select2_locale_is.js +0 -0
- data/{vendor → app}/assets/javascripts/select2_locale_it.js +0 -0
- data/{vendor → app}/assets/javascripts/select2_locale_ja.js +0 -0
- data/{vendor → app}/assets/javascripts/select2_locale_ko.js +0 -0
- data/{vendor → app}/assets/javascripts/select2_locale_lt.js +0 -0
- data/{vendor → app}/assets/javascripts/select2_locale_lv.js +0 -0
- data/{vendor → app}/assets/javascripts/select2_locale_mk.js +0 -0
- data/{vendor → app}/assets/javascripts/select2_locale_nl.js +0 -0
- data/{vendor → app}/assets/javascripts/select2_locale_no.js +0 -0
- data/{vendor → app}/assets/javascripts/select2_locale_pl.js +0 -0
- data/{vendor → app}/assets/javascripts/select2_locale_pt-BR.js +0 -0
- data/{vendor → app}/assets/javascripts/select2_locale_pt-PT.js +0 -0
- data/{vendor → app}/assets/javascripts/select2_locale_ro.js +0 -0
- data/{vendor → app}/assets/javascripts/select2_locale_ru.js +0 -0
- data/{vendor → app}/assets/javascripts/select2_locale_sk.js +0 -0
- data/{vendor → app}/assets/javascripts/select2_locale_sv.js +0 -0
- data/{vendor → app}/assets/javascripts/select2_locale_tr.js +0 -0
- data/{vendor → app}/assets/javascripts/select2_locale_ua.js +0 -0
- data/{vendor → app}/assets/javascripts/select2_locale_vi.js +0 -0
- data/{vendor → app}/assets/javascripts/select2_locale_zh-CN.js +0 -0
- data/{vendor → app}/assets/javascripts/select2_locale_zh-TW.js +0 -0
- data/{vendor → app}/assets/stylesheets/select2.css.scss +0 -0
- data/lib/select2-rails/source_file.rb +3 -3
- data/lib/select2-rails/version.rb +1 -1
- metadata +42 -44
- data/vendor/assets/images/select2x2.png +0 -0
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -9,7 +9,7 @@ class SourceFile < Thor
|
|
9
9
|
def fetch
|
10
10
|
filtered_tags = fetch_tags
|
11
11
|
tag = select("Which tag do you want to fetch?", filtered_tags)
|
12
|
-
self.destination_root = "
|
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
15
|
get "#{remote}/raw/#{tag}/select2-spinner.gif", "images/select2-spinner.gif"
|
@@ -22,7 +22,7 @@ class SourceFile < Thor
|
|
22
22
|
|
23
23
|
desc "convert css to scss file", "convert css to scss file"
|
24
24
|
def convert
|
25
|
-
self.destination_root = "
|
25
|
+
self.destination_root = "app/assets"
|
26
26
|
inside destination_root do
|
27
27
|
run("cp stylesheets/select2.css stylesheets/select2.css.scss")
|
28
28
|
gsub_file 'stylesheets/select2.css.scss', '(select2-spinner.gif)', "('select2-spinner.gif')"
|
@@ -33,7 +33,7 @@ class SourceFile < Thor
|
|
33
33
|
|
34
34
|
desc "clean up useless files", "clean up useless files"
|
35
35
|
def cleanup
|
36
|
-
self.destination_root = "
|
36
|
+
self.destination_root = "app/assets"
|
37
37
|
remove_file "stylesheets/select2.css"
|
38
38
|
end
|
39
39
|
private
|
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.6
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -107,53 +107,52 @@ files:
|
|
107
107
|
- LICENSE
|
108
108
|
- README.md
|
109
109
|
- Rakefile
|
110
|
+
- app/assets/images/select2-spinner.gif
|
111
|
+
- app/assets/images/select2.png
|
112
|
+
- app/assets/javascripts/select2.js
|
113
|
+
- app/assets/javascripts/select2_locale_ar.js
|
114
|
+
- app/assets/javascripts/select2_locale_ca.js
|
115
|
+
- app/assets/javascripts/select2_locale_cs.js
|
116
|
+
- app/assets/javascripts/select2_locale_da.js
|
117
|
+
- app/assets/javascripts/select2_locale_de.js
|
118
|
+
- app/assets/javascripts/select2_locale_el.js
|
119
|
+
- app/assets/javascripts/select2_locale_es.js
|
120
|
+
- app/assets/javascripts/select2_locale_et.js
|
121
|
+
- app/assets/javascripts/select2_locale_eu.js
|
122
|
+
- app/assets/javascripts/select2_locale_fi.js
|
123
|
+
- app/assets/javascripts/select2_locale_fr.js
|
124
|
+
- app/assets/javascripts/select2_locale_gl.js
|
125
|
+
- app/assets/javascripts/select2_locale_he.js
|
126
|
+
- app/assets/javascripts/select2_locale_hr.js
|
127
|
+
- app/assets/javascripts/select2_locale_hu.js
|
128
|
+
- app/assets/javascripts/select2_locale_id.js
|
129
|
+
- app/assets/javascripts/select2_locale_is.js
|
130
|
+
- app/assets/javascripts/select2_locale_it.js
|
131
|
+
- app/assets/javascripts/select2_locale_ja.js
|
132
|
+
- app/assets/javascripts/select2_locale_ko.js
|
133
|
+
- app/assets/javascripts/select2_locale_lt.js
|
134
|
+
- app/assets/javascripts/select2_locale_lv.js
|
135
|
+
- app/assets/javascripts/select2_locale_mk.js
|
136
|
+
- app/assets/javascripts/select2_locale_nl.js
|
137
|
+
- app/assets/javascripts/select2_locale_no.js
|
138
|
+
- app/assets/javascripts/select2_locale_pl.js
|
139
|
+
- app/assets/javascripts/select2_locale_pt-BR.js
|
140
|
+
- app/assets/javascripts/select2_locale_pt-PT.js
|
141
|
+
- app/assets/javascripts/select2_locale_ro.js
|
142
|
+
- app/assets/javascripts/select2_locale_ru.js
|
143
|
+
- app/assets/javascripts/select2_locale_sk.js
|
144
|
+
- app/assets/javascripts/select2_locale_sv.js
|
145
|
+
- app/assets/javascripts/select2_locale_tr.js
|
146
|
+
- app/assets/javascripts/select2_locale_ua.js
|
147
|
+
- app/assets/javascripts/select2_locale_vi.js
|
148
|
+
- app/assets/javascripts/select2_locale_zh-CN.js
|
149
|
+
- app/assets/javascripts/select2_locale_zh-TW.js
|
150
|
+
- app/assets/stylesheets/select2.css.scss
|
110
151
|
- lib/select2-rails.rb
|
111
152
|
- lib/select2-rails/engine.rb
|
112
153
|
- lib/select2-rails/source_file.rb
|
113
154
|
- lib/select2-rails/version.rb
|
114
155
|
- select2-rails.gemspec
|
115
|
-
- vendor/assets/images/select2-spinner.gif
|
116
|
-
- vendor/assets/images/select2.png
|
117
|
-
- vendor/assets/images/select2x2.png
|
118
|
-
- vendor/assets/javascripts/select2.js
|
119
|
-
- vendor/assets/javascripts/select2_locale_ar.js
|
120
|
-
- vendor/assets/javascripts/select2_locale_ca.js
|
121
|
-
- vendor/assets/javascripts/select2_locale_cs.js
|
122
|
-
- vendor/assets/javascripts/select2_locale_da.js
|
123
|
-
- vendor/assets/javascripts/select2_locale_de.js
|
124
|
-
- vendor/assets/javascripts/select2_locale_el.js
|
125
|
-
- vendor/assets/javascripts/select2_locale_es.js
|
126
|
-
- vendor/assets/javascripts/select2_locale_et.js
|
127
|
-
- vendor/assets/javascripts/select2_locale_eu.js
|
128
|
-
- vendor/assets/javascripts/select2_locale_fi.js
|
129
|
-
- vendor/assets/javascripts/select2_locale_fr.js
|
130
|
-
- vendor/assets/javascripts/select2_locale_gl.js
|
131
|
-
- vendor/assets/javascripts/select2_locale_he.js
|
132
|
-
- vendor/assets/javascripts/select2_locale_hr.js
|
133
|
-
- vendor/assets/javascripts/select2_locale_hu.js
|
134
|
-
- vendor/assets/javascripts/select2_locale_id.js
|
135
|
-
- vendor/assets/javascripts/select2_locale_is.js
|
136
|
-
- vendor/assets/javascripts/select2_locale_it.js
|
137
|
-
- vendor/assets/javascripts/select2_locale_ja.js
|
138
|
-
- vendor/assets/javascripts/select2_locale_ko.js
|
139
|
-
- vendor/assets/javascripts/select2_locale_lt.js
|
140
|
-
- vendor/assets/javascripts/select2_locale_lv.js
|
141
|
-
- vendor/assets/javascripts/select2_locale_mk.js
|
142
|
-
- vendor/assets/javascripts/select2_locale_nl.js
|
143
|
-
- vendor/assets/javascripts/select2_locale_no.js
|
144
|
-
- vendor/assets/javascripts/select2_locale_pl.js
|
145
|
-
- vendor/assets/javascripts/select2_locale_pt-BR.js
|
146
|
-
- vendor/assets/javascripts/select2_locale_pt-PT.js
|
147
|
-
- vendor/assets/javascripts/select2_locale_ro.js
|
148
|
-
- vendor/assets/javascripts/select2_locale_ru.js
|
149
|
-
- vendor/assets/javascripts/select2_locale_sk.js
|
150
|
-
- vendor/assets/javascripts/select2_locale_sv.js
|
151
|
-
- vendor/assets/javascripts/select2_locale_tr.js
|
152
|
-
- vendor/assets/javascripts/select2_locale_ua.js
|
153
|
-
- vendor/assets/javascripts/select2_locale_vi.js
|
154
|
-
- vendor/assets/javascripts/select2_locale_zh-CN.js
|
155
|
-
- vendor/assets/javascripts/select2_locale_zh-TW.js
|
156
|
-
- vendor/assets/stylesheets/select2.css.scss
|
157
156
|
homepage: https://github.com/argerim/select2-rails
|
158
157
|
licenses: []
|
159
158
|
post_install_message:
|
@@ -179,4 +178,3 @@ signing_key:
|
|
179
178
|
specification_version: 3
|
180
179
|
summary: Integrate Select2 javascript library with Rails asset pipeline
|
181
180
|
test_files: []
|
182
|
-
has_rdoc:
|
Binary file
|