pretty_weather 0.1.4 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pretty_weather/configuration.rb +3 -2
- data/lib/pretty_weather/pretty_weather_helper.rb +6 -6
- data/lib/pretty_weather/version.rb +1 -1
- data/lib/pretty_weather/weather.rb +13 -6
- data/test/dummy/Gemfile +110 -0
- data/test/dummy/Gemfile.lock +347 -0
- data/test/dummy/README.rdoc +28 -0
- data/test/dummy/Rakefile +6 -0
- data/test/dummy/app/assets/javascripts/application.js +14 -0
- data/test/dummy/app/assets/javascripts/home.js +2 -0
- data/test/dummy/app/assets/stylesheets/application.css +15 -0
- data/test/dummy/app/assets/stylesheets/application.css.scss +17 -0
- data/test/dummy/app/assets/stylesheets/home.css +4 -0
- data/test/dummy/app/controllers/application_controller.rb +5 -0
- data/test/dummy/app/controllers/home_controller.rb +5 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/helpers/home_helper.rb +2 -0
- data/test/dummy/app/views/home/index.html.erb +10 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/bin/bundle +3 -0
- data/test/dummy/bin/rails +4 -0
- data/test/dummy/bin/rake +4 -0
- data/test/dummy/bin/setup +29 -0
- data/test/dummy/bin/spring +15 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/config/application.rb +23 -0
- data/test/dummy/config/boot.rb +5 -0
- data/test/dummy/config/database.yml +25 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +29 -0
- data/test/dummy/config/environments/production.rb +80 -0
- data/test/dummy/config/environments/test.rb +36 -0
- data/test/dummy/config/initializers/assets.rb +11 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
- data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/dummy/config/initializers/inflections.rb +16 -0
- data/test/dummy/config/initializers/mime_types.rb +5 -0
- data/test/dummy/config/initializers/pretty_weather.rb +5 -0
- data/test/dummy/config/initializers/secret_token.rb +12 -0
- data/test/dummy/config/initializers/session_store.rb +3 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +23 -0
- data/test/dummy/config/routes.rb +57 -0
- data/test/dummy/config/secrets.yml +22 -0
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/seeds.rb +7 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +249 -0
- data/test/dummy/log/test.log +156 -0
- data/test/dummy/public/404.html +58 -0
- data/test/dummy/public/422.html +58 -0
- data/test/dummy/public/500.html +57 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/public/robots.txt +5 -0
- data/test/dummy/test/controllers/home_controller_test.rb +9 -0
- data/test/dummy/test/helpers/home_helper_test.rb +4 -0
- data/test/dummy/test/test_helper.rb +10 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/7OgcbZhM4w58w28TTdwM_Ml-0chT4NrNWjWAwB3kpy4.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/9626BQRYGCkq7yf7lXtDgrN4uVUOEOPcd61yvqA9rgw.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Af0U0l4MeV8621MOZN885x3DTGe-bVUrreR2vHUvx5c.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/CoI0hoM3UBjZkUrcKV6T-Ra26ZGPk5jwuiwEgT3_mas.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/E3mOF-wXZUT4AgYOyx2y1tGXS9mI5OH57ch_v3045Js.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/EXi7R-h-GmFiPa6RQzEmjkuiAINbNh1aG_dugQ_2aDg.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/GAw3W5UeOt0h7Xlpvm2CGGTtWuDpg3ZPl56HgNDsj5o.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/HrdxG1dTeoDA24RpWhGZJcKDSX30o8pA2IbjARe18OY.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Ky48SaqGZUa64nS5nCu-7J_wqhbSNkTl62wZulwEFVY.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/PDkcepJV33qSd-nGNZ_E-P-Vxd0jL3fdnDRxq04Yx_4.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/RrO0OyNYQFMy0zbGvEDSwkH-iKtBnlk5KfpP8u4v8fs.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/U-jO0A5JuxhTRB1xJkXKdUpAaPLh_JG4IFOrsu9qpUI.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/UAIbdnv7gDCRWhEfJBY9ljqRxPTuOgtpwNVhrn5sLIw.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Us9Wy5lBrGzwgqmXCHVdyOps9SrvQAHv9gBlP1xFZcQ.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Vn_hT4MeKiOQM8L8_sHl8aO0Zblj4yhyrXUBdYzE4b4.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/VpbnIbXDOOMyoohMNgH1LQz84ir_yYqSow78SHz3vxQ.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/YidpM818nAsLuzzFo-xfi0V9bNbMUHGT66UTaLRezGs.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/aADkC3-6v_JDNgCrpa5Plmta1-KR61j2ob_oS8g87Wc.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/b83MsdPkYGyQAPheQLoRy88Z86jAYGfxULjLaCUdMs8.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/cqqWKJ5UXkLCXP6HI9p7f8rxQiOAscnVbhXD0YREvkU.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/eUUW-zlmqWCfxS9mQq-0LgEuZZ9vcGm-D8965QZZQRM.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/gaKjFp3cbZIt1tIhGa21d_ZdS1yOAqr26YQ89E-3mxU.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/j2pM7zY4c7gy5RbqxE7Yvwh8Bevv80B4mwqIwYt7HwU.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/j4YqqlzZE5VWgM8wHXJBXCIvRTiECm1aCinOXJ-ZHjA.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/mb1_pJ3hxxy8mK0xdcgNzzXKD6MZZfooExiSxtbrnHI.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/ouiEbwC-KaHDk49W1JEDVL6KhC-lAF5MvhENi_FFKdE.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/qqSUEnx-SozHhMQuJ03i31RipniiWB4qfKhZCJR2_Mo.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/tkQYIBlWF0NjaZKc-r2o3EdQX5RSWJ5f3Zts9TpzF80.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/wRQ-I50rwQzaQugxTUIF6xGPKu5Nvg2wmUcCSi6BSL4.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/2opewf1Z_QEjtbl2pIytpMSYTJIAgRJlQVxMsa27tEg.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/7OgcbZhM4w58w28TTdwM_Ml-0chT4NrNWjWAwB3kpy4.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/8E2jwsMnNktvPQnagdRvVwGg65gciQkZgIxjnx-vcCE.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/9626BQRYGCkq7yf7lXtDgrN4uVUOEOPcd61yvqA9rgw.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Af0U0l4MeV8621MOZN885x3DTGe-bVUrreR2vHUvx5c.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/CoI0hoM3UBjZkUrcKV6T-Ra26ZGPk5jwuiwEgT3_mas.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/DlPf2btXSrNuGMTAH4zcYnSv8A_y1SS7cDI9BHcSvHo.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/EXi7R-h-GmFiPa6RQzEmjkuiAINbNh1aG_dugQ_2aDg.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/GAw3W5UeOt0h7Xlpvm2CGGTtWuDpg3ZPl56HgNDsj5o.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/HrdxG1dTeoDA24RpWhGZJcKDSX30o8pA2IbjARe18OY.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/IcLAlJR1tJFUUt5OhgiT0zWjBmR2RnldX5X5HkLI4d4.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/J-bf6fWKdVnAisELCt_rJxJukRCao5pJfZJSQplLBXM.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/O2SUtsFQXeYbSAOaDD0zdWIODvadFwuLpWkxTo5DO6M.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/PDkcepJV33qSd-nGNZ_E-P-Vxd0jL3fdnDRxq04Yx_4.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/RrO0OyNYQFMy0zbGvEDSwkH-iKtBnlk5KfpP8u4v8fs.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/U-jO0A5JuxhTRB1xJkXKdUpAaPLh_JG4IFOrsu9qpUI.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/UOb3mA0JQZqR5fB2RUE-_C7igeUZzdaesBKAhWm1GEo.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/XJWlzNcTNgKtSPNN86QhZDSZacV0R7thxexGqZYxels.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/_lI7bcxiGTbogOTKO1s7M2cjwto2r7A2Ia63z-2sTzw.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/a5mLnWBogsV8yTnzdWKEZROtHnp0Ofst5ykfVKPxQIo.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/aADkC3-6v_JDNgCrpa5Plmta1-KR61j2ob_oS8g87Wc.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/b0b43IX4EscdBwuFbmVK26ZOEDKdqG09QzaaUv7QavE.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/eUUW-zlmqWCfxS9mQq-0LgEuZZ9vcGm-D8965QZZQRM.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/gaKjFp3cbZIt1tIhGa21d_ZdS1yOAqr26YQ89E-3mxU.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/h0BAUNXIaJsTDVIutlZgqgj1jqW-pKvA8-aRZ18KcWs.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/j2pM7zY4c7gy5RbqxE7Yvwh8Bevv80B4mwqIwYt7HwU.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/ngJlFhKf3LcwZShbDiNDnEWdOHg1NLqVV3CJB3iGYpY.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/o-3DnFXIvWB8iXV2RnKv261_994IznvyORUT9jN2lJk.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/oCQKqLIiCqMvtjyzqIIQEKo2rZxTfiRyWdL97IelwWs.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/ouiEbwC-KaHDk49W1JEDVL6KhC-lAF5MvhENi_FFKdE.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/qagxqIMuneqe_9a3xCxI20zk-DqnXPaCTv37noWu45s.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/uV4hNKjWReMZ5nShN47lJtU0vnXkB-GZ2IPkngnxCj0.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/w6g-a575dZjcpkguZ3KXTE6HWwYiIUBAxHqAKs7QmpA.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/zNRCg4xIgKgEIZquNUv4aImmV-rZTkBpVXRXvP6wFcU.cache +0 -0
- data/test/pretty_weather_test.rb +14 -0
- metadata +236 -2
@@ -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,16 @@
|
|
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
|
@@ -0,0 +1,12 @@
|
|
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 your secret_key_base is kept private
|
11
|
+
# if you're sharing your code publicly.
|
12
|
+
Dummy::Application.config.secret_key_base = '801dc2784e7b87b5021c038e706aed108ba999fa77e45db6fa1bf517aa16cc4e4fce94ada2a7a9d0531aa2a32bd3a42147b88e5c5ad9ce587bc9438af7ec07ed'
|
@@ -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,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,57 @@
|
|
1
|
+
Dummy::Application.routes.draw do
|
2
|
+
get "home/index"
|
3
|
+
# The priority is based upon order of creation: first created -> highest priority.
|
4
|
+
# See how all your routes lay out with "rake routes".
|
5
|
+
|
6
|
+
# You can have the root of your site routed with "root"
|
7
|
+
# root 'welcome#index'
|
8
|
+
|
9
|
+
# Example of regular route:
|
10
|
+
# get 'products/:id' => 'catalog#view'
|
11
|
+
|
12
|
+
# Example of named route that can be invoked with purchase_url(id: product.id)
|
13
|
+
# get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
|
14
|
+
|
15
|
+
# Example resource route (maps HTTP verbs to controller actions automatically):
|
16
|
+
# resources :products
|
17
|
+
|
18
|
+
# Example resource route with options:
|
19
|
+
# resources :products do
|
20
|
+
# member do
|
21
|
+
# get 'short'
|
22
|
+
# post 'toggle'
|
23
|
+
# end
|
24
|
+
#
|
25
|
+
# collection do
|
26
|
+
# get 'sold'
|
27
|
+
# end
|
28
|
+
# end
|
29
|
+
|
30
|
+
# Example resource route with sub-resources:
|
31
|
+
# resources :products do
|
32
|
+
# resources :comments, :sales
|
33
|
+
# resource :seller
|
34
|
+
# end
|
35
|
+
|
36
|
+
# Example resource route with more complex sub-resources:
|
37
|
+
# resources :products do
|
38
|
+
# resources :comments
|
39
|
+
# resources :sales do
|
40
|
+
# get 'recent', on: :collection
|
41
|
+
# end
|
42
|
+
# end
|
43
|
+
|
44
|
+
# Example resource route with concerns:
|
45
|
+
# concern :toggleable do
|
46
|
+
# post 'toggle'
|
47
|
+
# end
|
48
|
+
# resources :posts, concerns: :toggleable
|
49
|
+
# resources :photos, concerns: :toggleable
|
50
|
+
|
51
|
+
# Example resource route within a namespace:
|
52
|
+
# namespace :admin do
|
53
|
+
# # Directs /admin/products/* to Admin::ProductsController
|
54
|
+
# # (app/controllers/admin/products_controller.rb)
|
55
|
+
# resources :products
|
56
|
+
# end
|
57
|
+
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: ab059b93c610236f5154003ec9f45a37056b6de5b2f779592f4d8f79a4166c9cbb106fa2abf944ddd1f00d7e8c3b3627347cfc3cfbf5e6bf08bb436928bc97dc
|
15
|
+
|
16
|
+
test:
|
17
|
+
secret_key_base: 4f97f75ffba06ec52817c4c886b054b448a7d649e911e002832abe1f6cf0d8b2c937c90f1cb38cefe1f5880e54e35dee7de48ac7fd0655e3ce9d2ca5c9bd162c
|
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
|
@@ -0,0 +1,7 @@
|
|
1
|
+
# This file should contain all the record creation needed to seed the database with its default values.
|
2
|
+
# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
|
3
|
+
#
|
4
|
+
# Examples:
|
5
|
+
#
|
6
|
+
# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
|
7
|
+
# Mayor.create(name: 'Emanuel', city: cities.first)
|
File without changes
|
@@ -0,0 +1,249 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
Started GET "/" for 127.0.0.1 at 2015-05-30 22:53:53 +0300
|
4
|
+
Processing by Rails::WelcomeController#index as HTML
|
5
|
+
Rendered /usr/local/lib/ruby/gems/2.1.0/gems/railties-4.0.13/lib/rails/templates/rails/welcome/index.html.erb (4.1ms)
|
6
|
+
Completed 200 OK in 19ms (Views: 18.5ms | ActiveRecord: 0.0ms)
|
7
|
+
|
8
|
+
|
9
|
+
Started GET "/home/index" for 127.0.0.1 at 2015-05-30 22:54:00 +0300
|
10
|
+
Processing by HomeController#index as HTML
|
11
|
+
Rendered home/index.html.erb within layouts/application (4361.8ms)
|
12
|
+
Completed 200 OK in 5410ms (Views: 5285.6ms | ActiveRecord: 0.0ms)
|
13
|
+
|
14
|
+
|
15
|
+
Started GET "/assets/application.self.css?body=1" for 127.0.0.1 at 2015-05-30 22:54:05 +0300
|
16
|
+
|
17
|
+
|
18
|
+
Started GET "/assets/home.self.css?body=1" for 127.0.0.1 at 2015-05-30 22:54:05 +0300
|
19
|
+
|
20
|
+
|
21
|
+
Started GET "/assets/application.self.js?body=1" for 127.0.0.1 at 2015-05-30 22:54:05 +0300
|
22
|
+
|
23
|
+
|
24
|
+
Started GET "/assets/home.self.js?body=1" for 127.0.0.1 at 2015-05-30 22:54:05 +0300
|
25
|
+
|
26
|
+
|
27
|
+
Started GET "/home/index" for 127.0.0.1 at 2015-05-30 22:54:42 +0300
|
28
|
+
Processing by HomeController#index as HTML
|
29
|
+
Rendered home/index.html.erb within layouts/application (432.2ms)
|
30
|
+
Completed 200 OK in 576ms (Views: 463.2ms | ActiveRecord: 0.0ms)
|
31
|
+
|
32
|
+
|
33
|
+
Started GET "/assets/home.self.css?body=1" for 127.0.0.1 at 2015-05-30 22:54:43 +0300
|
34
|
+
|
35
|
+
|
36
|
+
Started GET "/assets/home.self.js?body=1" for 127.0.0.1 at 2015-05-30 22:54:43 +0300
|
37
|
+
|
38
|
+
|
39
|
+
Started GET "/assets/application.self.css?body=1" for 127.0.0.1 at 2015-05-30 22:54:43 +0300
|
40
|
+
|
41
|
+
|
42
|
+
Started GET "/assets/application.self.js?body=1" for 127.0.0.1 at 2015-05-30 22:54:43 +0300
|
43
|
+
|
44
|
+
|
45
|
+
Started GET "/home/index" for 127.0.0.1 at 2015-05-30 22:54:50 +0300
|
46
|
+
Processing by HomeController#index as HTML
|
47
|
+
Rendered home/index.html.erb within layouts/application (511.5ms)
|
48
|
+
Completed 500 Internal Server Error in 640ms
|
49
|
+
|
50
|
+
ActionView::Template::Error (undefined method `[]' for nil:NilClass):
|
51
|
+
3: <%= PrettyWeather::VERSION %>
|
52
|
+
4: <%= weather_tag %>
|
53
|
+
5: <%= weather_temp %>
|
54
|
+
6: <%= weather_condition 'moscow' %>
|
55
|
+
7: <br />
|
56
|
+
8: <%= @weather.temp_numeric %>
|
57
|
+
9: <br />
|
58
|
+
app/views/home/index.html.erb:6:in `_app_views_home_index_html_erb__947051282__587334638'
|
59
|
+
|
60
|
+
|
61
|
+
Rendered /usr/local/lib/ruby/gems/2.1.0/gems/actionpack-4.0.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.0ms)
|
62
|
+
Rendered /usr/local/lib/ruby/gems/2.1.0/gems/actionpack-4.0.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (27.7ms)
|
63
|
+
Rendered /usr/local/lib/ruby/gems/2.1.0/gems/actionpack-4.0.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (51.0ms)
|
64
|
+
|
65
|
+
|
66
|
+
Started GET "/home/index" for 127.0.0.1 at 2015-05-30 22:55:29 +0300
|
67
|
+
Processing by HomeController#index as HTML
|
68
|
+
Rendered home/index.html.erb within layouts/application (596.0ms)
|
69
|
+
Completed 500 Internal Server Error in 712ms
|
70
|
+
|
71
|
+
ActionView::Template::Error (undefined method `[]' for nil:NilClass):
|
72
|
+
3: <%= PrettyWeather::VERSION %>
|
73
|
+
4: <%= weather_tag %>
|
74
|
+
5: <%= weather_temp %>
|
75
|
+
6: <%= weather_condition 'moscow' %>
|
76
|
+
7: <br />
|
77
|
+
8: <%= @weather.temp_numeric %>
|
78
|
+
9: <br />
|
79
|
+
app/views/home/index.html.erb:6:in `_app_views_home_index_html_erb__947051282__587334638'
|
80
|
+
|
81
|
+
|
82
|
+
Rendered /usr/local/lib/ruby/gems/2.1.0/gems/actionpack-4.0.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.9ms)
|
83
|
+
Rendered /usr/local/lib/ruby/gems/2.1.0/gems/actionpack-4.0.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (3.9ms)
|
84
|
+
Rendered /usr/local/lib/ruby/gems/2.1.0/gems/actionpack-4.0.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (25.2ms)
|
85
|
+
|
86
|
+
|
87
|
+
Started GET "/home/index" for 127.0.0.1 at 2015-05-30 22:55:38 +0300
|
88
|
+
Processing by HomeController#index as HTML
|
89
|
+
Rendered home/index.html.erb within layouts/application (390.7ms)
|
90
|
+
Completed 200 OK in 1414ms (Views: 1298.6ms | ActiveRecord: 0.0ms)
|
91
|
+
|
92
|
+
|
93
|
+
Started GET "/assets/home.self.js?body=1" for 127.0.0.1 at 2015-05-30 22:55:39 +0300
|
94
|
+
|
95
|
+
|
96
|
+
Started GET "/assets/application.self.js?body=1" for 127.0.0.1 at 2015-05-30 22:55:39 +0300
|
97
|
+
|
98
|
+
|
99
|
+
Started GET "/assets/application.self.css?body=1" for 127.0.0.1 at 2015-05-30 22:55:39 +0300
|
100
|
+
|
101
|
+
|
102
|
+
Started GET "/assets/home.self.css?body=1" for 127.0.0.1 at 2015-05-30 22:55:39 +0300
|
103
|
+
|
104
|
+
|
105
|
+
Started GET "/home/index" for 127.0.0.1 at 2015-05-30 22:56:18 +0300
|
106
|
+
Processing by HomeController#index as HTML
|
107
|
+
Rendered home/index.html.erb within layouts/application (348.7ms)
|
108
|
+
Completed 200 OK in 573ms (Views: 458.9ms | ActiveRecord: 0.0ms)
|
109
|
+
|
110
|
+
|
111
|
+
Started GET "/assets/application.self.css?body=1" for 127.0.0.1 at 2015-05-30 22:56:19 +0300
|
112
|
+
|
113
|
+
|
114
|
+
Started GET "/assets/home.self.js?body=1" for 127.0.0.1 at 2015-05-30 22:56:19 +0300
|
115
|
+
|
116
|
+
|
117
|
+
Started GET "/assets/application.self.js?body=1" for 127.0.0.1 at 2015-05-30 22:56:19 +0300
|
118
|
+
|
119
|
+
|
120
|
+
Started GET "/assets/home.self.css?body=1" for 127.0.0.1 at 2015-05-30 22:56:19 +0300
|
121
|
+
|
122
|
+
|
123
|
+
Started GET "/home/index" for 127.0.0.1 at 2015-05-30 22:56:26 +0300
|
124
|
+
Processing by HomeController#index as HTML
|
125
|
+
Rendered home/index.html.erb within layouts/application (521.2ms)
|
126
|
+
Completed 200 OK in 1597ms (Views: 1480.8ms | ActiveRecord: 0.0ms)
|
127
|
+
|
128
|
+
|
129
|
+
Started GET "/assets/application.self.css?body=1" for 127.0.0.1 at 2015-05-30 22:56:28 +0300
|
130
|
+
|
131
|
+
|
132
|
+
Started GET "/assets/home.self.css?body=1" for 127.0.0.1 at 2015-05-30 22:56:28 +0300
|
133
|
+
|
134
|
+
|
135
|
+
Started GET "/assets/home.self.js?body=1" for 127.0.0.1 at 2015-05-30 22:56:28 +0300
|
136
|
+
|
137
|
+
|
138
|
+
Started GET "/assets/application.self.js?body=1" for 127.0.0.1 at 2015-05-30 22:56:28 +0300
|
139
|
+
|
140
|
+
|
141
|
+
Started GET "/home/index" for 127.0.0.1 at 2015-05-30 22:57:04 +0300
|
142
|
+
Processing by HomeController#index as HTML
|
143
|
+
Rendered home/index.html.erb within layouts/application (998.8ms)
|
144
|
+
Completed 500 Internal Server Error in 1288ms
|
145
|
+
|
146
|
+
ActionView::Template::Error (undefined method `[]' for nil:NilClass):
|
147
|
+
3: <%= PrettyWeather::VERSION %>
|
148
|
+
4: <%= weather_tag %>
|
149
|
+
5: <%= weather_temp %>
|
150
|
+
6: <%= weather_condition 'moscow' %>
|
151
|
+
7: <br />
|
152
|
+
8: <%= @weather.temp_numeric %>
|
153
|
+
9: <br />
|
154
|
+
app/views/home/index.html.erb:6:in `_app_views_home_index_html_erb__254457488__594135188'
|
155
|
+
|
156
|
+
|
157
|
+
Rendered /usr/local/lib/ruby/gems/2.1.0/gems/actionpack-4.0.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.9ms)
|
158
|
+
Rendered /usr/local/lib/ruby/gems/2.1.0/gems/actionpack-4.0.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (5.5ms)
|
159
|
+
Rendered /usr/local/lib/ruby/gems/2.1.0/gems/actionpack-4.0.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (28.9ms)
|
160
|
+
|
161
|
+
|
162
|
+
Started GET "/home/index" for 127.0.0.1 at 2015-05-30 23:44:15 +0300
|
163
|
+
Processing by HomeController#index as HTML
|
164
|
+
Rendered home/index.html.erb within layouts/application (933.8ms)
|
165
|
+
Completed 200 OK in 3350ms (Views: 2389.5ms | ActiveRecord: 0.0ms)
|
166
|
+
|
167
|
+
|
168
|
+
Started GET "/assets/application.self.css?body=1" for 127.0.0.1 at 2015-05-30 23:44:19 +0300
|
169
|
+
|
170
|
+
|
171
|
+
Started GET "/assets/home.self.css?body=1" for 127.0.0.1 at 2015-05-30 23:44:19 +0300
|
172
|
+
|
173
|
+
|
174
|
+
Started GET "/assets/home.self.js?body=1" for 127.0.0.1 at 2015-05-30 23:44:19 +0300
|
175
|
+
|
176
|
+
|
177
|
+
Started GET "/assets/application.self.js?body=1" for 127.0.0.1 at 2015-05-30 23:44:19 +0300
|
178
|
+
|
179
|
+
|
180
|
+
Started GET "/home/index" for 127.0.0.1 at 2015-05-30 23:44:19 +0300
|
181
|
+
Processing by HomeController#index as HTML
|
182
|
+
Rendered home/index.html.erb within layouts/application (722.8ms)
|
183
|
+
Completed 200 OK in 1005ms (Views: 835.9ms | ActiveRecord: 0.0ms)
|
184
|
+
|
185
|
+
|
186
|
+
Started GET "/assets/home.self.css?body=1" for 127.0.0.1 at 2015-05-30 23:44:21 +0300
|
187
|
+
|
188
|
+
|
189
|
+
Started GET "/assets/home.self.js?body=1" for 127.0.0.1 at 2015-05-30 23:44:21 +0300
|
190
|
+
|
191
|
+
|
192
|
+
Started GET "/assets/application.self.css?body=1" for 127.0.0.1 at 2015-05-30 23:44:21 +0300
|
193
|
+
|
194
|
+
|
195
|
+
Started GET "/assets/application.self.js?body=1" for 127.0.0.1 at 2015-05-30 23:44:21 +0300
|
196
|
+
|
197
|
+
|
198
|
+
Started GET "/home/index" for 127.0.0.1 at 2015-05-30 23:51:51 +0300
|
199
|
+
Processing by HomeController#index as HTML
|
200
|
+
Rendered home/index.html.erb within layouts/application (612.3ms)
|
201
|
+
Completed 200 OK in 847ms (Views: 645.7ms | ActiveRecord: 0.0ms)
|
202
|
+
|
203
|
+
|
204
|
+
Started GET "/assets/application.self.css?body=1" for 127.0.0.1 at 2015-05-30 23:51:52 +0300
|
205
|
+
|
206
|
+
|
207
|
+
Started GET "/assets/home.self.js?body=1" for 127.0.0.1 at 2015-05-30 23:51:52 +0300
|
208
|
+
|
209
|
+
|
210
|
+
Started GET "/assets/application.self.js?body=1" for 127.0.0.1 at 2015-05-30 23:51:52 +0300
|
211
|
+
|
212
|
+
|
213
|
+
Started GET "/assets/home.self.css?body=1" for 127.0.0.1 at 2015-05-30 23:51:52 +0300
|
214
|
+
|
215
|
+
|
216
|
+
Started GET "/home/index" for 127.0.0.1 at 2015-05-30 23:52:20 +0300
|
217
|
+
Processing by HomeController#index as HTML
|
218
|
+
Rendered home/index.html.erb within layouts/application (636.4ms)
|
219
|
+
Completed 200 OK in 890ms (Views: 670.6ms | ActiveRecord: 0.0ms)
|
220
|
+
|
221
|
+
|
222
|
+
Started GET "/assets/home.self.js?body=1" for 127.0.0.1 at 2015-05-30 23:52:21 +0300
|
223
|
+
|
224
|
+
|
225
|
+
Started GET "/assets/home.self.css?body=1" for 127.0.0.1 at 2015-05-30 23:52:21 +0300
|
226
|
+
|
227
|
+
|
228
|
+
Started GET "/assets/application.self.js?body=1" for 127.0.0.1 at 2015-05-30 23:52:21 +0300
|
229
|
+
|
230
|
+
|
231
|
+
Started GET "/assets/application.self.css?body=1" for 127.0.0.1 at 2015-05-30 23:52:21 +0300
|
232
|
+
|
233
|
+
|
234
|
+
Started GET "/home/index" for 127.0.0.1 at 2015-05-30 23:52:22 +0300
|
235
|
+
Processing by HomeController#index as HTML
|
236
|
+
Rendered home/index.html.erb within layouts/application (659.3ms)
|
237
|
+
Completed 200 OK in 902ms (Views: 691.2ms | ActiveRecord: 0.0ms)
|
238
|
+
|
239
|
+
|
240
|
+
Started GET "/assets/application.self.css?body=1" for 127.0.0.1 at 2015-05-30 23:52:23 +0300
|
241
|
+
|
242
|
+
|
243
|
+
Started GET "/assets/home.self.js?body=1" for 127.0.0.1 at 2015-05-30 23:52:23 +0300
|
244
|
+
|
245
|
+
|
246
|
+
Started GET "/assets/home.self.css?body=1" for 127.0.0.1 at 2015-05-30 23:52:23 +0300
|
247
|
+
|
248
|
+
|
249
|
+
Started GET "/assets/application.self.js?body=1" for 127.0.0.1 at 2015-05-30 23:52:23 +0300
|