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 +4 -4
- data/VERSION +1 -1
- data/bjond-api.gemspec +3 -3
- data/lib/bjond-app-definition.rb +3 -3
- 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: b22d14df5418dca5898addd775140a677d818ae5
|
4
|
+
data.tar.gz: 1372a0817dc3fca02321d05d16faee6f5ca17068
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6a6b0768c7adbba6c659a330d9a0fbc8851c4597187185d33854b9084b30cd4bc80828ebae58e21d3264ca9f6ecd25f9e6e7d6392f796b9043696e29efa84981
|
7
|
+
data.tar.gz: a51b690e398f925fe7f6ab2bfbca9a96bcc7efbd1219fd37b558258fe96b923e2a951771e867304d2f691f2d0fa572582c878fb345e0f60968227009644ba1ce
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
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.
|
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.
|
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-
|
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"]
|
data/lib/bjond-app-definition.rb
CHANGED
@@ -6,14 +6,14 @@ module BjondApi
|
|
6
6
|
|
7
7
|
def initialize()
|
8
8
|
self.id = SecureRandom.uuid
|
9
|
-
self.configURL = "
|
10
|
-
self.rootEndpoint = "
|
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[:
|
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.
|
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-
|
11
|
+
date: 2016-08-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|