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.
- data/app/assets/javascripts/concerto_weather/application.js +1 -0
- data/app/assets/javascripts/{weather.js → concerto_weather/weather.js} +2 -2
- data/app/views/contents/weather/{_form_top.html → _form_top.html.erb} +1 -1
- data/app/views/contents/weather/_render_grid.html.erb +3 -0
- data/app/views/contents/weather/_tab_icon.html.erb +1 -0
- data/lib/concerto_weather/engine.rb +1 -0
- data/lib/concerto_weather/version.rb +1 -1
- metadata +11 -8
@@ -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: "
|
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) {
|
@@ -0,0 +1 @@
|
|
1
|
+
<i class="ficon-umbrella"></i>
|
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.
|
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-
|
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: &
|
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: *
|
25
|
+
version_requirements: *70337951108560
|
26
26
|
- !ruby/object:Gem::Dependency
|
27
27
|
name: sqlite3
|
28
|
-
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: *
|
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/
|
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
|