mina-slack 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.
data/README.md CHANGED
@@ -23,7 +23,7 @@ In your slack settings, create new Incomming WebHooks and get WebHooks URL.
23
23
  In `config/deploy.rb`
24
24
 
25
25
  ```ruby
26
- require 'mina/slack'
26
+ require 'mina/slack/tasks'
27
27
 
28
28
  # Set your WebHooks URL
29
29
  set :slack_hook_url, 'https://teamname.slack.com/services/hooks/incoming-webhook?token=token'
data/lib/mina/slack.rb CHANGED
@@ -1,10 +1,6 @@
1
1
  require "mina/slack/version"
2
- require 'rest-client'
3
- require 'json'
4
2
 
5
3
  module Mina
6
4
  module Slack
7
5
  end
8
6
  end
9
-
10
- load File.expand_path("../slack/tasks/mina-slack.rake", __FILE__)
@@ -0,0 +1 @@
1
+ load File.expand_path("../tasks/mina-slack.rake", __FILE__)
@@ -1,3 +1,6 @@
1
+ require 'rest_client'
2
+ require 'json'
3
+
1
4
  set_default :slack_hook_url, ''
2
5
  set_default :slack_payload, {text: ''}
3
6
 
@@ -1,5 +1,5 @@
1
1
  module Mina
2
2
  module Slack
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mina-slack
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
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: 2014-03-21 00:00:00.000000000 Z
12
+ date: 2014-03-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -88,6 +88,7 @@ files:
88
88
  - README.md
89
89
  - Rakefile
90
90
  - lib/mina/slack.rb
91
+ - lib/mina/slack/tasks.rb
91
92
  - lib/mina/slack/tasks/mina-slack.rake
92
93
  - lib/mina/slack/version.rb
93
94
  - mina-slack.gemspec
@@ -117,3 +118,4 @@ signing_key:
117
118
  specification_version: 3
118
119
  summary: Slack web hook from mina
119
120
  test_files: []
121
+ has_rdoc: