acception-subscriber 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 77f56d09784b6c9d77a986455b5f18f8a0ae55e7
4
- data.tar.gz: 46026ce3b88d330b1aaf6d89027ba948365f71e3
3
+ metadata.gz: 3bf39717849c7f81215da7b57730edcace4f9a89
4
+ data.tar.gz: e74aa9d4394dc5bb3dda7360527ef8c5518b381c
5
5
  SHA512:
6
- metadata.gz: caa67f69a4f6f13b3dfd5904e2aada8ebb9adfb5c38f0959df561871128c1d7012ea37aa4eb3cb6f2e172293132945ac914537aa1834ecbed0373ef3c61cb034
7
- data.tar.gz: b6d0c9e860e241b3c7c08f275a7460b1547500e5aaea1412087b58ebb130fe2223d7860e8f8650be9c5be676890f58305303f4d335edc75fc12f28ed3489c6b6
6
+ metadata.gz: 809eface5af2e73ed61937fac15f1bd49340a2523d639751beb1be6a87bc04f2d189772dea1c0e2ec94691cdc7ad64a3ace67d9de45daf73807273546b954ed7
7
+ data.tar.gz: 00f7d4cb7e9e19239350022c9bbe2135c340847d4d0ee953a42979d9a7c81923a313523593cec5cf0681d2d01e4976f5cec558ac5fcf57c14f5f44d7f7d7bdb4
data/README.md CHANGED
@@ -19,3 +19,40 @@ Or install it yourself as:
19
19
 
20
20
  ## Usage
21
21
 
22
+ The acception-sub service is init.d compliant with the start, stop and restart commands.
23
+
24
+ ### Start the acception-sub service in daemon mode.
25
+
26
+ $ acception-sub start
27
+
28
+ ### Start the acception-sub service in interactive mode with a DEBUG log level.
29
+
30
+ $ acception-sub start -i -o debug
31
+
32
+ ### Start the acception-sub service in a Rails environment other than production.
33
+
34
+ $ RAILS_ENV=development acception-sub start
35
+
36
+
37
+ ### Configuration File
38
+
39
+ A configuration file that defaults to /etc/ncite/acception-sub.conf can be used to override the
40
+ default configuration. The configuration file is a JSON object literal.
41
+
42
+ {
43
+ "acception_url": "some/url",
44
+ "acception_auth_token": "some-auth-token",
45
+ "host_uri": "amqp://guest:guest@127.0.0.1:5672",
46
+ "queue": "some-queue-name'
47
+ }
48
+
49
+ You can specify a different configuration file to use with -c or --config.
50
+
51
+ $ acception-sub start -c /some/path/to/config
52
+
53
+
54
+ ### Default Files
55
+
56
+ - /etc/ncite/acception-sub.conf
57
+ - /var/log/ncite/acception-sub.log
58
+ - /var/run/ncite/acception-sub.conf
@@ -27,11 +27,11 @@ module Acception
27
27
  end
28
28
 
29
29
  def acception_auth_token
30
- @acception_auth_token || "00-6TKIMQF4NZA"
30
+ @acception_auth_token
31
31
  end
32
32
 
33
33
  def acception_url
34
- @acception_url || "http://localhost:3004"
34
+ @acception_url
35
35
  end
36
36
 
37
37
  def host_uri
@@ -39,8 +39,7 @@ module Acception
39
39
  end
40
40
 
41
41
  def queue
42
- #@queue || "error-repo"
43
- @queue || "error"
42
+ @queue || "error-repo"
44
43
  end
45
44
 
46
45
  end
@@ -1,7 +1,7 @@
1
1
  module Acception
2
2
  module Subscriber
3
3
 
4
- VERSION = "1.0.0"
4
+ VERSION = "1.0.1"
5
5
 
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: acception-subscriber
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - C. Jason Harrelson