Skip to content

Commit 03b061d

Browse files
committed
Packaging related fixes.
1 parent 27efd23 commit 03b061d

11 files changed

+335
-507
lines changed

RELEASE-1.0.0b4

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
Brand new way of manipulating data, and listen...
1+
Brand new way of manipulating data, encryption, and listen...
22

33
* A new Util class that abstracts away tons of fancy features, including:
44
- CRUD operations
55
- Support of targeting and finding entries by numbers, just like from terminal
66
- Executing scripts (with the ability to pass typed parameters ala SQL prepared statements)
77
- Putting and getting files out of RouterOS
88
- Helper methods for converting back and forth between PHP and RouterOS values.
9+
* Support for encrypted connections, both with and without a certificate. Note that due to known issues with PHP itself, encrypted connections may be unstable (as in "sometimes disconnect suddenly" or "sometimes hang when you use Client::sendSync() and/or Client::completeRequest() and/or Client::loop() without a timeout").
910
* Client::loop() and Client::completeRequest() no longer fail if there's no reply within "default_socket_timeout" seconds. This means you can now use the "listen" command without also setting up something else to keep the connection busy.
1011
* Client::loop() now accepts timeouts modeled after stream_select()'s, as opposed to a single float value. As before, the default is "no time limit", but is now specified with NULL instead of 0. Analogous arguments have been added to Response's constructor.
1112
* When receiving, the release lock is released when ANY exception is thrown. Previously, this would be so only in case of SocketException.

composer.json

Lines changed: 8 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,13 @@
1717
},
1818
"require": {
1919
"php": ">=5.3.0",
20-
"pear2/net_transmitter": "@dev",
21-
"pear2/cache_shm": "@dev"
20+
"pear2/net_transmitter": ">=1.0.0a4"
21+
},
22+
"suggest": {
23+
"pear2/cache_shm": ">=0.1.2",
24+
"ext-apc": ">=3.0.13",
25+
"ext-wincache": ">=1.1.0",
26+
"ext-openssl": "*"
2227
},
2328
"autoload": {
2429
"psr-0": {
@@ -27,31 +32,5 @@
2732
"PEAR2\\Cache\\SHM": "vendor/pear2/cache_shm/src/"
2833
}
2934
},
30-
"minimum-stability": "dev",
31-
"repositories": [
32-
{
33-
"type": "package",
34-
"package": {
35-
"name": "pear2/net_transmitter",
36-
"version": "@dev",
37-
"source": {
38-
"type": "git",
39-
"url": "https://github.com/pear2/Net_Transmitter.git",
40-
"reference": "master"
41-
}
42-
}
43-
},
44-
{
45-
"type": "package",
46-
"package": {
47-
"name": "pear2/cache_shm",
48-
"version": "@dev",
49-
"source": {
50-
"type": "git",
51-
"url": "https://github.com/pear2/Cache_SHM.git",
52-
"reference": "master"
53-
}
54-
}
55-
}
56-
]
35+
"minimum-stability": "dev"
5736
}

docs/phpdoc.dist.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<title>PEAR2_Net_RouterOS documentation</title>
44
<parser>
55
<default-package-name>PEAR2_Net_RouterOS</default-package-name>
6-
<target>PEAR2_Net_RouterOS__PhpDocumentor_Documentation</target>
6+
<target>PEAR2_Net_RouterOS__PhpDocumentor_Cache</target>
77
<extensions>
88
<extension>php</extension>
99
</extensions>

docs/tutorials/PEAR2_Net_RouterOS/Client.cls

Lines changed: 0 additions & 78 deletions
This file was deleted.

docs/tutorials/PEAR2_Net_RouterOS/PEAR2_Net_RouterOS.pkg

Lines changed: 0 additions & 138 deletions
This file was deleted.

0 commit comments

Comments
 (0)