Skip to content

Commit 44b6677

Browse files
Merge pull request #99 from SubhadeepJasu/_2_0_5
Bump version to 2.0.5
2 parents 0ddc5cb + a4794be commit 44b6677

File tree

4 files changed

+14
-6
lines changed

4 files changed

+14
-6
lines changed

data/com.github.subhadeepjasu.pebbles.appdata.xml.in

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,15 @@
9393
<content_attribute id="money-gambling">none</content_attribute>
9494
</content_rating>
9595
<releases>
96+
<release date="2022-03-06" version="2.0.5">
97+
<description>
98+
<p>Improved:</p>
99+
<ul>
100+
<li>[Converter] Upgrade to v7 of free currency converter API</li>
101+
<li>[Converter] Added Argentina Peso currency</li>
102+
</ul>
103+
</description>
104+
</release>
96105
<release date="2021-12-23" version="2.0.4">
97106
<description>
98107
<p>Translations:</p>

hot_reload.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
meson _build --prefix=/usr
2-
cd _build/
3-
sudo ninja install
2+
sudo ninja -C _build install
43
com.github.subhadeepjasu.pebbles

meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
project (
33
'com.github.subhadeepjasu.pebbles',
44
'vala', 'c',
5-
version: '2.0.4',
5+
version: '2.0.5',
66
)
77

88
# GNOME module

src/Core/CurrencyConverter.vala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
1313
* General Public License for more details.
1414
*
15-
* You should have received a copy of the GNU General Public License
15+
* You should have received a copy of the GNU General Public License
1616
* along with this program. If not, see <https://www.gnu.org/licenses/>.
1717
*
1818
* Authored by: Subhadeep Jasu <[email protected]>
@@ -45,7 +45,7 @@ namespace Pebbles {
4545
};
4646

4747
private int currencyCount = 12;
48-
public double[] muliplier_info;
48+
public double[] muliplier_info;
4949

5050
public signal void currency_updated (double[] currency_multipliers);
5151
public signal void update_failed ();
@@ -94,7 +94,7 @@ namespace Pebbles {
9494
public bool request_multiplier (string coin_iso_a, string coin_iso_b, int index) {
9595
var settings = Settings.get_default ();
9696
var api_key = settings.forex_api_key;
97-
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);
97+
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);
9898
var session = new Soup.Session ();
9999
var message = new Soup.Message ("GET", uri);
100100
double avg = 0.0;

0 commit comments

Comments
 (0)