notes_notifier 0.0.2 → 0.0.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 623bebc1740c210086b1064ab7ed12d499d17295
4
- data.tar.gz: 66a74f6421db9defec7ebf0483e3449b2fce3958
3
+ metadata.gz: 5a1c55ee42e1dd536300190d71afe30c3e1b18d1
4
+ data.tar.gz: c5abc3a8c4aacf36bcf4cdf825ae83af26cec771
5
5
  SHA512:
6
- metadata.gz: 2ec6f2f8d816f0be2b0bfc103d87136bde559f68a0487031b75e050d1f44d0e8dea3f446694da44641156b761d19e3c5dc967e9a30b6a5e919addafa5d26e779
7
- data.tar.gz: 01596f6c12acc8f6e8ceb5d2e11c2d539e55f2da98597aa5c3cea6dc375109f0ef403dab8a16fa09cb1af39045a75b6728c688b644ea67c52a685c822324bb0a
6
+ metadata.gz: d02c57bde1f9efc695673a66d165d1422b4c30f4ee1f0122c87a77e9e06abe9fc7ab02108256301c0a8e4e390613745f794a5f36250180d0e0da1d3c8a0c1d67
7
+ data.tar.gz: 9ef14b5a675ce98eb363e99f0195f201477468da3538b89eb77f285e72821ac35fa026a2ad7b9381bd717a2b196045c7d6087af2c3934de14d179edf50f316b6
data/README.md CHANGED
@@ -18,7 +18,15 @@ Or install it yourself as:
18
18
 
19
19
  ## Usage
20
20
 
21
- TODO: Write usage instructions here
21
+ application.rb
22
+
23
+ ```
24
+ NotesNotifier.setup do |config|
25
+ config.token = ENV["SLACK_API_TOKEN"]
26
+ config.channel = "#general"
27
+ config.bot_name = "notify bot"
28
+ end
29
+ ```
22
30
 
23
31
  ## Contributing
24
32
 
@@ -1,3 +1,3 @@
1
1
  module NotesNotifier
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
@@ -3,7 +3,7 @@ require 'rails/source_annotation_extractor'
3
3
  desc <<-EOS
4
4
  desc. notes_notify
5
5
  EOS
6
- task :notes_notify do
6
+ task :notes_notify => :environment do
7
7
  options = { tag: true }
8
8
  extractor = SourceAnnotationExtractor.new("FIXME|TODO|HACK")
9
9
  dirs = %w(app config db lib test) + (ENV['SOURCE_ANNOTATION_DIRECTORIES'] || '').split(',')
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: notes_notifier
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
  - Atsushi Harada
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-26 00:00:00.000000000 Z
11
+ date: 2014-11-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails