trinidad_sandbox_extension 0.4.2 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (28) hide show
  1. data/Gemfile +4 -0
  2. data/Gemfile.lock +56 -0
  3. data/History.txt +6 -0
  4. data/README +27 -0
  5. data/git-hooks/post-commit +7 -0
  6. data/lib/trinidad_sandbox_extension.rb +24 -3
  7. data/lib/trinidad_sandbox_extension/app/helpers/{sandbox.rb → auth.rb} +20 -19
  8. data/lib/trinidad_sandbox_extension/app/helpers/context.rb +72 -0
  9. data/lib/trinidad_sandbox_extension/app/helpers/deploy.rb +106 -0
  10. data/lib/trinidad_sandbox_extension/app/helpers/view.rb +39 -0
  11. data/lib/trinidad_sandbox_extension/app/model/application_context.rb +48 -4
  12. data/lib/trinidad_sandbox_extension/app/public/css/sandbox.css +187 -0
  13. data/lib/trinidad_sandbox_extension/app/sandbox.rb +56 -39
  14. data/lib/trinidad_sandbox_extension/app/views/actions.html.haml +2 -2
  15. data/lib/trinidad_sandbox_extension/app/views/applications.html.haml +17 -0
  16. data/lib/trinidad_sandbox_extension/app/views/applications.xml.haml +13 -0
  17. data/lib/trinidad_sandbox_extension/app/views/deploy.html.haml +16 -0
  18. data/lib/trinidad_sandbox_extension/app/views/layout.html.haml +10 -6
  19. data/lib/trinidad_sandbox_extension/app/views/navigation.html.haml +10 -0
  20. data/spec/trinidad_sandbox_extension_spec.rb +12 -2
  21. data/trinidad-libs/trinidad-sandbox-extension.jar +0 -0
  22. data/trinidad_sandbox_extension.gemspec +16 -9
  23. metadata +52 -41
  24. data/lib/trinidad_sandbox_extension/app/public/css/main.css +0 -137
  25. data/lib/trinidad_sandbox_extension/app/views/app.html.haml +0 -8
  26. data/lib/trinidad_sandbox_extension/app/views/app.xml.haml +0 -11
  27. data/lib/trinidad_sandbox_extension/app/views/index.html.haml +0 -6
  28. data/lib/trinidad_sandbox_extension/app/views/index.xml.haml +0 -3
@@ -1,8 +0,0 @@
1
- .application
2
- %a(href = "#{app.self_path}" class="app_name")= app.name
3
- = haml :actions, :locals => {:app => app}, :layout => false
4
- - if app.parameters
5
- #parameters
6
- %ul
7
- - app.parameters.each do |param_name|
8
- %li= "#{param_name} => #{app.find_parameter(param_name)}"
@@ -1,11 +0,0 @@
1
- %application
2
- %name= app.name
3
- %path= app.path
4
- %available= app.available
5
- %link(rel = "edit" href = "#{app.self_path}.xml")
6
- - app.actions.each do |action|
7
- %link(rel = "#{action[:rel]}" href = "#{action[:href]}.xml")
8
- - if app.parameters
9
- %context-parameters
10
- - app.parameters.each do |param_name|
11
- %parameter(name = "#{param_name}" value = "#{app.find_parameter(param_name)}")
@@ -1,6 +0,0 @@
1
- .applications
2
- %ul(id="applications")
3
- - @applications.each do |app|
4
- %li
5
- %a(href = "#{app.self_path}" class="app_name")= app.name
6
- = haml :actions, :locals => {:app => app}, :layout => false
@@ -1,3 +0,0 @@
1
- %applications
2
- - @applications.each do |app|
3
- = haml :app, :locals => {:app => app}