dina 0.5.1.0 → 0.5.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 52ee6aa08c01721d7d2b925a616f1800c303a7d5801ac7080ec3c2d2a270a04d
4
- data.tar.gz: 0a2f3e2e2bf4d9cc8ddd4b3534fd8309dae734c02299cac986e36abaa15431cb
3
+ metadata.gz: 38d9beaf0e0b3193f1fb555df9915df0ec6de3dbeae45c066c536e0a2509ede5
4
+ data.tar.gz: '0963571341f6fc59cef4c7b8403f271eac7cf275e123bee258fdefd4beb6051f'
5
5
  SHA512:
6
- metadata.gz: 7a9352df0039a613fa279753da7f2464e572110887024be28bd486368ca2ee5d0afebc0bcffc535b30ce7779b997e8fc3f2b74e739a10d12b752a55d2c673608
7
- data.tar.gz: 6f3560ea41463b841cf01affddc47165d90383c7c303f5f110bfcc96702a8f7b4ee8dbd1a7d8310ab7facc8086042a4de5eba2a1c0381a018c2a999a4a3295c2
6
+ metadata.gz: da34d372945da32fb37edeb09b6fa796e1a48bc832d098973c2386a2dc8870d92c8663b6b21c580b6f94fa0b0b5ca30f1cfc30a5af8f36e26741ad65a2c82754
7
+ data.tar.gz: b7aa54b8030c827919f270eed92f8dff3f2f23078d6c32d7dd180a22b37ff082da22ade4a850a2a5fb8a3afd87c6e6b5e96559b831fd91244591abad630aaab3
@@ -24,7 +24,8 @@ module Dina
24
24
  end
25
25
 
26
26
  def initialize(params = {})
27
- params[:id] = SecureRandom.uuid if !params[:id]
27
+ symbolized_params = params.transform_keys(&:to_sym)
28
+ params["id"] = SecureRandom.uuid if !symbolized_params[:id]
28
29
  super
29
30
  end
30
31
 
@@ -20,7 +20,7 @@ module Dina
20
20
  property :acHashValue, type: :string
21
21
  property :xmpRightsUsageTerms, type: :string, default: "Government of Canada Usage Term"
22
22
  property :xmpRightsWebStatement, type: :string, default: "https://open.canada.ca/en/open-government-licence-canada"
23
- property :dcRights, type: :string, default: "© Her Majesty The Queen in Right of Canada, as represented by the Minister of Agriculture and Agri-Food | © Sa Majesté la Reine du chef du Canada, représentée par le ministre de l’Agriculture et de l’Agroalimentaire"
23
+ property :dcRights, type: :string, default: "© His Majesty The King in Right of Canada, as represented by the Minister of Agriculture and Agri-Food | © Sa Majesté le Roi du chef du Canada, représentée par le ministre de l’Agriculture et de l’Agroalimentaire"
24
24
  property :xmpRightsOwner, type: :string, default: "Government of Canada"
25
25
  property :publiclyReleasable, type: :boolean, default: true
26
26
  property :notPubliclyReleasableReason, type: :string
data/lib/dina/version.rb CHANGED
@@ -3,7 +3,7 @@ module Dina
3
3
 
4
4
  MAJOR = 0
5
5
  MINOR = 5
6
- PATCH = 1
6
+ PATCH = 2
7
7
  BUILD = 0
8
8
 
9
9
  def self.version
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dina
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1.0
4
+ version: 0.5.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - David P. Shorthouse