bjond-api 0.1.2 → 0.1.3
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/README.rdoc +10 -1
- data/VERSION +1 -1
- data/app/views/shared/_app_info.html.erb +28 -1
- data/bjond-api.gemspec +3 -3
- data/lib/bjond-consequence.rb +1 -1
- 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: cfa48bc91eada1997c7e299f4389bd127d33da6b
|
4
|
+
data.tar.gz: 9bf03ebe91a0fac5128f187f48e96418a342cb24
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5366b860b54804788314865909f22937aab97827ec2d5d767d494f909095db5d9af7f9f1cf686c2e62f640ff0d3c7924e59f2202732eb39f9334f32ab9aa109d
|
7
|
+
data.tar.gz: d80ae1f847944b2b78d1f731235d3fe7c385e76fe8e9e39f842333a36bbff726f0e7fea5ce3af0940b190dab64386174e44aa52ed1d6d6aed15a04d68768be55
|
data/README.rdoc
CHANGED
@@ -69,6 +69,16 @@ Add this to your .bashrc / .zshrc like follows:
|
|
69
69
|
|
70
70
|
Again, BJOND_APP_ENCRYPTION_KEY can be changed. It just needs to match the value set in your config file.
|
71
71
|
|
72
|
+
== Routes
|
73
|
+
|
74
|
+
This gem contains several prepared routes that will aid registration, and communication with Bjond Server core.
|
75
|
+
|
76
|
+
To set your app's default route to the registration page, add this line to your routes.rb file -
|
77
|
+
|
78
|
+
root 'bjond_registrations#index'
|
79
|
+
|
80
|
+
For more information on the default routes, check-out the gem's route page[https://github.com/Bjond/bjond-api/blob/master/config/routes.rb]
|
81
|
+
|
72
82
|
== API Methods
|
73
83
|
|
74
84
|
- register_app
|
@@ -77,7 +87,6 @@ Again, BJOND_APP_ENCRYPTION_KEY can be changed. It just needs to match the value
|
|
77
87
|
- fire_event
|
78
88
|
|
79
89
|
|
80
|
-
|
81
90
|
== Environment Variables
|
82
91
|
|
83
92
|
- BJOND_ADAPTER_AUDIENCE
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.3
|
@@ -61,7 +61,7 @@
|
|
61
61
|
<div class="info"><%= field.id %></div>
|
62
62
|
</div>
|
63
63
|
<div class="field-wrapper">
|
64
|
-
<div class="app-label">
|
64
|
+
<div class="app-label">Json Key:</div>
|
65
65
|
<div class="info"><%= field.jsonKey %></div>
|
66
66
|
</div>
|
67
67
|
</div>
|
@@ -70,4 +70,31 @@
|
|
70
70
|
</div>
|
71
71
|
<% end %>
|
72
72
|
|
73
|
+
<h3> Consequences </h3>
|
74
|
+
<% @app_info.integrationConsequence.each do |consequence| %>
|
75
|
+
<div class="consequence">
|
76
|
+
<h4><%= consequence.name %></h4>
|
77
|
+
|
78
|
+
<div class="field-wrapper">
|
79
|
+
<div class="app-label">ID:</div>
|
80
|
+
<div class="info"><%= consequence.id %></div>
|
81
|
+
</div>
|
82
|
+
|
83
|
+
<div class="field-wrapper">
|
84
|
+
<div class="app-label">Json Key:</div>
|
85
|
+
<div class="info"><%= consequence.jsonKey %></div>
|
86
|
+
</div>
|
87
|
+
<div class="field-wrapper">
|
88
|
+
<div class="app-label">Description:</div>
|
89
|
+
<div class="info"><%= consequence.description %></div>
|
90
|
+
</div>
|
91
|
+
|
92
|
+
<div class="field-wrapper">
|
93
|
+
<div class="app-label">Webhook:</div>
|
94
|
+
<div class="info"><%= consequence.webhook %></div>
|
95
|
+
</div>
|
96
|
+
|
97
|
+
</div>
|
98
|
+
<% end %>
|
99
|
+
|
73
100
|
</div>
|
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.1.
|
5
|
+
# stub: bjond-api 0.1.3 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "bjond-api"
|
9
|
-
s.version = "0.1.
|
9
|
+
s.version = "0.1.3"
|
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-03"
|
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-consequence.rb
CHANGED
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.1.
|
4
|
+
version: 0.1.3
|
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-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|