openehr-rails 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -8,14 +8,14 @@ describe OpenEHR::RComponents::RElement do
8
8
  end
9
9
 
10
10
  it 'should be an instance of RElement' do
11
- @relement.should be_an_instance_of OpenEHR::RComponents::RElement
11
+ expect(@relement).to be_an_instance_of OpenEHR::RComponents::RElement
12
12
  end
13
13
 
14
14
  it 'node_id is at0004' do
15
- @relement.node_id.should eq 'at0004'
15
+ expect(@relement.node_id).to eq 'at0004'
16
16
  end
17
17
 
18
18
  it 'path is /data[at0004]' do
19
- @relement.path.should eq '/data[at0004]'
19
+ expect(@relement.path).to eq '/data[at0004]'
20
20
  end
21
21
  end
@@ -12,10 +12,10 @@ describe OpenEHR::RComponents::RObservation do
12
12
  end
13
13
 
14
14
  it 'protocol is properly assigned' do
15
- @robservation.protocol.should eq 'dummy protocol'
15
+ expect(@robservation.protocol).to eq 'dummy protocol'
16
16
  end
17
17
 
18
18
  it 'state is properly assigned' do
19
- @robservation.state.should eq 'dummy state'
19
+ expect(@robservation.state).to eq 'dummy state'
20
20
  end
21
21
  end
data/spec/spec_helper.rb CHANGED
@@ -3,7 +3,7 @@ require 'ammeter/init'
3
3
 
4
4
  Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}
5
5
  $:.unshift(File.dirname(__FILE__) + '/../lib')
6
- require 'openehr/rails'
6
+ #require 'openehr/rails'
7
7
 
8
8
  require 'simplecov'
9
9
 
metadata CHANGED
@@ -1,29 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openehr-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shinji KOBAYASHI
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-22 00:00:00.000000000 Z
11
+ date: 2014-08-25 00:00:00.000000000 Z
12
12
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: openehr
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - ">="
18
- - !ruby/object:Gem::Version
19
- version: '0'
20
- type: :runtime
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - ">="
25
- - !ruby/object:Gem::Version
26
- version: '0'
27
13
  - !ruby/object:Gem::Dependency
28
14
  name: rails
29
15
  requirement: !ruby/object:Gem::Requirement
@@ -170,7 +156,6 @@ files:
170
156
  - lib/generators/openehr/scaffold/templates/show.html.erb
171
157
  - lib/openehr-rails.rb
172
158
  - lib/openehr-rails/version.rb
173
- - lib/openehr/rails.rb
174
159
  - lib/rcomponents.rb
175
160
  - openehr-rails.gemspec
176
161
  - spec/generator_helper.rb
@@ -208,7 +193,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
208
193
  version: '0'
209
194
  requirements: []
210
195
  rubyforge_project:
211
- rubygems_version: 2.2.2
196
+ rubygems_version: 2.4.1
212
197
  signing_key:
213
198
  specification_version: 4
214
199
  summary: Rails extension for the openEHR archetypes
data/lib/openehr/rails.rb DELETED
@@ -1 +0,0 @@
1
- require 'openehr'