dws-registry 0.2.4 → 0.2.5

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
  SHA1:
3
- metadata.gz: b1cf03cf1d385369e9fab701b4c050dffeb60e49
4
- data.tar.gz: b745abe421fde1ecd00f20015ffe26929ffa1ed2
3
+ metadata.gz: 3ecf40b364895fca334369ab6b6af6a4df9e147e
4
+ data.tar.gz: f1f47927be8e0184eef8de9931a74ee55813d7bd
5
5
  SHA512:
6
- metadata.gz: c5901bf62429602cacf4c537107d9a5dc5a70fd6e03dbb0873160dcf5aa5d4eb86ed483190fa2d584331f9a4e6f6618a6c990ad26d62a26128c5a4fcd95475f5
7
- data.tar.gz: 0d9a803cd56c79d17e45b22d6f771d9bfe1075db89d8e717087dd1d11f9aaba3884926b093d6a35e3643da5d8bbdbe694599a24a481679055a7c6e664e03b2ea
6
+ metadata.gz: 4cbe4d748dbe8c0138a2c7c0ed8d54d5c82d800b9cd46c573b0fed9fc245e76f1eff31173bc961a8acd513c3fa1b6576a386e55ec1a00a60dfc09f806ad85689
7
+ data.tar.gz: f8e4f81ef70b290599751fe4b00550b2690466f9ff6e7c08e6a4511ffcf8a302d96486b55a5688e157463de0a8aaaf27f55886a23e411f26f1d6c888a9a2ad78
checksums.yaml.gz.sig CHANGED
Binary file
data.tar.gz.sig CHANGED
Binary file
data/lib/dws-registry.rb CHANGED
@@ -67,9 +67,10 @@ class DWSRegistry < XMLRegistry
67
67
  end
68
68
 
69
69
  e = super(path, value)
70
-
70
+
71
71
  type = find_class value unless type
72
72
  e.attributes[:class] = [type] if type
73
+ e.parent.attributes[:last_modified] = Time.now
73
74
 
74
75
  save() if @autosave
75
76
  e
@@ -112,5 +113,4 @@ class DWSRegistry < XMLRegistry
112
113
  end
113
114
  end
114
115
 
115
-
116
116
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dws-registry
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -31,7 +31,7 @@ cert_chain:
31
31
  PGZIlz7FJwJ4++0ZB4E5454Xa7aPv5k3PP+urajaDnG0vSBYhI76SWHkG0+PBDau
32
32
  8P/40FmSZqbOtg==
33
33
  -----END CERTIFICATE-----
34
- date: 2015-03-08 00:00:00.000000000 Z
34
+ date: 2015-03-09 00:00:00.000000000 Z
35
35
  dependencies:
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: xml-registry
metadata.gz.sig CHANGED
Binary file