pretty_weather 0.1.4 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (124) hide show
  1. checksums.yaml +4 -4
  2. data/lib/pretty_weather/configuration.rb +3 -2
  3. data/lib/pretty_weather/pretty_weather_helper.rb +6 -6
  4. data/lib/pretty_weather/version.rb +1 -1
  5. data/lib/pretty_weather/weather.rb +13 -6
  6. data/test/dummy/Gemfile +110 -0
  7. data/test/dummy/Gemfile.lock +347 -0
  8. data/test/dummy/README.rdoc +28 -0
  9. data/test/dummy/Rakefile +6 -0
  10. data/test/dummy/app/assets/javascripts/application.js +14 -0
  11. data/test/dummy/app/assets/javascripts/home.js +2 -0
  12. data/test/dummy/app/assets/stylesheets/application.css +15 -0
  13. data/test/dummy/app/assets/stylesheets/application.css.scss +17 -0
  14. data/test/dummy/app/assets/stylesheets/home.css +4 -0
  15. data/test/dummy/app/controllers/application_controller.rb +5 -0
  16. data/test/dummy/app/controllers/home_controller.rb +5 -0
  17. data/test/dummy/app/helpers/application_helper.rb +2 -0
  18. data/test/dummy/app/helpers/home_helper.rb +2 -0
  19. data/test/dummy/app/views/home/index.html.erb +10 -0
  20. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  21. data/test/dummy/bin/bundle +3 -0
  22. data/test/dummy/bin/rails +4 -0
  23. data/test/dummy/bin/rake +4 -0
  24. data/test/dummy/bin/setup +29 -0
  25. data/test/dummy/bin/spring +15 -0
  26. data/test/dummy/config.ru +4 -0
  27. data/test/dummy/config/application.rb +23 -0
  28. data/test/dummy/config/boot.rb +5 -0
  29. data/test/dummy/config/database.yml +25 -0
  30. data/test/dummy/config/environment.rb +5 -0
  31. data/test/dummy/config/environments/development.rb +29 -0
  32. data/test/dummy/config/environments/production.rb +80 -0
  33. data/test/dummy/config/environments/test.rb +36 -0
  34. data/test/dummy/config/initializers/assets.rb +11 -0
  35. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  36. data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
  37. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  38. data/test/dummy/config/initializers/inflections.rb +16 -0
  39. data/test/dummy/config/initializers/mime_types.rb +5 -0
  40. data/test/dummy/config/initializers/pretty_weather.rb +5 -0
  41. data/test/dummy/config/initializers/secret_token.rb +12 -0
  42. data/test/dummy/config/initializers/session_store.rb +3 -0
  43. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  44. data/test/dummy/config/locales/en.yml +23 -0
  45. data/test/dummy/config/routes.rb +57 -0
  46. data/test/dummy/config/secrets.yml +22 -0
  47. data/test/dummy/db/development.sqlite3 +0 -0
  48. data/test/dummy/db/seeds.rb +7 -0
  49. data/test/dummy/db/test.sqlite3 +0 -0
  50. data/test/dummy/log/development.log +249 -0
  51. data/test/dummy/log/test.log +156 -0
  52. data/test/dummy/public/404.html +58 -0
  53. data/test/dummy/public/422.html +58 -0
  54. data/test/dummy/public/500.html +57 -0
  55. data/test/dummy/public/favicon.ico +0 -0
  56. data/test/dummy/public/robots.txt +5 -0
  57. data/test/dummy/test/controllers/home_controller_test.rb +9 -0
  58. data/test/dummy/test/helpers/home_helper_test.rb +4 -0
  59. data/test/dummy/test/test_helper.rb +10 -0
  60. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/7OgcbZhM4w58w28TTdwM_Ml-0chT4NrNWjWAwB3kpy4.cache +2 -0
  61. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/9626BQRYGCkq7yf7lXtDgrN4uVUOEOPcd61yvqA9rgw.cache +2 -0
  62. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Af0U0l4MeV8621MOZN885x3DTGe-bVUrreR2vHUvx5c.cache +2 -0
  63. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/CoI0hoM3UBjZkUrcKV6T-Ra26ZGPk5jwuiwEgT3_mas.cache +1 -0
  64. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/E3mOF-wXZUT4AgYOyx2y1tGXS9mI5OH57ch_v3045Js.cache +0 -0
  65. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/EXi7R-h-GmFiPa6RQzEmjkuiAINbNh1aG_dugQ_2aDg.cache +2 -0
  66. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/GAw3W5UeOt0h7Xlpvm2CGGTtWuDpg3ZPl56HgNDsj5o.cache +2 -0
  67. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/HrdxG1dTeoDA24RpWhGZJcKDSX30o8pA2IbjARe18OY.cache +1 -0
  68. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Ky48SaqGZUa64nS5nCu-7J_wqhbSNkTl62wZulwEFVY.cache +1 -0
  69. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/PDkcepJV33qSd-nGNZ_E-P-Vxd0jL3fdnDRxq04Yx_4.cache +1 -0
  70. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/RrO0OyNYQFMy0zbGvEDSwkH-iKtBnlk5KfpP8u4v8fs.cache +2 -0
  71. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/U-jO0A5JuxhTRB1xJkXKdUpAaPLh_JG4IFOrsu9qpUI.cache +1 -0
  72. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/UAIbdnv7gDCRWhEfJBY9ljqRxPTuOgtpwNVhrn5sLIw.cache +1 -0
  73. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Us9Wy5lBrGzwgqmXCHVdyOps9SrvQAHv9gBlP1xFZcQ.cache +1 -0
  74. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Vn_hT4MeKiOQM8L8_sHl8aO0Zblj4yhyrXUBdYzE4b4.cache +0 -0
  75. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/VpbnIbXDOOMyoohMNgH1LQz84ir_yYqSow78SHz3vxQ.cache +1 -0
  76. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/YidpM818nAsLuzzFo-xfi0V9bNbMUHGT66UTaLRezGs.cache +0 -0
  77. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/aADkC3-6v_JDNgCrpa5Plmta1-KR61j2ob_oS8g87Wc.cache +0 -0
  78. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/b83MsdPkYGyQAPheQLoRy88Z86jAYGfxULjLaCUdMs8.cache +0 -0
  79. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/cqqWKJ5UXkLCXP6HI9p7f8rxQiOAscnVbhXD0YREvkU.cache +0 -0
  80. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/eUUW-zlmqWCfxS9mQq-0LgEuZZ9vcGm-D8965QZZQRM.cache +1 -0
  81. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/gaKjFp3cbZIt1tIhGa21d_ZdS1yOAqr26YQ89E-3mxU.cache +0 -0
  82. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/j2pM7zY4c7gy5RbqxE7Yvwh8Bevv80B4mwqIwYt7HwU.cache +2 -0
  83. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/j4YqqlzZE5VWgM8wHXJBXCIvRTiECm1aCinOXJ-ZHjA.cache +1 -0
  84. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/mb1_pJ3hxxy8mK0xdcgNzzXKD6MZZfooExiSxtbrnHI.cache +0 -0
  85. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/ouiEbwC-KaHDk49W1JEDVL6KhC-lAF5MvhENi_FFKdE.cache +2 -0
  86. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/qqSUEnx-SozHhMQuJ03i31RipniiWB4qfKhZCJR2_Mo.cache +1 -0
  87. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/tkQYIBlWF0NjaZKc-r2o3EdQX5RSWJ5f3Zts9TpzF80.cache +1 -0
  88. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/wRQ-I50rwQzaQugxTUIF6xGPKu5Nvg2wmUcCSi6BSL4.cache +0 -0
  89. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/2opewf1Z_QEjtbl2pIytpMSYTJIAgRJlQVxMsa27tEg.cache +1 -0
  90. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/7OgcbZhM4w58w28TTdwM_Ml-0chT4NrNWjWAwB3kpy4.cache +2 -0
  91. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/8E2jwsMnNktvPQnagdRvVwGg65gciQkZgIxjnx-vcCE.cache +1 -0
  92. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/9626BQRYGCkq7yf7lXtDgrN4uVUOEOPcd61yvqA9rgw.cache +0 -0
  93. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Af0U0l4MeV8621MOZN885x3DTGe-bVUrreR2vHUvx5c.cache +2 -0
  94. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/CoI0hoM3UBjZkUrcKV6T-Ra26ZGPk5jwuiwEgT3_mas.cache +1 -0
  95. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/DlPf2btXSrNuGMTAH4zcYnSv8A_y1SS7cDI9BHcSvHo.cache +0 -0
  96. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/EXi7R-h-GmFiPa6RQzEmjkuiAINbNh1aG_dugQ_2aDg.cache +2 -0
  97. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/GAw3W5UeOt0h7Xlpvm2CGGTtWuDpg3ZPl56HgNDsj5o.cache +2 -0
  98. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/HrdxG1dTeoDA24RpWhGZJcKDSX30o8pA2IbjARe18OY.cache +1 -0
  99. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/IcLAlJR1tJFUUt5OhgiT0zWjBmR2RnldX5X5HkLI4d4.cache +0 -0
  100. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/J-bf6fWKdVnAisELCt_rJxJukRCao5pJfZJSQplLBXM.cache +0 -0
  101. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/O2SUtsFQXeYbSAOaDD0zdWIODvadFwuLpWkxTo5DO6M.cache +1 -0
  102. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/PDkcepJV33qSd-nGNZ_E-P-Vxd0jL3fdnDRxq04Yx_4.cache +1 -0
  103. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/RrO0OyNYQFMy0zbGvEDSwkH-iKtBnlk5KfpP8u4v8fs.cache +0 -0
  104. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/U-jO0A5JuxhTRB1xJkXKdUpAaPLh_JG4IFOrsu9qpUI.cache +1 -0
  105. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/UOb3mA0JQZqR5fB2RUE-_C7igeUZzdaesBKAhWm1GEo.cache +1 -0
  106. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/XJWlzNcTNgKtSPNN86QhZDSZacV0R7thxexGqZYxels.cache +0 -0
  107. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/_lI7bcxiGTbogOTKO1s7M2cjwto2r7A2Ia63z-2sTzw.cache +1 -0
  108. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/a5mLnWBogsV8yTnzdWKEZROtHnp0Ofst5ykfVKPxQIo.cache +1 -0
  109. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/aADkC3-6v_JDNgCrpa5Plmta1-KR61j2ob_oS8g87Wc.cache +0 -0
  110. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/b0b43IX4EscdBwuFbmVK26ZOEDKdqG09QzaaUv7QavE.cache +0 -0
  111. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/eUUW-zlmqWCfxS9mQq-0LgEuZZ9vcGm-D8965QZZQRM.cache +1 -0
  112. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/gaKjFp3cbZIt1tIhGa21d_ZdS1yOAqr26YQ89E-3mxU.cache +0 -0
  113. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/h0BAUNXIaJsTDVIutlZgqgj1jqW-pKvA8-aRZ18KcWs.cache +0 -0
  114. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/j2pM7zY4c7gy5RbqxE7Yvwh8Bevv80B4mwqIwYt7HwU.cache +2 -0
  115. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/ngJlFhKf3LcwZShbDiNDnEWdOHg1NLqVV3CJB3iGYpY.cache +0 -0
  116. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/o-3DnFXIvWB8iXV2RnKv261_994IznvyORUT9jN2lJk.cache +1 -0
  117. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/oCQKqLIiCqMvtjyzqIIQEKo2rZxTfiRyWdL97IelwWs.cache +1 -0
  118. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/ouiEbwC-KaHDk49W1JEDVL6KhC-lAF5MvhENi_FFKdE.cache +2 -0
  119. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/qagxqIMuneqe_9a3xCxI20zk-DqnXPaCTv37noWu45s.cache +1 -0
  120. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/uV4hNKjWReMZ5nShN47lJtU0vnXkB-GZ2IPkngnxCj0.cache +0 -0
  121. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/w6g-a575dZjcpkguZ3KXTE6HWwYiIUBAxHqAKs7QmpA.cache +0 -0
  122. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/zNRCg4xIgKgEIZquNUv4aImmV-rZTkBpVXRXvP6wFcU.cache +0 -0
  123. data/test/pretty_weather_test.rb +14 -0
  124. metadata +236 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 87c7f18071045d6985ba310b1f98a4ab241c7fd7
4
- data.tar.gz: 83ac597ebed14444f0cda4b36b2eb591b20bf96f
3
+ metadata.gz: b6a534d2f4eb046d0d611f626a2753692b30dea9
4
+ data.tar.gz: 2f4594cbbe8a42715c05a94441593c63c18e3992
5
5
  SHA512:
6
- metadata.gz: 06b4b134e3ce6752694732564b0cf95be1b564b76a0b8fc8e9706751ed0aad1528622c3158172f0b9168d157e97256c2051e377476c1f127d3ddebfdc652f2a9
7
- data.tar.gz: f12d7d61328b5a90fc235e2215a5e21c693bf6e7a2efa984f79bec4f44cd72db2a27de1f2a94af2d5b5a81add17656200d5b2fe8042e7efa3a2bba261143a8b7
6
+ metadata.gz: e05c07e0d4321f1b29c6222e470ce301ef6157c8a82ef3cd95e4f21f46f5a1ccaffcb4f749bf172ffd59ee35e816a26a2fb8ba9f006ab0f17c6c3de5276b6e91
7
+ data.tar.gz: 369373cfcd2764f7ca74b098af62489f9182376102cad0a6cc73100d9e4098bd8bd9962566f30549959ef76df97fd59e6f76207d869b00a863e317dd4f8f5a5b
@@ -1,10 +1,11 @@
1
1
  module PrettyWeather
2
2
  class Configuration
3
- attr_accessor :city_name, :units
3
+ attr_accessor :city_param, :units, :mode
4
4
 
5
5
  def initialize
6
- @city_name = 'london'
6
+ @city_param = 'london'
7
7
  @units = 'metric'
8
+ @mode = 'city_name'
8
9
  end
9
10
 
10
11
  def set_options(&block)
@@ -1,13 +1,13 @@
1
1
  module PrettyWeather
2
- def weather_tag(city = Rails.application.config.pretty_weather.city_name, units = Rails.application.config.pretty_weather.units)
3
- Weather.new(city, units).icon_tag
2
+ def weather_tag(city = Rails.application.config.pretty_weather.city_param, units = Rails.application.config.pretty_weather.units, mode = Rails.application.config.pretty_weather.mode)
3
+ Weather.new(city, units, mode).icon_tag
4
4
  end
5
5
 
6
- def weather_temp(city = Rails.application.config.pretty_weather.city_name, units = Rails.application.config.pretty_weather.units)
7
- Weather.new(city, units).temp
6
+ def weather_temp(city = Rails.application.config.pretty_weather.city_param, units = Rails.application.config.pretty_weather.units, mode = Rails.application.config.pretty_weather.mode)
7
+ Weather.new(city, units, mode).temp
8
8
  end
9
9
 
10
- def weather_condition(city = Rails.application.config.pretty_weather.city_name, units = Rails.application.config.pretty_weather.units)
11
- Weather.new(city, units).weather
10
+ def weather_condition(city = Rails.application.config.pretty_weather.city_param, units = Rails.application.config.pretty_weather.units, mode = Rails.application.config.pretty_weather.mode)
11
+ Weather.new(city, units, mode).weather
12
12
  end
13
13
  end
@@ -1,3 +1,3 @@
1
1
  module PrettyWeather
2
- VERSION = "0.1.4"
2
+ VERSION = "0.2.0"
3
3
  end
@@ -3,17 +3,24 @@ require 'nokogiri'
3
3
 
4
4
  module PrettyWeather
5
5
  class Weather
6
- attr_accessor :temp, :weather, :icon_tag, :temp_numeric, :city_name, :units, :updated_at
6
+ attr_accessor :temp, :weather, :icon_tag, :temp_numeric, :city_param, :mode, :units, :updated_at
7
7
 
8
- def initialize(city_name, units)
9
- @city_name = city_name
8
+ def initialize(city_param, units, mode = 'city_name')
9
+ @city_param = city_param
10
10
  @units = units
11
+ @mode = mode
11
12
 
12
- collect_data(city_name, units)
13
+ collect_data(city_param, units, mode)
13
14
  end
14
15
 
15
- def collect_data(city_name = @city_name, units = @units)
16
- link = "http://api.openweathermap.org/data/2.5/weather?q=#{city_name}&mode=xml&units=#{units}" #Odesa for Odessa in Ukraine
16
+ def collect_data(city_param = @city_param, units = @units, mode = @mode)
17
+ case mode
18
+ when 'city_name'
19
+ link = "http://api.openweathermap.org/data/2.5/weather?q=#{city_param}&mode=xml&units=#{units}" #Odesa for Odessa in Ukraine
20
+ when 'id'
21
+ link = "http://api.openweathermap.org/data/2.5/weather?id=#{city_param}&mode=xml&units=#{units}"
22
+ end
23
+
17
24
  attempts = 3
18
25
 
19
26
  @updated_at = Time.now
@@ -0,0 +1,110 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gem 'pretty_weather', '0.1.3', path: '/home/nikitasmall/server/rails-work/pretty_weather/'
4
+
5
+ # Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
6
+ gem 'rails', '4.0.0'
7
+
8
+ group :test, :development do
9
+ # Use sqlite3 as the database for Active Record
10
+ gem 'sqlite3'
11
+ end
12
+
13
+ # gems for production db
14
+ gem 'mysql2'
15
+ gem 'pg'
16
+
17
+ # gem for auth
18
+ gem 'devise'
19
+
20
+ # gem for easy tags
21
+ gem 'acts-as-taggable-on'
22
+
23
+ # gem for wysiwyg editor
24
+ gem 'ckeditor'
25
+
26
+ # gem for uploads
27
+ gem 'paperclip'
28
+
29
+ # Use SCSS for stylesheets
30
+ gem 'sass-rails', '~> 4.0.0'
31
+ gem 'bootstrap-sass', '~> 3.3.3'
32
+
33
+ # gem for pretty pagination
34
+ gem 'will_paginate-bootstrap'
35
+
36
+ # gems to make frindship for paperclip, aws, heroku and ckeditor
37
+ gem 'aws-sdk', '~> 1.36.1'
38
+ gem 'fog'
39
+ gem 'figaro'
40
+
41
+ # gem for better fixtures
42
+ gem 'factory_girl_rails'
43
+
44
+ # gem for ajax validation
45
+ gem 'jquery-validation-rails'
46
+
47
+ # gem for pretty photo gallery
48
+ # gem 'swiper-rails'
49
+ gem 'fotoramajs'
50
+
51
+ # gem for captcha
52
+ gem 'recaptcha' #, :require => 'recaptcha/rails'
53
+
54
+ # some strange gem for recaptcha
55
+ gem 'httparty'
56
+
57
+ # gem for json parse
58
+ gem 'json'
59
+
60
+ # gem for good russian translation
61
+ gem 'russian', '~> 0.6.0'
62
+
63
+ # for site parsing (for weather forecasting!)
64
+ gem 'nokogiri'
65
+
66
+ # pretty weather icons (ready to bootstraping!)
67
+ gem 'weather-icons-rails'
68
+
69
+ # gem for discus integration
70
+ gem 'disqus_rails'
71
+
72
+ # gem for social sharing
73
+ gem 'social-share-button'
74
+
75
+ gem 'rspec-rails'
76
+
77
+ # Use Uglifier as compressor for JavaScript assets
78
+ gem 'uglifier', '>= 1.3.0'
79
+
80
+ # Use CoffeeScript for .js.coffee assets and views
81
+ gem 'coffee-rails', '~> 4.0.0'
82
+
83
+ # See https://github.com/sstephenson/execjs#readme for more supported runtimes
84
+ # gem 'therubyracer', platforms: :ruby
85
+
86
+ # Use jquery as the JavaScript library
87
+ gem 'jquery-rails'
88
+
89
+ # Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
90
+ gem 'turbolinks'
91
+
92
+ # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
93
+ gem 'jbuilder', '~> 1.2'
94
+
95
+ group :doc do
96
+ # bundle exec rake doc:rails generates the API under doc/api.
97
+ gem 'sdoc', require: false
98
+ end
99
+
100
+ # Use ActiveModel has_secure_password
101
+ gem 'bcrypt-ruby', '~> 3.0.0'
102
+
103
+ # Use unicorn as the app server
104
+ # gem 'unicorn'
105
+
106
+ # Use Capistrano for deployment
107
+ # gem 'capistrano', group: :development
108
+
109
+ # Use debugger
110
+ # gem 'debugger', group: [:development, :test]
@@ -0,0 +1,347 @@
1
+ PATH
2
+ remote: /home/nikitasmall/server/rails-work/pretty_weather
3
+ specs:
4
+ pretty_weather (0.1.3)
5
+ nokogiri
6
+ rails (~> 4.0.0)
7
+ weather-icons-rails
8
+
9
+ GEM
10
+ remote: https://rubygems.org/
11
+ specs:
12
+ CFPropertyList (2.3.1)
13
+ actionmailer (4.0.0)
14
+ actionpack (= 4.0.0)
15
+ mail (~> 2.5.3)
16
+ actionpack (4.0.0)
17
+ activesupport (= 4.0.0)
18
+ builder (~> 3.1.0)
19
+ erubis (~> 2.7.0)
20
+ rack (~> 1.5.2)
21
+ rack-test (~> 0.6.2)
22
+ activemodel (4.0.0)
23
+ activesupport (= 4.0.0)
24
+ builder (~> 3.1.0)
25
+ activerecord (4.0.0)
26
+ activemodel (= 4.0.0)
27
+ activerecord-deprecated_finders (~> 1.0.2)
28
+ activesupport (= 4.0.0)
29
+ arel (~> 4.0.0)
30
+ activerecord-deprecated_finders (1.0.4)
31
+ activesupport (4.0.0)
32
+ i18n (~> 0.6, >= 0.6.4)
33
+ minitest (~> 4.2)
34
+ multi_json (~> 1.3)
35
+ thread_safe (~> 0.1)
36
+ tzinfo (~> 0.3.37)
37
+ acts-as-taggable-on (3.5.0)
38
+ activerecord (>= 3.2, < 5)
39
+ arel (4.0.2)
40
+ autoprefixer-rails (5.1.11)
41
+ execjs
42
+ json
43
+ aws-sdk (1.36.2)
44
+ json (~> 1.4)
45
+ nokogiri (>= 1.4.4)
46
+ uuidtools (~> 2.1)
47
+ bcrypt (3.1.10)
48
+ bcrypt-ruby (3.0.1)
49
+ bootstrap-sass (3.3.4.1)
50
+ autoprefixer-rails (>= 5.0.0.1)
51
+ sass (>= 3.2.19)
52
+ builder (3.1.4)
53
+ ckeditor (4.1.1)
54
+ cocaine
55
+ orm_adapter (~> 0.5.0)
56
+ climate_control (0.0.3)
57
+ activesupport (>= 3.0)
58
+ cocaine (0.5.7)
59
+ climate_control (>= 0.0.3, < 1.0)
60
+ coffee-rails (4.0.1)
61
+ coffee-script (>= 2.2.0)
62
+ railties (>= 4.0.0, < 5.0)
63
+ coffee-script (2.4.1)
64
+ coffee-script-source
65
+ execjs
66
+ coffee-script-source (1.9.1.1)
67
+ devise (3.4.1)
68
+ bcrypt (~> 3.0)
69
+ orm_adapter (~> 0.1)
70
+ railties (>= 3.2.6, < 5)
71
+ responders
72
+ thread_safe (~> 0.1)
73
+ warden (~> 1.2.3)
74
+ diff-lcs (1.2.5)
75
+ disqus_rails (0.0.6)
76
+ rails
77
+ erubis (2.7.0)
78
+ excon (0.45.3)
79
+ execjs (2.5.2)
80
+ factory_girl (4.5.0)
81
+ activesupport (>= 3.0.0)
82
+ factory_girl_rails (4.5.0)
83
+ factory_girl (~> 4.5.0)
84
+ railties (>= 3.0.0)
85
+ figaro (1.1.1)
86
+ thor (~> 0.14)
87
+ fission (0.5.0)
88
+ CFPropertyList (~> 2.2)
89
+ fog (1.30.0)
90
+ fog-atmos
91
+ fog-aws (~> 0.0)
92
+ fog-brightbox (~> 0.4)
93
+ fog-core (~> 1.27, >= 1.27.4)
94
+ fog-ecloud
95
+ fog-google (>= 0.0.2)
96
+ fog-json
97
+ fog-local
98
+ fog-powerdns (>= 0.1.1)
99
+ fog-profitbricks
100
+ fog-radosgw (>= 0.0.2)
101
+ fog-riakcs
102
+ fog-sakuracloud (>= 0.0.4)
103
+ fog-serverlove
104
+ fog-softlayer
105
+ fog-storm_on_demand
106
+ fog-terremark
107
+ fog-vmfusion
108
+ fog-voxel
109
+ fog-xml (~> 0.1.1)
110
+ ipaddress (~> 0.5)
111
+ nokogiri (~> 1.5, >= 1.5.11)
112
+ fog-atmos (0.1.0)
113
+ fog-core
114
+ fog-xml
115
+ fog-aws (0.2.2)
116
+ fog-core (~> 1.27)
117
+ fog-json (~> 1.0)
118
+ fog-xml (~> 0.1)
119
+ ipaddress (~> 0.8)
120
+ fog-brightbox (0.7.1)
121
+ fog-core (~> 1.22)
122
+ fog-json
123
+ inflecto (~> 0.0.2)
124
+ fog-core (1.30.0)
125
+ builder
126
+ excon (~> 0.45)
127
+ formatador (~> 0.2)
128
+ mime-types
129
+ net-scp (~> 1.1)
130
+ net-ssh (>= 2.1.3)
131
+ fog-ecloud (0.1.1)
132
+ fog-core
133
+ fog-xml
134
+ fog-google (0.0.5)
135
+ fog-core
136
+ fog-json
137
+ fog-xml
138
+ fog-json (1.0.1)
139
+ fog-core (~> 1.0)
140
+ multi_json (~> 1.0)
141
+ fog-local (0.2.1)
142
+ fog-core (~> 1.27)
143
+ fog-powerdns (0.1.1)
144
+ fog-core (~> 1.27)
145
+ fog-json (~> 1.0)
146
+ fog-xml (~> 0.1)
147
+ fog-profitbricks (0.0.2)
148
+ fog-core
149
+ fog-xml
150
+ nokogiri
151
+ fog-radosgw (0.0.4)
152
+ fog-core (>= 1.21.0)
153
+ fog-json
154
+ fog-xml (>= 0.0.1)
155
+ fog-riakcs (0.1.0)
156
+ fog-core
157
+ fog-json
158
+ fog-xml
159
+ fog-sakuracloud (1.0.1)
160
+ fog-core
161
+ fog-json
162
+ fog-serverlove (0.1.2)
163
+ fog-core
164
+ fog-json
165
+ fog-softlayer (0.4.6)
166
+ fog-core
167
+ fog-json
168
+ fog-storm_on_demand (0.1.1)
169
+ fog-core
170
+ fog-json
171
+ fog-terremark (0.1.0)
172
+ fog-core
173
+ fog-xml
174
+ fog-vmfusion (0.1.0)
175
+ fission
176
+ fog-core
177
+ fog-voxel (0.1.0)
178
+ fog-core
179
+ fog-xml
180
+ fog-xml (0.1.2)
181
+ fog-core
182
+ nokogiri (~> 1.5, >= 1.5.11)
183
+ formatador (0.2.5)
184
+ fotoramajs (4.6.4)
185
+ sprockets (>= 2)
186
+ hike (1.2.3)
187
+ httparty (0.13.4)
188
+ json (~> 1.8)
189
+ multi_xml (>= 0.5.2)
190
+ i18n (0.7.0)
191
+ inflecto (0.0.2)
192
+ ipaddress (0.8.0)
193
+ jbuilder (1.5.3)
194
+ activesupport (>= 3.0.0)
195
+ multi_json (>= 1.2.0)
196
+ jquery-rails (3.1.2)
197
+ railties (>= 3.0, < 5.0)
198
+ thor (>= 0.14, < 2.0)
199
+ jquery-validation-rails (1.13.1)
200
+ railties (>= 3.2, < 5.0)
201
+ thor (~> 0.14)
202
+ json (1.8.2)
203
+ mail (2.5.4)
204
+ mime-types (~> 1.16)
205
+ treetop (~> 1.4.8)
206
+ mime-types (1.25.1)
207
+ mini_portile (0.6.2)
208
+ minitest (4.7.5)
209
+ multi_json (1.11.0)
210
+ multi_xml (0.5.5)
211
+ mysql2 (0.3.18)
212
+ net-scp (1.2.1)
213
+ net-ssh (>= 2.6.5)
214
+ net-ssh (2.9.2)
215
+ nokogiri (1.6.6.2)
216
+ mini_portile (~> 0.6.0)
217
+ orm_adapter (0.5.0)
218
+ paperclip (4.2.1)
219
+ activemodel (>= 3.0.0)
220
+ activesupport (>= 3.0.0)
221
+ cocaine (~> 0.5.3)
222
+ mime-types
223
+ pg (0.18.2)
224
+ polyglot (0.3.5)
225
+ rack (1.5.3)
226
+ rack-test (0.6.3)
227
+ rack (>= 1.0)
228
+ rails (4.0.0)
229
+ actionmailer (= 4.0.0)
230
+ actionpack (= 4.0.0)
231
+ activerecord (= 4.0.0)
232
+ activesupport (= 4.0.0)
233
+ bundler (>= 1.3.0, < 2.0)
234
+ railties (= 4.0.0)
235
+ sprockets-rails (~> 2.0.0)
236
+ railties (4.0.0)
237
+ actionpack (= 4.0.0)
238
+ activesupport (= 4.0.0)
239
+ rake (>= 0.8.7)
240
+ thor (>= 0.18.1, < 2.0)
241
+ rake (10.4.2)
242
+ rdoc (4.2.0)
243
+ json (~> 1.4)
244
+ recaptcha (0.4.0)
245
+ responders (1.1.2)
246
+ railties (>= 3.2, < 4.2)
247
+ rspec-core (3.2.3)
248
+ rspec-support (~> 3.2.0)
249
+ rspec-expectations (3.2.1)
250
+ diff-lcs (>= 1.2.0, < 2.0)
251
+ rspec-support (~> 3.2.0)
252
+ rspec-mocks (3.2.1)
253
+ diff-lcs (>= 1.2.0, < 2.0)
254
+ rspec-support (~> 3.2.0)
255
+ rspec-rails (3.2.1)
256
+ actionpack (>= 3.0, < 4.3)
257
+ activesupport (>= 3.0, < 4.3)
258
+ railties (>= 3.0, < 4.3)
259
+ rspec-core (~> 3.2.0)
260
+ rspec-expectations (~> 3.2.0)
261
+ rspec-mocks (~> 3.2.0)
262
+ rspec-support (~> 3.2.0)
263
+ rspec-support (3.2.2)
264
+ russian (0.6.0)
265
+ i18n (>= 0.5.0)
266
+ sass (3.2.19)
267
+ sass-rails (4.0.5)
268
+ railties (>= 4.0.0, < 5.0)
269
+ sass (~> 3.2.2)
270
+ sprockets (~> 2.8, < 3.0)
271
+ sprockets-rails (~> 2.0)
272
+ sdoc (0.4.1)
273
+ json (~> 1.7, >= 1.7.7)
274
+ rdoc (~> 4.0)
275
+ social-share-button (0.1.8)
276
+ coffee-rails
277
+ sass-rails
278
+ sprockets (2.12.3)
279
+ hike (~> 1.2)
280
+ multi_json (~> 1.0)
281
+ rack (~> 1.0)
282
+ tilt (~> 1.1, != 1.3.0)
283
+ sprockets-rails (2.0.1)
284
+ actionpack (>= 3.0)
285
+ activesupport (>= 3.0)
286
+ sprockets (~> 2.8)
287
+ sqlite3 (1.3.10)
288
+ thor (0.19.1)
289
+ thread_safe (0.3.5)
290
+ tilt (1.4.1)
291
+ treetop (1.4.15)
292
+ polyglot
293
+ polyglot (>= 0.3.1)
294
+ turbolinks (2.5.3)
295
+ coffee-rails
296
+ tzinfo (0.3.44)
297
+ uglifier (2.7.1)
298
+ execjs (>= 0.3.0)
299
+ json (>= 1.8.0)
300
+ uuidtools (2.1.5)
301
+ warden (1.2.3)
302
+ rack (>= 1.0)
303
+ weather-icons-rails (0.1.1)
304
+ railties (>= 3.2, < 5.0)
305
+ sass (~> 3.2)
306
+ will_paginate (3.0.7)
307
+ will_paginate-bootstrap (1.0.1)
308
+ will_paginate (>= 3.0.3)
309
+
310
+ PLATFORMS
311
+ ruby
312
+
313
+ DEPENDENCIES
314
+ acts-as-taggable-on
315
+ aws-sdk (~> 1.36.1)
316
+ bcrypt-ruby (~> 3.0.0)
317
+ bootstrap-sass (~> 3.3.3)
318
+ ckeditor
319
+ coffee-rails (~> 4.0.0)
320
+ devise
321
+ disqus_rails
322
+ factory_girl_rails
323
+ figaro
324
+ fog
325
+ fotoramajs
326
+ httparty
327
+ jbuilder (~> 1.2)
328
+ jquery-rails
329
+ jquery-validation-rails
330
+ json
331
+ mysql2
332
+ nokogiri
333
+ paperclip
334
+ pg
335
+ pretty_weather (= 0.1.3)!
336
+ rails (= 4.0.0)
337
+ recaptcha
338
+ rspec-rails
339
+ russian (~> 0.6.0)
340
+ sass-rails (~> 4.0.0)
341
+ sdoc
342
+ social-share-button
343
+ sqlite3
344
+ turbolinks
345
+ uglifier (>= 1.3.0)
346
+ weather-icons-rails
347
+ will_paginate-bootstrap