<commit_before># define github repository uri
REPO_URI = 'https://raw.github.com/haazime/prototype_rails_template'
REPO_BRANCH = 'master'
ASSET_URI = "#{REPO_URI}/#{REPO_BRANCH}"

# twitter bootstap gems
gem 'bootstrap-sass'
gem 'bootswatch-rails'
gem 'font-awesome-rails'

# assets for bootstrap
run 'rm -rf app/assets/javascripts/application.js'
run "wget #{ASSET_URI}/app/assets/javascripts/application.js -P app/assets/javascripts/"

run 'rm -rf app/assets/stylesheets/application.css'
run "wget #{ASSET_URI}/app/assets/stylesheets/application.css.scss -P app/assets/stylesheets/"

# config/application.rb
application do
  %q`
    config.time_zone = 'Tokyo'
    config.i18n.default_locale = :ja
  `
end

# i18n japanese locale
run 'wget https://raw.github.com/svenfuchs/rails-i18n/master/rails/locale/ja.yml -P config/locales/'

# gitignore
remove_file '.gitignore'
run "wget #{ASSET_URI}/gitignore"
<commit_msg>fix gitignore filename<commit_after># define github repository uri
REPO_URI = 'https://raw.github.com/haazime/prototype_rails_template'
REPO_BRANCH = 'master'
ASSET_URI = "#{REPO_URI}/#{REPO_BRANCH}"

# twitter bootstap gems
gem 'bootstrap-sass'
gem 'bootswatch-rails'
gem 'font-awesome-rails'

# assets for bootstrap
run 'rm -rf app/assets/javascripts/application.js'
run "wget #{ASSET_URI}/app/assets/javascripts/application.js -P app/assets/javascripts/"

run 'rm -rf app/assets/stylesheets/application.css'
run "wget #{ASSET_URI}/app/assets/stylesheets/application.css.scss -P app/assets/stylesheets/"

# config/application.rb
application do
  %q`
    config.time_zone = 'Tokyo'
    config.i18n.default_locale = :ja
  `
end

# i18n japanese locale
run 'wget https://raw.github.com/svenfuchs/rails-i18n/master/rails/locale/ja.yml -P config/locales/'

# gitignore
remove_file '.gitignore'
run "wget #{ASSET_URI}/gitignore -O .gitignore"

{'fraction_non_alphanumeric': 0.13584905660377358, 'fraction_numerical': 0.00646900269541779, 'mean_word_length': 4.854889589905363, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '445460', 'n_tokens_mistral': 711, 'n_tokens_neox': 678, 'n_words': 132}