Skip to content

Commit 440f3d6

Browse files
committed
Merge pull request #17 from andrzejchm/master
Master
2 parents 2715860 + 7292310 commit 440f3d6

File tree

5 files changed

+13
-19
lines changed

5 files changed

+13
-19
lines changed

CHANGELOG.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1-
## 0.0.4 (27 April 2016)
2-
**Features**
1+
## 0.0.5 (5th May 2016)
2+
**Bugfixes**
33

4+
* Removed unnecesary <application> tag from AndroidManifest.xml to no longer cause Manifest merge conflicts with espresso-intents dependency
5+
6+
## 0.0.4 (27th April 2016)
47
* **Request verification**
58
It is possible to verify which requests were called and how many times thanks to `RequestVerifier`.
69

@@ -18,7 +21,7 @@ It is possible to verify which requests were called and how many times thanks to
1821
* renamed method `RESTMockServer.removeAllMatchableCalls()` to `RESTMockServer.reset()` (#5)
1922
* generified `when*` methods in `RESTMockServer` to make it possible to use meta-matchers like `allOf` and `anyOf` (#5).
2023

21-
## 0.0.3 (23 April 2016)
24+
## 0.0.3 (23th April 2016)
2225
* Sample android app
2326
* Added logging capabilities to `RESTMockServer`. `RESTMockTestRunner` has enabled logging by default, if you use a custom TestRunner, use:
2427

@@ -28,5 +31,5 @@ Or you can enable/disable it anytime with `RESTMockServer.enableLogging(RESTMock
2831

2932
* bugfixes
3033

31-
## 0.0.2 (22 April 2016)
34+
## 0.0.2 (22th April 2016)
3235
Initial release

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ RESTMockServer.whenGET(pathContains("users/defunkt"))
2424
- [License](#license)
2525

2626
## Setup
27-
Here are the basic rules to set up RESTMock for various platforms
27+
Here are the basic rules to set up RESTMock for Android
2828

2929
####Step 1: Repository
3030
Add it in your root build.gradle at the end of repositories:
@@ -42,7 +42,7 @@ Add the dependency
4242

4343
```groovy
4444
dependencies {
45-
androidTestCompile 'com.github.andrzejchm.RESTMock:android:0.0.4'
45+
androidTestCompile 'com.github.andrzejchm.RESTMock:android:0.0.5'
4646
}
4747
```
4848

androidsample/build.gradle

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,8 @@ dependencies {
7272
androidTestCompile 'com.android.support.test:runner:0.5'
7373
androidTestCompile 'com.android.support.test:rules:0.5'
7474
androidTestCompile 'com.android.support.test.espresso:espresso-core:2.2.2'
75+
//this dependency tends to break things for most users. Im adding it to check whether the app compiles correctly
76+
androidTestCompile 'com.android.support.test.espresso:espresso-intents:2.2.2'
7577
androidTestCompile('com.android.support.test.espresso:espresso-contrib:2.2.2') {
7678
exclude group: 'com.android.support', module: 'appcompat'
7779
exclude group: 'com.android.support', module: 'support-v4'
@@ -83,9 +85,6 @@ dependencies {
8385

8486
//the most important, RESTMock! :)
8587
androidTestCompile project(':android')
86-
androidTestCompile(project(':core')) {
87-
exclude group: 'org.bouncycastle', module: 'bcprov-jdk15on'
88-
}
8988

9089
testCompile 'junit:junit:4.12'
9190
}

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ allprojects {
3333
repositories {
3434
jcenter()
3535
}
36-
version = "0.0.4"
36+
version = "0.0.5"
3737
}
3838

3939
ext.preDexLibraries = project.hasProperty('preDexLibraries')

circle.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,3 @@
1-
general:
2-
branches:
3-
only:
4-
- master
5-
- develop
6-
- /feature\/.*/
7-
- /bugfix\/.*/
8-
- /release\/.*/
91
## Customize the test machine
102
machine:
113
## Add some environment variables
@@ -21,5 +13,5 @@ dependencies:
2113
## Customize test commands
2214
test:
2315
override:
24-
- case $CIRCLE_NODE_INDEX in 0) ./gradlew check -PpreDexLibraries=false ;; 1) ;; esac:
16+
- case $CIRCLE_NODE_INDEX in 0) ./gradlew check -PpreDexLibraries=false ;; 1) ./gradlew :androidsample:assembleDebug :androidsample:assembleAndroidTest -PpreDexLibraries=false ;; esac:
2517
parallel: true

0 commit comments

Comments
 (0)