bjond-api 0.3.13 → 0.4.0

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: a967b6353bd9b0787c55247fd293e9825785f496
4
- data.tar.gz: 8ca52778ca0913feb4e67e07add8986e0122b30f
3
+ metadata.gz: 3a1aa04ba3b1e5d067207968591f312341562aaa
4
+ data.tar.gz: b7ca68e738d34a97e6f87d1521c5abd0692452ff
5
5
  SHA512:
6
- metadata.gz: a846ccdda9cd3c459c98873a8e44fa5664594cdf80158cd94d7924527169bab5ca7fb3d173ef5ce3a0c5c7944a2ef293219c1bb8d5af2ea464b8d565d6302cc5
7
- data.tar.gz: eae264994722334b67fed94300030ad4f3e00a2a324c235c06a819174c8b80a9cf223b3cc3afe858c73ae8504892d8496dedf272c6d70ee7f8916ad492ccbae2
6
+ metadata.gz: 14af979a5a075386e94b63a4694c261279f788e30e0625410ec5f3eed5c86cdd75777ce6e21279d93c6b4b3f4180cfbdc07e72a03eedc2e80b9f037954d65d79
7
+ data.tar.gz: 73e55d8299c8d6a392e9c8216f60527f311b5fcbe0556a40c41e41e26fa73153850f5bbc6bc5c2ba940c90484b19dd07c5fd4ee83abb6f1493a6a98f3081f581
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.13
1
+ 0.4.0
@@ -1,5 +1,6 @@
1
1
  include BjondApi
2
2
  require 'attr_encrypted'
3
+ require 'resolv'
3
4
 
4
5
  class BjondRegistration < ActiveRecord::Base
5
6
  has_many :bjond_services, :dependent => :destroy
@@ -66,7 +66,31 @@
66
66
  <div class="app-label">Json Key:</div>
67
67
  <div class="info"><%= field.jsonKey %></div>
68
68
  </div>
69
+ <div class="field-wrapper">
70
+ <div class="app-label">Field Type:</div>
71
+ <div class="info"><%= field.fieldType %></div>
72
+ </div>
73
+
74
+ <% if field.persist %>
75
+ <div class="field-wrapper">
76
+ <strong>Marked for Persistence</strong>
77
+ </div>
78
+ <div class="field-wrapper">
79
+ <div class="app-label">Data Type:</div>
80
+ <div class="info"><%= field.dataType %></div>
81
+ </div>
82
+ <% elsif field.fieldType != 'Person' %>
83
+ <div class="field-wrapper">
84
+ <span>Not marked for persistence</span>
85
+ </div>
86
+ <% end %>
87
+ <% if field.identifier && field.fieldType == 'Person' %>
88
+ <div class="field-wrapper">
89
+ <strong>Event Person Identifier</strong>
90
+ </div>
91
+ <% end %>
69
92
  </div>
93
+ <hr>
70
94
  <% end %>
71
95
  </div>
72
96
  </div>
data/bjond-api.gemspec CHANGED
@@ -2,19 +2,19 @@
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.13 ruby lib
5
+ # stub: bjond-api 0.4.0 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
- s.name = "bjond-api"
9
- s.version = "0.3.13"
8
+ s.name = "bjond-api".freeze
9
+ s.version = "0.4.0"
10
10
 
11
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
- s.require_paths = ["lib"]
13
- s.authors = ["Blake Rego"]
14
- s.date = "2017-02-07"
15
- s.description = "Rails engine that provides communication between Bj\u{f6}nd Server Core and a client app."
16
- s.email = "blake.rego@bjondinc.com"
17
- s.executables = ["rails"]
11
+ s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
12
+ s.require_paths = ["lib".freeze]
13
+ s.authors = ["Blake Rego".freeze]
14
+ s.date = "2017-03-23"
15
+ s.description = "Rails engine that provides communication between Bj\u{f6}nd Server Core and a client app.".freeze
16
+ s.email = "blake.rego@bjondinc.com".freeze
17
+ s.executables = ["rails".freeze]
18
18
  s.extra_rdoc_files = [
19
19
  "README.rdoc"
20
20
  ]
@@ -84,33 +84,33 @@ Gem::Specification.new do |s|
84
84
  "lib/generators/initializer_generator.rb",
85
85
  "lib/generators/templates/initializer.rb"
86
86
  ]
87
- s.homepage = "http://github.com/Bjond/bjond-integration-gem"
88
- s.licenses = ["GPL"]
89
- s.rubygems_version = "2.5.1"
90
- s.summary = "Interface that facilitates communication with Bj\u{f6}nd servers."
87
+ s.homepage = "http://github.com/Bjond/bjond-integration-gem".freeze
88
+ s.licenses = ["GPL".freeze]
89
+ s.rubygems_version = "2.6.7".freeze
90
+ s.summary = "Interface that facilitates communication with Bj\u{f6}nd servers.".freeze
91
91
 
92
92
  if s.respond_to? :specification_version then
93
93
  s.specification_version = 4
94
94
 
95
95
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
96
- s.add_runtime_dependency(%q<rails>, [">= 4.2.4"])
97
- s.add_development_dependency(%q<jeweler>, [">= 2.0.1", "~> 2.0"])
98
- s.add_runtime_dependency(%q<faraday>, ["~> 0.9.2"])
99
- s.add_runtime_dependency(%q<syruppay_jose>, ["~> 1.0"])
100
- s.add_runtime_dependency(%q<attr_encrypted>, [">= 3.0.3", "~> 3.0"])
96
+ s.add_runtime_dependency(%q<rails>.freeze, [">= 4.2.4"])
97
+ s.add_development_dependency(%q<jeweler>.freeze, [">= 2.0.1", "~> 2.0"])
98
+ s.add_runtime_dependency(%q<faraday>.freeze, ["~> 0.9.2"])
99
+ s.add_runtime_dependency(%q<syruppay_jose>.freeze, ["~> 1.0"])
100
+ s.add_runtime_dependency(%q<attr_encrypted>.freeze, [">= 3.0.3", "~> 3.0"])
101
101
  else
102
- s.add_dependency(%q<rails>, [">= 4.2.4"])
103
- s.add_dependency(%q<jeweler>, [">= 2.0.1", "~> 2.0"])
104
- s.add_dependency(%q<faraday>, ["~> 0.9.2"])
105
- s.add_dependency(%q<syruppay_jose>, ["~> 1.0"])
106
- s.add_dependency(%q<attr_encrypted>, [">= 3.0.3", "~> 3.0"])
102
+ s.add_dependency(%q<rails>.freeze, [">= 4.2.4"])
103
+ s.add_dependency(%q<jeweler>.freeze, [">= 2.0.1", "~> 2.0"])
104
+ s.add_dependency(%q<faraday>.freeze, ["~> 0.9.2"])
105
+ s.add_dependency(%q<syruppay_jose>.freeze, ["~> 1.0"])
106
+ s.add_dependency(%q<attr_encrypted>.freeze, [">= 3.0.3", "~> 3.0"])
107
107
  end
108
108
  else
109
- s.add_dependency(%q<rails>, [">= 4.2.4"])
110
- s.add_dependency(%q<jeweler>, [">= 2.0.1", "~> 2.0"])
111
- s.add_dependency(%q<faraday>, ["~> 0.9.2"])
112
- s.add_dependency(%q<syruppay_jose>, ["~> 1.0"])
113
- s.add_dependency(%q<attr_encrypted>, [">= 3.0.3", "~> 3.0"])
109
+ s.add_dependency(%q<rails>.freeze, [">= 4.2.4"])
110
+ s.add_dependency(%q<jeweler>.freeze, [">= 2.0.1", "~> 2.0"])
111
+ s.add_dependency(%q<faraday>.freeze, ["~> 0.9.2"])
112
+ s.add_dependency(%q<syruppay_jose>.freeze, ["~> 1.0"])
113
+ s.add_dependency(%q<attr_encrypted>.freeze, [">= 3.0.3", "~> 3.0"])
114
114
  end
115
115
  end
116
116
 
data/lib/bjond-field.rb CHANGED
@@ -2,6 +2,6 @@ require 'securerandom'
2
2
 
3
3
  module BjondApi
4
4
  class BjondField
5
- attr_accessor :id, :jsonKey, :name, :description, :fieldType, :event, :options, :codeType
5
+ attr_accessor :id, :jsonKey, :name, :description, :fieldType, :event, :options, :codeType, :identifier, :persist, :dataType, :unit
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.3.13
4
+ version: 0.4.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: 2017-02-07 00:00:00.000000000 Z
11
+ date: 2017-03-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -185,7 +185,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
185
185
  version: '0'
186
186
  requirements: []
187
187
  rubyforge_project:
188
- rubygems_version: 2.5.1
188
+ rubygems_version: 2.6.7
189
189
  signing_key:
190
190
  specification_version: 4
191
191
  summary: Interface that facilitates communication with Bjönd servers.