statusz 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. data/README.md +6 -0
  2. data/bin/statusz +9 -0
  3. data/lib/statusz/version.rb +1 -1
  4. metadata +5 -3
data/README.md CHANGED
@@ -160,6 +160,12 @@ suffix.)
160
160
 
161
161
  See `rack_example/` for a small example of a `Statusz::Server` application.
162
162
 
163
+ ## Statusz tool
164
+
165
+ When you install statusz, you'll also get a commandline tool `statusz`. When you run this, it will run
166
+ `Statusz.write_file("statusz.html")`, creating a statusz file ready for deployment. This is useful for calling
167
+ statusz via a non-Ruby deployment.
168
+
163
169
  ## Documentation
164
170
 
165
171
  Besides this document, you can see a couple of small examples in `example/` and `rack_example/` and you may
@@ -0,0 +1,9 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "statusz"
4
+ # TODO(caleb): Expose more options via command-line flags:
5
+ # --file
6
+ # --format
7
+ # --fields
8
+ # --extra-fields
9
+ Statusz.write_file("statusz.html")
@@ -1,3 +1,3 @@
1
1
  module Statusz
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: statusz
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-10-30 00:00:00.000000000 Z
12
+ date: 2013-01-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rack
@@ -62,7 +62,8 @@ dependencies:
62
62
  description: statusz is a gem that writes out git metadata at deploy time.
63
63
  email:
64
64
  - cespare@gmail.com
65
- executables: []
65
+ executables:
66
+ - statusz
66
67
  extensions: []
67
68
  extra_rdoc_files: []
68
69
  files:
@@ -72,6 +73,7 @@ files:
72
73
  - LICENSE
73
74
  - README.md
74
75
  - Rakefile
76
+ - bin/statusz
75
77
  - example/Gemfile
76
78
  - example/Gemfile.lock
77
79
  - example/README.md