mirror of
https://github.com/thoughtbot/shoulda-matchers.git
synced 2022-11-09 12:01:38 -05:00
Prefix temporary gh pages dir with username
This commit is contained in:
parent
3787559b76
commit
99a68fe14a
2 changed files with 4 additions and 2 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1,5 +1,7 @@
|
||||||
.bundle
|
.bundle
|
||||||
.gh-pages
|
.gh-pages
|
||||||
|
.thoughtbot-gh-pages
|
||||||
|
.mcmire-gh-pages
|
||||||
.yardoc
|
.yardoc
|
||||||
coverage
|
coverage
|
||||||
build
|
build
|
||||||
|
|
|
@ -57,10 +57,10 @@ module Shoulda
|
||||||
|
|
||||||
class DocumentationPublisher
|
class DocumentationPublisher
|
||||||
CURRENT_VERSION = Shoulda::Matchers::VERSION
|
CURRENT_VERSION = Shoulda::Matchers::VERSION
|
||||||
GH_PAGES_DIR = '.gh-pages'
|
|
||||||
DOCS_DIR = "#{GH_PAGES_DIR}/docs"
|
|
||||||
GITHUB_USERNAME = 'thoughtbot'
|
GITHUB_USERNAME = 'thoughtbot'
|
||||||
# GITHUB_USERNAME = 'mcmire'
|
# GITHUB_USERNAME = 'mcmire'
|
||||||
|
GH_PAGES_DIR = ".#{GITHUB_USERNAME}-gh-pages"
|
||||||
|
DOCS_DIR = "#{GH_PAGES_DIR}/docs"
|
||||||
|
|
||||||
def self.current_version
|
def self.current_version
|
||||||
CURRENT_VERSION
|
CURRENT_VERSION
|
||||||
|
|
Loading…
Reference in a new issue