publish_my_data 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (101) hide show
  1. data/MIT-LICENSE +20 -0
  2. data/README.md +37 -0
  3. data/Rakefile +41 -0
  4. data/app/assets/javascripts/publish_my_data/application.js +15 -0
  5. data/app/assets/javascripts/publish_my_data/resources.js +2 -0
  6. data/app/assets/stylesheets/publish_my_data/application.css +13 -0
  7. data/app/assets/stylesheets/publish_my_data/resources.css +4 -0
  8. data/app/controllers/publish_my_data/application_controller.rb +49 -0
  9. data/app/controllers/publish_my_data/datasets_controller.rb +48 -0
  10. data/app/controllers/publish_my_data/errors_controller.rb +9 -0
  11. data/app/controllers/publish_my_data/home_controller.rb +4 -0
  12. data/app/controllers/publish_my_data/resources_controller.rb +103 -0
  13. data/app/controllers/publish_my_data/sparql_controller.rb +50 -0
  14. data/app/helpers/publish_my_data/application_helper.rb +4 -0
  15. data/app/helpers/publish_my_data/resources_helper.rb +28 -0
  16. data/app/helpers/publish_my_data/sparql_helper.rb +7 -0
  17. data/app/models/publish_my_data/concept_scheme.rb +5 -0
  18. data/app/models/publish_my_data/dataset.rb +61 -0
  19. data/app/models/publish_my_data/ontology.rb +5 -0
  20. data/app/models/publish_my_data/rdf_type.rb +6 -0
  21. data/app/models/publish_my_data/resource.rb +21 -0
  22. data/app/views/layouts/publish_my_data/application.html.erb +14 -0
  23. data/app/views/layouts/publish_my_data/error.html.erb +3 -0
  24. data/app/views/publish_my_data/datasets/index.html.erb +20 -0
  25. data/app/views/publish_my_data/datasets/show.html.erb +18 -0
  26. data/app/views/publish_my_data/datasets/themes.html.erb +3 -0
  27. data/app/views/publish_my_data/errors/not_found.html.erb +1 -0
  28. data/app/views/publish_my_data/resources/_predicates_table.html.erb +22 -0
  29. data/app/views/publish_my_data/resources/_predicates_table_head.html.erb +6 -0
  30. data/app/views/publish_my_data/resources/_resource_formats.html.erb +11 -0
  31. data/app/views/publish_my_data/resources/_uri_and_label.html.erb +3 -0
  32. data/app/views/publish_my_data/resources/index.html.erb +39 -0
  33. data/app/views/publish_my_data/resources/show.html.erb +3 -0
  34. data/app/views/publish_my_data/sparql/_ask_formats.html.erb +3 -0
  35. data/app/views/publish_my_data/sparql/_construct_formats.html.erb +3 -0
  36. data/app/views/publish_my_data/sparql/_describe_formats.html.erb +1 -0
  37. data/app/views/publish_my_data/sparql/_error_message.html.erb +3 -0
  38. data/app/views/publish_my_data/sparql/_form.html.erb +4 -0
  39. data/app/views/publish_my_data/sparql/_formats.html.erb +6 -0
  40. data/app/views/publish_my_data/sparql/_pagination.html.erb +6 -0
  41. data/app/views/publish_my_data/sparql/_results.html.erb +5 -0
  42. data/app/views/publish_my_data/sparql/_results_data.html.erb +4 -0
  43. data/app/views/publish_my_data/sparql/_select_formats.html.erb +3 -0
  44. data/app/views/publish_my_data/sparql/endpoint.html.erb +10 -0
  45. data/config/initializers/tripod.rb +5 -0
  46. data/config/initializers/vocabularies.rb +1 -0
  47. data/config/routes.rb +33 -0
  48. data/lib/publish_my_data.rb +43 -0
  49. data/lib/publish_my_data/engine.rb +9 -0
  50. data/lib/publish_my_data/renderers.rb +44 -0
  51. data/lib/publish_my_data/sparql_query.rb +117 -0
  52. data/lib/publish_my_data/sparql_query_result.rb +49 -0
  53. data/lib/publish_my_data/version.rb +3 -0
  54. data/lib/tasks/publish_my_data_tasks.rake +4 -0
  55. data/spec/controllers/publish_my_data/datasets_controller_spec.rb +190 -0
  56. data/spec/controllers/publish_my_data/resources_controller_spec.rb +399 -0
  57. data/spec/controllers/publish_my_data/sparql_controller_spec.rb +172 -0
  58. data/spec/dummy/README.rdoc +261 -0
  59. data/spec/dummy/Rakefile +7 -0
  60. data/spec/dummy/app/assets/javascripts/application.js +15 -0
  61. data/spec/dummy/app/assets/stylesheets/application.css +13 -0
  62. data/spec/dummy/app/controllers/application_controller.rb +3 -0
  63. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  64. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  65. data/spec/dummy/config.ru +4 -0
  66. data/spec/dummy/config/application.rb +68 -0
  67. data/spec/dummy/config/boot.rb +10 -0
  68. data/spec/dummy/config/environment.rb +5 -0
  69. data/spec/dummy/config/environments/development.rb +38 -0
  70. data/spec/dummy/config/environments/production.rb +65 -0
  71. data/spec/dummy/config/environments/test.rb +41 -0
  72. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  73. data/spec/dummy/config/initializers/inflections.rb +15 -0
  74. data/spec/dummy/config/initializers/mime_types.rb +5 -0
  75. data/spec/dummy/config/initializers/secret_token.rb +7 -0
  76. data/spec/dummy/config/initializers/session_store.rb +8 -0
  77. data/spec/dummy/config/initializers/wrap_parameters.rb +10 -0
  78. data/spec/dummy/config/locales/en.yml +5 -0
  79. data/spec/dummy/config/routes.rb +4 -0
  80. data/spec/dummy/log/development.log +211 -0
  81. data/spec/dummy/log/test.log +105012 -0
  82. data/spec/dummy/public/404.html +26 -0
  83. data/spec/dummy/public/422.html +26 -0
  84. data/spec/dummy/public/500.html +25 -0
  85. data/spec/dummy/public/favicon.ico +0 -0
  86. data/spec/dummy/script/rails +6 -0
  87. data/spec/factories/dataset_factories.rb +12 -0
  88. data/spec/factories/property_factories.rb +13 -0
  89. data/spec/factories/resource_factories.rb +37 -0
  90. data/spec/features/running_a_sparql_query_spec.rb +324 -0
  91. data/spec/features/uri_dereferencing_flow_spec.rb +61 -0
  92. data/spec/features/uri_dereferencing_spec.rb +89 -0
  93. data/spec/features/viewing_a_def_spec.rb +45 -0
  94. data/spec/features/viewing_a_doc_spec.rb +124 -0
  95. data/spec/features/viewing_resource_not_in_our_domain_spec.rb +31 -0
  96. data/spec/lib/publish_my_data/sparql_query_spec.rb +495 -0
  97. data/spec/models/publish_my_data/dataset_spec.rb +29 -0
  98. data/spec/models/publish_my_data/resource_spec.rb +23 -0
  99. data/spec/renderers/publish_my_data/renderers_spec.rb +79 -0
  100. data/spec/spec_helper.rb +53 -0
  101. metadata +242 -0
@@ -0,0 +1,13 @@
1
+ /*
2
+ * This is a manifest file that'll be compiled into application.css, which will include all the files
3
+ * listed below.
4
+ *
5
+ * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
6
+ * or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
7
+ *
8
+ * You're free to add application-wide styles to this file and they'll appear at the top of the
9
+ * compiled file, but it's generally better to create a new file per style scope.
10
+ *
11
+ *= require_self
12
+ *= require_tree .
13
+ */
@@ -0,0 +1,3 @@
1
+ class ApplicationController < ActionController::Base
2
+ protect_from_forgery
3
+ end
@@ -0,0 +1,2 @@
1
+ module ApplicationHelper
2
+ end
@@ -0,0 +1,14 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>Dummy</title>
5
+ <%= stylesheet_link_tag "application", :media => "all" %>
6
+ <%= javascript_include_tag "application" %>
7
+ <%= csrf_meta_tags %>
8
+ </head>
9
+ <body>
10
+
11
+ <%= yield %>
12
+
13
+ </body>
14
+ </html>
@@ -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 Dummy::Application
@@ -0,0 +1,68 @@
1
+ require File.expand_path('../boot', __FILE__)
2
+
3
+ # Pick the frameworks you want:
4
+ # require "active_record/railtie"
5
+ require "action_controller/railtie"
6
+ require "action_mailer/railtie"
7
+ require "active_resource/railtie"
8
+ require "sprockets/railtie"
9
+ #require "rails/test_unit/railtie"
10
+
11
+ require 'tripod' # for some reason tripod is lazy loaded by the tests unless you stick this here, which we don't want.
12
+
13
+ Bundler.require
14
+
15
+ require "publish_my_data"
16
+
17
+ module Dummy
18
+ class Application < Rails::Application
19
+ # Settings in config/environments/* take precedence over those specified here.
20
+ # Application configuration should go into files in config/initializers
21
+ # -- all .rb files in that directory are automatically loaded.
22
+
23
+ # Custom directories with classes and modules you want to be autoloadable.
24
+ # config.autoload_paths += %W(#{config.root}/extras)
25
+
26
+ # Only load the plugins named here, in the order given (default is alphabetical).
27
+ # :all can be used as a placeholder for all plugins not explicitly named.
28
+ # config.plugins = [ :exception_notification, :ssl_requirement, :all ]
29
+
30
+ # Activate observers that should always be running.
31
+ # config.active_record.observers = :cacher, :garbage_collector, :forum_observer
32
+
33
+ # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
34
+ # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
35
+ # config.time_zone = 'Central Time (US & Canada)'
36
+
37
+ # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
38
+ # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
39
+ # config.i18n.default_locale = :de
40
+
41
+ # Configure the default encoding used in templates for Ruby 1.9.
42
+ config.encoding = "utf-8"
43
+
44
+ # Configure sensitive parameters which will be filtered from the log file.
45
+ config.filter_parameters += [:password]
46
+
47
+ # Enable escaping HTML in JSON.
48
+ config.active_support.escape_html_entities_in_json = true
49
+
50
+ # Use SQL instead of Active Record's schema dumper when creating the database.
51
+ # This is necessary if your schema can't be completely dumped by the schema dumper,
52
+ # like if you have constraints or database-specific column types
53
+ # config.active_record.schema_format = :sql
54
+
55
+ # Enforce whitelist mode for mass assignment.
56
+ # This will create an empty whitelist of attributes available for mass-assignment for all models
57
+ # in your app. As such, your models will need to explicitly whitelist or blacklist accessible
58
+ # parameters by using an attr_accessible or attr_protected declaration.
59
+ # config.active_record.whitelist_attributes = true
60
+
61
+ # Enable the asset pipeline
62
+ config.assets.enabled = true
63
+
64
+ # Version of your assets, change this if you want to expire all your assets
65
+ config.assets.version = '1.0'
66
+ end
67
+ end
68
+
@@ -0,0 +1,10 @@
1
+ require 'rubygems'
2
+ gemfile = File.expand_path('../../../../Gemfile', __FILE__)
3
+
4
+ if File.exist?(gemfile)
5
+ ENV['BUNDLE_GEMFILE'] = gemfile
6
+ require 'bundler'
7
+ Bundler.setup
8
+ end
9
+
10
+ $:.unshift File.expand_path('../../../../lib', __FILE__)
@@ -0,0 +1,5 @@
1
+ # Load the rails application
2
+ require File.expand_path('../application', __FILE__)
3
+
4
+ # Initialize the rails application
5
+ Dummy::Application.initialize!
@@ -0,0 +1,38 @@
1
+ Dummy::Application.configure do
2
+ # Settings specified here will take precedence over those in config/application.rb
3
+
4
+ # In the development environment your application's code is reloaded on
5
+ # every request. This slows down response time but is perfect for development
6
+ # since you don't have to restart the web server when you make code changes.
7
+ config.cache_classes = false
8
+
9
+ # Log error messages when you accidentally call methods on nil.
10
+ config.whiny_nils = true
11
+
12
+ # Show full error reports and disable caching
13
+ config.consider_all_requests_local = true
14
+ config.action_controller.perform_caching = false
15
+
16
+ # Don't care if the mailer can't send
17
+ config.action_mailer.raise_delivery_errors = false
18
+
19
+ # Print deprecation notices to the Rails logger
20
+ config.active_support.deprecation = :log
21
+
22
+ # Only use best-standards-support built into browsers
23
+ config.action_dispatch.best_standards_support = :builtin
24
+
25
+
26
+ # Do not compress assets
27
+ config.assets.compress = false
28
+
29
+ # Expands the lines which load the assets
30
+ config.assets.debug = true
31
+
32
+ PublishMyData.configure do |config|
33
+ config.sparql_endpoint = 'http://localhost:3030/pmd/sparql'
34
+ config.local_domain = 'pmd.dev'
35
+ config.sparql_timeout_seconds = 30
36
+ end
37
+
38
+ end
@@ -0,0 +1,65 @@
1
+ Dummy::Application.configure do
2
+ # Settings specified here will take precedence over those in config/application.rb
3
+
4
+ # Code is not reloaded between requests
5
+ config.cache_classes = true
6
+
7
+ # Full error reports are disabled and caching is turned on
8
+ config.consider_all_requests_local = false
9
+ config.action_controller.perform_caching = true
10
+
11
+ # Disable Rails's static asset server (Apache or nginx will already do this)
12
+ config.serve_static_assets = false
13
+
14
+ # Compress JavaScripts and CSS
15
+ config.assets.compress = true
16
+
17
+ # Don't fallback to assets pipeline if a precompiled asset is missed
18
+ config.assets.compile = false
19
+
20
+ # Generate digests for assets URLs
21
+ config.assets.digest = true
22
+
23
+ # Defaults to nil and saved in location specified by config.assets.prefix
24
+ # config.assets.manifest = YOUR_PATH
25
+
26
+ # Specifies the header that your server uses for sending files
27
+ # config.action_dispatch.x_sendfile_header = "X-Sendfile" # for apache
28
+ # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for nginx
29
+
30
+ # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
31
+ # config.force_ssl = true
32
+
33
+ # See everything in the log (default is :info)
34
+ # config.log_level = :debug
35
+
36
+ # Prepend all log lines with the following tags
37
+ # config.log_tags = [ :subdomain, :uuid ]
38
+
39
+ # Use a different logger for distributed setups
40
+ # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
41
+
42
+ # Use a different cache store in production
43
+ # config.cache_store = :mem_cache_store
44
+
45
+ # Enable serving of images, stylesheets, and JavaScripts from an asset server
46
+ # config.action_controller.asset_host = "http://assets.example.com"
47
+
48
+ # Precompile additional assets (application.js, application.css, and all non-JS/CSS are already added)
49
+ # config.assets.precompile += %w( search.js )
50
+
51
+ # Disable delivery errors, bad email addresses will be ignored
52
+ # config.action_mailer.raise_delivery_errors = false
53
+
54
+ # Enable threaded mode
55
+ # config.threadsafe!
56
+
57
+ # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
58
+ # the I18n.default_locale when a translation can not be found)
59
+ config.i18n.fallbacks = true
60
+
61
+ # Send deprecation notices to registered listeners
62
+ config.active_support.deprecation = :notify
63
+
64
+
65
+ end
@@ -0,0 +1,41 @@
1
+ Dummy::Application.configure do
2
+ # Settings specified here will take precedence over those in config/application.rb
3
+
4
+ # The test environment is used exclusively to run your application's
5
+ # test suite. You never need to work with it otherwise. Remember that
6
+ # your test database is "scratch space" for the test suite and is wiped
7
+ # and recreated between test runs. Don't rely on the data there!
8
+ config.cache_classes = true
9
+
10
+ # Configure static asset server for tests with Cache-Control for performance
11
+ config.serve_static_assets = true
12
+ config.static_cache_control = "public, max-age=3600"
13
+
14
+ # Log error messages when you accidentally call methods on nil
15
+ config.whiny_nils = true
16
+
17
+ # Show full error reports and disable caching
18
+ config.consider_all_requests_local = true
19
+ config.action_controller.perform_caching = false
20
+
21
+ # Raise exceptions instead of rendering exception templates
22
+ config.action_dispatch.show_exceptions = false
23
+
24
+ # Disable request forgery protection in test environment
25
+ config.action_controller.allow_forgery_protection = false
26
+
27
+ # Tell Action Mailer not to deliver emails to the real world.
28
+ # The :test delivery method accumulates sent emails in the
29
+ # ActionMailer::Base.deliveries array.
30
+ config.action_mailer.delivery_method = :test
31
+
32
+
33
+ # Print deprecation notices to the stderr
34
+ config.active_support.deprecation = :stderr
35
+
36
+ PublishMyData.configure do |config|
37
+ config.sparql_endpoint = 'http://localhost:3030/pmdtest/sparql'
38
+ config.local_domain = 'pmdtest.dev'
39
+ config.sparql_timeout_seconds = 30
40
+ end
41
+ end
@@ -0,0 +1,7 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
4
+ # Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
5
+
6
+ # You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
7
+ # Rails.backtrace_cleaner.remove_silencers!
@@ -0,0 +1,15 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Add new inflection rules using the following format
4
+ # (all these examples are active by default):
5
+ # ActiveSupport::Inflector.inflections do |inflect|
6
+ # inflect.plural /^(ox)$/i, '\1en'
7
+ # inflect.singular /^(ox)en/i, '\1'
8
+ # inflect.irregular 'person', 'people'
9
+ # inflect.uncountable %w( fish sheep )
10
+ # end
11
+ #
12
+ # These inflection rules are supported but not enabled by default:
13
+ # ActiveSupport::Inflector.inflections do |inflect|
14
+ # inflect.acronym 'RESTful'
15
+ # end
@@ -0,0 +1,5 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Add new mime types for use in respond_to blocks:
4
+ # Mime::Type.register "text/richtext", :rtf
5
+ # Mime::Type.register_alias "text/html", :iphone
@@ -0,0 +1,7 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Your secret key for verifying the integrity of signed cookies.
4
+ # If you change this key, all old signed cookies will become invalid!
5
+ # Make sure the secret is at least 30 characters and all random,
6
+ # no regular words or you'll be exposed to dictionary attacks.
7
+ Dummy::Application.config.secret_token = '8bf454a93c2928071cf283a9c2fa0395039fb25a166a1ec154917a583e3f7dad2f9214a32abf1687316fa0d2fb959c6d12b66f92efdcacc09c1fe5cb12c8e8c0'
@@ -0,0 +1,8 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ Dummy::Application.config.session_store :cookie_store, key: '_dummy_session'
4
+
5
+ # Use the database for sessions instead of the cookie-based default,
6
+ # which shouldn't be used to store highly confidential information
7
+ # (create the session table with "rails generate session_migration")
8
+ # Dummy::Application.config.session_store :active_record_store
@@ -0,0 +1,10 @@
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]
9
+ end
10
+
@@ -0,0 +1,5 @@
1
+ # Sample localization file for English. Add more files in this directory for other locales.
2
+ # See https://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.
3
+
4
+ en:
5
+ hello: "Hello world"
@@ -0,0 +1,4 @@
1
+ Rails.application.routes.draw do
2
+
3
+ mount PublishMyData::Engine => "/"
4
+ end
@@ -0,0 +1,211 @@
1
+
2
+
3
+ Started GET "/" for 127.0.0.1 at 2013-01-31 15:25:51 +0000
4
+
5
+ ActionController::RoutingError (No route matches [GET] "/"):
6
+ actionpack (3.2.11) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
7
+ actionpack (3.2.11) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
8
+ railties (3.2.11) lib/rails/rack/logger.rb:32:in `call_app'
9
+ railties (3.2.11) lib/rails/rack/logger.rb:16:in `block in call'
10
+ activesupport (3.2.11) lib/active_support/tagged_logging.rb:22:in `tagged'
11
+ railties (3.2.11) lib/rails/rack/logger.rb:16:in `call'
12
+ actionpack (3.2.11) lib/action_dispatch/middleware/request_id.rb:22:in `call'
13
+ rack (1.4.4) lib/rack/methodoverride.rb:21:in `call'
14
+ rack (1.4.4) lib/rack/runtime.rb:17:in `call'
15
+ activesupport (3.2.11) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
16
+ rack (1.4.4) lib/rack/lock.rb:15:in `call'
17
+ actionpack (3.2.11) lib/action_dispatch/middleware/static.rb:62:in `call'
18
+ railties (3.2.11) lib/rails/engine.rb:479:in `call'
19
+ railties (3.2.11) lib/rails/application.rb:223:in `call'
20
+ rack (1.4.4) lib/rack/content_length.rb:14:in `call'
21
+ railties (3.2.11) lib/rails/rack/log_tailer.rb:17:in `call'
22
+ rack (1.4.4) lib/rack/handler/webrick.rb:59:in `service'
23
+ /Users/ric/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
24
+ /Users/ric/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
25
+ /Users/ric/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
26
+
27
+
28
+ Rendered /Users/ric/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.11/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (1.8ms)
29
+
30
+
31
+ Started GET "/resource?uri=http://uri" for 127.0.0.1 at 2013-01-31 15:26:09 +0000
32
+
33
+ ActionController::RoutingError (uninitialized constant PublishMyData::PublishMyData):
34
+ activesupport (3.2.11) lib/active_support/inflector/methods.rb:230:in `block in constantize'
35
+ activesupport (3.2.11) lib/active_support/inflector/methods.rb:229:in `each'
36
+ activesupport (3.2.11) lib/active_support/inflector/methods.rb:229:in `constantize'
37
+ actionpack (3.2.11) lib/action_dispatch/routing/route_set.rb:69:in `controller_reference'
38
+ actionpack (3.2.11) lib/action_dispatch/routing/route_set.rb:54:in `controller'
39
+ actionpack (3.2.11) lib/action_dispatch/routing/route_set.rb:32:in `call'
40
+ journey (1.0.4) lib/journey/router.rb:68:in `block in call'
41
+ journey (1.0.4) lib/journey/router.rb:56:in `each'
42
+ journey (1.0.4) lib/journey/router.rb:56:in `call'
43
+ actionpack (3.2.11) lib/action_dispatch/routing/route_set.rb:601:in `call'
44
+ railties (3.2.11) lib/rails/engine.rb:479:in `call'
45
+ railties (3.2.11) lib/rails/railtie/configurable.rb:30:in `method_missing'
46
+ journey (1.0.4) lib/journey/router.rb:68:in `block in call'
47
+ journey (1.0.4) lib/journey/router.rb:56:in `each'
48
+ journey (1.0.4) lib/journey/router.rb:56:in `call'
49
+ actionpack (3.2.11) lib/action_dispatch/routing/route_set.rb:601:in `call'
50
+ actionpack (3.2.11) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
51
+ rack (1.4.4) lib/rack/etag.rb:23:in `call'
52
+ rack (1.4.4) lib/rack/conditionalget.rb:25:in `call'
53
+ actionpack (3.2.11) lib/action_dispatch/middleware/head.rb:14:in `call'
54
+ actionpack (3.2.11) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
55
+ actionpack (3.2.11) lib/action_dispatch/middleware/flash.rb:242:in `call'
56
+ rack (1.4.4) lib/rack/session/abstract/id.rb:210:in `context'
57
+ rack (1.4.4) lib/rack/session/abstract/id.rb:205:in `call'
58
+ actionpack (3.2.11) lib/action_dispatch/middleware/cookies.rb:341:in `call'
59
+ actionpack (3.2.11) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
60
+ activesupport (3.2.11) lib/active_support/callbacks.rb:405:in `_run__4059361953589121105__call__1674012119307923760__callbacks'
61
+ activesupport (3.2.11) lib/active_support/callbacks.rb:405:in `__run_callback'
62
+ activesupport (3.2.11) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
63
+ activesupport (3.2.11) lib/active_support/callbacks.rb:81:in `run_callbacks'
64
+ actionpack (3.2.11) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
65
+ actionpack (3.2.11) lib/action_dispatch/middleware/reloader.rb:65:in `call'
66
+ actionpack (3.2.11) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
67
+ actionpack (3.2.11) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
68
+ actionpack (3.2.11) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
69
+ railties (3.2.11) lib/rails/rack/logger.rb:32:in `call_app'
70
+ railties (3.2.11) lib/rails/rack/logger.rb:16:in `block in call'
71
+ activesupport (3.2.11) lib/active_support/tagged_logging.rb:22:in `tagged'
72
+ railties (3.2.11) lib/rails/rack/logger.rb:16:in `call'
73
+ actionpack (3.2.11) lib/action_dispatch/middleware/request_id.rb:22:in `call'
74
+ rack (1.4.4) lib/rack/methodoverride.rb:21:in `call'
75
+ rack (1.4.4) lib/rack/runtime.rb:17:in `call'
76
+ activesupport (3.2.11) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
77
+ rack (1.4.4) lib/rack/lock.rb:15:in `call'
78
+ actionpack (3.2.11) lib/action_dispatch/middleware/static.rb:62:in `call'
79
+ railties (3.2.11) lib/rails/engine.rb:479:in `call'
80
+ railties (3.2.11) lib/rails/application.rb:223:in `call'
81
+ rack (1.4.4) lib/rack/content_length.rb:14:in `call'
82
+ railties (3.2.11) lib/rails/rack/log_tailer.rb:17:in `call'
83
+ rack (1.4.4) lib/rack/handler/webrick.rb:59:in `service'
84
+ /Users/ric/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
85
+ /Users/ric/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
86
+ /Users/ric/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
87
+
88
+
89
+ Rendered /Users/ric/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.11/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.9ms)
90
+
91
+
92
+ Started GET "/resource?uri=http://uri" for 127.0.0.1 at 2013-01-31 15:27:18 +0000
93
+
94
+ ActionController::RoutingError (uninitialized constant PublishMyData::PublishMyData):
95
+ activesupport (3.2.11) lib/active_support/inflector/methods.rb:230:in `block in constantize'
96
+ activesupport (3.2.11) lib/active_support/inflector/methods.rb:229:in `each'
97
+ activesupport (3.2.11) lib/active_support/inflector/methods.rb:229:in `constantize'
98
+ actionpack (3.2.11) lib/action_dispatch/routing/route_set.rb:69:in `controller_reference'
99
+ actionpack (3.2.11) lib/action_dispatch/routing/route_set.rb:54:in `controller'
100
+ actionpack (3.2.11) lib/action_dispatch/routing/route_set.rb:32:in `call'
101
+ journey (1.0.4) lib/journey/router.rb:68:in `block in call'
102
+ journey (1.0.4) lib/journey/router.rb:56:in `each'
103
+ journey (1.0.4) lib/journey/router.rb:56:in `call'
104
+ actionpack (3.2.11) lib/action_dispatch/routing/route_set.rb:601:in `call'
105
+ railties (3.2.11) lib/rails/engine.rb:479:in `call'
106
+ railties (3.2.11) lib/rails/railtie/configurable.rb:30:in `method_missing'
107
+ journey (1.0.4) lib/journey/router.rb:68:in `block in call'
108
+ journey (1.0.4) lib/journey/router.rb:56:in `each'
109
+ journey (1.0.4) lib/journey/router.rb:56:in `call'
110
+ actionpack (3.2.11) lib/action_dispatch/routing/route_set.rb:601:in `call'
111
+ actionpack (3.2.11) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
112
+ rack (1.4.4) lib/rack/etag.rb:23:in `call'
113
+ rack (1.4.4) lib/rack/conditionalget.rb:25:in `call'
114
+ actionpack (3.2.11) lib/action_dispatch/middleware/head.rb:14:in `call'
115
+ actionpack (3.2.11) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
116
+ actionpack (3.2.11) lib/action_dispatch/middleware/flash.rb:242:in `call'
117
+ rack (1.4.4) lib/rack/session/abstract/id.rb:210:in `context'
118
+ rack (1.4.4) lib/rack/session/abstract/id.rb:205:in `call'
119
+ actionpack (3.2.11) lib/action_dispatch/middleware/cookies.rb:341:in `call'
120
+ actionpack (3.2.11) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
121
+ activesupport (3.2.11) lib/active_support/callbacks.rb:405:in `_run__4059361953589121105__call__1674012119307923760__callbacks'
122
+ activesupport (3.2.11) lib/active_support/callbacks.rb:405:in `__run_callback'
123
+ activesupport (3.2.11) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
124
+ activesupport (3.2.11) lib/active_support/callbacks.rb:81:in `run_callbacks'
125
+ actionpack (3.2.11) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
126
+ actionpack (3.2.11) lib/action_dispatch/middleware/reloader.rb:65:in `call'
127
+ actionpack (3.2.11) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
128
+ actionpack (3.2.11) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
129
+ actionpack (3.2.11) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
130
+ railties (3.2.11) lib/rails/rack/logger.rb:32:in `call_app'
131
+ railties (3.2.11) lib/rails/rack/logger.rb:16:in `block in call'
132
+ activesupport (3.2.11) lib/active_support/tagged_logging.rb:22:in `tagged'
133
+ railties (3.2.11) lib/rails/rack/logger.rb:16:in `call'
134
+ actionpack (3.2.11) lib/action_dispatch/middleware/request_id.rb:22:in `call'
135
+ rack (1.4.4) lib/rack/methodoverride.rb:21:in `call'
136
+ rack (1.4.4) lib/rack/runtime.rb:17:in `call'
137
+ activesupport (3.2.11) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
138
+ rack (1.4.4) lib/rack/lock.rb:15:in `call'
139
+ actionpack (3.2.11) lib/action_dispatch/middleware/static.rb:62:in `call'
140
+ railties (3.2.11) lib/rails/engine.rb:479:in `call'
141
+ railties (3.2.11) lib/rails/application.rb:223:in `call'
142
+ rack (1.4.4) lib/rack/content_length.rb:14:in `call'
143
+ railties (3.2.11) lib/rails/rack/log_tailer.rb:17:in `call'
144
+ rack (1.4.4) lib/rack/handler/webrick.rb:59:in `service'
145
+ /Users/ric/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
146
+ /Users/ric/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
147
+ /Users/ric/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
148
+
149
+
150
+ Rendered /Users/ric/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.11/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.7ms)
151
+
152
+
153
+ Started GET "/resource" for 127.0.0.1 at 2013-01-31 15:29:45 +0000
154
+
155
+ ActionController::RoutingError (uninitialized constant PublishMyData::PublishMyData):
156
+ activesupport (3.2.11) lib/active_support/inflector/methods.rb:230:in `block in constantize'
157
+ activesupport (3.2.11) lib/active_support/inflector/methods.rb:229:in `each'
158
+ activesupport (3.2.11) lib/active_support/inflector/methods.rb:229:in `constantize'
159
+ actionpack (3.2.11) lib/action_dispatch/routing/route_set.rb:69:in `controller_reference'
160
+ actionpack (3.2.11) lib/action_dispatch/routing/route_set.rb:54:in `controller'
161
+ actionpack (3.2.11) lib/action_dispatch/routing/route_set.rb:32:in `call'
162
+ journey (1.0.4) lib/journey/router.rb:68:in `block in call'
163
+ journey (1.0.4) lib/journey/router.rb:56:in `each'
164
+ journey (1.0.4) lib/journey/router.rb:56:in `call'
165
+ actionpack (3.2.11) lib/action_dispatch/routing/route_set.rb:601:in `call'
166
+ railties (3.2.11) lib/rails/engine.rb:479:in `call'
167
+ railties (3.2.11) lib/rails/railtie/configurable.rb:30:in `method_missing'
168
+ journey (1.0.4) lib/journey/router.rb:68:in `block in call'
169
+ journey (1.0.4) lib/journey/router.rb:56:in `each'
170
+ journey (1.0.4) lib/journey/router.rb:56:in `call'
171
+ actionpack (3.2.11) lib/action_dispatch/routing/route_set.rb:601:in `call'
172
+ actionpack (3.2.11) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
173
+ rack (1.4.4) lib/rack/etag.rb:23:in `call'
174
+ rack (1.4.4) lib/rack/conditionalget.rb:25:in `call'
175
+ actionpack (3.2.11) lib/action_dispatch/middleware/head.rb:14:in `call'
176
+ actionpack (3.2.11) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
177
+ actionpack (3.2.11) lib/action_dispatch/middleware/flash.rb:242:in `call'
178
+ rack (1.4.4) lib/rack/session/abstract/id.rb:210:in `context'
179
+ rack (1.4.4) lib/rack/session/abstract/id.rb:205:in `call'
180
+ actionpack (3.2.11) lib/action_dispatch/middleware/cookies.rb:341:in `call'
181
+ actionpack (3.2.11) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
182
+ activesupport (3.2.11) lib/active_support/callbacks.rb:405:in `_run__1354637173497228327__call__1171257265200078146__callbacks'
183
+ activesupport (3.2.11) lib/active_support/callbacks.rb:405:in `__run_callback'
184
+ activesupport (3.2.11) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
185
+ activesupport (3.2.11) lib/active_support/callbacks.rb:81:in `run_callbacks'
186
+ actionpack (3.2.11) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
187
+ actionpack (3.2.11) lib/action_dispatch/middleware/reloader.rb:65:in `call'
188
+ actionpack (3.2.11) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
189
+ actionpack (3.2.11) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
190
+ actionpack (3.2.11) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
191
+ railties (3.2.11) lib/rails/rack/logger.rb:32:in `call_app'
192
+ railties (3.2.11) lib/rails/rack/logger.rb:16:in `block in call'
193
+ activesupport (3.2.11) lib/active_support/tagged_logging.rb:22:in `tagged'
194
+ railties (3.2.11) lib/rails/rack/logger.rb:16:in `call'
195
+ actionpack (3.2.11) lib/action_dispatch/middleware/request_id.rb:22:in `call'
196
+ rack (1.4.4) lib/rack/methodoverride.rb:21:in `call'
197
+ rack (1.4.4) lib/rack/runtime.rb:17:in `call'
198
+ activesupport (3.2.11) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
199
+ rack (1.4.4) lib/rack/lock.rb:15:in `call'
200
+ actionpack (3.2.11) lib/action_dispatch/middleware/static.rb:62:in `call'
201
+ railties (3.2.11) lib/rails/engine.rb:479:in `call'
202
+ railties (3.2.11) lib/rails/application.rb:223:in `call'
203
+ rack (1.4.4) lib/rack/content_length.rb:14:in `call'
204
+ railties (3.2.11) lib/rails/rack/log_tailer.rb:17:in `call'
205
+ rack (1.4.4) lib/rack/handler/webrick.rb:59:in `service'
206
+ /Users/ric/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
207
+ /Users/ric/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
208
+ /Users/ric/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
209
+
210
+
211
+ Rendered /Users/ric/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.11/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (1.7ms)