concerto_weather 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1 @@
1
+ //= require_tree .
@@ -19,9 +19,9 @@ function attachWoeidHandlers() {
19
19
 
20
20
  if (info_el.length != 0) {
21
21
  // we found the summary box
22
- $(info_el).empty().html('searching...');
22
+ $(info_el).empty().html('<i class=\"ficon-spinner icon-spin\"></i> searching...');
23
23
  $.ajax({
24
- url: "http://query.yahooapis.com/v1/public/yql?q=" + encodeURIComponent("select woeid, placeTypeName, name, admin1, admin2, country from geo.places where (text = \"" + woeid + "\" or woeid = \"" + woeid + "\") limit 5") + "&format=json",
24
+ url: "//query.yahooapis.com/v1/public/yql?q=" + encodeURIComponent("select woeid, placeTypeName, name, admin1, admin2, country from geo.places where (text = \"" + woeid + "\" or woeid = \"" + woeid + "\") limit 5") + "&format=json",
25
25
  dataType: 'jsonp',
26
26
  timeout: 4000,
27
27
  success: function (data) {
@@ -1,4 +1,4 @@
1
- <%= javascript_include_tag "weather" %>
1
+ <%= javascript_include_tag "concerto_weather/application" %>
2
2
 
3
3
  <fieldset>
4
4
  <legend><span>Weather</span></legend>
@@ -0,0 +1,3 @@
1
+ <div class="grid-item with-shadow">
2
+ <i class="ficon-umbrella icon-4x"></i>
3
+ </div>
@@ -0,0 +1 @@
1
+ <i class="ficon-umbrella"></i>
@@ -5,5 +5,6 @@ module ConcertoWeather
5
5
  initializer "register content type" do |app|
6
6
  app.config.content_types << Weather
7
7
  end
8
+
8
9
  end
9
10
  end
@@ -1,3 +1,3 @@
1
1
  module ConcertoWeather
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: concerto_weather
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,12 +9,12 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-05-30 00:00:00.000000000 -07:00
12
+ date: 2013-06-13 00:00:00.000000000 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails
17
- requirement: &70160991282920 !ruby/object:Gem::Requirement
17
+ requirement: &70337951108560 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ~>
@@ -22,10 +22,10 @@ dependencies:
22
22
  version: 3.2.12
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *70160991282920
25
+ version_requirements: *70337951108560
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: sqlite3
28
- requirement: &70160991282400 !ruby/object:Gem::Requirement
28
+ requirement: &70337951108100 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ! '>='
@@ -33,7 +33,7 @@ dependencies:
33
33
  version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
- version_requirements: *70160991282400
36
+ version_requirements: *70337951108100
37
37
  description: Show the current weather and a short forecast in the sidebar of Concerto
38
38
  2.
39
39
  email:
@@ -42,14 +42,17 @@ executables: []
42
42
  extensions: []
43
43
  extra_rdoc_files: []
44
44
  files:
45
- - app/assets/javascripts/weather.js
45
+ - app/assets/javascripts/concerto_weather/application.js
46
+ - app/assets/javascripts/concerto_weather/weather.js
46
47
  - app/assets/stylesheets/concerto_weather/application.css
47
48
  - app/controllers/concerto_weather/application_controller.rb
48
49
  - app/helpers/concerto_weather/application_helper.rb
49
50
  - app/models/weather.rb
50
- - app/views/contents/weather/_form_top.html
51
+ - app/views/contents/weather/_form_top.html.erb
51
52
  - app/views/contents/weather/_render_default.html.erb
53
+ - app/views/contents/weather/_render_grid.html.erb
52
54
  - app/views/contents/weather/_render_tile.html.erb
55
+ - app/views/contents/weather/_tab_icon.html.erb
53
56
  - app/views/layouts/concerto_weather/application.html.erb
54
57
  - config/routes.rb
55
58
  - lib/concerto_weather/engine.rb