quik_start 0.0.6 → 0.0.7

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.tar.gz.sig CHANGED
Binary file
@@ -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(libs)
104
- write_css_file(libs)
105
- write_js_file(libs)
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(libs)
109
- # if libs.include?(:bootstrap)
110
- # File.open(File.expand_path('.')+'/app/assets/javascripts/application.css', 'w') do |f|
111
- #
112
- # end
113
- # end
114
- # puts 'writing application.css'
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(libs)
118
- # puts 'writing application.js'
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
@@ -1,3 +1,3 @@
1
1
  module QuikStart
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: quik_start
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
metadata.gz.sig CHANGED
Binary file