Guest User

Untitled

a guest
Feb 19th, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.84 KB | None | 0 0
  1. antares|experiments merb-gen app dm-gen
  2. Generating with app generator:
  3. [ADDED] app/controllers/application.rb
  4. [ADDED] app/controllers/exceptions.rb
  5. [ADDED] app/helpers/global_helpers.rb
  6. [ADDED] app/views/exceptions/internal_server_error.html.erb
  7. [ADDED] app/views/exceptions/not_acceptable.html.erb
  8. [ADDED] app/views/exceptions/not_found.html.erb
  9. [ADDED] autotest/discover.rb
  10. [ADDED] autotest/merb.rb
  11. [ADDED] autotest/merb_rspec.rb
  12. [ADDED] config/environments/development.rb
  13. [ADDED] config/environments/production.rb
  14. [ADDED] config/environments/rake.rb
  15. [ADDED] config/environments/test.rb
  16. [ADDED] config/init.rb
  17. [ADDED] config/rack.rb
  18. [ADDED] config/router.rb
  19. [ADDED] public/stylesheets/master.css
  20. [ADDED] Rakefile
  21. [ADDED] spec/spec_helper.rb
  22. [ADDED] test/test_helper.rb
  23. [ADDED] public/images/merb.jpg
  24. [ADDED] public/merb.fcgi
  25. [ADDED] spec/spec.opts
  26. [ADDED] app/views/layout/application.html.erb
  27. antares|experiments cd dm-gen
  28. antares|dm-gen emacs config/init.rb
  29. antares|dm-gen ls app
  30. total 0
  31. drwxr-xr-x 5 antares staff 170B Sep 5 19:15 .
  32. drwxr-xr-x 9 antares staff 306B Sep 5 19:15 ..
  33. drwxr-xr-x 4 antares staff 136B Sep 5 19:15 controllers
  34. drwxr-xr-x 3 antares staff 102B Sep 5 19:15 helpers
  35. drwxr-xr-x 4 antares staff 136B Sep 5 19:15 views
  36. antares|dm-gen cat config/init.rb| grep "use_orm"
  37. use_orm :datamapper
  38. # use_orm :activerecord
  39. # use_orm :sequel
  40. antares|dm-gen merb-gen model
  41. ~ Compiling routes...
  42. Generating with model generator:
  43. [ADDED] spec/models/tween_spec.rb
  44. [ADDED] app/models/tween.rb
  45. ~ Using 'share-nothing' cookie sessions (4kb limit per client)
  46. antares|dm-gen cat app/models/tween.rb
  47. class Tween
  48. include DataMapper::Resource
  49.  
  50.  
  51. end
Add Comment
Please, Sign In to add comment