bjond-api 0.1.5 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +0 -2
- data/VERSION +1 -1
- data/app/assets/fonts/bjond-api/TitilliumWeb-ExtraLight.eot +0 -0
- data/app/assets/fonts/bjond-api/TitilliumWeb-ExtraLight.svg +136 -0
- data/app/assets/fonts/bjond-api/TitilliumWeb-ExtraLight.ttf +0 -0
- data/app/assets/fonts/bjond-api/TitilliumWeb-Light.eot +0 -0
- data/app/assets/fonts/bjond-api/TitilliumWeb-Light.svg +134 -0
- data/app/assets/fonts/bjond-api/TitilliumWeb-Light.ttf +0 -0
- data/app/assets/fonts/bjond-api/TitilliumWeb-Regular.eot +0 -0
- data/app/assets/fonts/bjond-api/TitilliumWeb-Regular.svg +130 -0
- data/app/assets/fonts/bjond-api/TitilliumWeb-Regular.ttf +0 -0
- data/app/assets/fonts/bjond-api/TitilliumWeb-SemiBold.eot +0 -0
- data/app/assets/fonts/bjond-api/TitilliumWeb-SemiBold.svg +129 -0
- data/app/assets/fonts/bjond-api/TitilliumWeb-SemiBold.ttf +0 -0
- data/app/assets/stylesheets/bjond_registrations.scss +187 -0
- data/app/views/bjond_registrations/_form.html.erb +12 -4
- data/app/views/bjond_registrations/edit.html.erb +6 -4
- data/app/views/bjond_registrations/index.html.erb +30 -25
- data/app/views/bjond_registrations/new.html.erb +31 -19
- data/app/views/bjond_registrations/show.html.erb +2 -1
- data/app/views/shared/_app_info.html.erb +76 -72
- data/bjond-api.gemspec +16 -4
- data/lib/bjond-app/engine.rb +3 -0
- metadata +15 -3
- data/app/assets/stylesheets/bjond_registrations.css +0 -9
@@ -1,28 +1,15 @@
|
|
1
|
-
<div class="
|
2
|
-
<
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
<div class="field-wrapper">
|
7
|
-
<div class="app-label">ID::</div>
|
8
|
-
<div class="info"><%= @app_info.id %></div>
|
1
|
+
<div class="app-info">
|
2
|
+
<div class="app-info-header">
|
3
|
+
<%= image_tag @app_info.iconURL %>
|
4
|
+
<h2 class="app-name"><%= @app_info.name %></h2>
|
9
5
|
</div>
|
10
6
|
|
11
|
-
<div class="field-wrapper">
|
12
|
-
<div class="app-label">Author::</div>
|
13
|
-
<div class="info"><%= @app_info.author %></div>
|
14
|
-
</div>
|
15
7
|
|
16
8
|
<div class="field-wrapper">
|
17
9
|
<div class="app-label">Description:</div>
|
18
10
|
<div class="info"><%= @app_info.description %></div>
|
19
11
|
</div>
|
20
12
|
|
21
|
-
<div class="field-wrapper">
|
22
|
-
<div class="app-label">Icon URL:</div>
|
23
|
-
<div class="info"><%= @app_info.iconURL %></div>
|
24
|
-
</div>
|
25
|
-
|
26
13
|
<div class="field-wrapper">
|
27
14
|
<div class="app-label">Config URL:</div>
|
28
15
|
<div class="info"><%= @app_info.configURL %></div>
|
@@ -33,75 +20,92 @@
|
|
33
20
|
<div class="info"><%= @app_info.rootEndpoint %></div>
|
34
21
|
</div>
|
35
22
|
|
23
|
+
<div class="field-wrapper">
|
24
|
+
<div class="app-label">Author:</div>
|
25
|
+
<div class="info"><%= @app_info.author %></div>
|
26
|
+
</div>
|
27
|
+
|
28
|
+
<div class="field-wrapper">
|
29
|
+
<div class="app-label">ID:</div>
|
30
|
+
<div class="info"><%= @app_info.id %></div>
|
31
|
+
</div>
|
32
|
+
|
33
|
+
|
36
34
|
</br>
|
37
35
|
|
38
36
|
<% if @app_info.integrationEvent.count > 0 %>
|
39
|
-
<
|
40
|
-
|
41
|
-
|
42
|
-
<
|
43
|
-
|
44
|
-
|
45
|
-
<div class="
|
46
|
-
|
47
|
-
|
37
|
+
<h2> Events </h2>
|
38
|
+
<div class="events">
|
39
|
+
<% @app_info.integrationEvent.each do |event| %>
|
40
|
+
<div class="event">
|
41
|
+
<h4><%= event.name %></h4>
|
42
|
+
|
43
|
+
<div class="field-wrapper">
|
44
|
+
<div class="app-label">Description:</div>
|
45
|
+
<div class="info"><%= event.description %></div>
|
46
|
+
</div>
|
48
47
|
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
48
|
+
<div class="field-wrapper">
|
49
|
+
<div class="app-label">jsonKey:</div>
|
50
|
+
<div class="info"><%= event.jsonKey %></div>
|
51
|
+
</div>
|
52
|
+
|
53
|
+
<h3>Fields:</h3>
|
54
|
+
<div class="fields">
|
55
|
+
<% event.fields.each do |field| %>
|
56
|
+
<div class="field">
|
57
|
+
<div class="field-wrapper">
|
58
|
+
<div class="app-label">Field Name:</div>
|
59
|
+
<div class="info"><%= field.name %></div>
|
60
|
+
</div>
|
61
|
+
<div class="field-wrapper">
|
62
|
+
<div class="app-label">ID:</div>
|
63
|
+
<div class="info"><%= field.id %></div>
|
64
|
+
</div>
|
65
|
+
<div class="field-wrapper">
|
66
|
+
<div class="app-label">Json Key:</div>
|
67
|
+
<div class="info"><%= field.jsonKey %></div>
|
68
|
+
</div>
|
69
|
+
</div>
|
70
|
+
<% end %>
|
69
71
|
</div>
|
70
|
-
|
72
|
+
</div>
|
73
|
+
<% end %>
|
74
|
+
</div>
|
71
75
|
|
72
|
-
</div>
|
73
|
-
<% end %>
|
74
76
|
<% else %>
|
75
77
|
No events are currently available for this app.
|
76
78
|
<% end %>
|
77
79
|
|
78
80
|
<% if @app_info.integrationConsequence.count > 0 %>
|
79
|
-
<
|
80
|
-
|
81
|
-
|
82
|
-
<
|
83
|
-
|
84
|
-
|
85
|
-
<div class="
|
86
|
-
|
87
|
-
|
81
|
+
<h2> Consequences </h2>
|
82
|
+
<div class="consequences">
|
83
|
+
<% @app_info.integrationConsequence.each do |consequence| %>
|
84
|
+
<div class="consequence">
|
85
|
+
<h4><%= consequence.name %></h4>
|
86
|
+
|
87
|
+
<div class="field-wrapper">
|
88
|
+
<div class="app-label">ID:</div>
|
89
|
+
<div class="info"><%= consequence.id %></div>
|
90
|
+
</div>
|
88
91
|
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
92
|
+
<div class="field-wrapper">
|
93
|
+
<div class="app-label">Json Key:</div>
|
94
|
+
<div class="info"><%= consequence.jsonKey %></div>
|
95
|
+
</div>
|
96
|
+
<div class="field-wrapper">
|
97
|
+
<div class="app-label">Description:</div>
|
98
|
+
<div class="info"><%= consequence.description %></div>
|
99
|
+
</div>
|
97
100
|
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
101
|
+
<div class="field-wrapper">
|
102
|
+
<div class="app-label">Webhook:</div>
|
103
|
+
<div class="info"><%= consequence.webhook %></div>
|
104
|
+
</div>
|
102
105
|
|
103
|
-
|
104
|
-
|
106
|
+
</div>
|
107
|
+
<% end %>
|
108
|
+
</div>
|
105
109
|
<% else %>
|
106
110
|
<div class="consequence non-available">
|
107
111
|
No consequences are available for this app.
|
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.
|
5
|
+
# stub: bjond-api 0.2.0 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "bjond-api"
|
9
|
-
s.version = "0.
|
9
|
+
s.version = "0.2.0"
|
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-06"
|
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"]
|
@@ -24,13 +24,25 @@ Gem::Specification.new do |s|
|
|
24
24
|
"README.rdoc",
|
25
25
|
"Rakefile",
|
26
26
|
"VERSION",
|
27
|
+
"app/assets/fonts/bjond-api/TitilliumWeb-ExtraLight.eot",
|
28
|
+
"app/assets/fonts/bjond-api/TitilliumWeb-ExtraLight.svg",
|
29
|
+
"app/assets/fonts/bjond-api/TitilliumWeb-ExtraLight.ttf",
|
30
|
+
"app/assets/fonts/bjond-api/TitilliumWeb-Light.eot",
|
31
|
+
"app/assets/fonts/bjond-api/TitilliumWeb-Light.svg",
|
32
|
+
"app/assets/fonts/bjond-api/TitilliumWeb-Light.ttf",
|
33
|
+
"app/assets/fonts/bjond-api/TitilliumWeb-Regular.eot",
|
34
|
+
"app/assets/fonts/bjond-api/TitilliumWeb-Regular.svg",
|
35
|
+
"app/assets/fonts/bjond-api/TitilliumWeb-Regular.ttf",
|
36
|
+
"app/assets/fonts/bjond-api/TitilliumWeb-SemiBold.eot",
|
37
|
+
"app/assets/fonts/bjond-api/TitilliumWeb-SemiBold.svg",
|
38
|
+
"app/assets/fonts/bjond-api/TitilliumWeb-SemiBold.ttf",
|
27
39
|
"app/assets/images/bjond-api/.keep",
|
28
40
|
"app/assets/images/bjond-api/BjondHealth-BackgroundALT_20140724.png",
|
29
41
|
"app/assets/javascripts/bjond-api/.keep",
|
30
42
|
"app/assets/javascripts/bjond_api.js",
|
31
43
|
"app/assets/stylesheets/bjond-api/.keep",
|
32
44
|
"app/assets/stylesheets/bjond_api.less",
|
33
|
-
"app/assets/stylesheets/bjond_registrations.
|
45
|
+
"app/assets/stylesheets/bjond_registrations.scss",
|
34
46
|
"app/assets/stylesheets/scaffold.css",
|
35
47
|
"app/controllers/.keep",
|
36
48
|
"app/controllers/bjond_registrations_controller.rb",
|
data/lib/bjond-app/engine.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.
|
4
|
+
version: 0.2.0
|
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-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -112,13 +112,25 @@ files:
|
|
112
112
|
- README.rdoc
|
113
113
|
- Rakefile
|
114
114
|
- VERSION
|
115
|
+
- app/assets/fonts/bjond-api/TitilliumWeb-ExtraLight.eot
|
116
|
+
- app/assets/fonts/bjond-api/TitilliumWeb-ExtraLight.svg
|
117
|
+
- app/assets/fonts/bjond-api/TitilliumWeb-ExtraLight.ttf
|
118
|
+
- app/assets/fonts/bjond-api/TitilliumWeb-Light.eot
|
119
|
+
- app/assets/fonts/bjond-api/TitilliumWeb-Light.svg
|
120
|
+
- app/assets/fonts/bjond-api/TitilliumWeb-Light.ttf
|
121
|
+
- app/assets/fonts/bjond-api/TitilliumWeb-Regular.eot
|
122
|
+
- app/assets/fonts/bjond-api/TitilliumWeb-Regular.svg
|
123
|
+
- app/assets/fonts/bjond-api/TitilliumWeb-Regular.ttf
|
124
|
+
- app/assets/fonts/bjond-api/TitilliumWeb-SemiBold.eot
|
125
|
+
- app/assets/fonts/bjond-api/TitilliumWeb-SemiBold.svg
|
126
|
+
- app/assets/fonts/bjond-api/TitilliumWeb-SemiBold.ttf
|
115
127
|
- app/assets/images/bjond-api/.keep
|
116
128
|
- app/assets/images/bjond-api/BjondHealth-BackgroundALT_20140724.png
|
117
129
|
- app/assets/javascripts/bjond-api/.keep
|
118
130
|
- app/assets/javascripts/bjond_api.js
|
119
131
|
- app/assets/stylesheets/bjond-api/.keep
|
120
132
|
- app/assets/stylesheets/bjond_api.less
|
121
|
-
- app/assets/stylesheets/bjond_registrations.
|
133
|
+
- app/assets/stylesheets/bjond_registrations.scss
|
122
134
|
- app/assets/stylesheets/scaffold.css
|
123
135
|
- app/controllers/.keep
|
124
136
|
- app/controllers/bjond_registrations_controller.rb
|