Skip to content
This repository was archived by the owner on Mar 25, 2025. It is now read-only.

Commit 7a0a787

Browse files
committed
Merge pull request #55 from bartonhammond/develop
Upgrade to RN 0.18.1
2 parents caaf4c7 + 19d786f commit 7a0a787

File tree

9 files changed

+46
-32
lines changed

9 files changed

+46
-32
lines changed

bitrise/bitrise-android.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,19 @@ workflows:
2121
curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash -
2222
apt-get install -y nodejs
2323
24-
title: npm install
24+
title: npm install -g npm3
2525
inputs:
2626
- content: |-
2727
#!/bin/bash
2828
29-
npm install
29+
npm install -g npm3
30+
31+
title: npm3 install
32+
inputs:
33+
- content: |-
34+
#!/bin/bash
35+
36+
npm3 install
3037
3138
title: npm test
3239
inputs:

bitrise/bitrise-ios.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,19 @@ workflows:
2222
- ssh_key_save_path: "$HOME/.ssh/steplib_ssh_step_id_rsa"
2323
2424
25-
title: npm install
25+
title: npm install -g npm3
2626
inputs:
2727
- content: |-
2828
#!/bin/bash
2929
30-
npm install
30+
npm install -g npm3
31+
32+
title: npm3 install
33+
inputs:
34+
- content: |-
35+
#!/bin/bash
36+
37+
npm3 install
3138
3239
title: npm test
3340
inputs:

package.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "snowflake",
3-
"version": "0.0.9b",
3+
"version": "0.0.10",
44
"private": true,
55
"jest": {
66
"scriptPreprocessor": "jestSupport/scriptPreprocess.js",
@@ -43,29 +43,29 @@
4343
},
4444
"dependencies": {
4545
"apsl-react-native-button": "git+https://[email protected]/bartonhammond/react-native-button.git",
46-
"immutable": "^3.7.5",
46+
"immutable": "^3.7.6",
4747
"key-mirror": "^1.0.1",
48-
"react-native": "^0.17.0",
48+
"react-native": "^0.18.1",
4949
"react-native-gifted-spinner": "0.0.3",
5050
"react-native-simple-store": "^0.1.0",
5151
"react-native-simpledialog-android": "^1.0.2",
52-
"react-native-tab-navigator": "^0.2.11",
53-
"react-native-vector-icons": "^1.0.4",
54-
"react-redux": "^3.1.0",
55-
"redux": "^3.0.4",
56-
"redux-thunk": "^1.0.0",
52+
"react-native-tab-navigator": "^0.2.15",
53+
"react-native-vector-icons": "^1.1.0",
54+
"react-redux": "^4.1.1",
55+
"redux": "^3.1.2",
56+
"redux-thunk": "^1.0.3",
5757
"regenerator": "^0.8.42",
58-
"tcomb-form-native": "^0.3.0",
58+
"tcomb-form-native": "^0.3.3",
5959
"underscore": "^1.8.3",
6060
"validate.js": "^0.9.0"
6161
},
6262
"devDependencies": {
6363
"babel-core": "^6.4.5",
6464
"babel-jest": "^6.0.1",
6565
"docker": "^0.2.14",
66-
"istanbul": "gotwarlost/istanbul#source-map",
66+
"istanbul": "^0.4.2",
6767
"jest-cli": "^0.8.2",
68-
"react": "^0.14.3",
69-
"react-addons-test-utils": "^0.14.3"
68+
"react": "^0.14.7",
69+
"react-addons-test-utils": "^0.14.7"
7070
}
7171
}

src/containers/App.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* Imports from redux
1414
*/
1515
import { bindActionCreators } from 'redux';
16-
import { connect } from 'react-redux/native';
16+
import { connect } from 'react-redux';
1717

1818
/**
1919
* Immutable Map

src/containers/Login.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* Redux
1212
*/
1313
import { bindActionCreators } from 'redux';
14-
import { connect } from 'react-redux/native';
14+
import { connect } from 'react-redux';
1515

1616
/**
1717
* The actions we need

src/containers/Profile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* Redux
1414
*/
1515
import { bindActionCreators } from 'redux';
16-
import { connect } from 'react-redux/native';
16+
import { connect } from 'react-redux';
1717

1818
/**
1919
* The actions we need

src/reducers/auth/__tests__/authActions-test.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -180,10 +180,10 @@ describe('authActions', () => {
180180
* the following tests describe the actions that should be
181181
* dispatched the function is invoked
182182
*
183-
* *Note*: these tests are run with ```pit``` because they are async
183+
* *Note*: these tests are run with ```it``` because they are async
184184
*
185185
*/
186-
pit('should logout', () => {
186+
it('should logout', () => {
187187
const expectedActions = [
188188
{type: LOGOUT_REQUEST},
189189
{type: LOGIN_STATE_REGISTER},
@@ -196,7 +196,7 @@ describe('authActions', () => {
196196
return store.dispatch(actions.logout());
197197
});
198198

199-
pit('should login', () => {
199+
it('should login', () => {
200200
const expectedActions = [
201201
{type: LOGIN_REQUEST},
202202
{type: LOGIN_STATE_LOGOUT},
@@ -207,7 +207,7 @@ describe('authActions', () => {
207207
return store.dispatch(actions.login('foo','bar'));
208208
});
209209

210-
pit('should getSessionToken', () => {
210+
it('should getSessionToken', () => {
211211
const expectedActions = [
212212
{type: SESSION_TOKEN_REQUEST},
213213
{type: LOGIN_STATE_LOGOUT},
@@ -218,7 +218,7 @@ describe('authActions', () => {
218218
return store.dispatch(actions.getSessionToken());
219219
});
220220

221-
pit('should signup', () => {
221+
it('should signup', () => {
222222
const expectedActions = [
223223
{type: SIGNUP_REQUEST},
224224
{type: LOGIN_STATE_LOGOUT},
@@ -229,7 +229,7 @@ describe('authActions', () => {
229229
return store.dispatch(actions.signup('user','email','password'));
230230
});
231231

232-
pit('should resetPassword', () => {
232+
it('should resetPassword', () => {
233233
const expectedActions = [
234234
{type: RESET_PASSWORD_REQUEST},
235235
{type: LOGIN_STATE_LOGIN},
@@ -240,7 +240,7 @@ describe('authActions', () => {
240240
return store.dispatch(actions.resetPassword('email'));
241241
});
242242

243-
pit('should deleteSessionToken', () => {
243+
it('should deleteSessionToken', () => {
244244
const expectedActions = [
245245
{type: SESSION_TOKEN_REQUEST},
246246
{type: SESSION_TOKEN_SUCCESS}

src/reducers/profile/__tests__/profileActions-test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ describe('profileActions', () => {
100100
* *Note*: these tests are run with ```pit``` because they are async
101101
*
102102
*/
103-
pit('should getProfile', () => {
103+
it('should getProfile', () => {
104104
const expectedActions = [
105105
{type: GET_PROFILE_REQUEST},
106106
{type: GET_PROFILE_SUCCESS}
@@ -110,7 +110,7 @@ describe('profileActions', () => {
110110
return store.dispatch(actions.getProfile());
111111
});
112112

113-
pit('should updateProfile', () => {
113+
it('should updateProfile', () => {
114114
const expectedActions = [
115115
{type: PROFILE_UPDATE_REQUEST},
116116
{type: PROFILE_UPDATE_SUCCESS},

src/snowflake.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* ```thunk``` and the initial state.
1313
*/
1414
import React, { AppRegistry } from 'react-native';
15-
import { Provider } from 'react-redux/native';
15+
import { Provider } from 'react-redux';
1616
import App from './containers/App';
1717
import configureStore from './lib/configureStore';
1818

@@ -38,7 +38,7 @@ import profileInitialState from './reducers/profile/profileInitialState';
3838
/**
3939
* The version of the app but not displayed yet
4040
*/
41-
var VERSION='0.0.9';
41+
var VERSION='0.0.10';
4242

4343
/**
4444
*
@@ -76,8 +76,8 @@ export default function native(platform) {
7676
* have a ```store```
7777
*/
7878
return (
79-
<Provider store={store}>
80-
{() => <App store={store}/>}
79+
<Provider store={store}>
80+
<App/>
8181
</Provider>
8282
);
8383

0 commit comments

Comments
 (0)