spandx 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/spandx/license.rb +20 -0
- data/lib/spandx/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 79b4eefa834b1649c1cced69cd4666bdabb22f42383cb177545042e3c643eac9
|
4
|
+
data.tar.gz: e0c3e8836e82c3b34eed0c83d0cdca7212334e87030fb900ae8152e1fa13ffb5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 492a1ed30bb41f77c748c6ad70aa258ae16e74d2ee2e8bb437def781d72389403c6a67baf90d728c13971e9a1cf47c5f9535a63f2b754870f936ccb81d73ff3c
|
7
|
+
data.tar.gz: 6c4281a992017b9dc07e9837426f862a5daa7514f20fa01674896a502b5356c31ab9877ac2e8372fbf39d07f97b21bf1eb3eb50f294dcc88a68ec92e69599e48
|
data/Gemfile.lock
CHANGED
data/lib/spandx/license.rb
CHANGED
@@ -12,14 +12,26 @@ module Spandx
|
|
12
12
|
attributes[:licenseId]
|
13
13
|
end
|
14
14
|
|
15
|
+
def id=(value)
|
16
|
+
attributes[:licenseId] = value
|
17
|
+
end
|
18
|
+
|
15
19
|
def name
|
16
20
|
attributes[:name]
|
17
21
|
end
|
18
22
|
|
23
|
+
def name=(value)
|
24
|
+
attributes[:name] = value
|
25
|
+
end
|
26
|
+
|
19
27
|
def reference
|
20
28
|
attributes[:reference]
|
21
29
|
end
|
22
30
|
|
31
|
+
def reference=(value)
|
32
|
+
attributes[:reference] = value
|
33
|
+
end
|
34
|
+
|
23
35
|
def deprecated_license_id?
|
24
36
|
attributes[:isDeprecatedLicenseId]
|
25
37
|
end
|
@@ -28,6 +40,10 @@ module Spandx
|
|
28
40
|
attributes[:detailsUrl]
|
29
41
|
end
|
30
42
|
|
43
|
+
def url=(value)
|
44
|
+
attributes[:detailsUrl] = value
|
45
|
+
end
|
46
|
+
|
31
47
|
def osi_approved?
|
32
48
|
attributes[:isOsiApproved]
|
33
49
|
end
|
@@ -39,5 +55,9 @@ module Spandx
|
|
39
55
|
def reference_number
|
40
56
|
attributes[:referenceNumber]
|
41
57
|
end
|
58
|
+
|
59
|
+
def reference_number=(value)
|
60
|
+
attributes[:referenceNumber] = value
|
61
|
+
end
|
42
62
|
end
|
43
63
|
end
|
data/lib/spandx/version.rb
CHANGED