1
0
Fork 0
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:
Elliot Winkler 2015-01-23 16:05:32 -07:00
parent 3787559b76
commit 99a68fe14a
2 changed files with 4 additions and 2 deletions

2
.gitignore vendored
View file

@ -1,5 +1,7 @@
.bundle .bundle
.gh-pages .gh-pages
.thoughtbot-gh-pages
.mcmire-gh-pages
.yardoc .yardoc
coverage coverage
build build

View file

@ -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