capistrano3-idobata 0.0.1 → 0.0.2

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: 28e212e992e0535abf43849c876209d97dae7405
4
- data.tar.gz: 6c742bc936ba4b5fb0a8991d0d8b96f129a37e06
3
+ metadata.gz: e2312c2388c13efa37f04bba09b5132c57739023
4
+ data.tar.gz: 6079580d0534c2d338d3bcfb3db4c80ac0db16a0
5
5
  SHA512:
6
- metadata.gz: 7892abe92946c611400550b1cb10e0e5a04dc035cef76fe690ea9aae6cc25014dd27c392dfcc4c22de567fb5fad6891f377c45f22608a0532d3022d620f2be5f
7
- data.tar.gz: a78b0c43ea711b2a7ed7d15b6046e7e2470c5913cfd79b4157d1b74467cc2aec03bfaa562e1091d8fc9d392e3bf0d45b6fe8dbde63585bbabd7068de9580e490
6
+ metadata.gz: 037724876f6872f02cd45cfeb71d3ec32876b272e7c2e0c3886433c03db3bdbcfdbf4026405b562b7fd511b20e3a63c231518182f6a1af89efe64a6ef75aae07
7
+ data.tar.gz: 40c42c06f73e8b9ccef93ada7bf8d9c1bbbe11c00ede157867f2eb356cef2e67e87e180f4dc89f264c6f85f47a1d60ab367f57f74a14e8a7c6729217859ae25a
data/README.md CHANGED
@@ -6,14 +6,14 @@ Send notification of a deployment to Idobata
6
6
 
7
7
  ```ruby
8
8
  # Gemfile
9
- gem 'capistrano3-idobata', git: 'git@github.com:spice-life/capistrano3-idobata.git'
9
+ gem 'capistrano3-idobata'
10
10
 
11
11
  # Capfile
12
12
  require 'capistrano3/idobata'
13
13
 
14
14
  # config/deploy.rb
15
15
  set :idobata_hook_url, 'https://idobata.io/hook/generic/XXXXX'
16
- set :repository_url, "https://github.com/spice-life/capistrano3-idobata"
16
+ set :repository_url, 'https://github.com/XXXXX/XXXXX'
17
17
  ```
18
18
 
19
19
  ## Contributing
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
10
10
  spec.email = ["kirikiriyamama@icloud.com"]
11
11
  spec.summary = %q{Send notification of a deployment to Idobata}
12
12
  spec.description = %q{Send notification of a deployment to Idobata}
13
- spec.homepage = ""
13
+ spec.homepage = "https://github.com/spice-life/capistrano3-idobata"
14
14
  spec.license = "MIT"
15
15
 
16
16
  spec.files = `git ls-files -z`.split("\x0")
File without changes
@@ -1,3 +1,3 @@
1
1
  require 'idobata'
2
2
 
3
- load File.join(__dir__, "tasks/idobata.rake")
3
+ load File.join(__dir__, 'tasks/idobata.rake')
@@ -1,5 +1,5 @@
1
1
  module Capistrano3
2
2
  module Idobata
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
4
4
  end
5
5
  end
@@ -14,9 +14,8 @@ namespace :idobata do
14
14
  end
15
15
 
16
16
  task :finished do
17
- repository_url = fetch(:repository_url)
18
- branch_url = "#{repository_url}/tree/#{fetch(:branch)}"
19
- revision_url = "#{repository_url}/commit/#{fetch(:current_revision)}"
17
+ branch_url = "#{fetch(:repository_url)}/tree/#{fetch(:branch)}"
18
+ revision_url = "#{fetch(:repository_url)}/commit/#{fetch(:current_revision)}"
20
19
 
21
20
  message = "Branch <a href='#{branch_url}'>#{fetch(:branch)}</a> "
22
21
  message += "(at <a href='#{revision_url}'>#{fetch(:current_revision)}</a>) "
@@ -39,11 +38,13 @@ namespace :idobata do
39
38
  end
40
39
  end
41
40
 
42
- before 'deploy:starting', 'idobata:setup'
41
+ namespace :deploy do
42
+ before 'starting', 'idobata:setup'
43
43
 
44
- after 'deploy:started', 'idobata:notify:started'
45
- after 'deploy:finished', 'idobata:notify:finished'
46
- after 'deploy:failed', 'idobata:notify:failed'
44
+ after 'started', 'idobata:notify:started'
45
+ after 'finished', 'idobata:notify:finished'
46
+ after 'failed', 'idobata:notify:failed'
47
+ end
47
48
 
48
49
  def deployer
49
50
  ENV['DEPLOYER'] || `git config user.name`.chomp
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano3-idobata
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - kirikiriyamama
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-02 00:00:00.000000000 Z
11
+ date: 2015-01-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano
@@ -85,10 +85,11 @@ files:
85
85
  - README.md
86
86
  - Rakefile
87
87
  - capistrano3-idobata.gemspec
88
+ - lib/capistrano3-idobata.rb
88
89
  - lib/capistrano3/idobata.rb
89
90
  - lib/capistrano3/idobata/version.rb
90
91
  - lib/capistrano3/tasks/idobata.rake
91
- homepage: ''
92
+ homepage: https://github.com/spice-life/capistrano3-idobata
92
93
  licenses:
93
94
  - MIT
94
95
  metadata: {}