@@ -56,8 +56,7 @@ def to_hash(options = {})
56
56
57
57
link :'pb:latest-pact-version' do | options |
58
58
{
59
- title : "Pact" ,
60
- name : "Latest version of this pact" ,
59
+ title : "Latest version of this pact" ,
61
60
href : latest_pact_url ( options . fetch ( :base_url ) , represented )
62
61
63
62
}
@@ -72,33 +71,29 @@ def to_hash(options = {})
72
71
73
72
link :'pb:latest-untagged-pact-version' do | options |
74
73
{
75
- title : "Pact" ,
76
- name : "Latest untagged version of this pact" ,
74
+ title : "Latest untagged version of this pact" ,
77
75
href : latest_untagged_pact_url ( represented , options . fetch ( :base_url ) )
78
76
}
79
77
end
80
78
81
79
link :'pb:latest-tagged-pact-version' do | options |
82
80
{
83
- title : "Pact" ,
84
- name : "Latest tagged version of this pact" ,
81
+ title : "Latest tagged version of this pact" ,
85
82
href : "#{ latest_pact_url ( options . fetch ( :base_url ) , represented ) } /{tag}" ,
86
83
templated : true
87
84
}
88
85
end
89
86
90
87
link :'pb:previous-distinct' do | options |
91
88
{
92
- title : "Pact" ,
93
- name : "Previous distinct version of this pact" ,
89
+ title : "Previous distinct version of this pact" ,
94
90
href : previous_distinct_pact_version_url ( represented , options . fetch ( :base_url ) )
95
91
}
96
92
end
97
93
98
94
link :'pb:diff-previous-distinct' do | options |
99
95
{
100
- title : "Diff" ,
101
- name : "Diff with previous distinct version of this pact" ,
96
+ title : "Diff with previous distinct version of this pact" ,
102
97
href : previous_distinct_diff_url ( represented , options . fetch ( :base_url ) )
103
98
104
99
}
0 commit comments