Sha256: b6743362011cdfc1982d972fce8e1d969101e684b09b35e0c771626b109529fe

Contents?: true

Size: 161 Bytes

Versions: 4

Compression:

Stored size: 161 Bytes

Contents

# application.rb
# change timezone to Beijing
inject_into_file 'config/application.rb', after: "# timezone\n" do
<<-EOF
  "config.time_zone = 'Beijing'"
EOF
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
crosstie-0.0.7 lib/crosstie/templates/change_timezone.rb
crosstie-0.0.6 lib/crosstie/templates/change_timezone.rb
crosstie-0.0.5 lib/crosstie/templates/change_timezone.rb
crosstie-0.0.4 lib/crosstie/templates/change_timezone.rb