Skip to content
This repository was archived by the owner on Sep 13, 2020. It is now read-only.

Commit 3f5a1eb

Browse files
author
Damian Kowalewski
committed
Merge pull request #47 from mtl2034/master
Release 1.0.1
2 parents b0aa7d3 + 6b4dca8 commit 3f5a1eb

File tree

7 files changed

+11
-8
lines changed

7 files changed

+11
-8
lines changed

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
AC_INIT(parse-embedded, 1.0.1-rc3, damiank@fb.com)
1+
AC_INIT(parse-embedded, 1.0.1, damiank@fb.com)
22
AC_CONFIG_AUX_DIR(config)
33
AC_CONFIG_SRCDIR(common/simplejson.c)
44
AC_CONFIG_SRCDIR(unix/src/parse.c)

openwrt/parse-embedded/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
include $(TOPDIR)/rules.mk
1111

1212
PKG_NAME:=parse-embedded
13-
PKG_VERSION:=1.0.1-rc3
13+
PKG_VERSION:=1.0.1
1414
PKG_RELEASE:=1
1515

1616
PKG_SOURCE:=$(PKG_NAME)-sdks-$(PKG_VERSION).tar.gz

yun/libraries/Parse/examples/setup/Setup.ino

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#include <Bridge.h>
22

3-
String revision = "1.0.1-rc3-1_ar71xx";
3+
String revision = "1.0.1-1_ar71xx";
44
String location = "https://raw.githubusercontent.com/ParsePlatform/parse-embedded-sdks/master/yun/linux_package/";
55

66
void downloadPackage(String file) {
@@ -12,6 +12,7 @@ void downloadPackage(String file) {
1212
p.addParameter("-#");
1313
p.addParameter("-s");
1414
p.addParameter("-S");
15+
p.addParameter("-k");
1516
p.addParameter("-o");
1617
p.addParameter("/tmp/" + file + revision + ".ipk");
1718
p.addParameter(location + file + revision + ".ipk");
@@ -26,6 +27,8 @@ void installPackage(String file) {
2627
Process p;
2728
p.begin("opkg");
2829
p.addParameter("install");
30+
p.addParameter("--force-reinstall");
31+
p.addParameter("--force-downgrade");
2932
p.addParameter("/tmp/" + file + revision + ".ipk");
3033
p.run();
3134
while(p.available()) {

yun/libraries/Parse/src/internal/ParseResponse.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ void ParseResponse::freeBuffer() {
159159
}
160160

161161
void ParseResponse::close() {
162-
if (client) {
162+
if (client && client != &Parse.pushClient) {
163163
client->close();
164164
}
165165
freeBuffer();
10.2 KB
Binary file not shown.
12.7 KB
Binary file not shown.

yun/uploadLinuxPackage.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,28 +4,28 @@ YUN_PWD=arduino #YUN's PASSWORD, default is arduino
44

55
# scp parse_push and parse_request to Yun
66
expect -c "
7-
spawn scp linux_package/parse-embedded_1.0.1-rc3-1_ar71xx.ipk root@$YUN_IP_ADDRESS:/root/
7+
spawn scp linux_package/parse-embedded_1.0.1-1_ar71xx.ipk root@$YUN_IP_ADDRESS:/root/
88
expect *password:
99
send $YUN_PWD\n
1010
interact
1111
"
1212

1313
expect -c "
14-
spawn scp linux_package/parse-embedded-yun_1.0.1-rc3-1_ar71xx.ipk root@$YUN_IP_ADDRESS:/root/
14+
spawn scp linux_package/parse-embedded-yun_1.0.1-1_ar71xx.ipk root@$YUN_IP_ADDRESS:/root/
1515
expect *password:
1616
send $YUN_PWD\n
1717
interact
1818
"
1919

2020
expect -c "
21-
spawn ssh root@$YUN_IP_ADDRESS ''/bin/opkg install /root/parse-embedded_1.0.1-rc3-1_ar71xx.ipk''
21+
spawn ssh root@$YUN_IP_ADDRESS ''/bin/opkg install /root/parse-embedded_1.0.1-1_ar71xx.ipk''
2222
expect *password:
2323
send $YUN_PWD\n
2424
interact
2525
"
2626

2727
expect -c "
28-
spawn ssh root@$YUN_IP_ADDRESS ''/bin/opkg install /root/parse-embedded-yun_1.0.1-rc3-1_ar71xx.ipk''
28+
spawn ssh root@$YUN_IP_ADDRESS ''/bin/opkg install /root/parse-embedded-yun_1.0.1-1_ar71xx.ipk''
2929
expect *password:
3030
send $YUN_PWD\n
3131
interact

0 commit comments

Comments
 (0)