Last active
August 29, 2015 14:14
Revisions
-
kskb revised this gist
Jul 14, 2015 . 1 changed file with 5 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -28,6 +28,8 @@ gem 'capistrano3-puma' # others gem 'better_errors' gem 'binding_of_caller' gem 'rack-mini-profiler' end gem_group :development, :test do @@ -86,10 +88,10 @@ generate 'devise:install' devise_model_name = ask('What Devise Model Name?') if devise_model_name.present? generate "devise #{devise_model_name.pluralize}" run 'bundle exec rake db:create db:migrate' generate "devise:views #{devise_model_name.pluralize}" generate "devise:controllers #{devise_model_name.pluralize}" # sign in #generate "generate devise:controllers #{devise_model_name.pluralize}/sessions" # sing up -
kskb revised this gist
Mar 13, 2015 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -49,6 +49,7 @@ # http://bootswatch.com/ bootswatch_name = ask('What Use BootWatch? ["cerulean", "cosmo", "flatly", "cyborg" ... etc] blank: no use') if bootswatch_name # TODO @import "bootswatch/bootswatch.less"; @import "bootswatch/variables.less"; -> bootstrap_and_overrides.css.less run 'mkdir vendor/assets/stylesheets/bootswatch' run "wget -P vendor/assets/stylesheets/bootswatch http://bootswatch.com/#{bootswatch_name}/variables.less" run "wget -P vendor/assets/stylesheets/bootswatch http://bootswatch.com/#{bootswatch_name}/bootswatch.less" -
kskb revised this gist
Feb 21, 2015 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -26,6 +26,8 @@ gem 'capistrano-bundler' gem 'capistrano-rbenv' gem 'capistrano3-puma' # others gem 'better_errors' end gem_group :development, :test do -
kskb revised this gist
Feb 8, 2015 . 1 changed file with 3 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -86,10 +86,11 @@ generate "generate devise #{devise_model_name.pluralize}" run 'bundle exec rake db:create db:migrate' generate 'generate devise:views' generate "generate devise:controllers #{devise_model_name.pluralize}" # sign in #generate "generate devise:controllers #{devise_model_name.pluralize}/sessions" # sing up #generate "generate devise:controllers #{devise_model_name.pluralize}/registrations" end end -
kskb revised this gist
Feb 8, 2015 . 1 changed file with 16 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -10,8 +10,10 @@ gem 'rails-config' gem 'therubyracer' use_devise = false if yes?('Use Devise?') gem 'devise' use_devise = true end if yes?('Use Grape?(API Server)') gem 'grape' @@ -76,6 +78,20 @@ # rails_config generate 'rails_config:install' run "echo '--color -f d' > .rspec" if use_devise generate 'devise:install' devise_model_name = ask('What Devise Model Name?') if devise_model_name.present? generate "generate devise #{devise_model_name.pluralize}" run 'bundle exec rake db:create db:migrate' generate 'generate devise:views' # sign in generate "generate devise:controllers #{devise_model_name.pluralize}/sessions" # sing up generate "generate devise:controllers #{devise_model_name.pluralize}/registrations" end end # .gitignore remove_file '.gitignore' -
kskb revised this gist
Feb 7, 2015 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -52,6 +52,7 @@ #gem 'twitter-bootswatch-rails-helpers' #else gem 'twitter-bootstrap-rails' gem 'less-rails' #bootswatch_name = "static" end -
kskb revised this gist
Feb 7, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -60,7 +60,7 @@ # Twitter Bootstrap after_bundle do run 'rbenv rehash' generate 'bootstrap:install less' remove_file './app/views/layouts/application.html.erb' generate 'bootstrap:layout application' #if bootswatch_name -
kskb revised this gist
Feb 7, 2015 . 1 changed file with 13 additions and 10 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -45,11 +45,14 @@ # http://bootswatch.com/ bootswatch_name = ask('What Use BootWatch? ["cerulean", "cosmo", "flatly", "cyborg" ... etc] blank: no use') if bootswatch_name run 'mkdir vendor/assets/stylesheets/bootswatch' run "wget -P vendor/assets/stylesheets/bootswatch http://bootswatch.com/#{bootswatch_name}/variables.less" run "wget -P vendor/assets/stylesheets/bootswatch http://bootswatch.com/#{bootswatch_name}/bootswatch.less" #gem 'twitter-bootswatch-rails' #gem 'twitter-bootswatch-rails-helpers' #else gem 'twitter-bootstrap-rails' #bootswatch_name = "static" end run 'bundle install' @@ -60,12 +63,12 @@ #generate 'bootstrap:install less' remove_file './app/views/layouts/application.html.erb' generate 'bootstrap:layout application' #if bootswatch_name # generate "bootswatch:install #{bootswatch_name}" # generate "bootswatch:import #{bootswatch_name}" # generate "bootswatch:layout #{bootswatch_name}" # generate 'bootswatch:layout application' #end generate 'simple_form:install --bootstrap' # Rspec generate 'rspec:install' -
kskb revised this gist
Feb 6, 2015 . 1 changed file with 2 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -58,14 +58,13 @@ after_bundle do run 'rbenv rehash' #generate 'bootstrap:install less' remove_file './app/views/layouts/application.html.erb' generate 'bootstrap:layout application' if bootswatch_name generate "bootswatch:install #{bootswatch_name}" generate "bootswatch:import #{bootswatch_name}" generate "bootswatch:layout #{bootswatch_name}" generate 'bootswatch:layout application' end generate 'simple_form:install --bootstrap' # Rspec -
kskb revised this gist
Feb 6, 2015 . 1 changed file with 10 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -9,7 +9,6 @@ gem 'puma' gem 'rails-config' gem 'therubyracer' if yes?('Use Devise?') gem 'devise' @@ -49,6 +48,7 @@ gem 'twitter-bootswatch-rails' gem 'twitter-bootswatch-rails-helpers' else gem 'twitter-bootstrap-rails' bootswatch_name = "static" end @@ -58,10 +58,16 @@ after_bundle do run 'rbenv rehash' #generate 'bootstrap:install less' if bootswatch_name generate "bootswatch:install #{bootswatch_name}" generate "bootswatch:import #{bootswatch_name}" generate "bootswatch:layout #{bootswatch_name}" generate 'bootswatch:layout application' else remove_file './app/views/layouts/application.html.erb' generate 'bootstrap:layout application' end generate 'simple_form:install --bootstrap' # Rspec generate 'rspec:install' # rails_config -
kskb revised this gist
Feb 6, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -57,7 +57,7 @@ # Twitter Bootstrap after_bundle do run 'rbenv rehash' #generate 'bootstrap:install less' generate "bootswatch:install #{bootswatch_name}" generate 'simple_form:install --bootstrap' remove_file './app/views/layouts/application.html.erb' -
kskb revised this gist
Feb 2, 2015 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -56,6 +56,7 @@ # Twitter Bootstrap after_bundle do run 'rbenv rehash' generate 'bootstrap:install less' generate "bootswatch:install #{bootswatch_name}" generate 'simple_form:install --bootstrap' -
kskb revised this gist
Feb 2, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -46,7 +46,7 @@ # http://bootswatch.com/ bootswatch_name = ask('What Use BootWatch? ["cerulean", "cosmo", "flatly", "cyborg" ... etc] blank: no use') if bootswatch_name gem 'twitter-bootswatch-rails' gem 'twitter-bootswatch-rails-helpers' else bootswatch_name = "static" -
kskb revised this gist
Feb 2, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -46,7 +46,7 @@ # http://bootswatch.com/ bootswatch_name = ask('What Use BootWatch? ["cerulean", "cosmo", "flatly", "cyborg" ... etc] blank: no use') if bootswatch_name gem 'twitter-bootswatch-rails', :github => 'scottvrosenthal/twitter-bootswatch-rails' gem 'twitter-bootswatch-rails-helpers' else bootswatch_name = "static" -
kskb revised this gist
Feb 2, 2015 . No changes.There are no files selected for viewing
-
kskb revised this gist
Feb 2, 2015 . 1 changed file with 24 additions and 22 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -46,7 +46,7 @@ # http://bootswatch.com/ bootswatch_name = ask('What Use BootWatch? ["cerulean", "cosmo", "flatly", "cyborg" ... etc] blank: no use') if bootswatch_name gem 'twitter-bootswatch-rails', ':github => 'scottvrosenthal/twitter-bootswatch-rails'' gem 'twitter-bootswatch-rails-helpers' else bootswatch_name = "static" @@ -55,13 +55,30 @@ run 'bundle install' # Twitter Bootstrap after_bundle do generate 'bootstrap:install less' generate "bootswatch:install #{bootswatch_name}" generate 'simple_form:install --bootstrap' remove_file './app/views/layouts/application.html.erb' generate 'bootstrap:layout application' # Rspec generate 'rspec:install' # rails_config generate 'rails_config:install' run "echo '--color -f d' > .rspec" # .gitignore remove_file '.gitignore' gitignore_url = 'https://raw.githubusercontent.com/github/gitignore/master/Rails.gitignore' get gitignore_url, '.gitignore' git :init git :add => '.' git :commit => '-am "Initial commit"' end # set config/application.rb application do %q{ # Set timezone @@ -86,18 +103,3 @@ end -
kskb revised this gist
Feb 2, 2015 . 1 changed file with 0 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -56,7 +56,6 @@ # Twitter Bootstrap generate 'bootstrap:install less' generate "bootswatch:install #{bootswatch_name}" generate 'simple_form:install --bootstrap' remove_file './app/views/layouts/application.html.erb' -
kskb revised this gist
Feb 2, 2015 . 1 changed file with 1 addition and 5 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -10,7 +10,6 @@ gem 'rails-config' gem 'therubyracer' gem 'twitter-bootstrap-rails' if yes?('Use Devise?') gem 'devise' @@ -43,20 +42,17 @@ gem 'hirb-unicode' gem 'bullet' end # http://bootswatch.com/ bootswatch_name = ask('What Use BootWatch? ["cerulean", "cosmo", "flatly", "cyborg" ... etc] blank: no use') if bootswatch_name gem 'twitter-bootswatch-rails', '~> 3.2.0' gem 'twitter-bootswatch-rails-helpers' else bootswatch_name = "static" end run 'bundle install' # Twitter Bootstrap generate 'bootstrap:install less' -
kskb revised this gist
Feb 2, 2015 . 1 changed file with 5 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -8,9 +8,10 @@ gem 'simple_form' gem 'puma' gem 'rails-config' gem 'therubyracer' gem 'twitter-bootstrap-rails' run 'bundle install --path ./vendor/bundle --jobs=4' if yes?('Use Devise?') gem 'devise' end @@ -42,12 +43,15 @@ gem 'hirb-unicode' gem 'bullet' end run 'bundle install --path ./vendor/bundle --jobs=4' # http://bootswatch.com/ bootswatch_name = ask('What Use BootWatch? ["cerulean", "cosmo", "flatly", "cyborg" ... etc] blank: no use') if bootswatch_name gem 'twitter-bootswatch-rails', '~> 3.2.0' gem 'twitter-bootswatch-rails-helpers' run 'bundle install --path ./vendor/bundle --jobs=4' else bootswatch_name = "static" end -
kskb revised this gist
Feb 2, 2015 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -52,7 +52,7 @@ bootswatch_name = "static" end run 'bundle install --path ./vendor/bundle --jobs=4' # Twitter Bootstrap generate 'bootstrap:install less' @@ -98,6 +98,7 @@ gitignore_url = 'https://raw.githubusercontent.com/github/gitignore/master/Rails.gitignore' get gitignore_url, '.gitignore' git :init git :add => '.' git :commit => '-am "Initial commit"' -
kskb revised this gist
Feb 2, 2015 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -46,6 +46,7 @@ # http://bootswatch.com/ bootswatch_name = ask('What Use BootWatch? ["cerulean", "cosmo", "flatly", "cyborg" ... etc] blank: no use') if bootswatch_name gem 'twitter-bootswatch-rails', '~> 3.2.0' gem 'twitter-bootswatch-rails-helpers' else bootswatch_name = "static" -
kskb revised this gist
Feb 2, 2015 . 1 changed file with 16 additions and 16 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -43,8 +43,24 @@ gem 'bullet' end # http://bootswatch.com/ bootswatch_name = ask('What Use BootWatch? ["cerulean", "cosmo", "flatly", "cyborg" ... etc] blank: no use') if bootswatch_name gem 'twitter-bootswatch-rails-helpers' else bootswatch_name = "static" end run 'bundle install --path ./vendor/bundle' # Twitter Bootstrap generate 'bootstrap:install less' generate 'bootstrap:layout application' generate "bootswatch:install #{bootswatch_name}" generate 'simple_form:install --bootstrap' remove_file './app/views/layouts/application.html.erb' generate 'bootstrap:layout application' # set config/application.rb application do %q{ @@ -74,24 +90,8 @@ generate 'rspec:install' # rails_config generate 'rails_config:install' run "echo '--color -f d' > .rspec" # .gitignore remove_file '.gitignore' gitignore_url = 'https://raw.githubusercontent.com/github/gitignore/master/Rails.gitignore' -
kskb revised this gist
Feb 2, 2015 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -43,6 +43,8 @@ gem 'bullet' end run 'bundle install --path ./vendor/bundle' # set config/application.rb application do %q{ @@ -67,8 +69,6 @@ } end # Rspec generate 'rspec:install' -
kskb revised this gist
Feb 2, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -95,7 +95,7 @@ # .gitignore remove_file '.gitignore' gitignore_url = 'https://raw.githubusercontent.com/github/gitignore/master/Rails.gitignore' get gitignore_url, '.gitignore' git :init git :add => '.' -
kskb revised this gist
Feb 2, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -31,7 +31,7 @@ gem 'spring' # コマンド高速化 # テスト用途 gem 'factory_girl_rails' gem 'rspec-rails', '~> 3.0' # rails c 時の表示関連 gem 'pry-rails' gem 'pry-coolline' -
kskb revised this gist
Feb 2, 2015 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -69,7 +69,6 @@ run 'bundle install --path ./vendor/bundle' # Rspec generate 'rspec:install' @@ -90,6 +89,8 @@ end generate "bootswatch:install #{bootswatch_name}" generate 'simple_form:install --bootstrap' remove_file './app/views/layouts/application.html.erb' generate 'bootstrap:layout application' # .gitignore remove_file '.gitignore' -
kskb revised this gist
Feb 2, 2015 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -9,6 +9,7 @@ gem 'puma' gem 'rails-config' gem 'therubyracer' gem 'twitter-bootstrap-rails' if yes?('Use Devise?') gem 'devise' -
kskb revised this gist
Feb 2, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -87,7 +87,7 @@ else bootswatch_name = "static" end generate "bootswatch:install #{bootswatch_name}" generate 'simple_form:install --bootstrap' # .gitignore -
kskb revised this gist
Feb 2, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -81,7 +81,7 @@ generate 'bootstrap:install less' generate 'bootstrap:layout application' # http://bootswatch.com/ bootswatch_name = ask('What Use BootWatch? ["cerulean", "cosmo", "flatly", "cyborg" ... etc] blank: no use') if bootswatch_name gem 'twitter-bootswatch-rails-helpers' else -
kskb revised this gist
Feb 2, 2015 . 1 changed file with 8 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -80,6 +80,14 @@ # Twitter Bootstrap generate 'bootstrap:install less' generate 'bootstrap:layout application' # http://bootswatch.com/ bootswatch_name = ask('What Use BootWatch? ["cerulean", "cosmo", "flatly", "cyborg" ... etc] blank: no use' if bootswatch_name gem 'twitter-bootswatch-rails-helpers' else bootswatch_name = "static" end generate 'bootswatch:install #{bootswatch_name}' generate 'simple_form:install --bootstrap' # .gitignore
NewerOlder