pushes 0.0.5 → 0.0.6
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/pushes/config.rb +4 -0
- data/lib/pushes/version.rb +1 -1
- data/lib/pushes.rb +5 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a8f5d0ac5e20dd7fcd736253e78c93d7f3ba1f74
|
|
4
|
+
data.tar.gz: c0e109ed55a77244204010e216021787d5e43bfe
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9e7b83e433b0f6efe37cf86f7782b3047bed88df94f1d4d4897b1a322494e9e3cdec226363287fe2270184c70a34147b5c9f918d09d1b3aaca2572c9d582c696
|
|
7
|
+
data.tar.gz: e3275f6eea5732b6b29ad5d16d87e1b6d224ac8502774debfe178363bf1ee9184e23718d31dca8d54a2ce44c7b0947570dd24f69c6d2eef10b7d257e0f6a90bf
|
data/README.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
GitHub post-commit notifs
|
|
1
|
+
<p align="center">
|
|
2
|
+
<strong>GitHub post-commit notifs<br>in your OS X Notification Center</strong><br>
|
|
3
|
+
<img src="https://f.cloud.github.com/assets/436043/928820/ea544eee-ffc2-11e2-8604-cf49744c8118.png" alt="Pushes">
|
|
4
|
+
</p>
|
|
3
5
|
|
|
4
6
|
## Installation
|
|
5
7
|
```
|
|
@@ -16,7 +18,7 @@ $ pushes fetch
|
|
|
16
18
|
|
|
17
19
|
### Start
|
|
18
20
|
Start a LaunchAgent background process.<br>
|
|
19
|
-
Will `fetch` every `INTERVAL` seconds and will start at
|
|
21
|
+
Will `fetch` every `INTERVAL` seconds (default: 10) and will start at boot.
|
|
20
22
|
```sh
|
|
21
23
|
$ pushes start
|
|
22
24
|
$ pushes start 30
|
data/lib/pushes/config.rb
CHANGED
data/lib/pushes/version.rb
CHANGED
data/lib/pushes.rb
CHANGED
|
@@ -52,12 +52,17 @@ module Pushes
|
|
|
52
52
|
start_interval = interval > 0 ? interval : 10
|
|
53
53
|
|
|
54
54
|
launch_agent.start(start_interval)
|
|
55
|
+
command_fetch
|
|
55
56
|
end
|
|
56
57
|
|
|
57
58
|
def self.command_stop
|
|
58
59
|
launch_agent.stop
|
|
59
60
|
end
|
|
60
61
|
|
|
62
|
+
def self.command_reset
|
|
63
|
+
config.clear_storage
|
|
64
|
+
end
|
|
65
|
+
|
|
61
66
|
# Utilities
|
|
62
67
|
def self.first_run?
|
|
63
68
|
!config.initiated?
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pushes
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Rafael Blais-Masson
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2013-08-
|
|
12
|
+
date: 2013-08-10 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: octokit
|