Skip to content

Commit c0086e1

Browse files
authored
Merge pull request #4 from customink/cmurphy/fix_ootb_setup_experience
Improve the out-of-the-box development experience for this gem
2 parents ab412bc + 38e3141 commit c0086e1

File tree

6 files changed

+35
-6
lines changed

6 files changed

+35
-6
lines changed

.ruby-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2.6.6

Brewfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Add homebrew-based depencencies here
2+
brew 'coreutils' # Dependencies for natively compiling the json gem. See https://www.gnu.org/software/coreutils/

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# IsItUp Changelog
22

3+
## 0.0.4
4+
- Added `.ruby-version` file with a recent version of Ruby
5+
- Added `Brewfile` with the GNU coreutils dependency
6+
- Added `bin/bootstrap_macos` to help macOS users get bootstrapped for development
7+
- Updated README with additional instructions for getting started
8+
39
## 0.0.3
410
- Added `bin/console` for local testing
511
- Added `bin/setup` for easier installation

README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Or install it yourself as:
2020

2121
## Usage
2222

23-
IsItUp provides one monitoring URI that returns a JSON response:
23+
IsItUp provides a monitoring URI that returns a JSON response:
2424

2525
```ruby
2626
% curl your-domain/is_it_up
@@ -30,10 +30,12 @@ IsItUp provides one monitoring URI that returns a JSON response:
3030
## Contributing
3131

3232
1. Fork it ( http://github.com/customink/is_it_up/fork )
33-
2. Create your feature branch (`git checkout -b my-new-feature`)
34-
3. Commit your changes (`git commit -am 'Add some feature'`)
35-
4. Push to the branch (`git push origin my-new-feature`)
36-
5. Create new Pull Request
33+
2. Run `bin/bootstrap_macos` (if using macOS) and `bin/setup` to ensure your environment is configured for development
34+
3. Run `bin/test` to ensure all tests pass
35+
4. Create your feature branch (`git checkout -b my-new-feature`)
36+
5. Commit your changes (`git commit -am 'Add some feature'`)
37+
6. Push to the branch (`git push origin my-new-feature`)
38+
7. Create new Pull Request
3739

3840
## Kudos
3941

bin/bootstrap_macos

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
2+
#!/bin/sh
3+
4+
# script/bootstrap: Resolve all dependencies that the application requires to
5+
# run.
6+
7+
set -e
8+
9+
cd "$(dirname "$0")/.."
10+
11+
if [ -f "Brewfile" ] && [ "$(uname -s)" = "Darwin" ]; then
12+
brew bundle check || {
13+
echo "==> Installing Homebrew dependencies..."
14+
brew bundle
15+
}
16+
fi
17+
18+
brew bootstrap-rbenv-ruby

lib/is_it_up/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module IsItUp
2-
VERSION = "0.0.3"
2+
VERSION = "0.0.4"
33
end

0 commit comments

Comments
 (0)