Skip to content

Commit

Permalink
Merge pull request #99 from SubhadeepJasu/_2_0_5
Browse files Browse the repository at this point in the history
Bump version to 2.0.5
  • Loading branch information
SubhadeepJasu authored Mar 6, 2022
2 parents 0ddc5cb + a4794be commit 44b6677
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 6 deletions.
9 changes: 9 additions & 0 deletions data/com.github.subhadeepjasu.pebbles.appdata.xml.in
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,15 @@
<content_attribute id="money-gambling">none</content_attribute>
</content_rating>
<releases>
<release date="2022-03-06" version="2.0.5">
<description>
<p>Improved:</p>
<ul>
<li>[Converter] Upgrade to v7 of free currency converter API</li>
<li>[Converter] Added Argentina Peso currency</li>
</ul>
</description>
</release>
<release date="2021-12-23" version="2.0.4">
<description>
<p>Translations:</p>
Expand Down
3 changes: 1 addition & 2 deletions hot_reload.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
meson _build --prefix=/usr
cd _build/
sudo ninja install
sudo ninja -C _build install
com.github.subhadeepjasu.pebbles
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
project (
'com.github.subhadeepjasu.pebbles',
'vala', 'c',
version: '2.0.4',
version: '2.0.5',
)

# GNOME module
Expand Down
6 changes: 3 additions & 3 deletions src/Core/CurrencyConverter.vala
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* Authored by: Subhadeep Jasu <[email protected]>
Expand Down Expand Up @@ -45,7 +45,7 @@ namespace Pebbles {
};

private int currencyCount = 12;
public double[] muliplier_info;
public double[] muliplier_info;

public signal void currency_updated (double[] currency_multipliers);
public signal void update_failed ();
Expand Down Expand Up @@ -94,7 +94,7 @@ namespace Pebbles {
public bool request_multiplier (string coin_iso_a, string coin_iso_b, int index) {
var settings = Settings.get_default ();
var api_key = settings.forex_api_key;
var uri = """https://free.currencyconverterapi.com/api/v6/convert?q=%s_%s&compact=y&apiKey=%s""".printf(coin_iso_a, coin_iso_b, api_key);
var uri = """https://free.currconv.com/api/v7/convert?q=%s_%s&compact=y&apiKey=%s""".printf(coin_iso_a, coin_iso_b, api_key);
var session = new Soup.Session ();
var message = new Soup.Message ("GET", uri);
double avg = 0.0;
Expand Down

0 comments on commit 44b6677

Please sign in to comment.