openehr 1.2.5 → 1.2.6

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 25bb1088a748632a3c49a91baa2d7d7851e14dbe
4
- data.tar.gz: a5737fec858751805a134c214c36d6cc3894f1fc
3
+ metadata.gz: 9006b327e8d84275550081cf698751c6331b12f8
4
+ data.tar.gz: 58f770649e2463e7351227bd72781ae0dcf0f61f
5
5
  SHA512:
6
- metadata.gz: 99b27154f9c3a897e44c5c8583ef11975d6e1ce9baa2ed056282c4c63fd6357cd433e048dce3e77dd42c66e18cc2f64ad40054ce7b6359be8049494f16e79f6a
7
- data.tar.gz: 4b18acd91c8b25d047d63dc127e5b5039846857be4b5be0f8df5f71cb4ae7914e51aeec8c68f276e6b923457f0fdcaabaafdaddb3815b36fdd077a0d4e92c70f
6
+ metadata.gz: ea0d574aa811b2b081830146e34e16c04633d8ebc11bf406488a28da47cb6dbbde5502078ef7b7d222b884eee1c8856c55c96a39b6dc5d2760ede4bafc1ded72
7
+ data.tar.gz: 8eb160eda53ec3069c0fe9ff2aeed6f5d886cdb69c60ef044d55fe3a7b218dea291ea43f0e90c84781a2b9c7f910d15f84b2830a8adf47e271a967563506cd16
data/README.rdoc CHANGED
@@ -1,3 +1,4 @@
1
+ {<img src="https://travis-ci.org/skoba/openehr-ruby.png?branch=master" alt="Build Status" />}[https://travis-ci.org/skoba/openehr-ruby]
1
2
  = Synopsis
2
3
 
3
4
  A Ruby implementation of the openEHR specifications
@@ -6,10 +7,9 @@ A Ruby implementation of the openEHR specifications
6
7
 
7
8
  = Requirements
8
9
 
9
- * Supports Ruby 1.9.3, 2.0.0 or equivalent
10
+ * Supports Ruby 1.9.3, 2.0.0 or equivalents.
10
11
  * Developed with CRuby 2.0.0, 1.9.3 on FreeBSD and Linux.
11
- * It would work with some adjustment on Ruby 1.8 or earlier,
12
- but not confirmed.
12
+ * Ruby 1.8 or earlier are not supported.
13
13
 
14
14
  == DESCRIPTION:
15
15
 
@@ -22,8 +22,6 @@ as open_ehr, but changed to openehr from release 1.1.0. 1.0.x versions
22
22
  are obsoleted.
23
23
  The intention is to have a sample EHR to utilize all over the world
24
24
  quickly with Ruby on Rails for many other porject.
25
- From this release we changed license from MPL 1.1 to Apache 2.0 license,
26
- as regards to the other openEHR artefact license.
27
25
 
28
26
  This package includes:
29
27
  * ADL 1.4 parser
@@ -54,7 +52,7 @@ openEHR.jp, <http://openehr.jp>
54
52
  reference implementation project of the openEHR.
55
53
 
56
54
  = Contributors
57
- Thanks for pull request on GitHub.
55
+ Thanks for pull requests on GitHub.
58
56
 
59
57
  * Michael Deryugin
60
58
  * Dmitry Lavrov
@@ -69,7 +67,7 @@ All Rights Reserved.
69
67
 
70
68
  = License
71
69
 
72
- This product is under Apache 2.0 license
70
+ This product is released under Apache 2.0 license
73
71
 
74
72
  Copyright [2012,2013] Shinji Kobayashi, Akimichi Tatsukawa, openEHR.jp
75
73
 
@@ -33,6 +33,7 @@ module OpenEHR
33
33
  if (lower == nil) && (lower_included != nil)
34
34
  raise ArgumentError, "lower is not set"
35
35
  end
36
+ lower_included = true if !lower.nil? && lower_included.nil?
36
37
  @lower_included = lower_included
37
38
  end
38
39
 
@@ -48,6 +49,7 @@ module OpenEHR
48
49
  if (@upper.nil?) && (upper_included != nil)
49
50
  raise ArgumentError, "upper is not set"
50
51
  end
52
+ upper_included = true if !upper.nil? && upper_included.nil?
51
53
  @upper_included = upper_included
52
54
  end
53
55
 
@@ -1,3 +1,3 @@
1
1
  module OpenEHR
2
- VERSION = "1.2.5"
2
+ VERSION = "1.2.6"
3
3
  end
@@ -43,12 +43,12 @@ describe Interval do
43
43
  @interval.has?(-1).should_not be_true
44
44
  end
45
45
 
46
- it 'should not have 10' do
47
- @interval.has?(10).should_not be_true
46
+ it 'should have 10' do
47
+ @interval.has?(10).should be_true
48
48
  end
49
49
 
50
- it 'should not have 1' do
51
- @interval.has?(1).should_not be_true
50
+ it 'should have 1' do
51
+ @interval.has?(1).should be_true
52
52
  end
53
53
 
54
54
  it 'should be equal lower and upper is same' do
@@ -29,6 +29,8 @@
29
29
  <definition>
30
30
  <rm_type_name>SECTION</rm_type_name>
31
31
  <occurrence>
32
+ <lower_included>true</lower_included>
33
+ <upper_included>true</upper_included>
32
34
  <lower_unbounded>false</lower_unbounded>
33
35
  <upper_unbounded>false</upper_unbounded>
34
36
  <lower>1</lower>
@@ -16,8 +16,8 @@ describe XMLSerializer do
16
16
  end
17
17
  @sample_header = xml.unindent(2, 11, 2)
18
18
  @sample_description = xml.unindent(12, 27, 2)
19
- @sample_definition = xml.unindent(28, 37, 2)
20
- @sample_ontology = xml.unindent(38, 56, 2)
19
+ @sample_definition = xml.unindent(28, 39, 2)
20
+ @sample_ontology = xml.unindent(40, 58, 2)
21
21
  @sample_xml = xml.join
22
22
  xml_file.close
23
23
  @archetype = sample_archetype
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openehr
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.5
4
+ version: 1.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shinji KOBAYASHI
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2013-03-23 00:00:00.000000000 Z
15
+ date: 2013-03-31 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: rake