Skip to content

Commit 1613bb1

Browse files
committed
4: Implement Money and Currency SPI for Bitcoin
Task-Url: http://github.com/JavaMoney/javamoney-shelter/issues/issue/4
1 parent 01c1617 commit 1613bb1

File tree

5 files changed

+20
-21
lines changed

5 files changed

+20
-21
lines changed

README.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,10 @@
11
Welcome to the JavaMoney Shelter
22
================================
33

4-
[![Build Status](https://api.travis-ci.org/JavaMoney/javamoney-shelter.png?branch=master)](https://travis-ci.org/JavaMoney/javamoney-shelter) [![License](http://img.shields.io/badge/license-Apache2-red.svg)](http://opensource.org/licenses/apache-2.0)
5-
[![Join the chat at https://gitter.im/JavaMoney/javamoney-shelter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/JavaMoney/javamoney-shelter?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
6-
7-
[![Built with Maven](http://maven.apache.org/images/logos/maven-feather.png)](http://maven.org/)
8-
94
JavaMoney-shelter is a sandbox or "sanctuary" for new ideas and modules to be adopted, e.g. via Adopt-a-JSR or similar programs.
105
The shelter also acts as incubator module for testing out new features or modules before they may enter the official javamoney library.
116
This allows to gain experience and make components error prone and performant and enables a discussion of new features with a broader community.
127

13-
Waffle.io [![Stories in Ready](https://badge.waffle.io/JavaMoney/javamoney-shelter.png?label=ready&title=Ready)](https://waffle.io/JavaMoney/javamoney-shelter)
14-
-----------
15-
16-
[Presentation Bitcoin, Payment Instrument or Object of Speculation? from Werner Keil](http://www.slideshare.net/keilw/bitcoin-payment-instrument-or-object-of-speculation-smwhh-2014)
17-
188
[Gimme Shelter](https://www.youtube.com/watch?v=Jb-JZPmiEOI)
199

2010
```xml
@@ -36,3 +26,12 @@ Authors and Contributors
3626
------------------------
3727
Everyone is welcome to contribute. Werner Keil (@keilw) composed this project for you.
3828

29+
[![Build Status](https://api.travis-ci.org/JavaMoney/javamoney-shelter.png?branch=master)](https://travis-ci.org/JavaMoney/javamoney-shelter) [![License](http://img.shields.io/badge/license-Apache2-red.svg)](http://opensource.org/licenses/apache-2.0)
30+
[![Join the chat at https://gitter.im/JavaMoney/javamoney-shelter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/JavaMoney/javamoney-shelter?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
31+
32+
[![Built with Maven](http://maven.apache.org/images/logos/maven-feather.png)](http://maven.org/)
33+
34+
Waffle.io [![Stories in Ready](https://badge.waffle.io/JavaMoney/javamoney-shelter.png?label=ready&title=Ready)](https://waffle.io/JavaMoney/javamoney-shelter)
35+
-----------
36+
37+
[Presentation Bitcoin, Payment Instrument or Object of Speculation? from Werner Keil](http://www.slideshare.net/keilw/bitcoin-payment-instrument-or-object-of-speculation-smwhh-2014)

digital-currency/bitcoin/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>org.javamoney.shelter</groupId>
66
<artifactId>javamoney-digital-currency</artifactId>
7-
<version>0.4</version>
7+
<version>0.5-SNAPSHOT</version>
88
</parent>
99
<artifactId>javamoney-bitcoin</artifactId>
1010
<name>JavaMoney Bitcoin</name>

digital-currency/bitcoin/src/main/java/org/javamoney/shelter/bitcoin/provider/BitcoinDeRateProvider.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -168,12 +168,6 @@ void loadRate(String curCode) {
168168
loadRate(curCode, false);
169169
}
170170

171-
@Override
172-
public ProviderContext getProviderContext() {
173-
// TODO Auto-generated method stub
174-
return null;
175-
}
176-
177171
@Override
178172
public boolean isAvailable(String baseCode, String termCode) {
179173
// TODO Auto-generated method stub
@@ -224,4 +218,10 @@ public boolean isAvailable(ConversionQuery arg0) {
224218
// TODO Auto-generated method stub
225219
return false;
226220
}
221+
222+
@Override
223+
public ProviderContext getContext() {
224+
// TODO Auto-generated method stub
225+
return null;
226+
}
227227
}

digital-currency/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>org.javamoney.shelter</groupId>
66
<artifactId>javamoney-shelter</artifactId>
7-
<version>0.4</version>
7+
<version>0.5-SNAPSHOT</version>
88
</parent>
99
<artifactId>javamoney-digital-currency</artifactId>
1010
<packaging>pom</packaging>

pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>org.javamoney.shelter</groupId>
55
<artifactId>javamoney-shelter</artifactId>
6-
<version>0.4</version>
6+
<version>0.5-SNAPSHOT</version>
77
<packaging>pom</packaging>
88
<name>JavaMoney Shelter</name>
99
<description>A shelter for new ideas and modules to be adopted, e.g. via Adopt-a-JSR </description>
1010
<parent>
1111
<groupId>org.javamoney</groupId>
1212
<artifactId>javamoney-parent</artifactId>
13-
<version>1.0-RC2</version>
13+
<version>1.0-RC3</version>
1414
</parent>
1515
<url>http://javamoney.github.io/shelter.html</url>
1616
<inceptionYear>2013</inceptionYear>
@@ -21,7 +21,7 @@
2121
<junit.version>4.8.2</junit.version>
2222
<slf4j.version>1.6.1</slf4j.version>
2323
<!-- JSR versions -->
24-
<jsr.version>1.0-RC2</jsr.version>
24+
<jsr.version>1.0-SNAPSHOT</jsr.version>
2525
<!-- javamoney.version>0.6-SNAPSHOT</javamoney.version -->
2626
</properties>
2727

0 commit comments

Comments
 (0)