bjond-api 0.1.2 → 0.1.3

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: 6e0a97fe9ae73ea45821b20a77cd2cfe58858b38
4
- data.tar.gz: eafc736b72fa3662a2c533ebe3f4cab7acc934bb
3
+ metadata.gz: cfa48bc91eada1997c7e299f4389bd127d33da6b
4
+ data.tar.gz: 9bf03ebe91a0fac5128f187f48e96418a342cb24
5
5
  SHA512:
6
- metadata.gz: e4827a83a8156d3013cc892d95210334da7ccd54887f412e4dd443912eea88e7eba1f66e87e3957034b4d696d59fb0a55aa6d56627c3aef36639684b5f62d579
7
- data.tar.gz: 6370657fa365c0cc202e4464dca4fb7492786f8970987f54da4dd19e35afb1073c9b75562a8af0cbf04dd6c03eb099e4277abd75d0902abc5fdca3c0721aa993
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.2
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">jsonKey:</div>
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.2 ruby lib
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.2"
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-02"
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"]
@@ -2,6 +2,6 @@ require 'securerandom'
2
2
 
3
3
  module BjondApi
4
4
  class BjondConsequence
5
- attr_accessor :id, :json_key, :name, :description, :webhook, :service_id
5
+ attr_accessor :id, :jsonKey, :name, :description, :webhook, :serviceId
6
6
  end
7
7
  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.1.2
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-02 00:00:00.000000000 Z
11
+ date: 2016-08-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails