co2-notify 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/arkadiybutermanov.co2-notify.plist +17 -0
- data/lib/co2-notify/version.rb +1 -1
- data/lib/co2-notify.rb +8 -0
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 128eeb963f5de2e2a710b38ec44be5c135781fb7
|
4
|
+
data.tar.gz: 9c13992a128c5a30bf3dc3d019a4436af45d6d8f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ed54f54526f35123f407b250393918ce2f611032ed5cf60376af4ca64b4524eeec08e259811452b4e292eab0bf2b01ae5551b2b7e550fc7e8e60a316ec5b7f89
|
7
|
+
data.tar.gz: 1d37e84a0385de48d2e266cc46ec37ea1925d60969782f75a0cbf95fb73a9a9adf69988363a7ee8cbfb971a576828b0c768ea26ae6274be50df85418d8aa1f30
|
@@ -0,0 +1,17 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
3
|
+
<plist version="1.0">
|
4
|
+
<dict>
|
5
|
+
<key>KeepAlive</key>
|
6
|
+
<true/>
|
7
|
+
<key>Label</key>
|
8
|
+
<string>arkadiybutermanov.co2-notify</string>
|
9
|
+
<key>ProgramArguments</key>
|
10
|
+
<array>
|
11
|
+
<string>/usr/local/var/rbenv/shims/co2-notify</string>
|
12
|
+
<string>start</string>
|
13
|
+
</array>
|
14
|
+
<key>RunAtLoad</key>
|
15
|
+
<true/>
|
16
|
+
</dict>
|
17
|
+
</plist>
|
data/lib/co2-notify/version.rb
CHANGED
data/lib/co2-notify.rb
CHANGED
@@ -14,6 +14,14 @@ class Co2Notify < Thor
|
|
14
14
|
def init
|
15
15
|
Config.set
|
16
16
|
end
|
17
|
+
|
18
|
+
desc "autoload", "setup OSX plist"
|
19
|
+
def autoload
|
20
|
+
plist_path = File.expand_path("arkadiybutermanov.co2-notify.plist", __dir__)
|
21
|
+
target_path = File.expand_path("Library/LaunchAgents", ENV["HOME"])
|
22
|
+
|
23
|
+
FileUtils.cp plist_path, target_path
|
24
|
+
end
|
17
25
|
end
|
18
26
|
|
19
27
|
require_relative "co2-notify/config"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: co2-notify
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Arkadiy Butermanov
|
@@ -80,6 +80,7 @@ files:
|
|
80
80
|
- Rakefile
|
81
81
|
- bin/co2-notify
|
82
82
|
- co2-notify.gemspec
|
83
|
+
- lib/arkadiybutermanov.co2-notify.plist
|
83
84
|
- lib/co2-notify.rb
|
84
85
|
- lib/co2-notify/config.rb
|
85
86
|
- lib/co2-notify/hipchat_client.rb
|