<commit_before>paozhoumo-user
==============

mountable engine for user

##New project
    rails new paozhoumo
    rails g scaffold resort name:string content:text

##Init devise

    gem 'devise'
    rails g devise:install

## Mount paozhoumo_user
add Gemfile

    gem 'paozhoumo-user', :git => '<EMAIL>:/data/gitrepo/paozhoumo-user'
    gem 'omniauth-weibo', :git => 'git://github.com/ballantyne/omniauth-weibo.git'

remove Gemfile

    gem 'devise'

##DB

change db/seeds.rb

    PaozhoumoUser::Role.create!(:name => 'admin')
    PaozhoumoUser::Role.create!(:name => 'owner')
    PaozhoumoUser::Role.create!(:name => 'user')

mount db

    rake db:create
    rake paozhoumo_user:install:migrations
    rake db:migrate//cp application.yml
    rake db:seed

##Code change
change config/routes.rb
<commit_msg>change gem<commit_after>paozhoumo-user
==============

mountable engine for user

##New project
    rails new paozhoumo
    rails g scaffold resort name:string content:text

##Init devise

    gem 'devise'
    rails g devise:install

## Mount paozhoumo_user
add Gemfile

    gem 'paozhoumo-user', :git => 'git://github.com/zhaoxiao10/paozhoumo-user.git'
    gem 'omniauth-weibo', :git => 'git://github.com/ballantyne/omniauth-weibo.git'
		gem 'devise', :git => 'git://github.com/zhaoxiao10/devise.git'

remove Gemfile

    gem 'devise'

##DB

change db/seeds.rb

    PaozhoumoUser::Role.create!(:name => 'admin')
    PaozhoumoUser::Role.create!(:name => 'owner')
    PaozhoumoUser::Role.create!(:name => 'user')

mount db

    rake db:create
    rake paozhoumo_user:install:migrations
    rake db:migrate//cp application.yml
    rake db:seed

##Code change
change config/routes.rb

{'fraction_non_alphanumeric': 0.14319526627218934, 'fraction_numerical': 0.002366863905325444, 'mean_word_length': 3.88728323699422, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 15, 'https://': 0, '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': '1905708', 'n_tokens_mistral': 640, 'n_tokens_neox': 596, 'n_words': 131}