hoe-packaging 1.1.3 → 1.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +1 -1
- data/.scrutinizer.yml +1 -1
- data/CONTRIBUTING.md +2 -2
- data/Gemfile +9 -14
- data/Gemfile.lock +72 -94
- data/History.rdoc +6 -0
- data/LICENSE.rdoc +1 -1
- data/Manifest.txt +2 -4
- data/README.rdoc +9 -11
- data/Rakefile +12 -25
- data/lib/hoe/packaging.rb +2 -2
- data/recipes/recipe.rb +1 -1
- data/spec/packaging_spec.rb +8 -0
- data/spec/spec_helper.rb +15 -0
- metadata +29 -125
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -1
- data/.index +0 -163
- data/VERSION +0 -1
- data/docs/index.md +0 -66
- data/test/hoe/test_packaging.rb +0 -9
- metadata.gz.sig +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: befeaf93e1de70e828886108dfafd0019ab6f18d
|
4
|
+
data.tar.gz: 342b1a81f4eb4efb19e3fa20cb4f8a80e8ceac69
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dd644f5eb4b7a9d3137b3fbb8d8fdb36b08f8c85752fbe44e4f49632c043f73d62687630c4f5ac6d22c2e69c23c6e306dcf2258f203e0f03ec6396b598d12a3e
|
7
|
+
data.tar.gz: 5de5bd132b147c48d109bbe6831d8738c4b940a8634bedfd93a5d444036d08e96c19ea4d10bca87c9addfdb27a14209ae79395fe905dd9f23db0aa55d7b4330a
|
data/.rubocop.yml
CHANGED
data/.scrutinizer.yml
CHANGED
data/CONTRIBUTING.md
CHANGED
@@ -20,7 +20,7 @@ The develop branch is the current edge of development.
|
|
20
20
|
|
21
21
|
## Pull requests
|
22
22
|
|
23
|
-
* https://
|
23
|
+
* https://github.com/saigkill/hoe-packaging/pulls
|
24
24
|
|
25
25
|
Please base all pull requests off the `develop` branch. Merges to
|
26
26
|
`master` only occur through the `develop` branch. Pull requests
|
@@ -30,4 +30,4 @@ based on `master` will likely be cherry picked.
|
|
30
30
|
|
31
31
|
Need to report an issue? Use that issue tracker:
|
32
32
|
|
33
|
-
* https://
|
33
|
+
* https://saigkill.myjetbrains.com/youtrack/issues?q=project%3A+hoe-packaging
|
data/Gemfile
CHANGED
@@ -5,16 +5,12 @@
|
|
5
5
|
source "https://rubygems.org/"
|
6
6
|
|
7
7
|
gem "bundler", "~>1.10"
|
8
|
-
gem "fpm", "~>1.
|
9
|
-
gem "fpm-cookery", "~>0.
|
8
|
+
gem "fpm", "~>1.6"
|
9
|
+
gem "fpm-cookery", "~>0.32"
|
10
10
|
|
11
|
-
gem "
|
12
|
-
gem "hoe-
|
13
|
-
gem "gem-release", "~>0.7", :group => [:development, :test]
|
14
|
-
gem "hoe-bundler", "~>1.2", :group => [:development, :test]
|
15
|
-
gem "hoe-deveiate", "~>0.7", :group => [:development, :test]
|
11
|
+
gem "rdoc", "~>4.0", :group => [:development, :test]
|
12
|
+
gem "hoe-bundler", "~>1.3", :group => [:development, :test]
|
16
13
|
gem "hoe-doofus", "~>1.0", :group => [:development, :test]
|
17
|
-
gem "hoe-gemspec", "~>1.0", :group => [:development, :test]
|
18
14
|
gem "hoe-git", "~>1.6", :group => [:development, :test]
|
19
15
|
gem "hoe-manns", "~>1.4", :group => [:development, :test]
|
20
16
|
gem "hoe-packaging", "~>1.1", :group => [:development, :test]
|
@@ -22,12 +18,11 @@ gem "hoe-reek", "~>1.1", :group => [:development, :test]
|
|
22
18
|
gem "hoe-rubocop", "~>1.0", :group => [:development, :test]
|
23
19
|
gem "hoe-rubygems", "~>1.0", :group => [:development, :test]
|
24
20
|
gem "hoe-seattlerb", "~>1.3", :group => [:development, :test]
|
25
|
-
gem "hoe-travis", "~>1.2", :group => [:development, :test]
|
26
21
|
gem "hoe-version", "~>1.2", :group => [:development, :test]
|
27
|
-
gem "rake", "~>
|
28
|
-
gem "reek", "~>
|
29
|
-
gem "rspec", "~>3.
|
30
|
-
gem "rubocop", "~>0.
|
31
|
-
gem "hoe", "~>3.
|
22
|
+
gem "rake", "~>11.2", :group => [:development, :test]
|
23
|
+
gem "reek", "~>4.2", :group => [:development, :test]
|
24
|
+
gem "rspec", "~>3.5", :group => [:development, :test]
|
25
|
+
gem "rubocop", "~>0.42", :group => [:development, :test]
|
26
|
+
gem "hoe", "~>3.15", :group => [:development, :test]
|
32
27
|
|
33
28
|
# vim: syntax=ruby
|
data/Gemfile.lock
CHANGED
@@ -2,22 +2,23 @@ GEM
|
|
2
2
|
remote: https://rubygems.org/
|
3
3
|
specs:
|
4
4
|
CFPropertyList (2.2.8)
|
5
|
-
addressable (2.
|
5
|
+
addressable (2.3.8)
|
6
|
+
archive-tar-minitar (0.5.2)
|
6
7
|
arr-pm (0.0.10)
|
7
8
|
cabin (> 0)
|
8
|
-
ast (2.
|
9
|
+
ast (2.3.0)
|
9
10
|
axiom-types (0.1.1)
|
10
11
|
descendants_tracker (~> 0.0.4)
|
11
12
|
ice_nine (~> 0.11.0)
|
12
13
|
thread_safe (~> 0.3, >= 0.3.1)
|
13
|
-
backports (3.6.
|
14
|
-
bundler-audit (0.
|
14
|
+
backports (3.6.8)
|
15
|
+
bundler-audit (0.5.0)
|
15
16
|
bundler (~> 1.2)
|
16
17
|
thor (~> 0.18)
|
17
18
|
cabin (0.8.1)
|
18
19
|
childprocess (0.5.9)
|
19
20
|
ffi (~> 1.0, >= 1.0.11)
|
20
|
-
clamp (0.
|
21
|
+
clamp (1.0.0)
|
21
22
|
codeclimate-engine-rb (0.3.1)
|
22
23
|
virtus (~> 1.0)
|
23
24
|
coercible (1.0.0)
|
@@ -28,57 +29,42 @@ GEM
|
|
28
29
|
equalizer (0.0.11)
|
29
30
|
facter (2.4.6)
|
30
31
|
CFPropertyList (~> 2.2.6)
|
31
|
-
ffi (1.9.
|
32
|
-
fpm (1.
|
32
|
+
ffi (1.9.14)
|
33
|
+
fpm (1.6.2)
|
34
|
+
archive-tar-minitar
|
33
35
|
arr-pm (~> 0.0.10)
|
34
36
|
backports (>= 2.6.2)
|
35
37
|
cabin (>= 0.6.0)
|
36
38
|
childprocess
|
37
|
-
clamp (~> 0.
|
39
|
+
clamp (~> 1.0.0)
|
38
40
|
ffi
|
39
|
-
json (>= 1.7.7)
|
40
|
-
|
41
|
-
|
41
|
+
json (>= 1.7.7, < 2.0)
|
42
|
+
pleaserun (~> 0.0.24)
|
43
|
+
ruby-xz
|
44
|
+
fpm-cookery (0.32.0)
|
45
|
+
addressable (~> 2.3.8)
|
42
46
|
facter
|
43
47
|
fpm (~> 1.1)
|
44
48
|
puppet (~> 3.4)
|
45
49
|
systemu
|
46
|
-
gem-release (0.7.4)
|
47
|
-
hashr (0.0.22)
|
48
50
|
hiera (1.3.4)
|
49
51
|
json_pure
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
hoe-bundler (1.2.0)
|
52
|
+
hoe (3.15.1)
|
53
|
+
rake (>= 0.8, < 12.0)
|
54
|
+
hoe-bundler (1.3.0)
|
54
55
|
hoe (>= 2.2.0)
|
55
|
-
hoe-deveiate (0.7.0)
|
56
|
-
hoe (~> 3.13)
|
57
|
-
hoe-highline (~> 0.2)
|
58
|
-
hoe-mercurial (~> 1.4)
|
59
|
-
mail (~> 2.6)
|
60
|
-
rdoc (~> 4.2)
|
61
|
-
rspec (~> 3.2)
|
62
56
|
hoe-doofus (1.0.0)
|
63
|
-
hoe-gemspec (1.0.0)
|
64
|
-
hoe (>= 2.2.0)
|
65
57
|
hoe-git (1.6.0)
|
66
|
-
hoe-
|
67
|
-
highline (~> 1.6)
|
68
|
-
hoe (~> 3.11)
|
69
|
-
hoe-manns (1.4.8)
|
58
|
+
hoe-manns (1.5.0)
|
70
59
|
bundler-audit (~> 0.4)
|
71
|
-
hoe (~> 3.
|
72
|
-
|
73
|
-
pandoc-ruby (~> 1.0)
|
60
|
+
hoe (~> 3.15)
|
61
|
+
pandoc-ruby (~> 2.0)
|
74
62
|
parseconfig (~> 1.0)
|
75
63
|
rainbow (~> 2.1)
|
76
|
-
hoe-
|
77
|
-
hoe (~> 3.9)
|
78
|
-
hoe-packaging (1.1.2)
|
64
|
+
hoe-packaging (1.1.4)
|
79
65
|
bundler (~> 1.10)
|
80
|
-
fpm (~> 1.
|
81
|
-
fpm-cookery (~> 0.
|
66
|
+
fpm (~> 1.6)
|
67
|
+
fpm-cookery (~> 0.32)
|
82
68
|
hoe-reek (1.1.3)
|
83
69
|
bundler (~> 1.11)
|
84
70
|
setup (~> 5.2)
|
@@ -87,103 +73,95 @@ GEM
|
|
87
73
|
hoe (~> 3.14)
|
88
74
|
rubocop (~> 0.37)
|
89
75
|
hoe-rubygems (1.0.0)
|
90
|
-
hoe-seattlerb (1.3.
|
91
|
-
hoe-travis (1.2)
|
92
|
-
hoe (~> 3.0)
|
93
|
-
travis-lint (~> 1.2)
|
76
|
+
hoe-seattlerb (1.3.5)
|
94
77
|
hoe-version (1.2.0)
|
95
|
-
hoe-yard (0.1.2)
|
96
|
-
yard (>= 0.2.3.1)
|
97
78
|
ice_nine (0.11.2)
|
98
|
-
|
79
|
+
insist (1.0.0)
|
80
|
+
io-like (0.3.0)
|
99
81
|
json (1.8.3)
|
100
|
-
json_pure (
|
101
|
-
|
102
|
-
|
103
|
-
mime-types (2.99)
|
104
|
-
pandoc-ruby (1.0.0)
|
82
|
+
json_pure (2.0.2)
|
83
|
+
mustache (0.99.8)
|
84
|
+
pandoc-ruby (2.0.1)
|
105
85
|
parseconfig (1.0.8)
|
106
|
-
parser (2.3.
|
86
|
+
parser (2.3.1.2)
|
107
87
|
ast (~> 2.2)
|
88
|
+
pleaserun (0.0.24)
|
89
|
+
cabin (> 0)
|
90
|
+
clamp
|
91
|
+
insist
|
92
|
+
mustache (= 0.99.8)
|
93
|
+
stud
|
108
94
|
powerpack (0.1.1)
|
109
|
-
|
110
|
-
puppet (3.8.5)
|
95
|
+
puppet (3.8.7)
|
111
96
|
facter (> 1.6, < 3)
|
112
97
|
hiera (~> 1.0)
|
113
98
|
json_pure
|
114
99
|
rainbow (2.1.0)
|
115
|
-
rake (
|
116
|
-
rdoc (4.2.
|
100
|
+
rake (11.2.2)
|
101
|
+
rdoc (4.2.2)
|
117
102
|
json (~> 1.4)
|
118
|
-
reek (
|
103
|
+
reek (4.2.3)
|
119
104
|
codeclimate-engine-rb (~> 0.3.1)
|
120
|
-
parser (~> 2.3)
|
121
|
-
private_attr (~> 1.1)
|
105
|
+
parser (~> 2.3.1, >= 2.3.1.2)
|
122
106
|
rainbow (~> 2.0)
|
123
|
-
rspec (3.
|
124
|
-
rspec-core (~> 3.
|
125
|
-
rspec-expectations (~> 3.
|
126
|
-
rspec-mocks (~> 3.
|
127
|
-
rspec-core (3.
|
128
|
-
rspec-support (~> 3.
|
129
|
-
rspec-expectations (3.
|
107
|
+
rspec (3.5.0)
|
108
|
+
rspec-core (~> 3.5.0)
|
109
|
+
rspec-expectations (~> 3.5.0)
|
110
|
+
rspec-mocks (~> 3.5.0)
|
111
|
+
rspec-core (3.5.2)
|
112
|
+
rspec-support (~> 3.5.0)
|
113
|
+
rspec-expectations (3.5.0)
|
130
114
|
diff-lcs (>= 1.2.0, < 2.0)
|
131
|
-
rspec-support (~> 3.
|
132
|
-
rspec-mocks (3.
|
115
|
+
rspec-support (~> 3.5.0)
|
116
|
+
rspec-mocks (3.5.0)
|
133
117
|
diff-lcs (>= 1.2.0, < 2.0)
|
134
|
-
rspec-support (~> 3.
|
135
|
-
rspec-support (3.
|
136
|
-
rubocop (0.
|
137
|
-
parser (>= 2.3.
|
118
|
+
rspec-support (~> 3.5.0)
|
119
|
+
rspec-support (3.5.0)
|
120
|
+
rubocop (0.42.0)
|
121
|
+
parser (>= 2.3.1.1, < 3.0)
|
138
122
|
powerpack (~> 0.1)
|
139
123
|
rainbow (>= 1.99.1, < 3.0)
|
140
124
|
ruby-progressbar (~> 1.7)
|
141
|
-
unicode-display_width (~> 0.
|
142
|
-
ruby-progressbar (1.
|
143
|
-
|
125
|
+
unicode-display_width (~> 1.0, >= 1.0.1)
|
126
|
+
ruby-progressbar (1.8.1)
|
127
|
+
ruby-xz (0.2.3)
|
128
|
+
ffi (~> 1.9)
|
129
|
+
io-like (~> 0.3)
|
144
130
|
setup (5.2.0)
|
131
|
+
stud (0.0.22)
|
145
132
|
systemu (2.6.5)
|
146
133
|
thor (0.19.1)
|
147
134
|
thread_safe (0.3.5)
|
148
|
-
|
149
|
-
hashr (~> 0.0.22)
|
150
|
-
safe_yaml (~> 0.9.0)
|
151
|
-
unicode-display_width (0.3.1)
|
135
|
+
unicode-display_width (1.1.0)
|
152
136
|
virtus (1.0.5)
|
153
137
|
axiom-types (~> 0.1)
|
154
138
|
coercible (~> 1.0)
|
155
139
|
descendants_tracker (~> 0.0, >= 0.0.3)
|
156
140
|
equalizer (~> 0.0, >= 0.0.9)
|
157
|
-
yard (0.8.7.6)
|
158
141
|
|
159
142
|
PLATFORMS
|
160
143
|
ruby
|
161
144
|
|
162
145
|
DEPENDENCIES
|
163
146
|
bundler (~> 1.10)
|
164
|
-
fpm (~> 1.
|
165
|
-
fpm-cookery (~> 0.
|
166
|
-
|
167
|
-
hoe (~> 3
|
168
|
-
hoe-bundler (~> 1.2)
|
169
|
-
hoe-deveiate (~> 0.7)
|
147
|
+
fpm (~> 1.6)
|
148
|
+
fpm-cookery (~> 0.32)
|
149
|
+
hoe (~> 3.15)
|
150
|
+
hoe-bundler (~> 1.3)
|
170
151
|
hoe-doofus (~> 1.0)
|
171
|
-
hoe-gemspec (~> 1.0)
|
172
152
|
hoe-git (~> 1.6)
|
173
|
-
hoe-highline (~> 0.2)
|
174
153
|
hoe-manns (~> 1.4)
|
175
154
|
hoe-packaging (~> 1.1)
|
176
155
|
hoe-reek (~> 1.1)
|
177
156
|
hoe-rubocop (~> 1.0)
|
178
157
|
hoe-rubygems (~> 1.0)
|
179
158
|
hoe-seattlerb (~> 1.3)
|
180
|
-
hoe-travis (~> 1.2)
|
181
159
|
hoe-version (~> 1.2)
|
182
|
-
|
183
|
-
|
184
|
-
reek (~>
|
185
|
-
rspec (~> 3.
|
186
|
-
rubocop (~> 0.
|
160
|
+
rake (~> 11.2)
|
161
|
+
rdoc (~> 4.0)
|
162
|
+
reek (~> 4.2)
|
163
|
+
rspec (~> 3.5)
|
164
|
+
rubocop (~> 0.42)
|
187
165
|
|
188
166
|
BUNDLED WITH
|
189
|
-
1.
|
167
|
+
1.12.5
|
data/History.rdoc
CHANGED
data/LICENSE.rdoc
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
(The MIT License)
|
4
4
|
|
5
|
-
Copyright (c) 2015 Sascha Manns <samannsml@directbox.com>
|
5
|
+
Copyright (c) 2015-2016 Sascha Manns <samannsml@directbox.com>
|
6
6
|
|
7
7
|
Permission is hereby granted, free of charge, to any person obtaining
|
8
8
|
a copy of this software and associated documentation files (the
|
data/Manifest.txt
CHANGED
@@ -2,7 +2,6 @@
|
|
2
2
|
.codeclimate.yml
|
3
3
|
.coveralls.yml
|
4
4
|
.gemnasium.yml
|
5
|
-
.index
|
6
5
|
.rspec
|
7
6
|
.rubocop.yml
|
8
7
|
.scrutinizer.yml
|
@@ -17,9 +16,8 @@ MAINTENANCE.md
|
|
17
16
|
Manifest.txt
|
18
17
|
README.rdoc
|
19
18
|
Rakefile
|
20
|
-
VERSION
|
21
19
|
config.reek
|
22
|
-
docs/index.md
|
23
20
|
lib/hoe/packaging.rb
|
24
21
|
recipes/recipe.rb
|
25
|
-
|
22
|
+
spec/packaging_spec.rb
|
23
|
+
spec/spec_helper.rb
|
data/README.rdoc
CHANGED
@@ -1,20 +1,18 @@
|
|
1
1
|
= hoe-packaging
|
2
2
|
|
3
3
|
home :: http://saigkill.github.io
|
4
|
-
code :: http://
|
5
|
-
docs :: https://
|
4
|
+
code :: http://github.com/saigkill/hoe-packaging
|
5
|
+
docs :: https://saigkill.github.io/docs/hoe-packaging/index
|
6
6
|
apidoc :: http://www.rubydoc.info/gems/hoe-packaging
|
7
|
-
bugs :: https://
|
8
|
-
license :: {<img src="http://img.shields.io/:license-mit-blue.svg" />}[https://
|
7
|
+
bugs :: https://saigkill.myjetbrains.com/youtrack/issues?q=project%3A+hoe-packaging
|
8
|
+
license :: {<img src="http://img.shields.io/:license-mit-blue.svg" />}[https://github.com/saigkill/hoe-packaging/blob/master/LICENSE.rdoc]
|
9
9
|
last public version :: {<img src="https://badge.fury.io/rb/hoe-packaging.png" alt="Last Version" />}[http://rubygems.org/gems/hoe-packaging]
|
10
|
-
last rpm :: {<img src="https://img.shields.io/bintray/v/saigkill/rpm/hoe-packaging.svg" />}[https://bintray.com/saigkill/rpm/hoe-packaging]
|
11
|
-
last deb :: {<img src="https://img.shields.io/bintray/v/saigkill/deb/hoe-packaging.svg" />}[https://bintray.com/saigkill/deb/hoe-packaging]
|
12
10
|
downloads latest :: {<img src="https://img.shields.io/gem/dtv/hoe-packaging.svg" alt="Downloads latest version" />}[http://rubygems.org/gems/hoe-packaging]
|
13
11
|
downloads all :: {<img src="https://img.shields.io/gem/dt/hoe-packaging.svg" alt="Downloads all versions" />}[http://rubygems.org/gems/hoe-packaging]
|
14
12
|
continuous integration :: {<img src="https://scrutinizer-ci.com/g/saigkill/hoe-packaging/badges/build.png?b=master" />}[https://scrutinizer-ci.com/g/saigkill/hoe-packaging/]
|
15
13
|
code quality :: {<img src="https://scrutinizer-ci.com/g/saigkill/hoe-packaging/badges/quality-score.png?b=master" />}[https://scrutinizer-ci.com/g/saigkill/hoe-packaging/]
|
16
14
|
code quality :: {<img src="https://d3s6mut3hikguw.cloudfront.net/github/saigkill/hoe-packaging/badges/gpa.svg" alt="Code Quality" />}[https://codeclimate.com/github/saigkill/hoe-packaging]
|
17
|
-
code quality :: {<img src="https://api.codacy.com/project/badge/
|
15
|
+
code quality :: {<img src="https://api.codacy.com/project/badge/Grade/ddc76c674b464b4eac7a8d05a0155c24" alt="Codacy code quality" />}[https://www.codacy.com/app/samannsml/hoe-packaging?utm_source=github.com&utm_medium=referral&utm_content=saigkill/hoe-packaging&utm_campaign=Badge_Grade]
|
18
16
|
security :: {<img src="https://hakiri.io/github/saigkill/hoe-packaging/master.svg" alt="security" />}[https://hakiri.io/github/saigkill/hoe-packaging/master]
|
19
17
|
dependency check :: {<img src="https://gemnasium.com/saigkill/hoe-packaging.svg" alt="Dependency Status" />}[https://gemnasium.com/saigkill/hoe-packaging]
|
20
18
|
documentation quality :: {<img src="http://inch-ci.org/github/saigkill/hoe-packaging.svg?branch=master" alt="Documentation Quality" />}[http://inch-ci.org/github/saigkill/hoe-packaging]
|
@@ -33,7 +31,7 @@ also a deployment to bintray.
|
|
33
31
|
|
34
32
|
This Gem was programmed and tested for Linux systems. If anyone would like to make the methods also fit for other OS, i'm happy about Pull requests.
|
35
33
|
|
36
|
-
For a detailed information please visit: https://
|
34
|
+
For a detailed information please visit: https://saigkill.github.io/docs/hoe-packaging/index
|
37
35
|
|
38
36
|
If you like this little program so don't forget to give this GitLab repository a star :-)
|
39
37
|
|
@@ -70,15 +68,15 @@ and generate the RDoc.
|
|
70
68
|
|
71
69
|
Merge Requests are welcome :-)
|
72
70
|
|
73
|
-
Read https://
|
71
|
+
Read https://github.com/saigkill/hoe-packaging/blob/master/CONTRIBUTING.md
|
74
72
|
|
75
|
-
Maintenance infos: https://
|
73
|
+
Maintenance infos: https://github.com/saigkill/hoe-packaging/blob/master/MAINTENANCE.md
|
76
74
|
|
77
75
|
== LICENSE:
|
78
76
|
|
79
77
|
(The MIT License)
|
80
78
|
|
81
|
-
Copyright (c) 2015 Sascha Manns <samannsml@directbox.com>
|
79
|
+
Copyright (c) 2015-2016 Sascha Manns <samannsml@directbox.com>
|
82
80
|
|
83
81
|
Permission is hereby granted, free of charge, to any person obtaining
|
84
82
|
a copy of this software and associated documentation files (the
|
data/Rakefile
CHANGED
@@ -1,6 +1,8 @@
|
|
1
1
|
# -*- ruby -*-
|
2
2
|
# Release:
|
3
|
-
# *
|
3
|
+
# * bump version
|
4
|
+
# * do stuff
|
5
|
+
# * update documentation
|
4
6
|
# * enable :git
|
5
7
|
# * rake run_before_release
|
6
8
|
# * disable :git
|
@@ -12,31 +14,22 @@ require 'rubygems'
|
|
12
14
|
require 'hoe'
|
13
15
|
|
14
16
|
Hoe.plugin :bundler
|
15
|
-
# Hoe.plugin :deveiate
|
16
17
|
Hoe.plugin :doofus
|
17
18
|
Hoe.plugin :email
|
18
|
-
Hoe.plugin :gemspec
|
19
19
|
# Hoe.plugin :gem_prelude_sucks
|
20
|
-
Hoe.plugins.delete :git
|
20
|
+
#Hoe.plugins.delete :git
|
21
21
|
#Hoe.plugin :git
|
22
22
|
Hoe.plugin :history
|
23
|
-
Hoe.plugin :highline
|
24
23
|
# Hoe.plugin :inline
|
25
24
|
Hoe.plugin :manns
|
26
25
|
Hoe.plugin :packaging
|
27
|
-
# Hoe.plugin :mercurial
|
28
|
-
# Hoe.plugin :perforce
|
29
|
-
# Hoe.plugin :racc
|
30
|
-
# Hoe.plugin :rcov
|
31
26
|
Hoe.plugin :reek
|
32
27
|
Hoe.plugin :rdoc
|
33
28
|
Hoe.plugin :rubocop
|
34
29
|
Hoe.plugin :rubygems
|
35
30
|
# Hoe.plugin :seattlerb
|
36
|
-
Hoe.plugin :travis
|
37
31
|
Hoe.plugin :version
|
38
32
|
Hoe.plugin :website
|
39
|
-
Hoe.plugin :yard
|
40
33
|
|
41
34
|
###########################################DEVELOPING ZONE##############################################################
|
42
35
|
# rubocop:disable Metrics/LineLength
|
@@ -50,32 +43,26 @@ Hoe.spec 'hoe-packaging' do
|
|
50
43
|
self.history_file = 'History.rdoc'
|
51
44
|
self.readme_file = 'README.rdoc'
|
52
45
|
self.extra_rdoc_files = FileList['*.rdoc'].to_a
|
53
|
-
self.post_install_message = '*** Extend your hoerc:
|
46
|
+
self.post_install_message = '*** Extend your hoerc: https://saigkill.github.io/docs/hoe-packaging/index *** Please file bugreports and feature requests on: https://saigkill.myjetbrains.com/youtrack/issues?q=project%3A+hoe-packaging'
|
54
47
|
|
55
48
|
dependency 'bundler', '~> 1.10'
|
56
|
-
dependency 'fpm', '~> 1.
|
57
|
-
dependency 'fpm-cookery', '~> 0.
|
49
|
+
dependency 'fpm', '~> 1.6'
|
50
|
+
dependency 'fpm-cookery', '~> 0.32'
|
58
51
|
|
59
|
-
extra_dev_deps << ['
|
60
|
-
extra_dev_deps << ['hoe-bundler', '~> 1.2']
|
61
|
-
extra_dev_deps << ['hoe-deveiate', '~> 0.7']
|
52
|
+
extra_dev_deps << ['hoe-bundler', '~> 1.3']
|
62
53
|
extra_dev_deps << ['hoe-doofus', '~> 1.0']
|
63
|
-
extra_dev_deps << ['hoe-gemspec', '~> 1.0']
|
64
54
|
extra_dev_deps << ['hoe-git', '~> 1.6']
|
65
|
-
extra_dev_deps << ['hoe-highline', '~> 0.2']
|
66
55
|
extra_dev_deps << ['hoe-manns', '~> 1.4']
|
67
56
|
extra_dev_deps << ['hoe-packaging', '~> 1.1']
|
68
57
|
extra_dev_deps << ['hoe-reek', '~> 1.1']
|
69
58
|
extra_dev_deps << ['hoe-rubocop', '~> 1.0']
|
70
59
|
extra_dev_deps << ['hoe-rubygems', '~> 1.0']
|
71
60
|
extra_dev_deps << ['hoe-seattlerb', '~> 1.3']
|
72
|
-
extra_dev_deps << ['hoe-travis', '~> 1.2']
|
73
61
|
extra_dev_deps << ['hoe-version', '~> 1.2']
|
74
|
-
extra_dev_deps << ['
|
75
|
-
extra_dev_deps << ['
|
76
|
-
extra_dev_deps << ['
|
77
|
-
extra_dev_deps << ['
|
78
|
-
extra_dev_deps << ['rubocop', '~> 0.37']
|
62
|
+
extra_dev_deps << ['rake', '~> 11.2']
|
63
|
+
extra_dev_deps << ['reek', '~> 4.2']
|
64
|
+
extra_dev_deps << ['rspec', '~> 3.5']
|
65
|
+
extra_dev_deps << ['rubocop', '~> 0.42']
|
79
66
|
end
|
80
67
|
|
81
68
|
##################################################SETUP ZONE############################################################
|
data/lib/hoe/packaging.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# @author: Sascha Manns
|
4
4
|
# @abstract: hoe-packaging
|
5
5
|
#
|
6
|
-
# Copyright (c) 2015 Sascha Manns <samannsml@directbox.com>
|
6
|
+
# Copyright (c) 2015-2016 Sascha Manns <samannsml@directbox.com>
|
7
7
|
# License: MIT
|
8
8
|
|
9
9
|
# Dependencies
|
@@ -12,7 +12,7 @@
|
|
12
12
|
# Main module for hoe-packaging
|
13
13
|
module Hoe::Packaging
|
14
14
|
# Versionizing
|
15
|
-
VERSION = '1.1.
|
15
|
+
VERSION = '1.1.4'
|
16
16
|
attr_accessor :create_packages
|
17
17
|
attr_accessor :deploy_packages
|
18
18
|
|
data/recipes/recipe.rb
CHANGED
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
require 'coveralls'
|
2
|
+
require 'simplecov'
|
3
|
+
require 'fileutils'
|
4
|
+
require 'rake'
|
5
|
+
Coveralls.wear!
|
6
|
+
|
7
|
+
SimpleCov.formatter = Coveralls::SimpleCov::Formatter
|
8
|
+
SimpleCov.start do
|
9
|
+
add_filter '.yardoc'
|
10
|
+
add_filter 'config'
|
11
|
+
add_filter 'doc'
|
12
|
+
add_filter 'manual'
|
13
|
+
add_filter 'pkg'
|
14
|
+
add_filter 'vendor'
|
15
|
+
end
|
metadata
CHANGED
@@ -1,36 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hoe-packaging
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sascha Manns
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
|
-
cert_chain:
|
11
|
-
-
|
12
|
-
-----BEGIN CERTIFICATE-----
|
13
|
-
MIIDhTCCAm2gAwIBAgIBATANBgkqhkiG9w0BAQUFADBEMRIwEAYDVQQDDAlzYW1h
|
14
|
-
bm5zbWwxGTAXBgoJkiaJk/IsZAEZFglkaXJlY3Rib3gxEzARBgoJkiaJk/IsZAEZ
|
15
|
-
FgNjb20wHhcNMTUwOTE1MTAwOTQwWhcNMTYwOTE0MTAwOTQwWjBEMRIwEAYDVQQD
|
16
|
-
DAlzYW1hbm5zbWwxGTAXBgoJkiaJk/IsZAEZFglkaXJlY3Rib3gxEzARBgoJkiaJ
|
17
|
-
k/IsZAEZFgNjb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQChvBUV
|
18
|
-
qkj1as15E6mSt42Vf+bwwn6y5IINU8WyMByK85WPENyWpOTOsrwTSpai3b/fO6JE
|
19
|
-
RzGyC/IDQXy5IcnWAXIRG/lRy4MOHeReShVH0TWP9e63jhsjffb3oiE9WyVMyp6j
|
20
|
-
7mBDsYQlpd9dzIxBjhOuezqHTats1Zx3YmgTKqcxIGagw+91taJE3eXQRh9OTply
|
21
|
-
6nFe4EeEDZIDkpGxgWPdPXhdEOh70z9if0Li0iuwzKD7nI2YDrQPZ6yzohwJSCxJ
|
22
|
-
G1cvwyew70s9xneJ63C+EoBDdSzjYOi9ov08sLYm6XphYmXkansZX9XLvlkm7oNU
|
23
|
-
RauozHFRkVgou2yPAgMBAAGjgYEwfzAJBgNVHRMEAjAAMAsGA1UdDwQEAwIEsDAd
|
24
|
-
BgNVHQ4EFgQU2Z0THCX7uI/mtn0lN5RlIUhQHkMwIgYDVR0RBBswGYEXc2FtYW5u
|
25
|
-
c21sQGRpcmVjdGJveC5jb20wIgYDVR0SBBswGYEXc2FtYW5uc21sQGRpcmVjdGJv
|
26
|
-
eC5jb20wDQYJKoZIhvcNAQEFBQADggEBABcwHO1C0EOos6v4jYYqcxMqryJnGH9O
|
27
|
-
ZOGyesU4BsVuVfKznMZ2hMnb5UW1JgxcZgTdhh4LuZ5NuDUd4DJyUGVKKVIxPFzs
|
28
|
-
T1YreFIygjNZDlF338gY4R8OgzgM7j/k5mxg1gL0/4zgHVNRFsb4lB0xN+b/9iY4
|
29
|
-
OQ2nBbEye41AtFzskC/Qdsj5uvG/g2wy8fMDZ6+VI4nNb/bHJahShz2kqRap461j
|
30
|
-
cEuJ8AWKUjdkdt1Nba7qmareRtc2+pEiITV5ANv24b8vsmq9/8nbxQckdO7+NQRP
|
31
|
-
pTQZhJ4mX28Qe1F9IE4F4UDeo8gQSPHJOttZA33sRLC19sH67dLq4pM=
|
32
|
-
-----END CERTIFICATE-----
|
33
|
-
date: 2016-02-08 00:00:00.000000000 Z
|
10
|
+
cert_chain: []
|
11
|
+
date: 2016-08-06 00:00:00.000000000 Z
|
34
12
|
dependencies:
|
35
13
|
- !ruby/object:Gem::Dependency
|
36
14
|
name: bundler
|
@@ -52,98 +30,56 @@ dependencies:
|
|
52
30
|
requirements:
|
53
31
|
- - "~>"
|
54
32
|
- !ruby/object:Gem::Version
|
55
|
-
version: '1.
|
33
|
+
version: '1.6'
|
56
34
|
type: :runtime
|
57
35
|
prerelease: false
|
58
36
|
version_requirements: !ruby/object:Gem::Requirement
|
59
37
|
requirements:
|
60
38
|
- - "~>"
|
61
39
|
- !ruby/object:Gem::Version
|
62
|
-
version: '1.
|
40
|
+
version: '1.6'
|
63
41
|
- !ruby/object:Gem::Dependency
|
64
42
|
name: fpm-cookery
|
65
43
|
requirement: !ruby/object:Gem::Requirement
|
66
44
|
requirements:
|
67
45
|
- - "~>"
|
68
46
|
- !ruby/object:Gem::Version
|
69
|
-
version: '0.
|
47
|
+
version: '0.32'
|
70
48
|
type: :runtime
|
71
49
|
prerelease: false
|
72
50
|
version_requirements: !ruby/object:Gem::Requirement
|
73
51
|
requirements:
|
74
52
|
- - "~>"
|
75
53
|
- !ruby/object:Gem::Version
|
76
|
-
version: '0.
|
54
|
+
version: '0.32'
|
77
55
|
- !ruby/object:Gem::Dependency
|
78
|
-
name:
|
56
|
+
name: rdoc
|
79
57
|
requirement: !ruby/object:Gem::Requirement
|
80
58
|
requirements:
|
81
59
|
- - "~>"
|
82
60
|
- !ruby/object:Gem::Version
|
83
|
-
version: '0
|
61
|
+
version: '4.0'
|
84
62
|
type: :development
|
85
63
|
prerelease: false
|
86
64
|
version_requirements: !ruby/object:Gem::Requirement
|
87
65
|
requirements:
|
88
66
|
- - "~>"
|
89
67
|
- !ruby/object:Gem::Version
|
90
|
-
version: '0
|
91
|
-
- !ruby/object:Gem::Dependency
|
92
|
-
name: hoe-yard
|
93
|
-
requirement: !ruby/object:Gem::Requirement
|
94
|
-
requirements:
|
95
|
-
- - ">="
|
96
|
-
- !ruby/object:Gem::Version
|
97
|
-
version: 0.1.2
|
98
|
-
type: :development
|
99
|
-
prerelease: false
|
100
|
-
version_requirements: !ruby/object:Gem::Requirement
|
101
|
-
requirements:
|
102
|
-
- - ">="
|
103
|
-
- !ruby/object:Gem::Version
|
104
|
-
version: 0.1.2
|
105
|
-
- !ruby/object:Gem::Dependency
|
106
|
-
name: gem-release
|
107
|
-
requirement: !ruby/object:Gem::Requirement
|
108
|
-
requirements:
|
109
|
-
- - "~>"
|
110
|
-
- !ruby/object:Gem::Version
|
111
|
-
version: '0.7'
|
112
|
-
type: :development
|
113
|
-
prerelease: false
|
114
|
-
version_requirements: !ruby/object:Gem::Requirement
|
115
|
-
requirements:
|
116
|
-
- - "~>"
|
117
|
-
- !ruby/object:Gem::Version
|
118
|
-
version: '0.7'
|
68
|
+
version: '4.0'
|
119
69
|
- !ruby/object:Gem::Dependency
|
120
70
|
name: hoe-bundler
|
121
71
|
requirement: !ruby/object:Gem::Requirement
|
122
72
|
requirements:
|
123
73
|
- - "~>"
|
124
74
|
- !ruby/object:Gem::Version
|
125
|
-
version: '1.
|
126
|
-
type: :development
|
127
|
-
prerelease: false
|
128
|
-
version_requirements: !ruby/object:Gem::Requirement
|
129
|
-
requirements:
|
130
|
-
- - "~>"
|
131
|
-
- !ruby/object:Gem::Version
|
132
|
-
version: '1.2'
|
133
|
-
- !ruby/object:Gem::Dependency
|
134
|
-
name: hoe-deveiate
|
135
|
-
requirement: !ruby/object:Gem::Requirement
|
136
|
-
requirements:
|
137
|
-
- - "~>"
|
138
|
-
- !ruby/object:Gem::Version
|
139
|
-
version: '0.7'
|
75
|
+
version: '1.3'
|
140
76
|
type: :development
|
141
77
|
prerelease: false
|
142
78
|
version_requirements: !ruby/object:Gem::Requirement
|
143
79
|
requirements:
|
144
80
|
- - "~>"
|
145
81
|
- !ruby/object:Gem::Version
|
146
|
-
version: '
|
82
|
+
version: '1.3'
|
147
83
|
- !ruby/object:Gem::Dependency
|
148
84
|
name: hoe-doofus
|
149
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -158,20 +94,6 @@ dependencies:
|
|
158
94
|
- - "~>"
|
159
95
|
- !ruby/object:Gem::Version
|
160
96
|
version: '1.0'
|
161
|
-
- !ruby/object:Gem::Dependency
|
162
|
-
name: hoe-gemspec
|
163
|
-
requirement: !ruby/object:Gem::Requirement
|
164
|
-
requirements:
|
165
|
-
- - "~>"
|
166
|
-
- !ruby/object:Gem::Version
|
167
|
-
version: '1.0'
|
168
|
-
type: :development
|
169
|
-
prerelease: false
|
170
|
-
version_requirements: !ruby/object:Gem::Requirement
|
171
|
-
requirements:
|
172
|
-
- - "~>"
|
173
|
-
- !ruby/object:Gem::Version
|
174
|
-
version: '1.0'
|
175
97
|
- !ruby/object:Gem::Dependency
|
176
98
|
name: hoe-git
|
177
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -270,20 +192,6 @@ dependencies:
|
|
270
192
|
- - "~>"
|
271
193
|
- !ruby/object:Gem::Version
|
272
194
|
version: '1.3'
|
273
|
-
- !ruby/object:Gem::Dependency
|
274
|
-
name: hoe-travis
|
275
|
-
requirement: !ruby/object:Gem::Requirement
|
276
|
-
requirements:
|
277
|
-
- - "~>"
|
278
|
-
- !ruby/object:Gem::Version
|
279
|
-
version: '1.2'
|
280
|
-
type: :development
|
281
|
-
prerelease: false
|
282
|
-
version_requirements: !ruby/object:Gem::Requirement
|
283
|
-
requirements:
|
284
|
-
- - "~>"
|
285
|
-
- !ruby/object:Gem::Version
|
286
|
-
version: '1.2'
|
287
195
|
- !ruby/object:Gem::Dependency
|
288
196
|
name: hoe-version
|
289
197
|
requirement: !ruby/object:Gem::Requirement
|
@@ -304,70 +212,70 @@ dependencies:
|
|
304
212
|
requirements:
|
305
213
|
- - "~>"
|
306
214
|
- !ruby/object:Gem::Version
|
307
|
-
version: '
|
215
|
+
version: '11.2'
|
308
216
|
type: :development
|
309
217
|
prerelease: false
|
310
218
|
version_requirements: !ruby/object:Gem::Requirement
|
311
219
|
requirements:
|
312
220
|
- - "~>"
|
313
221
|
- !ruby/object:Gem::Version
|
314
|
-
version: '
|
222
|
+
version: '11.2'
|
315
223
|
- !ruby/object:Gem::Dependency
|
316
224
|
name: reek
|
317
225
|
requirement: !ruby/object:Gem::Requirement
|
318
226
|
requirements:
|
319
227
|
- - "~>"
|
320
228
|
- !ruby/object:Gem::Version
|
321
|
-
version: '
|
229
|
+
version: '4.2'
|
322
230
|
type: :development
|
323
231
|
prerelease: false
|
324
232
|
version_requirements: !ruby/object:Gem::Requirement
|
325
233
|
requirements:
|
326
234
|
- - "~>"
|
327
235
|
- !ruby/object:Gem::Version
|
328
|
-
version: '
|
236
|
+
version: '4.2'
|
329
237
|
- !ruby/object:Gem::Dependency
|
330
238
|
name: rspec
|
331
239
|
requirement: !ruby/object:Gem::Requirement
|
332
240
|
requirements:
|
333
241
|
- - "~>"
|
334
242
|
- !ruby/object:Gem::Version
|
335
|
-
version: '3.
|
243
|
+
version: '3.5'
|
336
244
|
type: :development
|
337
245
|
prerelease: false
|
338
246
|
version_requirements: !ruby/object:Gem::Requirement
|
339
247
|
requirements:
|
340
248
|
- - "~>"
|
341
249
|
- !ruby/object:Gem::Version
|
342
|
-
version: '3.
|
250
|
+
version: '3.5'
|
343
251
|
- !ruby/object:Gem::Dependency
|
344
252
|
name: rubocop
|
345
253
|
requirement: !ruby/object:Gem::Requirement
|
346
254
|
requirements:
|
347
255
|
- - "~>"
|
348
256
|
- !ruby/object:Gem::Version
|
349
|
-
version: '0.
|
257
|
+
version: '0.42'
|
350
258
|
type: :development
|
351
259
|
prerelease: false
|
352
260
|
version_requirements: !ruby/object:Gem::Requirement
|
353
261
|
requirements:
|
354
262
|
- - "~>"
|
355
263
|
- !ruby/object:Gem::Version
|
356
|
-
version: '0.
|
264
|
+
version: '0.42'
|
357
265
|
- !ruby/object:Gem::Dependency
|
358
266
|
name: hoe
|
359
267
|
requirement: !ruby/object:Gem::Requirement
|
360
268
|
requirements:
|
361
269
|
- - "~>"
|
362
270
|
- !ruby/object:Gem::Version
|
363
|
-
version: '3.
|
271
|
+
version: '3.15'
|
364
272
|
type: :development
|
365
273
|
prerelease: false
|
366
274
|
version_requirements: !ruby/object:Gem::Requirement
|
367
275
|
requirements:
|
368
276
|
- - "~>"
|
369
277
|
- !ruby/object:Gem::Version
|
370
|
-
version: '3.
|
278
|
+
version: '3.15'
|
371
279
|
description: |-
|
372
280
|
hoe-packaging is a plugin for the hoe ruby projecthelper (https://github.com/seattlerb/hoe). It provides creation of rpm and deb packages,
|
373
281
|
also a deployment to bintray.
|
@@ -383,13 +291,11 @@ extra_rdoc_files:
|
|
383
291
|
- MAINTENANCE.md
|
384
292
|
- Manifest.txt
|
385
293
|
- README.rdoc
|
386
|
-
- docs/index.md
|
387
294
|
files:
|
388
295
|
- ".autotest"
|
389
296
|
- ".codeclimate.yml"
|
390
297
|
- ".coveralls.yml"
|
391
298
|
- ".gemnasium.yml"
|
392
|
-
- ".index"
|
393
299
|
- ".rspec"
|
394
300
|
- ".rubocop.yml"
|
395
301
|
- ".scrutinizer.yml"
|
@@ -404,22 +310,20 @@ files:
|
|
404
310
|
- Manifest.txt
|
405
311
|
- README.rdoc
|
406
312
|
- Rakefile
|
407
|
-
- VERSION
|
408
313
|
- config.reek
|
409
|
-
- docs/index.md
|
410
314
|
- lib/hoe/packaging.rb
|
411
315
|
- recipes/recipe.rb
|
412
|
-
-
|
316
|
+
- spec/packaging_spec.rb
|
317
|
+
- spec/spec_helper.rb
|
413
318
|
homepage: http://saigkill.github.io
|
414
319
|
licenses:
|
415
320
|
- MIT
|
416
321
|
metadata: {}
|
417
|
-
post_install_message: "*** Extend your hoerc:
|
418
|
-
bugreports and feature requests on: https://
|
322
|
+
post_install_message: "*** Extend your hoerc: https://saigkill.github.io/docs/hoe-packaging/index
|
323
|
+
*** Please file bugreports and feature requests on: https://saigkill.myjetbrains.com/youtrack/issues?q=project%3A+hoe-packaging"
|
419
324
|
rdoc_options:
|
420
|
-
- "--
|
421
|
-
-
|
422
|
-
- "--quiet"
|
325
|
+
- "--main"
|
326
|
+
- README.rdoc
|
423
327
|
require_paths:
|
424
328
|
- lib
|
425
329
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -434,7 +338,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
434
338
|
version: '0'
|
435
339
|
requirements: []
|
436
340
|
rubyforge_project:
|
437
|
-
rubygems_version: 2.
|
341
|
+
rubygems_version: 2.6.6
|
438
342
|
signing_key:
|
439
343
|
specification_version: 4
|
440
344
|
summary: hoe-packaging is a plugin for the hoe ruby projecthelper (https://github.com/seattlerb/hoe)
|
checksums.yaml.gz.sig
DELETED
Binary file
|
data.tar.gz.sig
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
x�0�Gh���^��#�:��}Q� �V��]��>+}Ț��.�n?���Eu�꓿�7�+]��|x�5J�g��@�lZG躎0xΙ�{2����p�9Jx;f��tZ�tI�3ߗ�"��Ta�G�%�C�����+ھH���0b�i�;�bi|�'o#�Ⱦ����[�ʟH��4��x�j�cq#����e4��d�q���$�qu��t >Q��l����vf����+��ĝ1A �ͩ���
|
data/.index
DELETED
@@ -1,163 +0,0 @@
|
|
1
|
-
---
|
2
|
-
revision: 2013
|
3
|
-
type: ruby
|
4
|
-
sources:
|
5
|
-
- VERSION
|
6
|
-
- Index.yml
|
7
|
-
authors:
|
8
|
-
- name: Sascha Manns
|
9
|
-
email: samannsml@directbox.com
|
10
|
-
organizations: []
|
11
|
-
requirements:
|
12
|
-
- name: setup
|
13
|
-
- name: fpm
|
14
|
-
- name: fpm-cookery
|
15
|
-
- groups:
|
16
|
-
- build
|
17
|
-
development: true
|
18
|
-
name: bundler
|
19
|
-
- groups:
|
20
|
-
- build
|
21
|
-
development: true
|
22
|
-
name: gem-release
|
23
|
-
- groups:
|
24
|
-
- build
|
25
|
-
development: true
|
26
|
-
name: hoe
|
27
|
-
- groups:
|
28
|
-
- build
|
29
|
-
development: true
|
30
|
-
name: hoe-bundler
|
31
|
-
- groups:
|
32
|
-
- build
|
33
|
-
development: true
|
34
|
-
name: hoe-deveiate
|
35
|
-
- groups:
|
36
|
-
- build
|
37
|
-
development: true
|
38
|
-
name: hoe-doofus
|
39
|
-
- groups:
|
40
|
-
- build
|
41
|
-
development: true
|
42
|
-
name: hoe-gemspec
|
43
|
-
- groups:
|
44
|
-
- build
|
45
|
-
development: true
|
46
|
-
name: hoe-git
|
47
|
-
- groups:
|
48
|
-
- build
|
49
|
-
development: true
|
50
|
-
name: hoe-highline
|
51
|
-
- groups:
|
52
|
-
- build
|
53
|
-
development: true
|
54
|
-
name: hoe-manifest
|
55
|
-
- groups:
|
56
|
-
- build
|
57
|
-
development: true
|
58
|
-
name: hoe-manns
|
59
|
-
- groups:
|
60
|
-
- build
|
61
|
-
development: true
|
62
|
-
name: hoe-manualgen
|
63
|
-
- groups:
|
64
|
-
- build
|
65
|
-
development: true
|
66
|
-
name: hoe-reek
|
67
|
-
- groups:
|
68
|
-
- build
|
69
|
-
development: true
|
70
|
-
name: hoe-rubocop
|
71
|
-
- groups:
|
72
|
-
- build
|
73
|
-
development: true
|
74
|
-
name: hoe-rubygems
|
75
|
-
- groups:
|
76
|
-
- build
|
77
|
-
development: true
|
78
|
-
name: hoe-seattlerb
|
79
|
-
- groups:
|
80
|
-
- build
|
81
|
-
development: true
|
82
|
-
name: hoe-travis
|
83
|
-
- groups:
|
84
|
-
- build
|
85
|
-
development: true
|
86
|
-
name: hoe-version
|
87
|
-
- groups:
|
88
|
-
- build
|
89
|
-
development: true
|
90
|
-
name: hoe-yard
|
91
|
-
- groups:
|
92
|
-
- build
|
93
|
-
development: true
|
94
|
-
name: indexer
|
95
|
-
- groups:
|
96
|
-
- build
|
97
|
-
development: true
|
98
|
-
name: rake
|
99
|
-
- groups:
|
100
|
-
- build
|
101
|
-
development: true
|
102
|
-
name: rdcoc
|
103
|
-
- groups:
|
104
|
-
- build
|
105
|
-
development: true
|
106
|
-
name: rspec
|
107
|
-
- groups:
|
108
|
-
- build
|
109
|
-
development: true
|
110
|
-
name: reek
|
111
|
-
- groups:
|
112
|
-
- build
|
113
|
-
development: true
|
114
|
-
name: rubocop
|
115
|
-
- groups:
|
116
|
-
- build
|
117
|
-
development: true
|
118
|
-
name: simplecov
|
119
|
-
- groups:
|
120
|
-
- test
|
121
|
-
development: true
|
122
|
-
name: coveralls
|
123
|
-
- groups:
|
124
|
-
- test
|
125
|
-
development: true
|
126
|
-
name: ZenTest
|
127
|
-
conflicts: []
|
128
|
-
alternatives: []
|
129
|
-
resources:
|
130
|
-
- type: home
|
131
|
-
uri: http://saigkill.github.io
|
132
|
-
label: Homepage
|
133
|
-
- type: code
|
134
|
-
uri: https://gitlab.com/saigkill/hoe-packaging
|
135
|
-
label: Source Code
|
136
|
-
- type: bugs
|
137
|
-
uri: https://gitlab.com/saigkill/hoe-manns/issues
|
138
|
-
label: Issue Tracker
|
139
|
-
- type: features
|
140
|
-
uri: https://gitlab.com/saigkill/hoe-manns/issues
|
141
|
-
repositories:
|
142
|
-
- name: upstream
|
143
|
-
scm: git
|
144
|
-
uri: https://gitlab.com/saigkill/hoe-packaging.git
|
145
|
-
categories:
|
146
|
-
- ruby
|
147
|
-
- development
|
148
|
-
- hoe
|
149
|
-
copyrights:
|
150
|
-
- holder: Sascha Manns
|
151
|
-
year: '2015'
|
152
|
-
license: MIT
|
153
|
-
customs: []
|
154
|
-
paths:
|
155
|
-
lib:
|
156
|
-
- lib
|
157
|
-
version: 1.1.3
|
158
|
-
name: hoe-packaging
|
159
|
-
title: hoe-packaging
|
160
|
-
summary: hoe packaging and deployment
|
161
|
-
description: hoe-packaging is a plugin for the hoe ruby projecthelper (https://github.com/seattlerb/hoe).
|
162
|
-
It provides creation of rpm and deb packages, also a deployment to bintray.
|
163
|
-
date: '2016-02-08'
|
data/VERSION
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
1.1.3
|
data/docs/index.md
DELETED
@@ -1,66 +0,0 @@
|
|
1
|
-
# Introduction
|
2
|
-
This hoe plugin provides two new rake tasks:
|
3
|
-
* create_packages
|
4
|
-
* deploy_packages
|
5
|
-
|
6
|
-
## Config
|
7
|
-
hoe-packaging uses the official ~/.hoerc. So you have to add that lines to your hoerc:
|
8
|
-
|
9
|
-
```
|
10
|
-
deploy:
|
11
|
-
username: youruser
|
12
|
-
apikey: 123456789
|
13
|
-
```
|
14
|
-
|
15
|
-
## Create packages
|
16
|
-
The "create_packages" workaround looks like:
|
17
|
-
|
18
|
-
``` ruby
|
19
|
-
def create_packages_method
|
20
|
-
FileUtils.cd('recipes') do
|
21
|
-
puts 'Creating the deb package'.colour(:yellow)
|
22
|
-
system('fpm-cook -t deb')
|
23
|
-
puts 'deb creating done'.colour(:green)
|
24
|
-
puts 'Creating the rpm package'.colour(:yellow)
|
25
|
-
system('fpm-cook -t rpm')
|
26
|
-
puts 'rpm creating done'.colour(:green)
|
27
|
-
end
|
28
|
-
end
|
29
|
-
```
|
30
|
-
As you can see, it expects in your project root directory a directory called "recipes" and inside them a "recipe.rb". The recipe.rb contains some metadata and looks like:
|
31
|
-
``` ruby
|
32
|
-
class HoePackagingRubyGem < FPM::Cookery::RubyGemRecipe
|
33
|
-
name 'hoe-packaging'
|
34
|
-
version '1.1.0'
|
35
|
-
maintainer 'Sascha Manns <samannsml@directbox.com>'
|
36
|
-
end
|
37
|
-
```
|
38
|
-
fpm-cook starts and tries (with that recipe above) to download the gem "hoe-packaging" in version "1.1.0". This gem will now converted into the rpm and deb package format. The produced packages are now available in "recipes/pkg".
|
39
|
-
|
40
|
-
## Deploy packages
|
41
|
-
The "deploy_packages" workaround looks like:
|
42
|
-
``` ruby
|
43
|
-
def deploy_bintray_method
|
44
|
-
project = get_projectname
|
45
|
-
config = ParseConfig.new(File.join("#{Dir.home}/.hoe-packaging/hoe-packaging.cfg"))
|
46
|
-
user = config['bintray_user'].to_s
|
47
|
-
apikey = config['bintray_api_key'].to_s
|
48
|
-
version = File.open(*Dir.glob('VERSION')) { |f| f.readline }
|
49
|
-
puts 'Deploying packages to bintray'.colour(:yellow)
|
50
|
-
puts project
|
51
|
-
FileUtils.cd('recipes/pkg') do
|
52
|
-
filerpm = Dir.glob('*.rpm')
|
53
|
-
filedeb = Dir.glob('*.deb')
|
54
|
-
rpm = filerpm.first.to_s
|
55
|
-
deb = filedeb.first.to_s
|
56
|
-
puts deb
|
57
|
-
puts rpm
|
58
|
-
system("curl -T #{rpm} -u#{user}:#{apikey} https://api.bintray.com/content/#{user}/rpm/#{project}/v#{version}/pool/main/r/;publish=1")
|
59
|
-
system("curl -T #{deb} -u#{user}:#{apikey} 'https://api.bintray.com/content/#{user}/deb/#{project}/v#{version}/pool/main/r/#{deb};deb_distribution=ubuntu;deb_component=main;deb_architecture=i386,amd64'")
|
60
|
-
end
|
61
|
-
puts 'Deploying succeeded'.colour(:green)
|
62
|
-
end
|
63
|
-
```
|
64
|
-
After you installed hoe-packaging with "rake setup" a new configfile is created in $HOME/.hoe-packaging/hoe-packaging.cfg. This file serves as holder for your bintray username and your bintray apikey. This information gets that method above. For getting the version it expects a file called "VERSION" just with the version number included. Maybe this is not the best solution, but atm i don't know another. If you, dear reader, knows a better solution, i'm happy about a merge request.
|
65
|
-
Now it changes the directory into "recipes/pkg" and pushs both files to bintray.
|
66
|
-
ATTENTION: You must already have setup the packages and repositories in bintray. Otherwise curl doesn't know, where to store it.
|
data/test/hoe/test_packaging.rb
DELETED
metadata.gz.sig
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
#HmU祺XF��g��CS�ۡ�%�B�jwWٽG�Xx�]�y2�a�Wr�_�x�0�|�Y'~E�l%���H�g�fz�:z@�6�fK ;n����������8�rn�'����6[�{�����F8���h�5́3U�u���/.�V�ڮ��$ ��B�I��&��۷^͖���E"#����WuJ�]eѕn�ũ��Y4>}uZ�W��#�d�����t�)S�4�$!����u$���zm�h.��!^9S[
|