-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
20 changed files
with
314 additions
and
207 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,6 +48,7 @@ coreaudiod | |
cppflags | ||
cruisecontrol | ||
cwd | ||
cyclomatic | ||
dest | ||
diffable | ||
diffr | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,40 @@ | ||
tap "heroku/brew" | ||
tap "homebrew/bundle" | ||
tap "homebrew/cask" | ||
tap "homebrew/cask-fonts" | ||
tap "homebrew/core" | ||
tap "homebrew/services" | ||
brew "fnm" | ||
brew "rust" | ||
brew "pcre" | ||
brew "bash" | ||
brew "chruby" | ||
brew "ruby-install" | ||
brew "exercism" | ||
brew "diffr" | ||
brew "git" | ||
brew "git-lfs" | ||
brew "gnupg" | ||
brew "jq" | ||
brew "pinentry-mac" | ||
brew "pkg-config" | ||
brew "rbspy" | ||
brew "shellcheck" | ||
brew "wget" | ||
brew "yq" | ||
cask "finicky" | ||
cask "textmate" | ||
cask "1password" | ||
cask "docker" | ||
cask "dropbox" | ||
cask "firefox" | ||
cask "font-inconsolata" | ||
cask "google-chrome" | ||
cask "istat-menus" | ||
cask "visual-studio-code" | ||
cask "ccmenu" | ||
cask "slack" | ||
cask "spotify" | ||
cask "textmate" | ||
# frozen_string_literal: true | ||
|
||
tap 'heroku/brew' | ||
tap 'homebrew/bundle' | ||
tap 'homebrew/cask' | ||
tap 'homebrew/cask-fonts' | ||
tap 'homebrew/core' | ||
tap 'homebrew/services' | ||
brew 'fnm' | ||
brew 'rust' | ||
brew 'pcre' | ||
brew 'bash' | ||
brew 'chruby' | ||
brew 'ruby-install' | ||
brew 'exercism' | ||
brew 'diffr' | ||
brew 'git' | ||
brew 'git-lfs' | ||
brew 'gnupg' | ||
brew 'jq' | ||
brew 'pinentry-mac' | ||
brew 'pkg-config' | ||
brew 'rbspy' | ||
brew 'shellcheck' | ||
brew 'wget' | ||
brew 'yq' | ||
cask 'finicky' | ||
cask 'textmate' | ||
cask '1password' | ||
cask 'docker' | ||
cask 'dropbox' | ||
cask 'firefox' | ||
cask 'font-inconsolata' | ||
cask 'google-chrome' | ||
cask 'istat-menus' | ||
cask 'visual-studio-code' | ||
cask 'ccmenu' | ||
cask 'slack' | ||
cask 'spotify' | ||
cask 'textmate' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
# frozen_string_literal: true | ||
|
||
source 'https://rubygems.org' | ||
|
||
gem 'spellr' | ||
gem 'rspec' | ||
gem 'tty_string' | ||
gem 'pry' | ||
gem 'rspec' | ||
gem 'rubocop' | ||
gem 'rubocop-rspec' | ||
gem 'spellr' | ||
gem 'tty_string' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,47 @@ | ||
# frozen_string_literal: true | ||
|
||
RSpec.describe 'git helper spec' do | ||
describe 'git_web_url' do | ||
before { git("init") } | ||
before { git('init') } | ||
|
||
it 'returns the github web url for https git' do | ||
git("remote add origin https://github.com/robotdana/dotfiles.git") | ||
expect(run 'git_web_url').to have_output( | ||
git('remote add origin https://github.com/robotdana/dotfiles.git') | ||
expect(run('git_web_url')).to have_output( | ||
"https://github.com/robotdana/dotfiles\n" | ||
) | ||
end | ||
|
||
it 'returns the github web url for ssh git' do | ||
git("remote add upstream [email protected]:robotdana/dotfiles.git") | ||
expect(run 'git_web_url upstream').to have_output( | ||
git('remote add upstream [email protected]:robotdana/dotfiles.git') | ||
expect(run('git_web_url upstream')).to have_output( | ||
"https://github.com/robotdana/dotfiles\n" | ||
) | ||
end | ||
|
||
it 'returns the bitbucket web url for https git' do | ||
git("remote add origin https://bitbucket.org/robotdana/dotfiles.git") | ||
expect(run 'git_web_url').to have_output( | ||
git('remote add origin https://bitbucket.org/robotdana/dotfiles.git') | ||
expect(run('git_web_url')).to have_output( | ||
"https://bitbucket.org/robotdana/dotfiles\n" | ||
) | ||
end | ||
|
||
it 'returns the bitbucket web url for ssh git' do | ||
git("remote add upstream [email protected]:robotdana/dotfiles.git") | ||
expect(run 'git_web_url upstream').to have_output( | ||
git('remote add upstream [email protected]:robotdana/dotfiles.git') | ||
expect(run('git_web_url upstream')).to have_output( | ||
"https://bitbucket.org/robotdana/dotfiles\n" | ||
) | ||
end | ||
|
||
it 'returns the gitlab web url for https git' do | ||
git("remote add origin https://gitlab.com/robotdana/dotfiles.git") | ||
expect(run 'git_web_url').to have_output( | ||
git('remote add origin https://gitlab.com/robotdana/dotfiles.git') | ||
expect(run('git_web_url')).to have_output( | ||
"https://gitlab.com/robotdana/dotfiles\n" | ||
) | ||
end | ||
|
||
it 'returns the gitlab web url for ssh git' do | ||
git("remote add upstream [email protected]:robotdana/dotfiles.git") | ||
expect(run 'git_web_url upstream').to have_output( | ||
git('remote add upstream [email protected]:robotdana/dotfiles.git') | ||
expect(run('git_web_url upstream')).to have_output( | ||
"https://gitlab.com/robotdana/dotfiles\n" | ||
) | ||
end | ||
|
Oops, something went wrong.