Skip to content

Commit

Permalink
Packaging related fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
boenrobot committed Aug 15, 2013
1 parent 27efd23 commit 03b061d
Show file tree
Hide file tree
Showing 11 changed files with 335 additions and 507 deletions.
3 changes: 2 additions & 1 deletion RELEASE-1.0.0b4
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
Brand new way of manipulating data, and listen...
Brand new way of manipulating data, encryption, and listen...

* A new Util class that abstracts away tons of fancy features, including:
- CRUD operations
- Support of targeting and finding entries by numbers, just like from terminal
- Executing scripts (with the ability to pass typed parameters ala SQL prepared statements)
- Putting and getting files out of RouterOS
- Helper methods for converting back and forth between PHP and RouterOS values.
* 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").
* 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.
* 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.
* When receiving, the release lock is released when ANY exception is thrown. Previously, this would be so only in case of SocketException.
Expand Down
37 changes: 8 additions & 29 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,13 @@
},
"require": {
"php": ">=5.3.0",
"pear2/net_transmitter": "@dev",
"pear2/cache_shm": "@dev"
"pear2/net_transmitter": ">=1.0.0a4"
},
"suggest": {
"pear2/cache_shm": ">=0.1.2",
"ext-apc": ">=3.0.13",
"ext-wincache": ">=1.1.0",
"ext-openssl": "*"
},
"autoload": {
"psr-0": {
Expand All @@ -27,31 +32,5 @@
"PEAR2\\Cache\\SHM": "vendor/pear2/cache_shm/src/"
}
},
"minimum-stability": "dev",
"repositories": [
{
"type": "package",
"package": {
"name": "pear2/net_transmitter",
"version": "@dev",
"source": {
"type": "git",
"url": "https://github.com/pear2/Net_Transmitter.git",
"reference": "master"
}
}
},
{
"type": "package",
"package": {
"name": "pear2/cache_shm",
"version": "@dev",
"source": {
"type": "git",
"url": "https://github.com/pear2/Cache_SHM.git",
"reference": "master"
}
}
}
]
"minimum-stability": "dev"
}
2 changes: 1 addition & 1 deletion docs/phpdoc.dist.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<title>PEAR2_Net_RouterOS documentation</title>
<parser>
<default-package-name>PEAR2_Net_RouterOS</default-package-name>
<target>PEAR2_Net_RouterOS__PhpDocumentor_Documentation</target>
<target>PEAR2_Net_RouterOS__PhpDocumentor_Cache</target>
<extensions>
<extension>php</extension>
</extensions>
Expand Down
78 changes: 0 additions & 78 deletions docs/tutorials/PEAR2_Net_RouterOS/Client.cls

This file was deleted.

138 changes: 0 additions & 138 deletions docs/tutorials/PEAR2_Net_RouterOS/PEAR2_Net_RouterOS.pkg

This file was deleted.

Loading

0 comments on commit 03b061d

Please sign in to comment.