openehr 1.2.0 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
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
@@ -3,10 +3,6 @@
3
3
  Ruby openEHR implementation project.
4
4
  * http://github.com/skoba/ruby-impl-openehr
5
5
 
6
- = Version
7
-
8
- Release-1.2.0
9
-
10
6
  = Requirements
11
7
 
12
8
  * Ruby 1.9.2 or later recommended
@@ -140,8 +140,8 @@ module OpenEHR
140
140
  end
141
141
 
142
142
  def attestations=(attestations)
143
- if attestations.nil? || attestations.empty?
144
- raise ArgumentError, 'attestations is mandatory'
143
+ if !attestations.nil? && attestations.empty?
144
+ raise ArgumentError, 'invalid attestations'
145
145
  end
146
146
  @attestations = attestations
147
147
  end
@@ -1,3 +1,3 @@
1
1
  module OpenEHR
2
- VERSION = "1.2.0"
2
+ VERSION = "1.2.1"
3
3
  end
@@ -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 nil' do
60
+ it 'should raise ArgumentError when attestations is empty' do
61
61
  lambda {
62
- @original_version.attestations = nil
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.0
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-02-25 00:00:00.000000000 Z
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