doxie 0.0.11 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +14 -1
  3. data/lib/doxie/version.rb +1 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b1d12a896170887de484098d01ed3aa71a340b19
4
- data.tar.gz: cb8783fd43705f51653b91101241615cfd733da0
3
+ metadata.gz: 906660de3417d7d30e3a74d18dde7de388b4425d
4
+ data.tar.gz: ee590fbfbefa0d0c685399f3461c5b5b3aecb06d
5
5
  SHA512:
6
- metadata.gz: 261beb1d25db1fde8806789009d9da2f9e7491210d5cdf76155e4d05608599ead332ff0459fb90ed38129ef914e20b42ab166bd0b314207568d6600947843d56
7
- data.tar.gz: 0c58ead8065c7f13fcab942efef7bc8f5b2c66a7528aafeeb43da299f883462e5b3c7aa3e7584f118fcf8376a5730a79ebe882a637f7b8df37a27719a65d7354
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"]
@@ -1,3 +1,3 @@
1
1
  module Doxie
2
- VERSION = '0.0.11'
2
+ VERSION = '1.0.0'
3
3
  end
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.11
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-29 00:00:00.000000000 Z
11
+ date: 2016-05-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake