Daniel Bayerlein
a6194dfe8b
Update RSpec
2016-12-23 11:59:44 +01:00
Jeremy Cook
1016002638
Merge branch 'named_castles' of https://github.com/rweng/homesick into rweng-named_castles
2015-10-14 22:30:46 -04:00
Jeremy Cook
7632591681
Coding standards fixes based off of Rubocop and minor edits to make
...
logic flow easier to understand.
2015-10-12 19:30:29 -04:00
Robin Wenglewski
332aad8ad0
change 'homesick open' to run '$EDITOR .' instead of '$EDITOR' in castle_dir #142
2015-10-12 16:39:52 +02:00
Robin Wenglewski
171b4c1fb8
add option to pass in destination to homesick clone
2015-10-11 18:21:22 +02:00
Jeremy Cook
60d4458bbc
Merge pull request #124 from shioyama/clone_destination
...
Pass destination when cloning url.
2015-03-22 14:12:41 -04:00
Chris Salzberg
9ad171ab78
Pass destination when cloning url.
2015-03-05 22:26:41 +09:00
Jeremy Cook
46faec7857
Bug fix to make sure git check works properly.
2015-01-01 21:21:27 -05:00
Jeremy Cook
e35d3fe6ba
Merge pull request #128 from wireframe/force-rc
2014-12-13 08:12:04 -05:00
Ryan Sonnek
5700f55dc3
Add --force option to homesick rc command
...
Support automatically eval-ing .homesickrc file without prompting for user input.
This is particularly useful for headless scripts that do not support
user input.
2014-12-01 13:38:43 -06:00
Jeremy Cook
2c92010093
Fix to make tests pass in Ruby 1.9.3
2014-11-25 21:18:13 -05:00
Jeremy Cook
7bd9759e81
Added tests for a minimumGit version of 1.8.0.
2014-11-23 22:22:44 -05:00
Jeremy Cook
a808f56caf
Tightened up git checking to check for a minimum installed version of
...
Git.
2014-11-23 14:32:47 -05:00
Jeremy Cook
b7e2b45e69
Added simple implementation to check if git is installed before
...
executing commands.
2014-11-20 21:25:47 -05:00
Jeremy Cook
63c45d7c3a
Removed unneeded config line.
2014-11-09 11:44:09 -05:00
Jeremy Cook
8d6bf4c0c5
Updated to use Rspec 3.1
2014-09-30 19:39:16 -04:00
Jeremy Cook
f034f773c5
Added a smoke test to ensure that calling bin/homesick outputs some text
2014-09-19 14:19:09 -04:00
Jeremy Cook
d4f9633a0c
Added ability for methods to be overrode, through the pretend and quiet
...
options, skipping their default behaviour if so.
2014-04-22 19:43:40 -04:00
Nicolas McCurdy
705a416d74
Extract the CLI into a new Homesick::CLI class, while making Homesick a module
2014-04-16 17:20:05 -04:00
Jeremy Cook
9a3268b7c3
Merge pull request #100 from nicolasmccurdy/use-coveralls
...
Use coveralls
2014-04-15 21:15:46 -04:00
Jeremy Cook
53ac09a5e9
Merge pull request #101 from nicolasmccurdy/use-libraries
...
Use stdlib methods to replace most non-git shell calls. Looks good.
2014-04-13 17:17:30 -04:00
Jeremy Cook
efea18327b
Added options for exec command and a new exec_all command.
2014-04-13 10:59:40 -04:00
Nicolas McCurdy
84fb1d1462
Replace a system call in the spec helper
2014-04-06 02:01:15 -04:00
Nicolas McCurdy
349e75584f
Switch from simplecov to coveralls for code coverage (in the cloud!!!)
2014-04-05 23:27:29 -04:00
Jeremy Cook
bea3a0b680
Added exec command to homesick.
2014-04-05 09:21:16 -04:00
Jeremy Cook
8b6bf92e9a
Applied fixes that allow tests to pass again.
2014-04-05 09:18:56 -04:00
Nicolas McCurdy
133c3613e9
Merge pull request #96 from nicolasmccurdy/fix-simplecov
...
Fix simplecov
2014-04-05 00:47:31 -04:00
Nicolas McCurdy
22aed48d4e
Set up simplecov (it was in the Gemfile before, but it wasn't actually used)
2014-04-04 15:11:31 -04:00
Nicolas McCurdy
ca41ae7f85
Only allow RSpec's new "expect" syntax
2014-04-04 02:10:19 -04:00
Nicolas McCurdy
fa61e7b10e
Avoid using "should" in example descriptions
2014-04-04 01:53:23 -04:00
Nicolas McCurdy
8397dcacc5
Convert specs to RSpec 2.14.8 syntax with Transpec
...
This conversion is done by Transpec 1.10.4 with the following command:
transpec
* 39 conversions
from: obj.should
to: expect(obj).to
* 22 conversions
from: == expected
to: eq(expected)
* 18 conversions
from: obj.should_receive(:message)
to: expect(obj).to receive(:message)
* 13 conversions
from: obj.stub(:message)
to: allow(obj).to receive(:message)
* 11 conversions
from: obj.should_not
to: expect(obj).not_to
* 5 conversions
from: =~ /pattern/
to: match(/pattern/)
* 2 conversions
from: obj.should_not_receive(:message)
to: expect(obj).not_to receive(:message)
2014-04-04 01:37:44 -04:00
Jeremy Cook
d91628f811
Made tests more generic since file paths may be different on various
...
systems.
2014-03-08 17:26:07 -05:00
Nicolas McCurdy
98edb54ca4
Merge remote-tracking branch 'upstream/master' into rubocop-fixes
...
Conflicts:
lib/homesick.rb
2014-01-21 22:37:48 -05:00
Jeremy Cook
59f6239ea0
Renamed symlink command to link.
2014-01-21 17:21:07 -05:00
Nicolas McCurdy
c2cb6081e1
Fix some more code style issues with block params being in the wrong place
2014-01-20 23:26:29 -05:00
Nicolas McCurdy
95943deb82
Revert changes that use "\" and disable the line length cop
2014-01-20 21:03:21 -05:00
Nicolas McCurdy
82be04ad8a
Fix rubocop issues for some recently merged code
2014-01-16 00:22:13 -05:00
Nicolas McCurdy
0bbb82f9ba
Wrap all lines of Ruby code to 79 characters (maximum)
2014-01-15 23:44:39 -05:00
Nicolas McCurdy
12244abb56
Fix a few more syntax-related rubocop issues manually
2014-01-15 23:23:29 -05:00
Nicolas McCurdy
fc2bbb1d6e
Fix several rubocop issues with "rubocop -a"
2014-01-15 23:23:29 -05:00
Jeremy Cook
df8f6b1cb0
Added command to display current version of homesick.
2014-01-10 09:36:09 -05:00
Jeremy Cook
148d18565f
Added tests for untested methods.
2014-01-06 21:24:24 -05:00
Jeremy Cook
264d586863
Updated tests to remove shell output from test results.
2014-01-06 21:24:24 -05:00
Jeremy Cook
76bee65475
Updated gems to use test_construct, removing warning message.
2014-01-06 21:24:24 -05:00
Jeremy Cook
78271a9ed4
Added commands to cd into a castle and to open a shell and to open the
...
default editor in the root of a given castle.
2013-12-31 21:20:13 -05:00
Jeremy Cook
8f67188c19
Added new tests for status and commit
2013-12-31 21:18:14 -05:00
thilko
69c38774fe
ask user before start destroying
2013-11-23 21:01:53 +01:00
bcd87
e8b471ac97
Changed the spec, bundle exec rake works
2013-11-23 19:38:52 +01:00
Trae Robrock
17426583e0
Add test for parens in filenames, and fixed
2013-11-23 19:38:52 +01:00
muratayusuke
238658cf69
remove unused variables
2013-11-23 19:38:51 +01:00