bjond-api 0.1.0 → 0.1.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: 2b1b8c62b62da444bbae2b0a5e7045c329ab00e9
4
- data.tar.gz: 400eae6848c9dd1943a0dd9d69b565682021684d
3
+ metadata.gz: 737d4485969105a1913cf0a2aa148aba40d3c51c
4
+ data.tar.gz: c87fe2cee9fa366e9643b76fd41de764dac7ed3c
5
5
  SHA512:
6
- metadata.gz: 221bcf5d4e198a9f47918986c121d9de4480547541e503eb49287da490c059e7f5c7f418db01e1fd8d13aa2f7344e5cd1257d383139e4711c4bd510da7f8c6e8
7
- data.tar.gz: 7f95fbcdd9583273dbc53ff52a12b35a8be2ecbca2df26b04847863af4e83b8f25cadfadbaa582701265ce49d1a74086c65c28077a60514625ab2c40d638fcb7
6
+ metadata.gz: 2615bb84be6da06014de9600f4ad0505617226925c44744fef7dbe50066be7f21eba6ebc9a182b8726f793f850234551090467cb2e6a6087454b9b30e9e9366f
7
+ data.tar.gz: aec5785a7e44505d31838d4705f944c7bb2df3259e3ac026ebeff5c92c7a13d1f58a2638e74c83891792adbe0d355213d907628d946445a4f08b59f9b71a346e
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.1
data/bjond-api.gemspec CHANGED
@@ -2,14 +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.1.1 ruby lib
5
6
 
6
7
  Gem::Specification.new do |s|
7
8
  s.name = "bjond-api"
8
- s.version = "0.1.0"
9
+ s.version = "0.1.1"
9
10
 
10
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
+ s.require_paths = ["lib"]
11
13
  s.authors = ["Blake Rego"]
12
- s.date = "2016-08-01"
14
+ s.date = "2016-08-02"
13
15
  s.description = "Rails engine that provides communication between Bj\u{f6}nd Server Core and a client app."
14
16
  s.email = "blake.rego@bjondinc.com"
15
17
  s.executables = ["rails"]
@@ -69,8 +71,7 @@ Gem::Specification.new do |s|
69
71
  ]
70
72
  s.homepage = "http://github.com/Bjond/bjond-integration-gem"
71
73
  s.licenses = ["GPL"]
72
- s.require_paths = ["lib"]
73
- s.rubygems_version = "2.0.14"
74
+ s.rubygems_version = "2.4.8"
74
75
  s.summary = "Interface that facilitates communication with Bj\u{f6}nd servers."
75
76
 
76
77
  if s.respond_to? :specification_version then
@@ -6,6 +6,12 @@ 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"
11
+ end
12
+
13
+ def get_hostname()
14
+ Rails.application.config.action_controller.default_url_options ? Rails.application.config.action_controller.default_url_options[:host] : nil || `hostname`
9
15
  end
10
16
  end
11
17
  end
metadata CHANGED
@@ -1,101 +1,101 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bjond-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.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-01 00:00:00.000000000 Z
11
+ date: 2016-08-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: 4.2.4
20
- - - ~>
20
+ - - "~>"
21
21
  - !ruby/object:Gem::Version
22
22
  version: '4.2'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
- - - '>='
27
+ - - ">="
28
28
  - !ruby/object:Gem::Version
29
29
  version: 4.2.4
30
- - - ~>
30
+ - - "~>"
31
31
  - !ruby/object:Gem::Version
32
32
  version: '4.2'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: jeweler
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
- - - '>='
37
+ - - ">="
38
38
  - !ruby/object:Gem::Version
39
39
  version: 2.0.1
40
- - - ~>
40
+ - - "~>"
41
41
  - !ruby/object:Gem::Version
42
42
  version: '2.0'
43
43
  type: :development
44
44
  prerelease: false
45
45
  version_requirements: !ruby/object:Gem::Requirement
46
46
  requirements:
47
- - - '>='
47
+ - - ">="
48
48
  - !ruby/object:Gem::Version
49
49
  version: 2.0.1
50
- - - ~>
50
+ - - "~>"
51
51
  - !ruby/object:Gem::Version
52
52
  version: '2.0'
53
53
  - !ruby/object:Gem::Dependency
54
54
  name: faraday
55
55
  requirement: !ruby/object:Gem::Requirement
56
56
  requirements:
57
- - - ~>
57
+ - - "~>"
58
58
  - !ruby/object:Gem::Version
59
59
  version: 0.9.2
60
60
  type: :runtime
61
61
  prerelease: false
62
62
  version_requirements: !ruby/object:Gem::Requirement
63
63
  requirements:
64
- - - ~>
64
+ - - "~>"
65
65
  - !ruby/object:Gem::Version
66
66
  version: 0.9.2
67
67
  - !ruby/object:Gem::Dependency
68
68
  name: syruppay_jose
69
69
  requirement: !ruby/object:Gem::Requirement
70
70
  requirements:
71
- - - ~>
71
+ - - "~>"
72
72
  - !ruby/object:Gem::Version
73
73
  version: '1.0'
74
74
  type: :runtime
75
75
  prerelease: false
76
76
  version_requirements: !ruby/object:Gem::Requirement
77
77
  requirements:
78
- - - ~>
78
+ - - "~>"
79
79
  - !ruby/object:Gem::Version
80
80
  version: '1.0'
81
81
  - !ruby/object:Gem::Dependency
82
82
  name: attr_encrypted
83
83
  requirement: !ruby/object:Gem::Requirement
84
84
  requirements:
85
- - - '>='
85
+ - - ">="
86
86
  - !ruby/object:Gem::Version
87
87
  version: 3.0.3
88
- - - ~>
88
+ - - "~>"
89
89
  - !ruby/object:Gem::Version
90
90
  version: '3.0'
91
91
  type: :runtime
92
92
  prerelease: false
93
93
  version_requirements: !ruby/object:Gem::Requirement
94
94
  requirements:
95
- - - '>='
95
+ - - ">="
96
96
  - !ruby/object:Gem::Version
97
97
  version: 3.0.3
98
- - - ~>
98
+ - - "~>"
99
99
  - !ruby/object:Gem::Version
100
100
  version: '3.0'
101
101
  description: Rails engine that provides communication between Bjönd Server Core and
@@ -166,17 +166,17 @@ require_paths:
166
166
  - lib
167
167
  required_ruby_version: !ruby/object:Gem::Requirement
168
168
  requirements:
169
- - - '>='
169
+ - - ">="
170
170
  - !ruby/object:Gem::Version
171
171
  version: '0'
172
172
  required_rubygems_version: !ruby/object:Gem::Requirement
173
173
  requirements:
174
- - - '>='
174
+ - - ">="
175
175
  - !ruby/object:Gem::Version
176
176
  version: '0'
177
177
  requirements: []
178
178
  rubyforge_project:
179
- rubygems_version: 2.0.14
179
+ rubygems_version: 2.4.8
180
180
  signing_key:
181
181
  specification_version: 4
182
182
  summary: Interface that facilitates communication with Bjönd servers.