14
14
# See the License for the specific language governing permissions and
15
15
# limitations under the License.
16
16
17
-
18
17
module PuppetForgeServer ::Models
19
18
class Metadata < Builder
20
-
21
19
attr_accessor :author , :name , :version , :dependencies , :summary , :description , :project_page , :types
22
20
attr_accessor :checksums , :source , :license , :issues_url , :operatingsystem_support , :requirements
23
21
attr_accessor :puppet_version , :tags , :mail , :classes , :definitions
22
+ attr_accessor :pdk_version , :template_url , :template_ref , :data_provider , :docs_project
23
+ attr_accessor :forge_url , :package_release_version , :issue_url
24
+ attr_accessor :kpn_quality_label , :kpn_module_owner , :kpn_module_support
24
25
25
26
def initialize ( attributes )
26
27
super ( attributes )
27
28
end
28
29
29
30
def ==( other )
30
31
other && self . class . equal? ( other . class ) &&
31
- @author == other . author &&
32
- @name == other . name &&
33
- @version == other . version
32
+ @author == other . author &&
33
+ @name == other . name &&
34
+ @version == other . version
34
35
end
35
36
36
37
def hash
@@ -39,9 +40,9 @@ def hash
39
40
40
41
def eql? ( other )
41
42
other && self . class . equal? ( other . class ) &&
42
- @author . eql? ( other . author ) &&
43
- @name . eql? ( other . name ) &&
44
- @version . eql? ( other . version )
43
+ @author . eql? ( other . author ) &&
44
+ @name . eql? ( other . name ) &&
45
+ @version . eql? ( other . version )
45
46
end
46
47
end
47
48
end
0 commit comments