jive_os_apps 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (60) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.rdoc +3 -0
  4. data/Rakefile +37 -0
  5. data/app/assets/javascripts/jive_os_apps/application.js +13 -0
  6. data/app/assets/stylesheets/jive_os_apps/application.css +15 -0
  7. data/app/controllers/jive_os_apps/application_controller.rb +4 -0
  8. data/app/controllers/jive_os_apps/os_apps_controller.rb +13 -0
  9. data/app/helpers/jive_os_apps/application_helper.rb +4 -0
  10. data/app/views/jive_os_apps/os_apps/locale.xml.erb +5 -0
  11. data/app/views/jive_os_apps/os_apps/show.xml.erb +21 -0
  12. data/config/routes.rb +5 -0
  13. data/lib/jive_os_apps/engine.rb +20 -0
  14. data/lib/jive_os_apps/version.rb +3 -0
  15. data/lib/jive_os_apps.rb +4 -0
  16. data/lib/tasks/jive_os_apps_tasks.rake +4 -0
  17. data/test/dummy/README.rdoc +28 -0
  18. data/test/dummy/Rakefile +6 -0
  19. data/test/dummy/app/assets/javascripts/application.js +13 -0
  20. data/test/dummy/app/assets/stylesheets/application.css +15 -0
  21. data/test/dummy/app/controllers/application_controller.rb +5 -0
  22. data/test/dummy/app/helpers/application_helper.rb +2 -0
  23. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  24. data/test/dummy/bin/bundle +3 -0
  25. data/test/dummy/bin/rails +4 -0
  26. data/test/dummy/bin/rake +4 -0
  27. data/test/dummy/bin/setup +29 -0
  28. data/test/dummy/config/application.rb +26 -0
  29. data/test/dummy/config/boot.rb +5 -0
  30. data/test/dummy/config/database.yml +25 -0
  31. data/test/dummy/config/environment.rb +5 -0
  32. data/test/dummy/config/environments/development.rb +41 -0
  33. data/test/dummy/config/environments/production.rb +79 -0
  34. data/test/dummy/config/environments/test.rb +42 -0
  35. data/test/dummy/config/initializers/assets.rb +11 -0
  36. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  37. data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
  38. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  39. data/test/dummy/config/initializers/inflections.rb +16 -0
  40. data/test/dummy/config/initializers/jive_os_apps.rb +3 -0
  41. data/test/dummy/config/initializers/mime_types.rb +4 -0
  42. data/test/dummy/config/initializers/session_store.rb +3 -0
  43. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  44. data/test/dummy/config/jive_osapp_surveys_config.yml +52 -0
  45. data/test/dummy/config/locales/en.yml +23 -0
  46. data/test/dummy/config/routes.rb +3 -0
  47. data/test/dummy/config/secrets.yml +22 -0
  48. data/test/dummy/config.ru +4 -0
  49. data/test/dummy/db/development.sqlite3 +0 -0
  50. data/test/dummy/log/development.log +17455 -0
  51. data/test/dummy/log/passenger.3000.log +1230 -0
  52. data/test/dummy/passenger.3000.pid.lock +0 -0
  53. data/test/dummy/public/404.html +67 -0
  54. data/test/dummy/public/422.html +67 -0
  55. data/test/dummy/public/500.html +66 -0
  56. data/test/dummy/public/favicon.ico +0 -0
  57. data/test/integration/navigation_test.rb +8 -0
  58. data/test/jive_os_apps_test.rb +7 -0
  59. data/test/test_helper.rb +21 -0
  60. metadata +173 -0
@@ -0,0 +1,14 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # This file contains settings for ActionController::ParamsWrapper which
4
+ # is enabled by default.
5
+
6
+ # Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
7
+ ActiveSupport.on_load(:action_controller) do
8
+ wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
9
+ end
10
+
11
+ # To enable root element in JSON for ActiveRecord objects.
12
+ # ActiveSupport.on_load(:active_record) do
13
+ # self.include_root_in_json = true
14
+ # end
@@ -0,0 +1,52 @@
1
+ development:
2
+ module_prefs:
3
+ title: __MSG_moduleprefs_title__
4
+ description: __MSG_moduleprefs_description__
5
+ author: Butch Marshall
6
+ author_affiliation: TemboSocial
7
+ author_email: butch.a.marshall@gmail.com
8
+ features:
9
+ - dynamic-height
10
+ - dynamic-width
11
+ - jive-core-v3
12
+ - jive-core-v3-resolver
13
+ - jive-core-v2
14
+ - osapi
15
+ - settitle
16
+ - views
17
+ - opensocial-data
18
+ - embedded-experiences
19
+ - opensocial-data
20
+ - selection
21
+ - jquery-1.6
22
+ - settitle
23
+ - views
24
+ - opensocial:
25
+ version: 2.5
26
+ locales:
27
+ en:
28
+ moduleprefs_title: The Best Survey Ever
29
+ moduleprefs_description: An app which serves up the best survey ever!
30
+ moduleprefs_nav_label: Nav Menu
31
+ fr:
32
+ moduleprefs_title: Le Meilleur enquête jamais
33
+ moduleprefs_description: Une application qui sert la meilleure enquête jamais !
34
+ moduleprefs_navmenu_label: Nav Menu
35
+ actions:
36
+ -
37
+ id: com.dummyapp.navmenu
38
+ path: jive/actions/navmenu
39
+ label: __MSG_moduleprefs_navmenu_label__
40
+ view: dummyapp.navmenu
41
+ content:
42
+ -
43
+ type: html
44
+ view: canvas
45
+ href: /surveyapp/canvas
46
+ - type: html
47
+ view: dummyapp.navmenu
48
+ href: /surveyapp/navmenu
49
+ test:
50
+ host: test
51
+ production:
52
+ host: test
@@ -0,0 +1,23 @@
1
+ # Files in the config/locales directory are used for internationalization
2
+ # and are automatically loaded by Rails. If you want to use locales other
3
+ # than English, add the necessary files in this directory.
4
+ #
5
+ # To use the locales, use `I18n.t`:
6
+ #
7
+ # I18n.t 'hello'
8
+ #
9
+ # In views, this is aliased to just `t`:
10
+ #
11
+ # <%= t('hello') %>
12
+ #
13
+ # To use a different locale, set it with `I18n.locale`:
14
+ #
15
+ # I18n.locale = :es
16
+ #
17
+ # This would use the information in config/locales/es.yml.
18
+ #
19
+ # To learn more, please read the Rails Internationalization guide
20
+ # available at http://guides.rubyonrails.org/i18n.html.
21
+
22
+ en:
23
+ hello: "Hello world"
@@ -0,0 +1,3 @@
1
+ Rails.application.routes.draw do
2
+ mount JiveOsApps::Engine => "/jive/osapp"
3
+ end
@@ -0,0 +1,22 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Your secret key is used for verifying the integrity of signed cookies.
4
+ # If you change this key, all old signed cookies will become invalid!
5
+
6
+ # Make sure the secret is at least 30 characters and all random,
7
+ # no regular words or you'll be exposed to dictionary attacks.
8
+ # You can use `rake secret` to generate a secure secret key.
9
+
10
+ # Make sure the secrets in this file are kept private
11
+ # if you're sharing your code publicly.
12
+
13
+ development:
14
+ secret_key_base: 000deee2ef9c93d4196f6b2ed271dc091147912112256249490aa0209356349bb0080accb7f3a718a39af8811ff1eac9ac9892c5ee78b499b3a44e4d81125a2d
15
+
16
+ test:
17
+ secret_key_base: ddda04ed1d39b27f5b4cd588310b96c7769c8057dfc97d275038f720d91a31b3f2d7051895e23319b8501abce1864c7d0531edaf6fe11fb28a6d3d7d4452ddca
18
+
19
+ # Do not keep production secrets in the repository,
20
+ # instead read values from the environment.
21
+ production:
22
+ secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
@@ -0,0 +1,4 @@
1
+ # This file is used by Rack-based servers to start the application.
2
+
3
+ require ::File.expand_path('../config/environment', __FILE__)
4
+ run Rails.application
File without changes