kapify 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -16,3 +16,4 @@ test/tmp
16
16
  test/version_tmp
17
17
  tmp
18
18
  /vendor
19
+ /bin
data/README.md CHANGED
@@ -23,7 +23,7 @@ Provides several useful capistrano recipes, that can be used for deployment of R
23
23
  Add this line to your application's Gemfile:
24
24
 
25
25
  ```ruby
26
- gem 'kapify', group: :development, require: false
26
+ gem 'kapify', group: :development
27
27
  ```
28
28
 
29
29
  And then execute:
data/lib/kapify/base.rb CHANGED
@@ -28,7 +28,7 @@ Capistrano::Configuration.instance.load do
28
28
  set_default(:templates_path, "#{Dir.pwd}/config/deploy/templates")
29
29
 
30
30
  def template(from, to)
31
- erb = File.read(File.expand_path("#{templates_path}/#{from}", __FILE__))
31
+ erb = File.read(File.expand_path("#{Dir.pwd}/#{templates_path}/#{from}"))
32
32
  put ERB.new(erb).result(binding), to
33
33
  end
34
34
 
@@ -1,3 +1,3 @@
1
1
  module Kapify
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kapify
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,40 +9,40 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-03-21 00:00:00.000000000 Z
12
+ date: 2013-04-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
- prerelease: false
16
15
  name: capistrano
17
- version_requirements: !ruby/object:Gem::Requirement
16
+ type: :runtime
17
+ requirement: !ruby/object:Gem::Requirement
18
+ none: false
18
19
  requirements:
19
20
  - - ! '>='
20
21
  - !ruby/object:Gem::Version
21
22
  version: '2.0'
23
+ version_requirements: !ruby/object:Gem::Requirement
22
24
  none: false
23
- requirement: !ruby/object:Gem::Requirement
24
25
  requirements:
25
26
  - - ! '>='
26
27
  - !ruby/object:Gem::Version
27
28
  version: '2.0'
28
- none: false
29
- type: :runtime
30
- - !ruby/object:Gem::Dependency
31
29
  prerelease: false
30
+ - !ruby/object:Gem::Dependency
32
31
  name: rake
33
- version_requirements: !ruby/object:Gem::Requirement
32
+ type: :development
33
+ requirement: !ruby/object:Gem::Requirement
34
+ none: false
34
35
  requirements:
35
36
  - - ! '>='
36
37
  - !ruby/object:Gem::Version
37
38
  version: '0'
39
+ version_requirements: !ruby/object:Gem::Requirement
38
40
  none: false
39
- requirement: !ruby/object:Gem::Requirement
40
41
  requirements:
41
42
  - - ! '>='
42
43
  - !ruby/object:Gem::Version
43
44
  version: '0'
44
- none: false
45
- type: :development
45
+ prerelease: false
46
46
  description: Capistrano recipes useful for rails app deployment. Includes repices
47
47
  for nginx, unicorn, postgres, logrotate, resque
48
48
  email:
@@ -99,23 +99,23 @@ rdoc_options: []
99
99
  require_paths:
100
100
  - lib
101
101
  required_ruby_version: !ruby/object:Gem::Requirement
102
+ none: false
102
103
  requirements:
103
104
  - - ! '>='
104
105
  - !ruby/object:Gem::Version
105
106
  version: '0'
106
107
  segments:
107
108
  - 0
108
- hash: 197519462626157916
109
- none: false
109
+ hash: -1234780597544421628
110
110
  required_rubygems_version: !ruby/object:Gem::Requirement
111
+ none: false
111
112
  requirements:
112
113
  - - ! '>='
113
114
  - !ruby/object:Gem::Version
114
115
  version: '0'
115
116
  segments:
116
117
  - 0
117
- hash: 197519462626157916
118
- none: false
118
+ hash: -1234780597544421628
119
119
  requirements: []
120
120
  rubyforge_project:
121
121
  rubygems_version: 1.8.23