File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11module Docs
22 class Opentofu < UrlScraper
3- self . name = 'Opentofu '
3+ self . name = 'OpenTofu '
44 self . type = 'opentofu'
55 self . links = {
66 home : 'https://opentofu.org/' ,
@@ -12,15 +12,23 @@ class Opentofu < UrlScraper
1212 # Don't clean them
1313 options [ :clean_text ] = false
1414 options [ :trailing_slash ] = true
15+ # https://github.com/opentofu/opentofu/blob/main/LICENSE
1516 options [ :attribution ] = <<-HTML
16- Copyright © OpenTofu a Series of LF Projects, LLC and its contributors. Documentation materials incorporate content licensed under the MPL-2.0 license from other authors.
17+ Copyright (c) The OpenTofu Authors< br >
18+ Copyright (c) 2014 HashiCorp, Inc.< br >
19+ Mozilla Public License, version 2.0
1720 HTML
1821
1922 def get_latest_version ( opts )
2023 contents = get_latest_github_release ( 'opentofu' , 'opentofu' , opts )
2124 contents . sub ( "v" , "" )
2225 end
2326
27+ version '1.12' do
28+ self . release = '1.12.0'
29+ self . base_url = "https://opentofu.org/docs/v#{ self . version } /"
30+ end
31+
2432 version '1.11' do
2533 self . release = '1.11.5'
2634 self . base_url = "https://opentofu.org/docs/v#{ self . version } /"
You can’t perform that action at this time.
0 commit comments