openehr 1.2.0 → 1.2.1
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.
- data/History.txt +11 -0
- data/README.rdoc +0 -4
- data/lib/openehr/rm/common/change_control.rb +2 -2
- data/lib/openehr/version.rb +1 -1
- data/spec/lib/openehr/rm/common/change_control/original_version_spec.rb +2 -2
- metadata +2 -3
- data/VERSION +0 -1
data/History.txt
CHANGED
@@ -1,3 +1,14 @@
|
|
1
|
+
=== 1.2.1
|
2
|
+
Fixed bug and merged pull request from caron10
|
3
|
+
|
4
|
+
=== 1.2.0
|
5
|
+
Separeted terminology packages
|
6
|
+
Catch up to Ruby 2.0.0
|
7
|
+
|
8
|
+
=== 1.1.5 & 1.1.6
|
9
|
+
Fixed some miss spells
|
10
|
+
Implemented OpenEHR::RM::Factory class
|
11
|
+
|
1
12
|
=== 1.1.4
|
2
13
|
Parser bug fixed around DvDuration pattern/interval.
|
3
14
|
|
data/README.rdoc
CHANGED
@@ -140,8 +140,8 @@ module OpenEHR
|
|
140
140
|
end
|
141
141
|
|
142
142
|
def attestations=(attestations)
|
143
|
-
if attestations.nil?
|
144
|
-
raise ArgumentError, 'attestations
|
143
|
+
if !attestations.nil? && attestations.empty?
|
144
|
+
raise ArgumentError, 'invalid attestations'
|
145
145
|
end
|
146
146
|
@attestations = attestations
|
147
147
|
end
|
data/lib/openehr/version.rb
CHANGED
@@ -57,9 +57,9 @@ describe OriginalVersion do
|
|
57
57
|
@original_version.is_merged?.should be_false
|
58
58
|
end
|
59
59
|
|
60
|
-
it 'should raise ArgumentError when attestations is
|
60
|
+
it 'should raise ArgumentError when attestations is empty' do
|
61
61
|
lambda {
|
62
|
-
@original_version.attestations =
|
62
|
+
@original_version.attestations = Set.new
|
63
63
|
}.should raise_error ArgumentError
|
64
64
|
end
|
65
65
|
|
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.
|
4
|
+
version: 1.2.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2013-
|
13
|
+
date: 2013-03-01 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rake
|
@@ -365,7 +365,6 @@ files:
|
|
365
365
|
- PostInstall.txt
|
366
366
|
- README.rdoc
|
367
367
|
- Rakefile
|
368
|
-
- VERSION
|
369
368
|
- doc/openehr_terminology.xml
|
370
369
|
- features/rmfactory.feature
|
371
370
|
- features/step_definitions/rmfactory_steps.rb
|
data/VERSION
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
1.1.4
|