wfstatus 0.0.1 → 0.0.2
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.
- checksums.yaml +4 -4
- data/README.md +5 -3
- data/lib/wfstatus/version.rb +1 -1
- metadata +2 -6
- data/spec/fixtures/config.yml +0 -28
- data/spec/fixtures/config_dow.yml +0 -30
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 111d9fb957121030155ef474087ffa2317f53a12
|
4
|
+
data.tar.gz: 0ee163bfeb4b46e42eeacaef9026623b97b07d08
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 85244f64493cb8ce01574e996b19641eb2184c2b0df344ae8915a388c9cab3b3c91385847a0888753f4b1e8fbc0569dd1ed2ccf8c7a4488cf8c2e04568a87f64
|
7
|
+
data.tar.gz: ddd41772c44253a90989619850e210a4bfb4ed71666b1e11e9ecf5582df21fb55a55ad04fe60128bd7250d99bad3654ea38f32be42a7d8f42d0c1630b3dc308b
|
data/README.md
CHANGED
@@ -1,12 +1,14 @@
|
|
1
1
|
# Wfstatus
|
2
2
|
|
3
|
-
This gem is designed to help developers who are responsible for managing applications on multiple Webfaction servers. The Webfaction Status Blog is an excellent resource, but requires a developer to remember the names of all servers for which she is responsible.
|
3
|
+
This gem is designed to help developers who are responsible for managing applications on multiple Webfaction servers. The Webfaction Status Blog is an excellent resource, but requires a developer to remember the names of all servers for which she is responsible.
|
4
|
+
|
5
|
+
This tool allows the developer to specify a hash of servers of interest keyed to site names or other information in a YAML config file. When the gem executes, it selects recent posts from the status blog which mention any of the configured servers and emails the developer with the information.
|
4
6
|
|
5
7
|
## Installation
|
6
8
|
|
7
9
|
$ gem install wfstatus
|
8
10
|
|
9
|
-
## Sample
|
11
|
+
## Sample wfstatus.yml
|
10
12
|
|
11
13
|
~~~
|
12
14
|
# the webfaction status blog url
|
@@ -41,7 +43,7 @@ utc_offset: -08:00
|
|
41
43
|
|
42
44
|
## Usage
|
43
45
|
|
44
|
-
$ wfstatus
|
46
|
+
$ wfstatus wfstatus.yml
|
45
47
|
|
46
48
|
## Todo
|
47
49
|
|
data/lib/wfstatus/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wfstatus
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dow Drake
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-09-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -85,8 +85,6 @@ files:
|
|
85
85
|
- lib/wfstatus/version.rb
|
86
86
|
- lib/wfstatus/wfmessage.rb
|
87
87
|
- spec/builder_spec.rb
|
88
|
-
- spec/fixtures/config.yml
|
89
|
-
- spec/fixtures/config_dow.yml
|
90
88
|
- spec/fixtures/sample.htm
|
91
89
|
- spec/parser_spec.rb
|
92
90
|
- spec/spec_helper.rb
|
@@ -119,8 +117,6 @@ summary: Retrieves Webfaction Status Blog posts mentioning your servers and emai
|
|
119
117
|
you with the results.
|
120
118
|
test_files:
|
121
119
|
- spec/builder_spec.rb
|
122
|
-
- spec/fixtures/config.yml
|
123
|
-
- spec/fixtures/config_dow.yml
|
124
120
|
- spec/fixtures/sample.htm
|
125
121
|
- spec/parser_spec.rb
|
126
122
|
- spec/spec_helper.rb
|
data/spec/fixtures/config.yml
DELETED
@@ -1,28 +0,0 @@
|
|
1
|
-
# the webfaction status blog url
|
2
|
-
blog_url: http://statusblog.webfaction.com
|
3
|
-
|
4
|
-
# server name: a description of your sites hosted at the server
|
5
|
-
servers:
|
6
|
-
web313: 'wibble.com, myclient.com'
|
7
|
-
web369: 'pigsinhelicopters.com'
|
8
|
-
web344: 'bigclient.com (main server)'
|
9
|
-
web406: 'bigclient.com (server 2)'
|
10
|
-
|
11
|
-
# smtp email settings
|
12
|
-
smtp:
|
13
|
-
address: smtp.webfaction.com
|
14
|
-
port: 587
|
15
|
-
domain: mydomain.com
|
16
|
-
user_name: myusername
|
17
|
-
password: mypassword
|
18
|
-
authentication: plain
|
19
|
-
enable_starttls_auto: true
|
20
|
-
|
21
|
-
# mail settings
|
22
|
-
mail:
|
23
|
-
from: myusername@mydomain.com
|
24
|
-
to: me@gmail.com
|
25
|
-
subject: Webfaction status Update
|
26
|
-
|
27
|
-
# your time zone offset
|
28
|
-
utc_offset: -08:00
|
@@ -1,30 +0,0 @@
|
|
1
|
-
# the webfaction message blog url
|
2
|
-
blog_url: http://messageblog.webfaction.com
|
3
|
-
|
4
|
-
# server name: <any description you like>
|
5
|
-
servers:
|
6
|
-
web313: dowdrake.com
|
7
|
-
web369: opsmailer.com
|
8
|
-
web344: optomec.com main server
|
9
|
-
web406: optomec.com server 2
|
10
|
-
web309: speedvagen-orders.com
|
11
|
-
web342: ahi-upkeep.com
|
12
|
-
|
13
|
-
# smtp email settings
|
14
|
-
smtp:
|
15
|
-
address: smtp.webfaction.com
|
16
|
-
port: 587
|
17
|
-
domain: ahi-upkeep.com
|
18
|
-
user_name: ahiupkeep
|
19
|
-
password: j0kerm@n
|
20
|
-
authentication: plain
|
21
|
-
enable_starttls_auto: true
|
22
|
-
|
23
|
-
# mail settings
|
24
|
-
mail:
|
25
|
-
from: ahiupkeep@ahi-upkeep.com
|
26
|
-
to: dowdrake@msn.com
|
27
|
-
subject: Webfaction message Update
|
28
|
-
|
29
|
-
# your time zone offset
|
30
|
-
utc_offset: -08:00
|