Skip to content

Commit

Permalink
Pushing v2.5
Browse files Browse the repository at this point in the history
Removed deprecated weather.search table, added geo.placefinder table, removed options.zipcode, remove timeOfDay, removed http: from source, and added changelog.
  • Loading branch information
fleeting committed Feb 5, 2014
1 parent 49d714a commit bbc84b9
Show file tree
Hide file tree
Showing 11 changed files with 122 additions and 74 deletions.
85 changes: 85 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
# simpleWeather Changelog

For a more complete changelog you can always check out the [commit log](https://github.com/monkeecreate/jquery.simpleWeather/commits/master).

## v2.5 - February 5 2004

* Removed deprecated weather.search YQL table.
* Added geo.placefinder YQL table for searching locations. This allows you to get your location in a more forgiving format than before including latitude and longitude.
* Removed `options.zipcode` as `options.location` now accepts any combination of city, state, and zipcode.
* Removed `timeOfDay` as it was buggy and wouldn't return correctly anyways. Currently there is not a method to make this work accurately. See [#66](https://github.com/monkeecreate/jquery.simpleWeather/issues/66) for info.
* Removed `http:` from api call and image source to allow for https.

## v2.4 - January 22 2014

* Added four day forecast with recent Yahoo Weather API update.

## v2.3 - June 16 2013

* Added `timeOfDay` for custom day/night icons.
* Fix for new Yahoo API error result.

## v2.2 - April 20 2013

* Added high and low alt temps.
* Added alt temp unit.

## v2.1.2 - January 25 2013

* Just a version bump for jQuery plugin directory.

## v2.1 - November 18 2012

* Added WOEID location param for all.

## v2.0.1 - January 26 2012

* Plenty of code cleanup but no additions, fixes, or deletions.

## v2.0 - November 23 2011

* Added forecast condition code.

## v1.9 - October 3 2011

* Added alt temp.

## v1.8 - May 15 2011

* Fixed wind direction.
* Added calculations for the heat index.

## v1.7 - May 8 2011

* Added condition code.

## v1.6 - December 16 2010

* Fixed `windDirection` bug.

## v1.5 - June 29 2010

* Fixed errors in wind direction calculations.

## v1.4 - June 4 2010

* Fixed issue of a location returning multiple results.

## v1.3 - May 26 2010

* Fixed bug with trailing commas for IE.
* Added `$.getJSON()` instead of `$.ajax()`.
* Added better error message if the location is invalid.

## v1.2 - May 18 2010

* Added location param for those outside the US.
* Changed `thumbnail` to a hardcoded url.

## v1.1 - May 17 2010

* Added `thumbnail` image.

## v1.0 - May 16 2010

* Initial commit.
2 changes: 1 addition & 1 deletion MIT-LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2013 James Fleeting, http://jamesfleeting.com/
Copyright (c) 2014 James Fleeting, http://jamesfleeting.com/

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ component install monkeecreate/jquery.simpleWeather

**[CDNJS](http://cdnjs.com/libraries/jquery.simpleWeather/)**
```html
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery.simpleWeather/2.4.0/jquery.simpleWeather.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery.simpleWeather/2.5.0/jquery.simpleWeather.min.js"></script>
```

**Git**
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "simpleWeather",
"description": "A simple jQuery plugin to display the current weather information for any location.",
"main": "jquery.simpleWeather.js",
"version": "2.4.0",
"version": "2.5.0",
"homepage": "http://simpleweatherjs.com",
"authors": [
"James Fleeting <hello@jamesfleeting.com>"
Expand Down
2 changes: 1 addition & 1 deletion component.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "simpleWeather",
"repo": "monkeecreate/jquery.simpleWeather",
"description": "A simple jQuery plugin to display the current weather information for any location.",
"version": "2.4.0",
"version": "2.5.0",
"main": "jquery.simpleWeather-2.4.min.js",
"scripts": ["jquery.simpleWeather-2.4.min.js"],
"dependencies": {
Expand Down
33 changes: 5 additions & 28 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,45 +56,22 @@
<div class="container-narrow">
<div class="jumbotron">
<h1>Whoa, a weather plugin?</h1>
<p>A simple jQuery plugin to display the current weather information for any location using Yahoo! Weather. Developed by <a href="http://twitter.com/twofivethreetwo">James Fleeting</a>. Download the latest version, read the docs or browse the FAQ at <a href="http://simpleweatherjs.com">simpleweather.js</a>. Below you will find three examples of using simpleWeather.js.</p>
<p>A simple jQuery plugin to display the current weather information for any location using Yahoo! Weather. Developed by <a href="http://twitter.com/fleetingftw">James Fleeting</a>. Download the latest version, read the docs or browse the FAQ at <a href="http://simpleweatherjs.com">simpleweather.js</a>.</p>
</div>
<hr>

<div class="row-fluid">
<div class="span12">
<h2>Usage</h2>
<h2>Usage/Demo</h2>

<p>Simply include jquery.simpleWeather.js in your site. Then initialize simpleWeather, set your WOEID, US zip code or location, add a div with an ID of `weather` (or whatever you want, just change it in the init), and you are good to go.</p>

<script src="https://gist.github.com/3982707.js?file=simpleweather.demo.js"></script>
</div>
</div>
<hr>

<div class="row-fluid">
<div class="span12">
<h2>Simple Demo</h2>

<p>This demo shows the common use for simpleWeather, displaying the current weather for a location, in this case Austin, Texas US. This is a bare demo with minimal styling.</p>

<iframe style="width: 100%; height: 300px; box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.4);" src="http://jsfiddle.net/fleeting/CabHe/embedded/result,js,css,html/" allowfullscreen="allowfullscreen" frameborder="0"></iframe>
</div>
</div>
<hr>

<div class="row-fluid">
<div class="span12">
<h2>Fancy Demo</h2>

<p>This demo is still extremely simple, just shows what you can do with a little CSS to spice it up.</p>

<iframe style="width: 100%; height: 350px; box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.4);" src="http://jsfiddle.net/fleeting/a4hbL/embedded/result,js,css,html/" allowfullscreen="allowfullscreen" frameborder="0"></iframe>
<p data-height="517" data-theme-id="4088" data-slug-hash="xklfq" data-default-tab="result" class='codepen'>See the Pen <a href='http://codepen.io/fleeting/pen/xklfq'>simpleWeather.demo.js</a> by James Fleeting (<a href='http://codepen.io/fleeting'>@fleeting</a>) on <a href='http://codepen.io'>CodePen</a>.</p>
<script async src="http://codepen.io/assets/embed/ei.js"></script>
</div>
</div>
<hr>
</div>

<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.0.2/jquery.min.js"></script>
<script src="http:////cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/2.2.1/bootstrap.min.js"></script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/2.2.1/bootstrap.min.js"></script>
</body>
</html>
13 changes: 0 additions & 13 deletions jquery.simpleWeather-2.4.min.js

This file was deleted.

13 changes: 13 additions & 0 deletions jquery.simpleWeather-2.5.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit bbc84b9

Please sign in to comment.