unicap 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: 02bb77bbdd132b0f3bfe4a36201e55ad3253573a
4
- data.tar.gz: 39bef985512224c08d19f414f3ef8cef38d07988
3
+ metadata.gz: 64950c9b46ed3096ef79d8b5b14bd7d1931123a2
4
+ data.tar.gz: 8f76f6fa373181a025c01c391d0f86056e4a408f
5
5
  SHA512:
6
- metadata.gz: 550421706302f1f7b6eb590fd52dc7dc0ed86fb763f83379688135634617f42cf5e5d71fd8e80c3fe16c5b5452b60f44d7385658c1d4de0c12e9a0e3ef7fad4d
7
- data.tar.gz: b73d2f3a65112eec3e97133eabe35bbd8ddba3d9fd130ad6df6ae8e53c805d3806d64d266eaf2f4695fe8e206d8bd00d5cd2ab837a5fa3c3f29a4831ef8171b5
6
+ metadata.gz: 9ccbac81ef8a6161574d31962c328982dc44f0d08fc7c6116d02645a270a3bfda40536e6132b58cedb9570ed18608fc8fbdebb1e99273e410be78f60bbb6657e
7
+ data.tar.gz: f2878ec206de74d7a018fc32fe365423feff133c8b4d26122d79e0b9dfa9e1378567b0380e5a41dc0f4190a30f88bbac54da76fdbb47ac7ab7af4935d6644a5e
data/.gitignore ADDED
@@ -0,0 +1,3 @@
1
+ .bundle/
2
+ pkg/
3
+ Gemfile.lock
data/Gemfile ADDED
@@ -0,0 +1,3 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gemspec
data/Gemfile.lock ADDED
@@ -0,0 +1,31 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ unicap (0.0.1)
5
+ capistrano
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ capistrano (3.3.5)
11
+ capistrano-stats (~> 1.1.0)
12
+ i18n
13
+ rake (>= 10.0.0)
14
+ sshkit (~> 1.3)
15
+ capistrano-stats (1.1.1)
16
+ colorize (0.7.5)
17
+ i18n (0.7.0)
18
+ net-scp (1.2.1)
19
+ net-ssh (>= 2.6.5)
20
+ net-ssh (2.9.2)
21
+ rake (10.4.2)
22
+ sshkit (1.6.1)
23
+ colorize (>= 0.7.0)
24
+ net-scp (>= 1.1.2)
25
+ net-ssh (>= 2.8.0)
26
+
27
+ PLATFORMS
28
+ ruby
29
+
30
+ DEPENDENCIES
31
+ unicap!
data/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # Unicap
2
2
 
3
+ [![Gem Version](https://badge.fury.io/rb/unicap.svg)](http://badge.fury.io/rb/unicap)
4
+
3
5
  Unicap is capistrano tasks for unicorn with Rails application.
4
6
  It just adds three `cap` tasks, `unicorn:start`, `unicorn:stop` and `unicorn:restart`.
5
7
 
@@ -47,7 +47,9 @@ namespace :unicorn do
47
47
  if pid_exists? && pid_running?
48
48
  info 'Unicorn is running ...'
49
49
  else
50
- remove_pid if pid_exists?
50
+ if pid_exists?
51
+ remove_pid
52
+ end
51
53
 
52
54
  start_unicorn
53
55
  end
@@ -1,3 +1,3 @@
1
1
  module Unicap
2
- VERSION = '0.0.1'
2
+ VERSION = '0.0.2'
3
3
  end
data/unicap.gemspec ADDED
@@ -0,0 +1,18 @@
1
+ $:.unshift File.expand_path('../lib', __FILE__)
2
+
3
+ require 'unicap/version'
4
+
5
+ Gem::Specification.new do |s|
6
+ s.name = 'unicap'
7
+ s.version = Unicap::VERSION
8
+ s.authors = 'kami'
9
+ s.email = 'kami30k@gmail.com'
10
+ s.homepage = 'https://github.com/kami30k/unicap'
11
+ s.summary = 'Capistrano tasks for unicorn with Rails application.'
12
+ s.description = 'Capistrano tasks for unicorn with Rails application.'
13
+ s.license = 'MIT'
14
+
15
+ s.files = `git ls-files -z`.split("\x0")
16
+
17
+ s.add_dependency 'capistrano'
18
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: unicap
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
  - kami
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-24 00:00:00.000000000 Z
11
+ date: 2015-04-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano
@@ -25,18 +25,21 @@ dependencies:
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  description: Capistrano tasks for unicorn with Rails application.
28
- email:
29
- - kami30k@gmail.com
28
+ email: kami30k@gmail.com
30
29
  executables: []
31
30
  extensions: []
32
31
  extra_rdoc_files: []
33
32
  files:
33
+ - ".gitignore"
34
+ - Gemfile
35
+ - Gemfile.lock
34
36
  - MIT-LICENSE
35
37
  - README.md
36
38
  - Rakefile
37
39
  - lib/unicap.rb
38
40
  - lib/unicap/tasks/unicap.rake
39
41
  - lib/unicap/version.rb
42
+ - unicap.gemspec
40
43
  homepage: https://github.com/kami30k/unicap
41
44
  licenses:
42
45
  - MIT
@@ -57,7 +60,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
57
60
  version: '0'
58
61
  requirements: []
59
62
  rubyforge_project:
60
- rubygems_version: 2.2.2
63
+ rubygems_version: 2.4.5
61
64
  signing_key:
62
65
  specification_version: 4
63
66
  summary: Capistrano tasks for unicorn with Rails application.