flatiron-rails 1.0.5 → 1.0.6
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.
- checksums.yaml +4 -4
- data/lib/flatiron_rails.rb +1 -1
- data/templates/flatiron.rb +6 -4
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e20359a4b597838c9ae2558a83bf44c82f7f9dcf
|
4
|
+
data.tar.gz: a4e8e8caabebcc8195a53f083c11049c777e2818
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9e03f5497e8c12b96bb7d88c3070d134446128739b5fdd29803f15f2f7d28a8510795fa394424d45425ce66527a2db32564f8e85fd85242659f12ac69fd8d328
|
7
|
+
data.tar.gz: 3236e72a70823edb497a20cc41d360c958504407e617799a8092710f87ca055379a7d950733d23f3089c76a1f4304497c32fec18d666a61211ac6a5e01d722a7
|
data/lib/flatiron_rails.rb
CHANGED
@@ -4,7 +4,7 @@ class FlatironRails
|
|
4
4
|
def self.run
|
5
5
|
if ['-v', '--version'].include?(ARGV[0])
|
6
6
|
puts <<-VERSION.gsub(/^ {6}/, '')
|
7
|
-
Flatiron Rails 1.0.
|
7
|
+
Flatiron Rails 1.0.6
|
8
8
|
VERSION
|
9
9
|
elsif ARGV[0].nil? || ['-h','--help'].include?(ARGV[0]) || ARGV[0] != "new" || ARGV[2]
|
10
10
|
puts <<-HELP.gsub(/^ {6}/, '')
|
data/templates/flatiron.rb
CHANGED
@@ -376,6 +376,7 @@ add_line_to_file("app/assets/stylesheets/application.css.scss", "\n@import \"boo
|
|
376
376
|
|
377
377
|
File.open("app/assets/stylesheets/application.css.scss", "a") do |f|
|
378
378
|
f.write <<-CSS.strip_heredoc.chomp
|
379
|
+
|
379
380
|
/* Some Style from the Bootstrap Default Theme */
|
380
381
|
body {
|
381
382
|
padding-top: 70px;
|
@@ -431,15 +432,16 @@ file 'STACK.md', <<-STACK.strip_heredoc.chomp
|
|
431
432
|
* Google Analytics
|
432
433
|
|
433
434
|
TODO:
|
434
|
-
1.
|
435
|
+
1. Add the line `ruby '2.1.0'` to the top of your Gemfile
|
436
|
+
2. An MIT License file has been created for you
|
435
437
|
* Add your name and the year
|
436
|
-
|
438
|
+
3. A README.md file has been started for you
|
437
439
|
* Add relavent information and screenshots for your app
|
438
440
|
* There is a basic template you can follow, but make it your own
|
439
|
-
|
441
|
+
4. Google Analytics is set up to track your app
|
440
442
|
* Set up an application on Google Analytics
|
441
443
|
* You will need to add your analytics tracking code to `config/secrets.yml`
|
442
|
-
|
444
|
+
5. Set up Airbrake (Optional)
|
443
445
|
* If you entered your api key during project creation, you're all set!
|
444
446
|
* Otherwise, visit [Airbrake](https://airbrake.io/account/new/Free) and set
|
445
447
|
up a free account.
|