calendar_nike 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (78) hide show
  1. checksums.yaml +4 -4
  2. data/MIT-LICENSE +1 -1
  3. data/Rakefile +0 -13
  4. data/lib/calendar_nike.rb +0 -2
  5. data/lib/calendar_nike/version.rb +1 -1
  6. data/lib/generators/calendar/USAGE +8 -0
  7. data/lib/generators/calendar/install_generator.rb +17 -0
  8. data/{app/assets/stylesheets/calendar_nike → lib/generators/calendar/templates}/calendar.css +15 -6
  9. data/lib/generators/calendar/templates/calendar.rb +33 -0
  10. data/lib/generators/calendar/templates/calendar_helper.rb +82 -0
  11. metadata +12 -141
  12. data/README.rdoc +0 -3
  13. data/app/assets/javascripts/calendar_nike/application.js +0 -13
  14. data/app/assets/javascripts/calendar_nike/calendar.js +0 -2
  15. data/app/assets/stylesheets/calendar_nike/application.css +0 -29
  16. data/app/controllers/calendar_nike/application_controller.rb +0 -4
  17. data/app/controllers/calendar_nike/calendar_controller.rb +0 -31
  18. data/app/helpers/calendar_nike/application_helper.rb +0 -4
  19. data/app/helpers/calendar_nike/calendar_helper.rb +0 -4
  20. data/app/views/calendar_nike/calendar/_month.html.erb +0 -13
  21. data/app/views/calendar_nike/calendar/_weeks.html.erb +0 -13
  22. data/app/views/calendar_nike/calendar/_year.html.erb +0 -13
  23. data/app/views/calendar_nike/calendar/index.html.erb +0 -51
  24. data/app/views/layouts/calendar_nike/application.html.erb +0 -14
  25. data/config/routes.rb +0 -7
  26. data/lib/calendar_nike/engine.rb +0 -5
  27. data/test/calendar_nike_test.rb +0 -7
  28. data/test/controllers/calendar_nike/calendar_controller_test.rb +0 -9
  29. data/test/dummy/README.rdoc +0 -28
  30. data/test/dummy/Rakefile +0 -6
  31. data/test/dummy/app/assets/javascripts/application.js +0 -13
  32. data/test/dummy/app/assets/stylesheets/application.css +0 -15
  33. data/test/dummy/app/controllers/application_controller.rb +0 -5
  34. data/test/dummy/app/helpers/application_helper.rb +0 -2
  35. data/test/dummy/app/views/layouts/application.html.erb +0 -14
  36. data/test/dummy/bin/bundle +0 -3
  37. data/test/dummy/bin/rails +0 -4
  38. data/test/dummy/bin/rake +0 -4
  39. data/test/dummy/config.ru +0 -4
  40. data/test/dummy/config/application.rb +0 -23
  41. data/test/dummy/config/boot.rb +0 -5
  42. data/test/dummy/config/database.yml +0 -25
  43. data/test/dummy/config/environment.rb +0 -5
  44. data/test/dummy/config/environments/development.rb +0 -37
  45. data/test/dummy/config/environments/production.rb +0 -82
  46. data/test/dummy/config/environments/test.rb +0 -39
  47. data/test/dummy/config/initializers/assets.rb +0 -8
  48. data/test/dummy/config/initializers/backtrace_silencers.rb +0 -7
  49. data/test/dummy/config/initializers/cookies_serializer.rb +0 -3
  50. data/test/dummy/config/initializers/filter_parameter_logging.rb +0 -4
  51. data/test/dummy/config/initializers/inflections.rb +0 -16
  52. data/test/dummy/config/initializers/mime_types.rb +0 -4
  53. data/test/dummy/config/initializers/session_store.rb +0 -3
  54. data/test/dummy/config/initializers/wrap_parameters.rb +0 -14
  55. data/test/dummy/config/locales/en.yml +0 -23
  56. data/test/dummy/config/routes.rb +0 -4
  57. data/test/dummy/config/secrets.yml +0 -22
  58. data/test/dummy/db/development.sqlite3 +0 -0
  59. data/test/dummy/log/development.log +0 -237
  60. data/test/dummy/public/404.html +0 -67
  61. data/test/dummy/public/422.html +0 -67
  62. data/test/dummy/public/500.html +0 -66
  63. data/test/dummy/public/favicon.ico +0 -0
  64. data/test/dummy/tmp/cache/assets/development/sprockets/0019c0827263ad81b43f760637a8961f +0 -0
  65. data/test/dummy/tmp/cache/assets/development/sprockets/05c6b5493b23cd3e60c5eafade9c6f07 +0 -0
  66. data/test/dummy/tmp/cache/assets/development/sprockets/06958d6c49ac131139b8ec8cebd747f5 +0 -0
  67. data/test/dummy/tmp/cache/assets/development/sprockets/06e9966ebb030547fb0782657ae454cb +0 -0
  68. data/test/dummy/tmp/cache/assets/development/sprockets/0799b62749835bafbf6234137532f058 +0 -0
  69. data/test/dummy/tmp/cache/assets/development/sprockets/3dca9bad775eb97606214f7ddcf6e5cd +0 -0
  70. data/test/dummy/tmp/cache/assets/development/sprockets/43941a94299df73424353d1f25c4ab2e +0 -0
  71. data/test/dummy/tmp/cache/assets/development/sprockets/7e75a730c57018ade57b6872c4dd1cd7 +0 -0
  72. data/test/dummy/tmp/cache/assets/development/sprockets/828e2f99f560a5df601692ced6ac88d5 +0 -0
  73. data/test/dummy/tmp/cache/assets/development/sprockets/9bc658079d5bb5b10c1fbabdb691cc54 +0 -0
  74. data/test/dummy/tmp/cache/assets/development/sprockets/ca3a1c57400802905035ab3c144edbb3 +0 -0
  75. data/test/dummy/tmp/cache/assets/development/sprockets/de3d9de2c571faaed43d508f683cca61 +0 -0
  76. data/test/helpers/calendar_nike/calendar_helper_test.rb +0 -6
  77. data/test/integration/navigation_test.rb +0 -10
  78. data/test/test_helper.rb +0 -15
@@ -1,39 +0,0 @@
1
- Rails.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
- # Do not eager load code on boot. This avoids loading your whole application
11
- # just for the purpose of running a single test. If you are using a tool that
12
- # preloads Rails for running tests, you may have to set it to true.
13
- config.eager_load = false
14
-
15
- # Configure static asset server for tests with Cache-Control for performance.
16
- config.serve_static_assets = true
17
- config.static_cache_control = 'public, max-age=3600'
18
-
19
- # Show full error reports and disable caching.
20
- config.consider_all_requests_local = true
21
- config.action_controller.perform_caching = false
22
-
23
- # Raise exceptions instead of rendering exception templates.
24
- config.action_dispatch.show_exceptions = false
25
-
26
- # Disable request forgery protection in test environment.
27
- config.action_controller.allow_forgery_protection = false
28
-
29
- # Tell Action Mailer not to deliver emails to the real world.
30
- # The :test delivery method accumulates sent emails in the
31
- # ActionMailer::Base.deliveries array.
32
- config.action_mailer.delivery_method = :test
33
-
34
- # Print deprecation notices to the stderr.
35
- config.active_support.deprecation = :stderr
36
-
37
- # Raises error for missing translations
38
- # config.action_view.raise_on_missing_translations = true
39
- end
@@ -1,8 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # Version of your assets, change this if you want to expire all your assets.
4
- Rails.application.config.assets.version = '1.0'
5
-
6
- # Precompile additional assets.
7
- # application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
8
- # Rails.application.config.assets.precompile += %w( search.js )
@@ -1,7 +0,0 @@
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!
@@ -1,3 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- Rails.application.config.action_dispatch.cookies_serializer = :json
@@ -1,4 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # Configure sensitive parameters which will be filtered from the log file.
4
- Rails.application.config.filter_parameters += [:password]
@@ -1,16 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # Add new inflection rules using the following format. Inflections
4
- # are locale specific, and you may define rules for as many different
5
- # locales as you wish. All of these examples are active by default:
6
- # ActiveSupport::Inflector.inflections(:en) do |inflect|
7
- # inflect.plural /^(ox)$/i, '\1en'
8
- # inflect.singular /^(ox)en/i, '\1'
9
- # inflect.irregular 'person', 'people'
10
- # inflect.uncountable %w( fish sheep )
11
- # end
12
-
13
- # These inflection rules are supported but not enabled by default:
14
- # ActiveSupport::Inflector.inflections(:en) do |inflect|
15
- # inflect.acronym 'RESTful'
16
- # end
@@ -1,4 +0,0 @@
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
@@ -1,3 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- Rails.application.config.session_store :cookie_store, key: '_dummy_session'
@@ -1,14 +0,0 @@
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
@@ -1,23 +0,0 @@
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"
@@ -1,4 +0,0 @@
1
- Rails.application.routes.draw do
2
-
3
- mount CalendarNike::Engine => "/calendar_nike"
4
- end
@@ -1,22 +0,0 @@
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: 130ae47de01c13bdb22075a127153fb7d68ea10d8a4e033c84f61c3615c12894782fb9c457e90d1d4d7699d01537ace40907cc56ed3eab07d53954b89c7bdf3a
15
-
16
- test:
17
- secret_key_base: b9c63cd62a5057728e1092e77af1860de611588c9bbea6a7325e9861fe5421d387d1a72859567dc9fdd09cdc7d34c80c179d4455ae5d46c5d28c810951917331
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"] %>
File without changes
@@ -1,237 +0,0 @@
1
-
2
-
3
- Started GET "/" for 127.0.0.1 at 2014-07-03 14:33:56 -0300
4
-
5
- Gem::LoadError (Specified 'sqlite3' for database adapter, but the gem is not loaded. Add `gem 'sqlite3'` to your Gemfile (and ensure its version is at the minimum required by ActiveRecord).):
6
- activerecord (4.1.4) lib/active_record/connection_adapters/connection_specification.rb:190:in `rescue in spec'
7
- activerecord (4.1.4) lib/active_record/connection_adapters/connection_specification.rb:187:in `spec'
8
- activerecord (4.1.4) lib/active_record/connection_handling.rb:50:in `establish_connection'
9
- activerecord (4.1.4) lib/active_record/railtie.rb:129:in `block (2 levels) in <class:Railtie>'
10
- activesupport (4.1.4) lib/active_support/lazy_load_hooks.rb:38:in `instance_eval'
11
- activesupport (4.1.4) lib/active_support/lazy_load_hooks.rb:38:in `execute_hook'
12
- activesupport (4.1.4) lib/active_support/lazy_load_hooks.rb:45:in `block in run_load_hooks'
13
- activesupport (4.1.4) lib/active_support/lazy_load_hooks.rb:44:in `each'
14
- activesupport (4.1.4) lib/active_support/lazy_load_hooks.rb:44:in `run_load_hooks'
15
- activerecord (4.1.4) lib/active_record/base.rb:326:in `<module:ActiveRecord>'
16
- activerecord (4.1.4) lib/active_record/base.rb:23:in `<top (required)>'
17
- activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:628:in `rescue in call'
18
- activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:619:in `call'
19
- activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
20
- actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
21
- activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
22
- actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
23
- actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
24
- actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
25
- actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
26
- actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
27
- railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
28
- railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
29
- activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
30
- activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
31
- activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
32
- railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
33
- actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
34
- rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
35
- rack (1.5.2) lib/rack/runtime.rb:17:in `call'
36
- activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
37
- rack (1.5.2) lib/rack/lock.rb:17:in `call'
38
- actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
39
- rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
40
- railties (4.1.4) lib/rails/engine.rb:514:in `call'
41
- railties (4.1.4) lib/rails/application.rb:144:in `call'
42
- rack (1.5.2) lib/rack/lock.rb:17:in `call'
43
- rack (1.5.2) lib/rack/content_length.rb:14:in `call'
44
- rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
45
- /home/pedrinho/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
46
- /home/pedrinho/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
47
- /home/pedrinho/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
48
-
49
-
50
- Rendered /home/pedrinho/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.8ms)
51
- Rendered /home/pedrinho/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.5ms)
52
- Rendered /home/pedrinho/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms)
53
- Rendered /home/pedrinho/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (47.2ms)
54
-
55
-
56
- Started GET "/" for 127.0.0.1 at 2014-07-03 14:33:56 -0300
57
-
58
- Gem::LoadError (Specified 'sqlite3' for database adapter, but the gem is not loaded. Add `gem 'sqlite3'` to your Gemfile (and ensure its version is at the minimum required by ActiveRecord).):
59
- activerecord (4.1.4) lib/active_record/connection_adapters/connection_specification.rb:190:in `rescue in spec'
60
- activerecord (4.1.4) lib/active_record/connection_adapters/connection_specification.rb:187:in `spec'
61
- activerecord (4.1.4) lib/active_record/connection_handling.rb:50:in `establish_connection'
62
- activerecord (4.1.4) lib/active_record/railtie.rb:129:in `block (2 levels) in <class:Railtie>'
63
- activesupport (4.1.4) lib/active_support/lazy_load_hooks.rb:38:in `instance_eval'
64
- activesupport (4.1.4) lib/active_support/lazy_load_hooks.rb:38:in `execute_hook'
65
- activesupport (4.1.4) lib/active_support/lazy_load_hooks.rb:45:in `block in run_load_hooks'
66
- activesupport (4.1.4) lib/active_support/lazy_load_hooks.rb:44:in `each'
67
- activesupport (4.1.4) lib/active_support/lazy_load_hooks.rb:44:in `run_load_hooks'
68
- activerecord (4.1.4) lib/active_record/base.rb:326:in `<module:ActiveRecord>'
69
- activerecord (4.1.4) lib/active_record/base.rb:23:in `<top (required)>'
70
- activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:628:in `rescue in call'
71
- activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:619:in `call'
72
- activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
73
- actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
74
- activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
75
- actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
76
- actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
77
- actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
78
- actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
79
- actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
80
- railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
81
- railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
82
- activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
83
- activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
84
- activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
85
- railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
86
- actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
87
- rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
88
- rack (1.5.2) lib/rack/runtime.rb:17:in `call'
89
- activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
90
- rack (1.5.2) lib/rack/lock.rb:17:in `call'
91
- actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
92
- rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
93
- railties (4.1.4) lib/rails/engine.rb:514:in `call'
94
- railties (4.1.4) lib/rails/application.rb:144:in `call'
95
- rack (1.5.2) lib/rack/lock.rb:17:in `call'
96
- rack (1.5.2) lib/rack/content_length.rb:14:in `call'
97
- rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
98
- /home/pedrinho/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
99
- /home/pedrinho/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
100
- /home/pedrinho/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
101
-
102
-
103
- Rendered /home/pedrinho/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.4ms)
104
- Rendered /home/pedrinho/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (0.9ms)
105
- Rendered /home/pedrinho/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.7ms)
106
- Rendered /home/pedrinho/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (9.0ms)
107
-
108
-
109
- Started GET "/" for 127.0.0.1 at 2014-07-03 14:34:54 -0300
110
-
111
- ActiveRecord::AdapterNotSpecified ('development' database is not configured. Available: []):
112
- activerecord (4.1.4) lib/active_record/connection_adapters/connection_specification.rb:257:in `resolve_symbol_connection'
113
- activerecord (4.1.4) lib/active_record/connection_adapters/connection_specification.rb:224:in `resolve_connection'
114
- activerecord (4.1.4) lib/active_record/connection_adapters/connection_specification.rb:152:in `resolve'
115
- activerecord (4.1.4) lib/active_record/connection_adapters/connection_specification.rb:182:in `spec'
116
- activerecord (4.1.4) lib/active_record/connection_handling.rb:50:in `establish_connection'
117
- activerecord (4.1.4) lib/active_record/railtie.rb:129:in `block (2 levels) in <class:Railtie>'
118
- activesupport (4.1.4) lib/active_support/lazy_load_hooks.rb:38:in `instance_eval'
119
- activesupport (4.1.4) lib/active_support/lazy_load_hooks.rb:38:in `execute_hook'
120
- activesupport (4.1.4) lib/active_support/lazy_load_hooks.rb:45:in `block in run_load_hooks'
121
- activesupport (4.1.4) lib/active_support/lazy_load_hooks.rb:44:in `each'
122
- activesupport (4.1.4) lib/active_support/lazy_load_hooks.rb:44:in `run_load_hooks'
123
- activerecord (4.1.4) lib/active_record/base.rb:326:in `<module:ActiveRecord>'
124
- activerecord (4.1.4) lib/active_record/base.rb:23:in `<top (required)>'
125
- activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:628:in `rescue in call'
126
- activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:619:in `call'
127
- activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
128
- actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
129
- activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
130
- actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
131
- actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
132
- actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
133
- actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
134
- actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
135
- railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
136
- railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
137
- activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
138
- activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
139
- activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
140
- railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
141
- actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
142
- rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
143
- rack (1.5.2) lib/rack/runtime.rb:17:in `call'
144
- activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
145
- rack (1.5.2) lib/rack/lock.rb:17:in `call'
146
- actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
147
- rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
148
- railties (4.1.4) lib/rails/engine.rb:514:in `call'
149
- railties (4.1.4) lib/rails/application.rb:144:in `call'
150
- rack (1.5.2) lib/rack/lock.rb:17:in `call'
151
- rack (1.5.2) lib/rack/content_length.rb:14:in `call'
152
- rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
153
- /home/pedrinho/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
154
- /home/pedrinho/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
155
- /home/pedrinho/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
156
-
157
-
158
- Rendered /home/pedrinho/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.6ms)
159
- Rendered /home/pedrinho/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.2ms)
160
- Rendered /home/pedrinho/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms)
161
- Rendered /home/pedrinho/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (10.8ms)
162
-
163
-
164
- Started GET "/calendar_nike" for 127.0.0.1 at 2014-07-03 14:35:00 -0300
165
-
166
- ActiveRecord::AdapterNotSpecified ('development' database is not configured. Available: []):
167
- activerecord (4.1.4) lib/active_record/connection_adapters/connection_specification.rb:257:in `resolve_symbol_connection'
168
- activerecord (4.1.4) lib/active_record/connection_adapters/connection_specification.rb:224:in `resolve_connection'
169
- activerecord (4.1.4) lib/active_record/connection_adapters/connection_specification.rb:152:in `resolve'
170
- activerecord (4.1.4) lib/active_record/connection_adapters/connection_specification.rb:182:in `spec'
171
- activerecord (4.1.4) lib/active_record/connection_handling.rb:50:in `establish_connection'
172
- activerecord (4.1.4) lib/active_record/railtie.rb:129:in `block (2 levels) in <class:Railtie>'
173
- activesupport (4.1.4) lib/active_support/lazy_load_hooks.rb:38:in `instance_eval'
174
- activesupport (4.1.4) lib/active_support/lazy_load_hooks.rb:38:in `execute_hook'
175
- activesupport (4.1.4) lib/active_support/lazy_load_hooks.rb:45:in `block in run_load_hooks'
176
- activesupport (4.1.4) lib/active_support/lazy_load_hooks.rb:44:in `each'
177
- activesupport (4.1.4) lib/active_support/lazy_load_hooks.rb:44:in `run_load_hooks'
178
- activerecord (4.1.4) lib/active_record/base.rb:326:in `<module:ActiveRecord>'
179
- activerecord (4.1.4) lib/active_record/base.rb:23:in `<top (required)>'
180
- activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:628:in `rescue in call'
181
- activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:619:in `call'
182
- activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
183
- actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
184
- activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
185
- actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
186
- actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
187
- actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
188
- actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
189
- actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
190
- railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
191
- railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
192
- activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
193
- activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
194
- activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
195
- railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
196
- actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
197
- rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
198
- rack (1.5.2) lib/rack/runtime.rb:17:in `call'
199
- activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
200
- rack (1.5.2) lib/rack/lock.rb:17:in `call'
201
- actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
202
- rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
203
- railties (4.1.4) lib/rails/engine.rb:514:in `call'
204
- railties (4.1.4) lib/rails/application.rb:144:in `call'
205
- rack (1.5.2) lib/rack/lock.rb:17:in `call'
206
- rack (1.5.2) lib/rack/content_length.rb:14:in `call'
207
- rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
208
- /home/pedrinho/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
209
- /home/pedrinho/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
210
- /home/pedrinho/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
211
-
212
-
213
- Rendered /home/pedrinho/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.7ms)
214
- Rendered /home/pedrinho/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.3ms)
215
- Rendered /home/pedrinho/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms)
216
- Rendered /home/pedrinho/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (12.5ms)
217
-
218
-
219
- Started GET "/calendar_nike" for 127.0.0.1 at 2014-07-03 14:35:45 -0300
220
- Processing by CalendarNike::CalendarController#index as HTML
221
- Rendered /var/www/CalendarNike/app/views/calendar_nike/calendar/_year.html.erb (1.6ms)
222
- Rendered /var/www/CalendarNike/app/views/calendar_nike/calendar/_month.html.erb (1.0ms)
223
- Rendered /var/www/CalendarNike/app/views/calendar_nike/calendar/_weeks.html.erb (0.6ms)
224
- Rendered /var/www/CalendarNike/app/views/calendar_nike/calendar/index.html.erb within layouts/calendar_nike/application (8.9ms)
225
- Completed 200 OK in 41ms (Views: 40.6ms | ActiveRecord: 0.0ms)
226
-
227
-
228
- Started GET "/assets/calendar_nike/calendar.css?body=1" for 127.0.0.1 at 2014-07-03 14:35:45 -0300
229
-
230
-
231
- Started GET "/assets/calendar_nike/calendar.js?body=1" for 127.0.0.1 at 2014-07-03 14:35:45 -0300
232
-
233
-
234
- Started GET "/assets/calendar_nike/application.css?body=1" for 127.0.0.1 at 2014-07-03 14:35:45 -0300
235
-
236
-
237
- Started GET "/assets/calendar_nike/application.js?body=1" for 127.0.0.1 at 2014-07-03 14:35:45 -0300
@@ -1,67 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>The page you were looking for doesn't exist (404)</title>
5
- <meta name="viewport" content="width=device-width,initial-scale=1">
6
- <style>
7
- body {
8
- background-color: #EFEFEF;
9
- color: #2E2F30;
10
- text-align: center;
11
- font-family: arial, sans-serif;
12
- margin: 0;
13
- }
14
-
15
- div.dialog {
16
- width: 95%;
17
- max-width: 33em;
18
- margin: 4em auto 0;
19
- }
20
-
21
- div.dialog > div {
22
- border: 1px solid #CCC;
23
- border-right-color: #999;
24
- border-left-color: #999;
25
- border-bottom-color: #BBB;
26
- border-top: #B00100 solid 4px;
27
- border-top-left-radius: 9px;
28
- border-top-right-radius: 9px;
29
- background-color: white;
30
- padding: 7px 12% 0;
31
- box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
- }
33
-
34
- h1 {
35
- font-size: 100%;
36
- color: #730E15;
37
- line-height: 1.5em;
38
- }
39
-
40
- div.dialog > p {
41
- margin: 0 0 1em;
42
- padding: 1em;
43
- background-color: #F7F7F7;
44
- border: 1px solid #CCC;
45
- border-right-color: #999;
46
- border-left-color: #999;
47
- border-bottom-color: #999;
48
- border-bottom-left-radius: 4px;
49
- border-bottom-right-radius: 4px;
50
- border-top-color: #DADADA;
51
- color: #666;
52
- box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
- }
54
- </style>
55
- </head>
56
-
57
- <body>
58
- <!-- This file lives in public/404.html -->
59
- <div class="dialog">
60
- <div>
61
- <h1>The page you were looking for doesn't exist.</h1>
62
- <p>You may have mistyped the address or the page may have moved.</p>
63
- </div>
64
- <p>If you are the application owner check the logs for more information.</p>
65
- </div>
66
- </body>
67
- </html>