caren-api 0.4.21 → 0.4.22
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/Rakefile +1 -11
- data/VERSION +1 -1
- data/caren-api.gemspec +2 -2
- data/lib/caren/base.rb +2 -2
- metadata +4 -4
data/Rakefile
CHANGED
|
@@ -36,14 +36,4 @@ RSpec::Core::RakeTask.new(:rcov) do |spec|
|
|
|
36
36
|
spec.rcov = true
|
|
37
37
|
end
|
|
38
38
|
|
|
39
|
-
task :default => :spec
|
|
40
|
-
|
|
41
|
-
require 'rake/rdoctask'
|
|
42
|
-
Rake::RDocTask.new do |rdoc|
|
|
43
|
-
version = File.exist?('VERSION') ? File.read('VERSION') : ""
|
|
44
|
-
|
|
45
|
-
rdoc.rdoc_dir = 'rdoc'
|
|
46
|
-
rdoc.title = "caren-api #{version}"
|
|
47
|
-
rdoc.rdoc_files.include('README*')
|
|
48
|
-
rdoc.rdoc_files.include('lib/**/*.rb')
|
|
49
|
-
end
|
|
39
|
+
task :default => :spec
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.4.
|
|
1
|
+
0.4.22
|
data/caren-api.gemspec
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = "caren-api"
|
|
8
|
-
s.version = "0.4.
|
|
8
|
+
s.version = "0.4.22"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Andre Foeken"]
|
|
12
|
-
s.date = "2012-
|
|
12
|
+
s.date = "2012-02-03"
|
|
13
13
|
s.description = "You can use this gem as inspiration of the base of your connections with Caren."
|
|
14
14
|
s.email = "andre.foeken@nedap.com"
|
|
15
15
|
s.extra_rdoc_files = [
|
data/lib/caren/base.rb
CHANGED
|
@@ -11,8 +11,8 @@ class Caren::Base
|
|
|
11
11
|
self.class.keys.each do |key|
|
|
12
12
|
self.attributes[key] = args[key] || args[key.to_s] || nil
|
|
13
13
|
end
|
|
14
|
-
# We want to use #id
|
|
15
|
-
self.instance_eval('undef id')
|
|
14
|
+
# We want to use #id (in Ruby 1.8.x we need to undef it)
|
|
15
|
+
self.instance_eval('undef id') if self.respond_to?(:id)
|
|
16
16
|
end
|
|
17
17
|
|
|
18
18
|
# List of available attributes for this object
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: caren-api
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 35
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 4
|
|
9
|
-
-
|
|
10
|
-
version: 0.4.
|
|
9
|
+
- 22
|
|
10
|
+
version: 0.4.22
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Andre Foeken
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2012-
|
|
18
|
+
date: 2012-02-03 00:00:00 Z
|
|
19
19
|
dependencies:
|
|
20
20
|
- !ruby/object:Gem::Dependency
|
|
21
21
|
requirement: &id001 !ruby/object:Gem::Requirement
|