bjond-api 0.3.1 → 0.3.2

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: 3869911869f4c24ff3bb3cc4b9e6882c73b93392
4
- data.tar.gz: c8eed906c7b335a4f5b682148a14aac43463f02c
3
+ metadata.gz: aec8fffd13d372a603b382de0c6aeae1c73c4a7b
4
+ data.tar.gz: 20df01f0bdad2456c2f9a77893b79c2210a8c439
5
5
  SHA512:
6
- metadata.gz: 4874ae3ad203ad6b149fbbc433d4749c50bd00cbdc619643195b5a978d50adab363d637c0e3327fe00bd327d11e597ecdec7f6c37c5383883f4b7d70db46f746
7
- data.tar.gz: aee91663d6924c26b204c0912a303154ed830b4ba56b2cec2082028da4c94f1364ea5fc39d1cf15caf47c97ad523581fc3590b3dc107e7615484995033db0fb3
6
+ metadata.gz: a9a808e736f95a18cf9a0ee957af7fe81c2674b95383b1c6f09fb04de50cecbc4b5eb041a4aba2e55d96ac41c91ce6953d77b268443383f4c2c5f7f63ecdf9e0
7
+ data.tar.gz: fdd587cba74e71e52d040cf1bcb131ca9b7e6ae4145f21ccc6619edd9337908d9b1bf6f72ec259559cb73b5607867156d49cd3c3b27491fe2a3ce10d04921b78
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.1
1
+ 0.3.2
@@ -123,6 +123,12 @@
123
123
  }
124
124
  }
125
125
 
126
+ .bjond-service {
127
+ border: 1px solid #707b7f;
128
+ border-radius: 4px;
129
+ padding: 10px;
130
+ }
131
+
126
132
  }
127
133
 
128
134
  .actions {
@@ -12,6 +12,7 @@ class BjondRegistrationsController < ApplicationController
12
12
 
13
13
  # GET /bjond_registrations/1
14
14
  def show
15
+ @services = BjondService.where(:bjond_registration_id => @bjond_registration.id)
15
16
  end
16
17
 
17
18
  # GET /bjond_registrations/new
@@ -1,6 +1,10 @@
1
1
  <div class="show-registrations" ng-controller="registrationsController">
2
2
  <p id="notice"><%= notice %></p>
3
3
 
4
+ <h3>
5
+ Registration Info
6
+ </h3>
7
+
4
8
  <p>
5
9
  <strong>Server:</strong>
6
10
  <%= @bjond_registration.server %>
@@ -31,6 +35,11 @@
31
35
 
32
36
  <% end %>
33
37
 
38
+ <p>
39
+ <strong>ID:</strong>
40
+ <%= @bjond_registration.id %>
41
+ </p>
42
+
34
43
 
35
44
  <button class="btn register" ng-click="register(<%= @bjond_registration.id %>)">
36
45
  Update Registration
@@ -39,4 +48,29 @@
39
48
  <%= link_to 'Edit', edit_bjond_registration_path(@bjond_registration) %> |
40
49
  <%= link_to 'Back', bjond_registrations_path %>
41
50
 
51
+
52
+ <%- if @services.count > 0 %>
53
+ <h3>
54
+ Bjond Services associated with this Registration
55
+ </h3>
56
+
57
+ <%- @services.each do |service| %>
58
+ <div class="bjond-service">
59
+ <p>
60
+ <strong>ID:</strong>
61
+ <%= service.id %>
62
+ </p>
63
+ <p>
64
+ <strong>Group ID:</strong>
65
+ <%= service.group_id %>
66
+ </p>
67
+
68
+ <p>
69
+ <strong>Endpoint:</strong>
70
+ <%= service.endpoint %>
71
+ </p>
72
+
73
+ </div>
74
+ <% end %>
75
+ <% end %>
42
76
  </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.3.1 ruby lib
5
+ # stub: bjond-api 0.3.2 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "bjond-api".freeze
9
- s.version = "0.3.1"
9
+ s.version = "0.3.2"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib".freeze]
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.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Blake Rego