niwatori pernah ngintip redmine gak? disitu ada contoh pakai macem2 bahasa asing
juga. di main framework rails ada dir namanya "lang" lalu dalamnya itu pakai
file
yaml biasa. tapi terus terang gw belum liat lagi kalo yg baru itu fitur-fitur
baru
apa aja yang ada di redmine.
sayang:~/Documents/rails_resep/redmine arie$ rake
(in /Users/arie/Documents/rails_resep/redmine)
/opt/local/bin/ruby -Ilib:test
"/opt/local/lib/ruby/gems/1.8/gems/rake-0.7.2/lib/rake/rake_test_loader.rb"
"test/unit/comment_test.rb" "test/unit/issue_status_test.rb"
"test/unit/mailer_test.rb" "test/unit/member_test.rb"
"test/unit/project_test.rb"
"test/unit/setting_test.rb" "test/unit/token_test.rb"
"test/unit/user_preference_test.rb" "test/unit/user_test.rb"
Loaded suite
/opt/local/lib/ruby/gems/1.8/gems/rake-0.7.2/lib/rake/rake_test_loader
Started
..................................
Finished in 4.587305 seconds.
34 tests, 99 assertions, 0 failures, 0 errors
/opt/local/bin/ruby -Ilib:test
"/opt/local/lib/ruby/gems/1.8/gems/rake-0.7.2/lib/rake/rake_test_loader.rb"
"test/functional/application_controller_test.rb"
"test/functional/my_controller_test.rb"
"test/functional/projects_controller_test.rb"
Loaded suite
/opt/local/lib/ruby/gems/1.8/gems/rake-0.7.2/lib/rake/rake_test_loader
Started
...............
Finished in 5.775526 seconds.
15 tests, 45 assertions, 0 failures, 0 errors
/opt/local/bin/ruby -Ilib:test
"/opt/local/lib/ruby/gems/1.8/gems/rake-0.7.2/lib/rake/rake_test_loader.rb"
"test/integration/account_test.rb" "test/integration/admin_test.rb"
"test/integration/issues_test.rb"
Loaded suite
/opt/local/lib/ruby/gems/1.8/gems/rake-0.7.2/lib/rake/rake_test_loader
Started
.........
Finished in 16.670796 seconds.
9 tests, 131 assertions, 0 failures, 0 errors
sayang:~/Documents/rails_resep/redmine arie$ rake stats
(in /Users/arie/Documents/rails_resep/redmine)
+----------------------+-------+-------+---------+---------+-----+-------+
| Name | Lines | LOC | Classes | Methods | M/C | LOC/M |
+----------------------+-------+-------+---------+---------+-----+-------+
| Controllers | 2494 | 1758 | 25 | 167 | 6 | 8 |
| Helpers | 1000 | 408 | 2 | 40 | 20 | 8 |
| Models | 1833 | 1037 | 38 | 115 | 3 | 7 |
| Libraries | 11 | 9 | 0 | 1 | 0 | 7 |
| Components | 0 | 0 | 0 | 0 | 0 | 0 |
| Integration tests | 221 | 142 | 3 | 9 | 3 | 13 |
| Functional tests | 180 | 118 | 6 | 21 | 3 | 3 |
| Unit tests | 488 | 269 | 9 | 38 | 4 | 5 |
+----------------------+-------+-------+---------+---------+-----+-------+
| Total | 6227 | 3741 | 83 | 391 | 4 | 7 |
+----------------------+-------+-------+---------+---------+-----+-------+
Code LOC: 3212 Test LOC: 529 Code to Test Ratio: 1:0.2
sayang:~/Documents/rails_resep/redmine arie$
--
r9 = { nama: Arie, nick: ariekeren, ym!: riyari3,
blog: http://ariekusumaatmaja.wordpress.com,
myst: http://groups.yahoo.com/groups/id-ruby,
vilr: %Q~
function! WhitePearl()
perl << EOF
VIM::Msg("pearls are nice for necklaces");
VIM::Msg("rubys for rings");
VIM::Msg("pythons for bags");
VIM::Msg("tcls????");
EOF
endfunction
~ }