doxie 0.0.11 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +14 -1
- data/lib/doxie/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 906660de3417d7d30e3a74d18dde7de388b4425d
|
4
|
+
data.tar.gz: ee590fbfbefa0d0c685399f3461c5b5b3aecb06d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 169c926ac7383ad8c3f09cb662d78eded14c0c78533a9c8faf8565ac2fc032113406972cd6177650fde442adf1d481b3c0672ed7f414a2f427d94ca2794db525
|
7
|
+
data.tar.gz: d64a1da4878d1297749f3207283487985083d6a1e53133147d89e9beca3eec2ccd865f9364017c6db9aab32b22c96898ed86c3ea04bca914cbd641376ad94dae
|
data/README.md
CHANGED
@@ -10,10 +10,23 @@ Either install directly or via bundler.
|
|
10
10
|
|
11
11
|
```rb
|
12
12
|
gem 'doxie'
|
13
|
+
gem 'doxie_scanner' # optional if your Doxie is not on a fixed IP
|
13
14
|
```
|
14
15
|
|
15
16
|
## Usage
|
16
17
|
|
18
|
+
### Finding your Doxie
|
19
|
+
|
20
|
+
This requires the [`doxie_scanner`](https://github.com/cbetta/doxie_scanner) gem. This gem has a bigger dependency than the `doxie` gem which is why it has been split into a seperate library.
|
21
|
+
|
22
|
+
```rb
|
23
|
+
require 'doxie_scanner'
|
24
|
+
DoxieScanner.ips
|
25
|
+
=> [
|
26
|
+
[0] "192.168.1.2"
|
27
|
+
]
|
28
|
+
```
|
29
|
+
|
17
30
|
### Client
|
18
31
|
|
19
32
|
The client accepts an `ip` and `password`. You can omit the `password` if your Doxie has non set.
|
@@ -178,7 +191,7 @@ deleting multiple scans, use `/scans/delete.json` for best performance.
|
|
178
191
|
### POST /scans/delete.json
|
179
192
|
|
180
193
|
Deletes multiple scans in a single operation. This is much faster than deleting
|
181
|
-
each scan individually.
|
194
|
+
each scan individually.
|
182
195
|
|
183
196
|
```rb
|
184
197
|
client.delete_scans ["/DOXIE/JPEG/IMG_0001.JPG", "/DOXIE/JPEG/IMG_0002.JPG"]
|
data/lib/doxie/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: doxie
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cristiano Betta
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-05-
|
11
|
+
date: 2016-05-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|