bjond-api 0.0.2 → 0.0.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/Rakefile +1 -1
- data/VERSION +1 -1
- data/app/views/shared/_app_info.html.erb +45 -6
- data/bjond-api.gemspec +3 -3
- data/lib/bjond-app/engine.rb +7 -0
- 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: bffcbeab23353a52c6336654268e1ac3c64d7097
|
4
|
+
data.tar.gz: a8a7438a62255021aac89f3f16cd9d7fdc409b11
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fbafb7d767748b538e8a91c4affa8f3c82d67543820714d179c25150eb795a9cc631e85f58f401c1593543320512a19297ce598dbe90ee930e102242c55dbd11
|
7
|
+
data.tar.gz: 7bdd95d594fb0d08a38fbaa79c9809e22693a6489567f0b46e578c4eb970e2f6f581826336920fb13b9404cb04cb761c63ae070b881574dc39441c722ced082c
|
data/Rakefile
CHANGED
@@ -11,7 +11,7 @@ begin
|
|
11
11
|
gem.add_dependency 'faraday', '~> 0.9.2'
|
12
12
|
gem.add_dependency 'syruppay_jose', '~> 1.0'
|
13
13
|
gem.add_dependency 'attr_encrypted', '~> 3.0', '>= 3.0.3'
|
14
|
-
gem.licenses = ['
|
14
|
+
gem.licenses = ['GPL']
|
15
15
|
end
|
16
16
|
Jeweler::GemcutterTasks.new
|
17
17
|
rescue LoadError
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.3
|
@@ -1,34 +1,73 @@
|
|
1
1
|
<div class="integration-app">
|
2
2
|
<h2>App Info</h2>
|
3
3
|
|
4
|
+
<h3><%= @app_info.name %></h3>
|
5
|
+
|
4
6
|
<div class="field-wrapper">
|
5
|
-
<div class="app-label">ID
|
7
|
+
<div class="app-label">ID::</div>
|
6
8
|
<div class="info"><%= @app_info.id %></div>
|
7
9
|
</div>
|
8
10
|
|
9
11
|
<div class="field-wrapper">
|
10
|
-
<div class="app-label">Author
|
12
|
+
<div class="app-label">Author::</div>
|
11
13
|
<div class="info"><%= @app_info.author %></div>
|
12
14
|
</div>
|
13
15
|
|
14
16
|
<div class="field-wrapper">
|
15
|
-
<div class="app-label">Description
|
17
|
+
<div class="app-label">Description:</div>
|
16
18
|
<div class="info"><%= @app_info.description %></div>
|
17
19
|
</div>
|
18
20
|
|
19
21
|
<div class="field-wrapper">
|
20
|
-
<div class="app-label">Icon URL
|
22
|
+
<div class="app-label">Icon URL:</div>
|
21
23
|
<div class="info"><%= @app_info.iconURL %></div>
|
22
24
|
</div>
|
23
25
|
|
24
26
|
<div class="field-wrapper">
|
25
|
-
<div class="app-label">Config URL
|
27
|
+
<div class="app-label">Config URL:</div>
|
26
28
|
<div class="info"><%= @app_info.configURL %></div>
|
27
29
|
</div>
|
28
30
|
|
29
31
|
<div class="field-wrapper">
|
30
|
-
<div class="app-label">Root Endpoint
|
32
|
+
<div class="app-label">Root Endpoint:</div>
|
31
33
|
<div class="info"><%= @app_info.rootEndpoint %></div>
|
32
34
|
</div>
|
33
35
|
|
36
|
+
</br>
|
37
|
+
<h3> Events </h3>
|
38
|
+
<% @app_info.integrationEvent.each do |event| %>
|
39
|
+
<div class="event">
|
40
|
+
<h4><%= event.name %></h4>
|
41
|
+
|
42
|
+
<div class="field-wrapper">
|
43
|
+
<div class="app-label">Description:</div>
|
44
|
+
<div class="info"><%= event.description %></div>
|
45
|
+
</div>
|
46
|
+
|
47
|
+
<div class="field-wrapper">
|
48
|
+
<div class="app-label">jsonKey:</div>
|
49
|
+
<div class="info"><%= event.jsonKey %></div>
|
50
|
+
</div>
|
51
|
+
|
52
|
+
<h4>Fields:</h4>
|
53
|
+
<% event.fields.each do |field| %>
|
54
|
+
<div class="field">
|
55
|
+
<div class="field-wrapper">
|
56
|
+
<div class="app-label">Field Name:</div>
|
57
|
+
<div class="info"><%= field.name %></div>
|
58
|
+
</div>
|
59
|
+
<div class="field-wrapper">
|
60
|
+
<div class="app-label">ID:</div>
|
61
|
+
<div class="info"><%= field.id %></div>
|
62
|
+
</div>
|
63
|
+
<div class="field-wrapper">
|
64
|
+
<div class="app-label">jsonKey:</div>
|
65
|
+
<div class="info"><%= field.jsonKey %></div>
|
66
|
+
</div>
|
67
|
+
</div>
|
68
|
+
<% end %>
|
69
|
+
|
70
|
+
</div>
|
71
|
+
<% end %>
|
72
|
+
|
34
73
|
</div>
|
data/bjond-api.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
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.0.
|
5
|
+
# stub: bjond-api 0.0.3 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "bjond-api"
|
9
|
-
s.version = "0.0.
|
9
|
+
s.version = "0.0.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"]
|
@@ -69,7 +69,7 @@ Gem::Specification.new do |s|
|
|
69
69
|
"lib/generators/templates/initializer.rb"
|
70
70
|
]
|
71
71
|
s.homepage = "http://github.com/Bjond/bjond-integration-gem"
|
72
|
-
s.licenses = ["
|
72
|
+
s.licenses = ["GPL"]
|
73
73
|
s.rubygems_version = "2.4.8"
|
74
74
|
s.summary = "Interface that facilitates communication with Bj\u{f6}nd servers."
|
75
75
|
|
data/lib/bjond-app/engine.rb
CHANGED
@@ -1,4 +1,11 @@
|
|
1
1
|
module BjondApi
|
2
2
|
class Engine < ::Rails::Engine
|
3
|
+
initializer :append_migrations do |app|
|
4
|
+
unless app.root.to_s.match root.to_s
|
5
|
+
config.paths["db/migrate"].expanded.each do |expanded_path|
|
6
|
+
app.config.paths["db/migrate"] << expanded_path
|
7
|
+
end
|
8
|
+
end
|
9
|
+
end
|
3
10
|
end
|
4
11
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bjond-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Blake Rego
|
@@ -157,7 +157,7 @@ files:
|
|
157
157
|
- lib/generators/templates/initializer.rb
|
158
158
|
homepage: http://github.com/Bjond/bjond-integration-gem
|
159
159
|
licenses:
|
160
|
-
-
|
160
|
+
- GPL
|
161
161
|
metadata: {}
|
162
162
|
post_install_message:
|
163
163
|
rdoc_options: []
|