bjond-api 0.2.0 → 0.2.1

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: e465d9e3548fb209be33311a79034e3fd3a21e60
4
- data.tar.gz: df37a7324cb6870758a68a61fae073a45a3a1407
3
+ metadata.gz: b22d14df5418dca5898addd775140a677d818ae5
4
+ data.tar.gz: 1372a0817dc3fca02321d05d16faee6f5ca17068
5
5
  SHA512:
6
- metadata.gz: cd1eae095fceb2b0a4d189cc62bc0a7447c0d09b1d043800479b81e719dad9d76d5d367f79ff8c5a7c0aab1ac0c16691ce8566d05d56fa6728cbef4f7ed1c6e6
7
- data.tar.gz: b5f51c0cf07e27f2a468c8de6920504857dbd8d39d270cf7f2ff98aa99797dbb72bf1297c73e0c71948f2bbc8d5c3888ff9e94df8254c695f18965e013463d58
6
+ metadata.gz: 6a6b0768c7adbba6c659a330d9a0fbc8851c4597187185d33854b9084b30cd4bc80828ebae58e21d3264ca9f6ecd25f9e6e7d6392f796b9043696e29efa84981
7
+ data.tar.gz: a51b690e398f925fe7f6ab2bfbca9a96bcc7efbd1219fd37b558258fe96b923e2a951771e867304d2f691f2d0fa572582c878fb345e0f60968227009644ba1ce
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0
1
+ 0.2.1
data/bjond-api.gemspec CHANGED
@@ -2,16 +2,16 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: bjond-api 0.2.0 ruby lib
5
+ # stub: bjond-api 0.2.1 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "bjond-api"
9
- s.version = "0.2.0"
9
+ s.version = "0.2.1"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib"]
13
13
  s.authors = ["Blake Rego"]
14
- s.date = "2016-08-06"
14
+ s.date = "2016-08-07"
15
15
  s.description = "Rails engine that provides communication between Bj\u{f6}nd Server Core and a client app."
16
16
  s.email = "blake.rego@bjondinc.com"
17
17
  s.executables = ["rails"]
@@ -6,14 +6,14 @@ module BjondApi
6
6
 
7
7
  def initialize()
8
8
  self.id = SecureRandom.uuid
9
- self.configURL = "http://#{self.get_hostname}/bjond-app/services"
10
- self.rootEndpoint = "http://#{self.get_hostname}/bjond-app/services"
9
+ self.configURL = "#{self.get_hostname}/bjond-app/services"
10
+ self.rootEndpoint = "#{self.get_hostname}/bjond-app/services"
11
11
  self.integrationEvent = []
12
12
  self.integrationConsequence = []
13
13
  end
14
14
 
15
15
  def get_hostname()
16
- Rails.application.config.action_controller.default_url_options ? Rails.application.config.action_controller.default_url_options[:host] : nil || `hostname`
16
+ Rails.application.config.action_controller.default_url_options ? Rails.application.config.action_controller.default_url_options[:root_url] : nil || `hostname`
17
17
  end
18
18
  end
19
19
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bjond-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Blake Rego
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-08-06 00:00:00.000000000 Z
11
+ date: 2016-08-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails