capistrano-lingr 0.0.2 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/.travis.yml +4 -0
- data/README.md +8 -4
- data/Rakefile +9 -1
- data/lib/capistrano/lingr.rb +5 -1
- data/lib/capistrano/lingr/version.rb +1 -1
- metadata +3 -2
data/.travis.yml
ADDED
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Capistrano::Lingr
|
1
|
+
# Capistrano::Lingr [![Build Status](https://secure.travis-ci.org/rochefort/gem-search.png)](http://travis-ci.org/rochefort/gem-search)
|
2
2
|
|
3
3
|
Notify to Lingr after deploy by Capistrano
|
4
4
|
|
@@ -14,15 +14,19 @@ And then execute: `bundle install`
|
|
14
14
|
|
15
15
|
## Usage
|
16
16
|
|
17
|
+
before using gem, need to make bot of Lingr.
|
18
|
+
[Lingr/developer](http://lingr.com/developer)
|
19
|
+
|
17
20
|
In `config/deploy.rb`
|
18
21
|
|
19
22
|
```rb
|
20
23
|
require 'capistrano/lingr'
|
21
24
|
|
22
25
|
set :lingr_config, {
|
23
|
-
:
|
24
|
-
:
|
25
|
-
:
|
26
|
+
room_id: "hoge",
|
27
|
+
bot_id: "huga",
|
28
|
+
secret: "piyo",
|
29
|
+
text: "DEPROY DONE!!!" # You can specify the string you want. but not required.
|
26
30
|
}
|
27
31
|
|
28
32
|
after :deploy, 'notify:lingr'
|
data/Rakefile
CHANGED
@@ -1,2 +1,10 @@
|
|
1
1
|
#!/usr/bin/env rake
|
2
|
-
require
|
2
|
+
require 'bundler/gem_tasks'
|
3
|
+
require 'rspec/core/rake_task'
|
4
|
+
|
5
|
+
task default: :spec
|
6
|
+
desc 'Run rspec'
|
7
|
+
Rspec::Core::RakeTask.new(:spec) do |spec|
|
8
|
+
spec.pattern = 'spec/**/*_spec.rb'
|
9
|
+
spec.rspec_opts = ['-cfs']
|
10
|
+
end
|
data/lib/capistrano/lingr.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-lingr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
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: 2012-09-
|
12
|
+
date: 2012-09-06 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: capistrano
|
@@ -67,6 +67,7 @@ extensions: []
|
|
67
67
|
extra_rdoc_files: []
|
68
68
|
files:
|
69
69
|
- .gitignore
|
70
|
+
- .travis.yml
|
70
71
|
- Gemfile
|
71
72
|
- LICENSE
|
72
73
|
- README.md
|