quik_start 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data.tar.gz.sig +0 -0
- data/lib/quik_start.rb +20 -13
- data/lib/quik_start/version.rb +1 -1
- metadata +1 -1
- metadata.gz.sig +0 -0
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/quik_start.rb
CHANGED
@@ -78,7 +78,7 @@ module QuikStart
|
|
78
78
|
unzip(File.expand_path('.')+url)
|
79
79
|
end
|
80
80
|
end
|
81
|
-
|
81
|
+
puts
|
82
82
|
write_asset_files(libs.keys)
|
83
83
|
end
|
84
84
|
|
@@ -100,22 +100,29 @@ module QuikStart
|
|
100
100
|
File.delete(file)
|
101
101
|
end
|
102
102
|
|
103
|
-
def self.write_asset_files(
|
104
|
-
write_css_file(
|
105
|
-
write_js_file(
|
103
|
+
def self.write_asset_files(installed=[])
|
104
|
+
write_css_file(installed)
|
105
|
+
write_js_file(installed)
|
106
106
|
end
|
107
107
|
|
108
|
-
def self.write_css_file(
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
108
|
+
def self.write_css_file(installed)
|
109
|
+
|
110
|
+
puts
|
111
|
+
if installed.include?(:bootstrap)
|
112
|
+
puts 'puts the following in your application.css file: '
|
113
|
+
puts ' *= require "bootstrap" '
|
114
|
+
puts
|
115
|
+
end
|
116
|
+
|
115
117
|
end
|
116
118
|
|
117
|
-
def self.write_js_file(
|
118
|
-
|
119
|
+
def self.write_js_file(installed)
|
120
|
+
puts
|
121
|
+
puts 'puts the following in your application.js file: '
|
122
|
+
installed.each do |i|
|
123
|
+
puts ' //= require '+ i.to_s
|
124
|
+
end
|
125
|
+
puts
|
119
126
|
end
|
120
127
|
|
121
128
|
def self.libraries
|
data/lib/quik_start/version.rb
CHANGED
metadata
CHANGED
metadata.gz.sig
CHANGED
Binary file
|