dws-registry 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- checksums.yaml.gz.sig +0 -0
- data/lib/dws-registry.rb +13 -6
- data.tar.gz.sig +0 -0
- metadata +34 -41
- metadata.gz.sig +0 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 7b91b1d8bf672a76902bdce5642938265c09b0f1
|
4
|
+
data.tar.gz: cae04dade4749bb45c8098e099e4379046397f0d
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: dbaf34f5f9cf5ac62143f5e7d75c041ae20edf4ead7426c3a7e6633b20e821b1f25dc74e6acfe50f0ebc2e5b154f6239e8fab2fb087a1685a141405609ca7125
|
7
|
+
data.tar.gz: c14707faccd375c6ed765254118ec4dc072caca6d8ced45d596f4d0f537034856a25f38b59d92321d6685e8641b4489422763845ee7733da07f5349258ae3138
|
checksums.yaml.gz.sig
ADDED
Binary file
|
data/lib/dws-registry.rb
CHANGED
@@ -10,9 +10,17 @@ class DWSRegistry < XMLRegistry
|
|
10
10
|
def initialize(filename=nil)
|
11
11
|
|
12
12
|
super()
|
13
|
+
|
13
14
|
if filename then
|
14
|
-
|
15
|
-
|
15
|
+
|
16
|
+
@filename = filename
|
17
|
+
|
18
|
+
if File.exists? filename then
|
19
|
+
load_xml(filename)
|
20
|
+
else
|
21
|
+
save()
|
22
|
+
end
|
23
|
+
|
16
24
|
end
|
17
25
|
end
|
18
26
|
|
@@ -26,7 +34,8 @@ class DWSRegistry < XMLRegistry
|
|
26
34
|
save()
|
27
35
|
end
|
28
36
|
|
29
|
-
def save()
|
37
|
+
def save(filename=nil)
|
38
|
+
@filename = filename if filename
|
30
39
|
super(@filename)
|
31
40
|
end
|
32
41
|
|
@@ -39,6 +48,4 @@ class DWSRegistry < XMLRegistry
|
|
39
48
|
load_xml(@filename)
|
40
49
|
end
|
41
50
|
|
42
|
-
end
|
43
|
-
|
44
|
-
|
51
|
+
end
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: dws-registry
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
version: 0.1.1
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.2
|
6
5
|
platform: ruby
|
7
|
-
authors:
|
6
|
+
authors:
|
8
7
|
- James Robertson
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
|
-
cert_chain:
|
10
|
+
cert_chain:
|
12
11
|
- |
|
13
12
|
-----BEGIN CERTIFICATE-----
|
14
13
|
MIIDRDCCAiygAwIBAgIBADANBgkqhkiG9w0BAQUFADBIMRIwEAYDVQQDDAlnZW1t
|
@@ -30,56 +29,50 @@ cert_chain:
|
|
30
29
|
e/lnRtMXYyjZiX25Lislk/azJdkM6cESQZ/wrzw66B1+Og99V8M+lijZ+WUSxMMw
|
31
30
|
kPQ7550Ah65r9h1HWel++8oOPgRFPCkV
|
32
31
|
-----END CERTIFICATE-----
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
- !ruby/object:Gem::Dependency
|
32
|
+
date: 2013-06-24 00:00:00.000000000 Z
|
33
|
+
dependencies:
|
34
|
+
- !ruby/object:Gem::Dependency
|
37
35
|
name: xml-registry
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
- !ruby/object:Gem::Version
|
44
|
-
version: "0"
|
36
|
+
requirement: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
45
41
|
type: :runtime
|
46
|
-
|
42
|
+
prerelease: false
|
43
|
+
version_requirements: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - '>='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
47
48
|
description:
|
48
49
|
email:
|
49
50
|
executables: []
|
50
|
-
|
51
51
|
extensions: []
|
52
|
-
|
53
52
|
extra_rdoc_files: []
|
54
|
-
|
55
|
-
files:
|
53
|
+
files:
|
56
54
|
- lib/dws-registry.rb
|
57
55
|
homepage:
|
58
56
|
licenses: []
|
59
|
-
|
57
|
+
metadata: {}
|
60
58
|
post_install_message:
|
61
59
|
rdoc_options: []
|
62
|
-
|
63
|
-
require_paths:
|
60
|
+
require_paths:
|
64
61
|
- lib
|
65
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
- !ruby/object:Gem::Version
|
76
|
-
version: "0"
|
62
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
63
|
+
requirements:
|
64
|
+
- - '>='
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
version: '0'
|
67
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
68
|
+
requirements:
|
69
|
+
- - '>='
|
70
|
+
- !ruby/object:Gem::Version
|
71
|
+
version: '0'
|
77
72
|
requirements: []
|
78
|
-
|
79
73
|
rubyforge_project:
|
80
|
-
rubygems_version:
|
74
|
+
rubygems_version: 2.0.0.rc.2
|
81
75
|
signing_key:
|
82
|
-
specification_version:
|
76
|
+
specification_version: 4
|
83
77
|
summary: dws-registry
|
84
78
|
test_files: []
|
85
|
-
|
metadata.gz.sig
CHANGED
Binary file
|