eye-slack 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9effcf7a79617b84c7c1b230e2d031b2611d0361
4
- data.tar.gz: f2c9341eb7cb3482b937803ab204b93f8cba5521
3
+ metadata.gz: 293d32eb1c2311848dec71f16400016df1520b6c
4
+ data.tar.gz: 24a1cd6e88de6642be2c8d67cab0c4eea141cbe5
5
5
  SHA512:
6
- metadata.gz: 99c8a4505d5a44b370b2b39405a6143c1370e2f7fd1a081441f6be7885a5218437f294acbe7d1eb02d9450b5e5e18baaf7c7a44c12571ad325ee5446df97fa3d
7
- data.tar.gz: 70aefc57cfc4c28f7d5d774b886e6aebfb9ee539a1f2d69586826f885262e44f9eaf05c0f6b2331fa2f84d67a9377d7e84ab06923e6bbe76aa9f84d5bf14d55c
6
+ metadata.gz: c1900da3c2cd38182087ffaa1a0e8b1c0d6a366abe1d4f1c6feeae6eac988cc8e0c702f8f66fc1f6bae0e351719f63f16dae461ed9d0323b88352117af373b04
7
+ data.tar.gz: da0364819933deb3961624f47c0968c28cef2977661256fcd529436c2b09bb28308cfbf4d8d5a7964c36c628997d2e8c0ecac2e723e4621925414f510db30f3a
data/Changelog.md ADDED
@@ -0,0 +1,10 @@
1
+ # Changelog
2
+
3
+ ## 0.0.3
4
+
5
+ * had to rename Slack class to EyeSlack, because eye > 0.5.1 has slack integrated :(
6
+ * support for eye > 0.5.1
7
+
8
+ ## 0.0.2
9
+
10
+ * initial revision, supports eye up to 0.5.1
data/README.md CHANGED
@@ -2,14 +2,13 @@
2
2
 
3
3
  Sends info about process crashes to Slack channel.
4
4
 
5
- **NOTE**: This will **NOT** probably work with eye > 0.7
5
+ **NOTE** see Changelog.md for changes
6
6
 
7
7
  ## Installation
8
8
 
9
9
  Add this line to your application's Gemfile:
10
10
 
11
11
  ```ruby
12
- gem 'eye'
13
12
  gem 'eye-slack'
14
13
  ```
15
14
 
@@ -27,11 +26,11 @@ this is an example configuration file
27
26
 
28
27
  ````
29
28
  # Notify example
30
- require 'eye/notify/slack'
29
+ require 'eye/notify/eye_slack'
31
30
 
32
31
  Eye.config do
33
- slack webhook_url: 'url', username: 'eye', color: 'danger'
34
- contact :dev, :slack, '#test'
32
+ eye_slack webhook_url: 'url', username: 'eye', color: 'danger'
33
+ contact :dev, :eye_slack, '#test'
35
34
  logger '/tmp/eye.log'
36
35
  end
37
36
 
@@ -53,7 +52,7 @@ end
53
52
 
54
53
  # Configuration
55
54
 
56
- * add `slack` line to `Eye.config` section and check following parameters
55
+ * add `eye_slack` line to `Eye.config` section and check following parameters
57
56
  * `webhook_url` - *required* - webhook URL
58
57
  * `username` - who is reporting to slack, *Eye Bot* as a default
59
58
  * `color` - *#f0f0f0* is default. You can choose from RGB or `good`, `warning` and `danger`
data/eye-slack.gemspec CHANGED
@@ -1,11 +1,11 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
  lib = File.expand_path('../lib', __FILE__)
3
3
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require 'eye/notify/slack/version'
4
+ require 'eye/notify/eye_slack/version'
5
5
 
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "eye-slack"
8
- spec.version = Eye::Notify::Slack::VERSION
8
+ spec.version = Eye::Notify::EyeSlack::VERSION
9
9
  spec.authors = ["Tom Meinlschmidt"]
10
10
  spec.email = ["tomas@meinlschmidt.org"]
11
11
  spec.summary = %q{Eye to Slack notification}
@@ -22,6 +22,6 @@ Gem::Specification.new do |spec|
22
22
  spec.add_development_dependency "rake", "~> 10.0"
23
23
 
24
24
  spec.add_runtime_dependency "slack-notifier", "~> 1.2.1"
25
- spec.add_runtime_dependency "eye", "~> 0.5"
25
+ spec.add_runtime_dependency "eye", ">= 0.6"
26
26
 
27
27
  end
@@ -1,12 +1,12 @@
1
1
  require 'eye'
2
- require 'eye/notify/slack/version'
2
+ require 'eye/notify/eye_slack/version'
3
3
 
4
4
  require 'slack-notifier'
5
5
 
6
6
  module Eye
7
7
  class Notify
8
8
 
9
- class Slack < Eye::Notify::Custom
9
+ class EyeSlack < Eye::Notify::Custom
10
10
 
11
11
  # Eye.config do
12
12
  # slack webhook_url: '1312312', icon: '', username: 'eye bot', color: '#f0f0f0', channel
@@ -3,8 +3,8 @@ module Eye
3
3
  # to satisfy gem packaking
4
4
  class Eye::Notify::Custom < Eye::Notify; end
5
5
 
6
- class Slack < Eye::Notify::Custom
7
- VERSION = "0.0.2"
6
+ class EyeSlack < Eye::Notify::Custom
7
+ VERSION = "0.0.3"
8
8
  end
9
9
  end
10
10
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eye-slack
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom Meinlschmidt
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-17 00:00:00.000000000 Z
11
+ date: 2016-01-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -56,16 +56,16 @@ dependencies:
56
56
  name: eye
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - "~>"
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
- version: '0.5'
61
+ version: '0.6'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - "~>"
66
+ - - ">="
67
67
  - !ruby/object:Gem::Version
68
- version: '0.5'
68
+ version: '0.6'
69
69
  description: Eye to Slack notification
70
70
  email:
71
71
  - tomas@meinlschmidt.org
@@ -74,12 +74,13 @@ extensions: []
74
74
  extra_rdoc_files: []
75
75
  files:
76
76
  - ".gitignore"
77
+ - Changelog.md
77
78
  - Gemfile
78
79
  - README.md
79
80
  - Rakefile
80
81
  - eye-slack.gemspec
81
- - lib/eye/notify/slack.rb
82
- - lib/eye/notify/slack/version.rb
82
+ - lib/eye/notify/eye_slack.rb
83
+ - lib/eye/notify/eye_slack/version.rb
83
84
  homepage: https://github.com/tmeinlschmidt/eye-slack
84
85
  licenses:
85
86
  - MIT