buildable 2.1.4 → 2.1.5
Sign up to get free protection for your applications and to get access to all the features.
- data/buildable.gemspec +1 -1
- data/lib/buildable.rb +3 -2
- data/lib/buildable/recipes/build.rb +1 -0
- data/templates/foreman/master.pill.erb +1 -1
- metadata +23 -13
- checksums.yaml +0 -7
data/buildable.gemspec
CHANGED
@@ -5,7 +5,7 @@ VERSION = `git describe --abbrev=0`
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
7
|
spec.name = "buildable"
|
8
|
-
spec.version =
|
8
|
+
spec.version = `git describe --abbrev=0`
|
9
9
|
spec.authors = ["Alexandre Prates"]
|
10
10
|
spec.email = ["ajfprates@gmail.com"]
|
11
11
|
spec.summary = %q{Gem para criação de pacotes deb}
|
data/lib/buildable.rb
CHANGED
@@ -60,11 +60,12 @@ module Buildable
|
|
60
60
|
|
61
61
|
# Make package name using Organization name (when available) with project name
|
62
62
|
def package_name
|
63
|
-
[config.organization, config.project_name].compact.collect(&:underscore).join('-')
|
63
|
+
[self.config.organization, self.config.project_name].compact.collect(&:underscore).join('-')
|
64
64
|
end
|
65
65
|
|
66
|
+
# Return array with all dependencies specified in .buildable.yml
|
66
67
|
def dependencies
|
67
|
-
|
68
|
+
self.config.depends || []
|
68
69
|
end
|
69
70
|
|
70
71
|
end
|
@@ -71,6 +71,7 @@ module Buildable::Recipe
|
|
71
71
|
end
|
72
72
|
|
73
73
|
params['-C'] = "#{Buildable::BUILD_ROOT_DIR} ." # must be last parameter
|
74
|
+
|
74
75
|
result = Buildable::Shell.do_quiet 'fpm', params
|
75
76
|
raise "Can't create package, error:\n#{result}" unless Buildable::Shell.success?
|
76
77
|
package_name = result.match(/:path=>"\.\/pkg\/([^"]*)/)[1]
|
@@ -15,7 +15,7 @@ PATH=/sbin:/usr/sbin:/bin:/usr/bin
|
|
15
15
|
NAME=<%= app %>
|
16
16
|
USERNAME=<%= user %>
|
17
17
|
<% engine.each_process do |name, process| -%>
|
18
|
-
<%= name %>_pidfile=/var/run/<%= app
|
18
|
+
<%= name %>_pidfile=/var/run/<%= app %>/<%= name %>.pid
|
19
19
|
<% end -%>
|
20
20
|
|
21
21
|
[ -r /lib/lsb/init-functions ] &&. /lib/lsb/init-functions
|
metadata
CHANGED
@@ -1,18 +1,20 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: buildable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.5
|
5
|
+
prerelease:
|
5
6
|
platform: ruby
|
6
7
|
authors:
|
7
8
|
- Alexandre Prates
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date: 2016-11-
|
12
|
+
date: 2016-11-11 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: rake
|
15
16
|
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
16
18
|
requirements:
|
17
19
|
- - ~>
|
18
20
|
- !ruby/object:Gem::Version
|
@@ -20,6 +22,7 @@ dependencies:
|
|
20
22
|
type: :runtime
|
21
23
|
prerelease: false
|
22
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
23
26
|
requirements:
|
24
27
|
- - ~>
|
25
28
|
- !ruby/object:Gem::Version
|
@@ -27,61 +30,67 @@ dependencies:
|
|
27
30
|
- !ruby/object:Gem::Dependency
|
28
31
|
name: fpm
|
29
32
|
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
30
34
|
requirements:
|
31
35
|
- - ~>
|
32
36
|
- !ruby/object:Gem::Version
|
33
37
|
version: '1.3'
|
34
|
-
- - '>='
|
38
|
+
- - ! '>='
|
35
39
|
- !ruby/object:Gem::Version
|
36
40
|
version: 1.3.3
|
37
41
|
type: :runtime
|
38
42
|
prerelease: false
|
39
43
|
version_requirements: !ruby/object:Gem::Requirement
|
44
|
+
none: false
|
40
45
|
requirements:
|
41
46
|
- - ~>
|
42
47
|
- !ruby/object:Gem::Version
|
43
48
|
version: '1.3'
|
44
|
-
- - '>='
|
49
|
+
- - ! '>='
|
45
50
|
- !ruby/object:Gem::Version
|
46
51
|
version: 1.3.3
|
47
52
|
- !ruby/object:Gem::Dependency
|
48
53
|
name: foreman
|
49
54
|
requirement: !ruby/object:Gem::Requirement
|
55
|
+
none: false
|
50
56
|
requirements:
|
51
57
|
- - ~>
|
52
58
|
- !ruby/object:Gem::Version
|
53
59
|
version: '0.78'
|
54
|
-
- - '>='
|
60
|
+
- - ! '>='
|
55
61
|
- !ruby/object:Gem::Version
|
56
62
|
version: 0.78.0
|
57
63
|
type: :runtime
|
58
64
|
prerelease: false
|
59
65
|
version_requirements: !ruby/object:Gem::Requirement
|
66
|
+
none: false
|
60
67
|
requirements:
|
61
68
|
- - ~>
|
62
69
|
- !ruby/object:Gem::Version
|
63
70
|
version: '0.78'
|
64
|
-
- - '>='
|
71
|
+
- - ! '>='
|
65
72
|
- !ruby/object:Gem::Version
|
66
73
|
version: 0.78.0
|
67
74
|
- !ruby/object:Gem::Dependency
|
68
75
|
name: configureasy
|
69
76
|
requirement: !ruby/object:Gem::Requirement
|
77
|
+
none: false
|
70
78
|
requirements:
|
71
79
|
- - ~>
|
72
80
|
- !ruby/object:Gem::Version
|
73
81
|
version: '1.0'
|
74
|
-
- - '>='
|
82
|
+
- - ! '>='
|
75
83
|
- !ruby/object:Gem::Version
|
76
84
|
version: 1.0.0
|
77
85
|
type: :runtime
|
78
86
|
prerelease: false
|
79
87
|
version_requirements: !ruby/object:Gem::Requirement
|
88
|
+
none: false
|
80
89
|
requirements:
|
81
90
|
- - ~>
|
82
91
|
- !ruby/object:Gem::Version
|
83
92
|
version: '1.0'
|
84
|
-
- - '>='
|
93
|
+
- - ! '>='
|
85
94
|
- !ruby/object:Gem::Version
|
86
95
|
version: 1.0.0
|
87
96
|
description: Gem para criação de pacotes deb para distribuição de seus projetos em
|
@@ -115,7 +124,6 @@ files:
|
|
115
124
|
homepage: https://github.com/r7com/buildable
|
116
125
|
licenses:
|
117
126
|
- MIT
|
118
|
-
metadata: {}
|
119
127
|
post_install_message:
|
120
128
|
rdoc_options: []
|
121
129
|
require_paths:
|
@@ -123,19 +131,21 @@ require_paths:
|
|
123
131
|
- lib/tasks
|
124
132
|
- lib/buildable
|
125
133
|
required_ruby_version: !ruby/object:Gem::Requirement
|
134
|
+
none: false
|
126
135
|
requirements:
|
127
|
-
- - '>='
|
136
|
+
- - ! '>='
|
128
137
|
- !ruby/object:Gem::Version
|
129
138
|
version: '0'
|
130
139
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
140
|
+
none: false
|
131
141
|
requirements:
|
132
|
-
- - '>='
|
142
|
+
- - ! '>='
|
133
143
|
- !ruby/object:Gem::Version
|
134
144
|
version: '0'
|
135
145
|
requirements: []
|
136
146
|
rubyforge_project:
|
137
|
-
rubygems_version:
|
147
|
+
rubygems_version: 1.8.23.2
|
138
148
|
signing_key:
|
139
|
-
specification_version:
|
149
|
+
specification_version: 3
|
140
150
|
summary: Gem para criação de pacotes deb
|
141
151
|
test_files: []
|
checksums.yaml
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
---
|
2
|
-
SHA1:
|
3
|
-
metadata.gz: 6247c190085d21984c78cd59dc5d5eea570416ee
|
4
|
-
data.tar.gz: 82915e900a255e9260ae4690aedd297a9138fee0
|
5
|
-
SHA512:
|
6
|
-
metadata.gz: 1c38cb07be69c40c807847529f0f73c38cff3bcab8ff2ee757f81f3ceabda768072e16f68115881987df3dd8c1016a9d22728019a6c110609635d200022afeb7
|
7
|
-
data.tar.gz: eac5394296f55fd4293a214f7cfaa3c6a60c700cbf30d586a3b5313dcd9220a1d197830b4222026cee5e662578db97621cc0ac9eefd843783981888f554c9a8e
|