select2-rails 3.4.3 → 3.4.4
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/lib/select2-rails/source_file.rb +3 -3
- data/lib/select2-rails/version.rb +1 -1
- data/{app → vendor}/assets/images/select2-spinner.gif +0 -0
- data/{app → vendor}/assets/images/select2.png +0 -0
- data/{app → vendor}/assets/images/select2x2.png +0 -0
- data/{app → vendor}/assets/javascripts/select2.js +0 -0
- data/{app → vendor}/assets/stylesheets/select2.css.scss +0 -0
- metadata +8 -7
@@ -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 = "vendor/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"
|
@@ -19,7 +19,7 @@ class SourceFile < Thor
|
|
19
19
|
|
20
20
|
desc "convert css to scss file", "convert css to scss file"
|
21
21
|
def convert
|
22
|
-
self.destination_root = "
|
22
|
+
self.destination_root = "vendor/assets"
|
23
23
|
inside destination_root do
|
24
24
|
run("cp stylesheets/select2.css stylesheets/select2.css.scss")
|
25
25
|
gsub_file 'stylesheets/select2.css.scss', '(select2-spinner.gif)', "('select2-spinner.gif')"
|
@@ -30,7 +30,7 @@ class SourceFile < Thor
|
|
30
30
|
|
31
31
|
desc "clean up useless files", "clean up useless files"
|
32
32
|
def cleanup
|
33
|
-
self.destination_root = "
|
33
|
+
self.destination_root = "vendor/assets"
|
34
34
|
remove_file "stylesheets/select2.css"
|
35
35
|
end
|
36
36
|
private
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
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.4
|
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-
|
13
|
+
date: 2013-08-03 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: thor
|
@@ -107,16 +107,16 @@ 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/images/select2x2.png
|
113
|
-
- app/assets/javascripts/select2.js
|
114
|
-
- app/assets/stylesheets/select2.css.scss
|
115
110
|
- lib/select2-rails.rb
|
116
111
|
- lib/select2-rails/engine.rb
|
117
112
|
- lib/select2-rails/source_file.rb
|
118
113
|
- lib/select2-rails/version.rb
|
119
114
|
- 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/stylesheets/select2.css.scss
|
120
120
|
homepage: https://github.com/argerim/select2-rails
|
121
121
|
licenses: []
|
122
122
|
post_install_message:
|
@@ -142,3 +142,4 @@ signing_key:
|
|
142
142
|
specification_version: 3
|
143
143
|
summary: Integrate Select2 javascript library with Rails asset pipeline
|
144
144
|
test_files: []
|
145
|
+
has_rdoc:
|