apiotics 0.1.80 → 0.1.81

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 15843d2318ff5f875f180fdf2001c6be294df554
4
- data.tar.gz: 360cdd86e5082dadea3f8e9f3b296b7faf6a424c
3
+ metadata.gz: a7af0f4c79cc6758bf653bba72cb124483df2f88
4
+ data.tar.gz: 043af9217675633249476b951fe112595fd80bf1
5
5
  SHA512:
6
- metadata.gz: f6609a1b09c4d580aae5abba4a3ce4597ca7fe4f2037629faf4b2e21749155d9e482693bc677508cf2c7f1235c3c9ad6445af7b73b4a129d0e83fe4cf7b431dc
7
- data.tar.gz: 8e1ec9158bbb60cbcbec99f6ac5b4ed283912bd8baf56ac7c011aecc174f287e3330c8d4c942d025562a1f878859d7ecd53ec4e5e2c631628b14ac707d87e9c7
6
+ metadata.gz: 40bc3afedcdd68c3efdf034169cc45fbee4fd54dc7d15ac0ddfce85ed80e74531d3d3d8c79320bb5ddcfa63888a586b0a2c38a3b9d38237fba4968f627975315
7
+ data.tar.gz: 8162f199f5682df49c9d981efb207b7eaa687558dee125e96d3676c5daf43202f74eb4edd791f4ec8349719952153ec381505a9046a8754c403fa4b01aa89f12
@@ -5,7 +5,11 @@ require "socket"
5
5
  module Apiotics
6
6
  class Client
7
7
  def initialize( server = 'localhost', port = Apiotics.configuration.local_port )
8
- @server = server
8
+ if Apiotics.configuration.production_host != nil
9
+ @server = Apiotics.configuration.production_host
10
+ else
11
+ @server = server
12
+ end
9
13
  @port = port
10
14
  end
11
15
 
@@ -1,3 +1,3 @@
1
1
  module Apiotics
2
- VERSION = '0.1.80'
2
+ VERSION = '0.1.81'
3
3
  end
@@ -22,7 +22,11 @@ module <%= module_name %>
22
22
  private
23
23
 
24
24
  def extract
25
- Apiotics::Extract.send(self)
25
+ begin
26
+ Apiotics::Extract.send(self)
27
+ rescue => e
28
+ puts e
29
+ end
26
30
  end
27
31
 
28
32
  def channel_push
@@ -9,4 +9,5 @@ Apiotics.configure do |config|
9
9
  config.handshake = true
10
10
  config.local_logging = false
11
11
  config.reduced_metadata = false
12
+ config.production_host = nil
12
13
  end
@@ -4,4 +4,4 @@
4
4
 
5
5
  require 'daemons'
6
6
 
7
- Daemons.run('lib/scripts/server.rb', ontop: false)
7
+ Daemons.run('lib/scripts/server.rb', ontop: true, no_pidfiles: true)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: apiotics
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.80
4
+ version: 0.1.81
5
5
  platform: ruby
6
6
  authors:
7
7
  - MicroArx Corporation
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-12-04 00:00:00.000000000 Z
11
+ date: 2017-12-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails