Skip to content

Commit

Permalink
Rename back to hanna
Browse files Browse the repository at this point in the history
Much appreciation to mislav for granting access to hanna on
rubygems.org.
  • Loading branch information
jeremyevans committed Aug 10, 2023
1 parent 0f67e7e commit c7423ad
Show file tree
Hide file tree
Showing 19 changed files with 36 additions and 32 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# master

* Rename back to hanna, after mislav granted access to the name (jeremyevans)

# 1.4.0 (2023-01-10)

* Improve style for mobile devices (janko) (#18, #19)
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Copyright (c) 2009 Mislav Marohnić
Copyright (c) 2010, 2011 Erik Hollensbe
Copyright (c) 2011-2022 Jeremy Evans
Copyright (c) 2011-2023 Jeremy Evans

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
Expand Down
8 changes: 4 additions & 4 deletions README.rdoc
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
= Hanna-nouveau
= Hanna

Hanna-nouveau is an RDoc generator built with simplicity, beauty
Hanna is an RDoc generator built with simplicity, beauty
and ease of browsing in mind.

== Installation

gem install hanna-nouveau
gem install hanna

== Usage

Expand All @@ -15,7 +15,7 @@ An alternative is to set the `RDOCOPT` environment variable:

RDOCOPT="-f hanna"

This will make RDoc always use hanna-nouveau unless it is explicitly overridden.
This will make RDoc always use hanna unless it is explicitly overridden.

== Integrating with RubyGems

Expand Down
4 changes: 2 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ require "rdoc/task"
RDoc::Task.new do |rdoc|
rdoc.rdoc_dir = 'rdoc'
rdoc.generator = 'hanna'
rdoc.title = "hanna-nouveau"
rdoc.options = ['--main', 'README.rdoc', '--title', 'Hanna-nouveau: RDoc generator designed with simplicity, beauty and ease of browsing in mind']
rdoc.title = "hanna"
rdoc.options = ['--main', 'README.rdoc', '--title', 'Hanna: RDoc generator designed with simplicity, beauty and ease of browsing in mind']
rdoc.rdoc_files.add %w"README.rdoc LICENSE CHANGELOG lib"
end

Expand Down
32 changes: 16 additions & 16 deletions hanna-nouveau.gemspec → hanna.gemspec
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Gem::Specification.new do |s|
s.name = "hanna-nouveau"
s.name = "hanna"
s.version = '1.4.0'
s.authors = ["Jeremy Evans", "Erik Hollensbe", "James Tucker", "Mislav Marohnic"]
s.email = "code@jeremyevans.net"
Expand All @@ -8,26 +8,26 @@ Gem::Specification.new do |s|
"LICENSE",
"README.rdoc",
"CHANGELOG",
"lib/hanna-nouveau.rb",
"lib/hanna-nouveau/template_files/class_index.erb",
"lib/hanna-nouveau/template_files/file_index.erb",
"lib/hanna-nouveau/template_files/index.erb",
"lib/hanna-nouveau/template_files/layout.erb",
"lib/hanna-nouveau/template_files/method_index.erb",
"lib/hanna-nouveau/template_files/method_list.erb",
"lib/hanna-nouveau/template_files/method_search.js",
"lib/hanna-nouveau/template_files/page.erb",
"lib/hanna-nouveau/template_files/sections.erb",
"lib/hanna-nouveau/template_files/styles.css",
"lib/hanna.rb",
"lib/hanna/template_files/class_index.erb",
"lib/hanna/template_files/file_index.erb",
"lib/hanna/template_files/index.erb",
"lib/hanna/template_files/layout.erb",
"lib/hanna/template_files/method_index.erb",
"lib/hanna/template_files/method_list.erb",
"lib/hanna/template_files/method_search.js",
"lib/hanna/template_files/page.erb",
"lib/hanna/template_files/sections.erb",
"lib/hanna/template_files/styles.css",
"lib/rdoc/discover.rb"
]
s.homepage = "https://github.com/jeremyevans/hanna-nouveau"
s.homepage = "https://github.com/jeremyevans/hanna"
s.licenses = ["MIT"]
s.description = s.summary = "RDoc generator designed with simplicity, beauty and ease of browsing in mind"
s.metadata = {
'bug_tracker_uri' => 'https://github.com/jeremyevans/hanna-nouveau/issues',
'mailing_list_uri' => 'https://github.com/jeremyevans/hanna-nouveau/discussions',
"source_code_uri" => 'https://github.com/jeremyevans/hanna-nouveau'
'bug_tracker_uri' => 'https://github.com/jeremyevans/hanna/issues',
'mailing_list_uri' => 'https://github.com/jeremyevans/hanna/discussions',
"source_code_uri" => 'https://github.com/jeremyevans/hanna'
}

s.required_ruby_version = ">= 2.2"
Expand Down
2 changes: 1 addition & 1 deletion lib/hanna-nouveau.rb → lib/hanna.rb
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def initialize( store, options )
@options = options
@store = store

@templatedir = Pathname.new File.expand_path('../hanna-nouveau/template_files', __FILE__)
@templatedir = Pathname.new File.expand_path('../hanna/template_files', __FILE__)

@files = nil
@classes = nil
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<div id='footer-push'></div>
</div>
<div id='footer'>
<a href="https://github.com/jeremyevans/hanna-nouveau"><strong>Hanna Nouveau</strong> RDoc template</a>
<a href="https://github.com/jeremyevans/hanna"><strong>Hanna</strong> RDoc template</a>
</div>
<% end %></body>
</html>
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion lib/rdoc/discover.rb
Original file line number Diff line number Diff line change
@@ -1 +1 @@
require 'hanna-nouveau'
require 'hanna'
4 changes: 2 additions & 2 deletions test/lib/a.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
#
# * regular list
#
# http://github.com/jeremyevans/hanna-nouveau
# http://github.com/jeremyevans/hanna
#
# https://github.com/jeremyevans/hanna-nouveau
# https://github.com/jeremyevans/hanna
class A
module B
def c
Expand Down
8 changes: 4 additions & 4 deletions test/test_hanna.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@
require 'minitest/hooks/default'
require 'minitest/global_expectations/autorun'

$: << File.join(File.dirname(__FILE__), '..', 'lib')
$:.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))

require 'rdoc/rdoc'
require 'fileutils'
require 'find'

describe 'hanna-nouveau' do
describe 'hanna' do
before(:all) do
Dir.chdir("test") do
RDoc::RDoc.new.document(%w'-q -O -f hanna -o rdoc lib')
Expand Down Expand Up @@ -62,8 +62,8 @@

it "should set target to _top for both http and http links" do
t = File.binread('test/rdoc/classes/A.html')
t.must_include 'target="_top" href="http://github.com/jeremyevans/hanna-nouveau">github.com/jeremyevans/hanna-nouveau</a></p>'
t.must_include 'target="_top" href="https://github.com/jeremyevans/hanna-nouveau">github.com/jeremyevans/hanna-nouveau</a></p>'
t.must_include 'target="_top" href="http://github.com/jeremyevans/hanna">github.com/jeremyevans/hanna</a></p>'
t.must_include 'target="_top" href="https://github.com/jeremyevans/hanna">github.com/jeremyevans/hanna</a></p>'
end

it "should use tables for labeled lists" do
Expand Down

0 comments on commit c7423ad

Please sign in to comment.