slack_500 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/slack_500/version.rb +1 -1
- data/lib/slack_500.rb +18 -4
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f514e2ad7549f00b05eaec782fbdc99f92b1ce5fd2b8baf9bb5ef4d368ab8978
|
4
|
+
data.tar.gz: 715fdef8ea6ddaed730c72b1160905e73381a1285e51844f21a55378fdadeb61
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 815652d3c750521fd3568e9e49db7b156b2b8469feffdcc09a038b7699fcd91b049e602d772c9bbac933dd156334ac3dcd4ba55b6f1c9b833076178fe73eb7db
|
7
|
+
data.tar.gz: 90c5ef8098964c2f3fc68ee28cfd45127153fb5e9f0eadc4e0cd7039ebc329c0d9384533fa9d27bdf65db49339ffffdfa7cf50315ca67510338ebbe57911210d
|
data/lib/slack_500/version.rb
CHANGED
data/lib/slack_500.rb
CHANGED
@@ -1,9 +1,23 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
1
|
+
require 'rubygems'
|
2
|
+
require 'active_support'
|
3
|
+
require "slack_500/version"
|
4
4
|
|
5
5
|
module Slack500
|
6
|
-
|
6
|
+
|
7
|
+
class Error < StandardError;
|
8
|
+
end
|
9
|
+
|
10
|
+
ROOT_PATH = File.expand_path "../../", __FILE__
|
11
|
+
|
12
|
+
module ::Rails
|
13
|
+
class Application
|
14
|
+
rake_tasks do
|
15
|
+
Dir[File.join(ROOT_PATH, "/lib/tasks/", "**/*.rake")].each do |file|
|
16
|
+
load file
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
7
21
|
|
8
22
|
def self.setup
|
9
23
|
yield self
|