xmlregistry_objects 0.5.0 → 0.5.1

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: bfe8ced78cb4a581e54af1eac009e45dbbfd8380
4
- data.tar.gz: e2f10a9dc964aad8cd0e9c9bc3d9f5b5c4327c30
3
+ metadata.gz: d17d53713181f08357016fd3aa717eaf1a0d6831
4
+ data.tar.gz: 931d5dde3e7bafabf6e2ad62947a50f50d177321
5
5
  SHA512:
6
- metadata.gz: 2c83879b3048040c39cc8fb1d4d20c461264145422b8308a42a3499d5334794eb7647c68313586726900440f967f790066cc9beb932419b399ea6a33183f6044
7
- data.tar.gz: f8abb8384f7982bf6c6bc8d61544afd5f9b4dafb87d4eaa3eb6a65567cfe5bf2590147905728e7b67b1c519e7d32ea73f5e85d36a313b275c57f8148e21dca32
6
+ metadata.gz: 4713f82f667eda2d2226c152e69f24b9ce0f546e502c5b4918431e6b4480b8710dbbdcaca212af417c9c72a6ab3dacee9282b23b1446dc050a9765809d6cbbed
7
+ data.tar.gz: 03ff6a4e2661455d8ef645ab80267a66f9f756292f0faa26c890233c986d7368d67326059f2215a58fdd548f257d2059bc3de2301a343626cbdc413eed2a282d
checksums.yaml.gz.sig CHANGED
Binary file
@@ -33,6 +33,11 @@ class XMLRegistryObjects
33
33
  def initialize(reg)
34
34
  @reg = reg
35
35
  end
36
+
37
+ def last_modified()
38
+ lm = @reg.get_key('#{path}').attributes[:last_modified]
39
+ Time.parse(lm) if lm
40
+ end
36
41
  "
37
42
 
38
43
  s = if row.records.any? then
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xmlregistry_objects
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
metadata.gz.sig CHANGED
Binary file