hoe-packaging 1.2.3 → 1.2.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,19 @@
1
+ # MAINTENANCE POLICY
2
+
3
+ I'm following the Semantic Versioning for its releases: (Major).(Minor).(Patch).
4
+
5
+ * Major version: Whenever there is something significant or any backwards
6
+ incompatible changes.
7
+ * Minor version: When new, backwards compatible functionality is introduced a
8
+ minor feature is introduced, or when a set of smaller features is rolled out.
9
+ * Patch number: When backwards compatible bug fixes are introduced that fix
10
+ incorrect behavior.
11
+ * The current stable release will receive security patches and bug fixes
12
+ (eg. 5.0 -> 5.0.1).
13
+ * Feature releases will mark the next supported stable release where the minor
14
+ version is increased numerically by increments of one (eg. 5.0 -> 5.1).
15
+
16
+ I encourage everyone to run the latest stable release to ensure that you can
17
+ easily upgrade to the most secure and feature rich experience. In order to
18
+ make sure you can easily run the most recent stable release, we are working
19
+ hard to keep the update process simple and reliable.
@@ -0,0 +1,83 @@
1
+ # hoe-packaging
2
+
3
+ |What | Where |
4
+ |-----|--------|
5
+ | code | [https://github.com/saigkill/hoe-packaging] |
6
+ | docs | [https://github.com/saigkill/hoe-packaging/wiki] |
7
+ | apidoc | [http://www.rubydoc.info/gems/hoe-packaging] |
8
+ | bugs & feature requests | [https://github.com/saigkill/hoe-packaging/issues] |
9
+ | openhub statistics | [https://www.openhub.net/p/hoe-packaging] |
10
+ | authors blog | [https://saschamanns.de] |
11
+ | min. rubyver | 2.7.0 |
12
+
13
+ | What | Status |
14
+ |-------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
15
+ |last public version | [![Last Version](https://badge.fury.io/rb/hoe-packaging.png)](http://rubygems.org/gems/hoe-packaging) |
16
+ |downloads latest | [![Downloads latest](https://img.shields.io/gem/dtv/hoe-packaging.svg)](http://rubygems.org/gems/hoe-packaging) |
17
+ |downloads all | [![Downloads all](https://img.shields.io/gem/dt/hoe-packaging.svg)](http://rubygems.org/gems/hoe-packaging) |
18
+ |code quality | [![Maintainability](https://api.codeclimate.com/v1/badges/5491c830409827e04868/maintainability)](https://codeclimate.com/github/saigkill/hoe-packaging/maintainability) |
19
+ |continuous integration | ![CI](https://github.com/saigkill/hoe-packaging/workflows/CI/badge.svg?branch=master&event=push) |
20
+ |dependencies|[![Dependabot Status](https://api.dependabot.com/badges/status?host=github&repo=saigkill/hoe-packaging)](https://dependabot.com) |
21
+ |security | [![Security](https://hakiri.io/github/saigkill/hoe-packaging/master.svg)](https://hakiri.io/github/saigkill/hoe-packaging/master/shield) |
22
+ |vulnerabilities|[![Known Vulnerabilities](https://snyk.io/test/github/saigkill/hoe-packaging/badge.svg?targetFile=Gemfile.lock)](https://snyk.io/test/github/saigkill/hoe-packaging?targetFile=Gemfile.lock) |
23
+ |documentation quality | [![Documentation Quality](https://inch-ci.org/github/saigkill/hoe-packaging.svg?branch=master)](https://inch-ci.org/github/saigkill/hoe-packaging) |
24
+
25
+ ## SCREENSHOT
26
+
27
+ [![Screenshot](https://saschamanns.de/img/screenshots/hoe-manns-screenshots.png)](https://github.com/saigkill/hoe-manns)
28
+
29
+ ## DESCRIPTION
30
+
31
+ hoe-packaging is a plugin for the hoe ruby projecthelper ([https://github.com/seattlerb/hoe]). It provides creation of rpm and deb packages,
32
+ also a deployment to bintray.
33
+
34
+ The CHANGELOG.md contains a detailed description on what has changed.
35
+
36
+ hoe-packaging is released under the GPL3 License, see the file 'LICENSE.md' for more information.
37
+
38
+ The official web site is:
39
+
40
+ [https://github.com/saigkill/hoe-packaging]
41
+
42
+ ## FEATURES
43
+
44
+ * creating of deb & rpm packages
45
+ * deploying to bintray.
46
+
47
+ 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.
48
+
49
+ See the {Tracker}[https://github.com/saigkill/hoe-packaging/issues] for checking known issues.
50
+
51
+ ## SYNOPSIS
52
+
53
+ Use in your Rakefile:
54
+
55
+ Hoe.plugin :packaging
56
+
57
+ Hoe.spec 'yourproject' do
58
+ ...
59
+ end
60
+
61
+ Also add hoe-packaging to your requirements and recreate your Gemfile.
62
+
63
+ Read the documentation at: [https://github.com/saigkill/hoe-packaging/wiki]
64
+
65
+ ## REQUIREMENTS
66
+
67
+ * fpm
68
+ * fpm-cookery
69
+
70
+ ## INSTALL
71
+
72
+ The installation is very easy.
73
+
74
+ gem install hoe-packaging
75
+
76
+ ## DEVELOPERS
77
+
78
+ After checking out the source, run:
79
+
80
+ $ rake newb
81
+
82
+ This task will install any missing dependencies, run the tests/specs,
83
+ and generate the RDoc.
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2013-2018 Sascha Manns <Sascha.Manns@mailbox.org>
1
+ # Copyright (C) 2013-2020 Sascha Manns <Sascha.Manns@outlook.de>
2
2
  #
3
3
  # This program is free software: you can redistribute it and/or modify
4
4
  # it under the terms of the GNU General Public License as published by
@@ -17,12 +17,10 @@
17
17
 
18
18
  require 'hoe'
19
19
 
20
- # Main module for hoe-packaging
21
- # TODO: Try to fix this in future
22
20
  # rubocop:disable Style/ClassAndModuleChildren
23
21
  module Hoe::Packaging
24
22
  # Versionizing
25
- VERSION = '1.2.3'.freeze
23
+ VERSION = '1.2.7'.freeze
26
24
  attr_accessor :create_packages
27
25
  attr_accessor :deploy_packages
28
26
 
@@ -63,7 +61,6 @@ module Hoe::Packaging
63
61
  end
64
62
 
65
63
  # Method for deploying to bintray
66
- # TODO: Try to pacify rubocop and reek in future
67
64
  # rubocop:disable Metrics/AbcSize
68
65
  # rubocop:disable Metrics/LineLength
69
66
  # rubocop:disable Metrics/MethodLength
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hoe-packaging
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.3
4
+ version: 1.2.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sascha Manns
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-04-28 00:00:00.000000000 Z
11
+ date: 2020-07-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fpm
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.9'
19
+ version: '1.11'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '1.9'
26
+ version: '1.11'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: fpm-cookery
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '0.33'
33
+ version: '0.35'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '0.33'
40
+ version: '0.35'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: parseconfig
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -52,163 +52,92 @@ dependencies:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: 1.0.8
55
- - !ruby/object:Gem::Dependency
56
- name: hoe-bundler
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - "~>"
60
- - !ruby/object:Gem::Version
61
- version: '1.4'
62
- type: :development
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - "~>"
67
- - !ruby/object:Gem::Version
68
- version: '1.4'
69
- - !ruby/object:Gem::Dependency
70
- name: hoe-version
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - "~>"
74
- - !ruby/object:Gem::Version
75
- version: '1.2'
76
- type: :development
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - "~>"
81
- - !ruby/object:Gem::Version
82
- version: '1.2'
83
55
  - !ruby/object:Gem::Dependency
84
56
  name: rake
85
57
  requirement: !ruby/object:Gem::Requirement
86
58
  requirements:
87
59
  - - "~>"
88
60
  - !ruby/object:Gem::Version
89
- version: '12.3'
61
+ version: '13.0'
90
62
  type: :development
91
63
  prerelease: false
92
64
  version_requirements: !ruby/object:Gem::Requirement
93
65
  requirements:
94
66
  - - "~>"
95
67
  - !ruby/object:Gem::Version
96
- version: '12.3'
68
+ version: '13.0'
97
69
  - !ruby/object:Gem::Dependency
98
70
  name: rdoc
99
71
  requirement: !ruby/object:Gem::Requirement
100
72
  requirements:
101
73
  - - "~>"
102
74
  - !ruby/object:Gem::Version
103
- version: '6.0'
104
- type: :development
105
- prerelease: false
106
- version_requirements: !ruby/object:Gem::Requirement
107
- requirements:
108
- - - "~>"
109
- - !ruby/object:Gem::Version
110
- version: '6.0'
111
- - !ruby/object:Gem::Dependency
112
- name: rspec
113
- requirement: !ruby/object:Gem::Requirement
114
- requirements:
115
- - - "~>"
116
- - !ruby/object:Gem::Version
117
- version: '3.7'
118
- type: :development
119
- prerelease: false
120
- version_requirements: !ruby/object:Gem::Requirement
121
- requirements:
122
- - - "~>"
123
- - !ruby/object:Gem::Version
124
- version: '3.7'
125
- - !ruby/object:Gem::Dependency
126
- name: coveralls
127
- requirement: !ruby/object:Gem::Requirement
128
- requirements:
129
- - - "~>"
130
- - !ruby/object:Gem::Version
131
- version: '0.8'
75
+ version: '6.2'
132
76
  type: :development
133
77
  prerelease: false
134
78
  version_requirements: !ruby/object:Gem::Requirement
135
79
  requirements:
136
80
  - - "~>"
137
81
  - !ruby/object:Gem::Version
138
- version: '0.8'
82
+ version: '6.2'
139
83
  - !ruby/object:Gem::Dependency
140
84
  name: hoe
141
85
  requirement: !ruby/object:Gem::Requirement
142
86
  requirements:
143
87
  - - "~>"
144
88
  - !ruby/object:Gem::Version
145
- version: '3.17'
89
+ version: '3.22'
146
90
  type: :development
147
91
  prerelease: false
148
92
  version_requirements: !ruby/object:Gem::Requirement
149
93
  requirements:
150
94
  - - "~>"
151
95
  - !ruby/object:Gem::Version
152
- version: '3.17'
153
- description: |-
154
- hoe-packaging is a plugin for the hoe ruby projecthelper (https://github.com/seattlerb/hoe). It provides creation of rpm and deb packages,
155
- also a deployment to bintray.
156
-
157
- The History.rdoc contains a detailed description on what has changed.
158
-
159
- hoe-packaging is released under the GPL3 License, see the file 'License.rdoc' for more information.
160
-
161
- The official web site is:
162
-
163
- https://github.com/saigkill/hoe-packaging
164
- email:
165
- - Sascha.Manns@mailbox.org
96
+ version: '3.22'
97
+ description: " hoe-packaging is a plugin for the hoe ruby projecthelper (https://github.com/seattlerb/hoe).
98
+ It provides creation of rpm and deb packages, also a deployment to bintray.\n"
99
+ email: Sascha.Manns@outlook.de
166
100
  executables: []
167
101
  extensions: []
168
102
  extra_rdoc_files:
169
- - CODE_OF_CONDUCT.rdoc
170
- - DEVELOPING.rdoc
171
- - History.rdoc
172
- - LICENSE.rdoc
173
- - MAINTENANCE.rdoc
174
- - Manifest.txt
175
- - README.rdoc
103
+ - CHANGELOG.md
104
+ - LICENSE.md
105
+ - MAINTENANCE.md
106
+ - README.md
176
107
  files:
177
- - CODE_OF_CONDUCT.rdoc
178
- - DEVELOPING.rdoc
179
- - Gemfile
180
- - Gemfile.lock
181
- - History.rdoc
182
- - LICENSE.rdoc
183
- - MAINTENANCE.rdoc
184
- - Manifest.txt
185
- - README.rdoc
186
- - Rakefile
108
+ - CHANGELOG.md
109
+ - CONTRIBUTING.md
110
+ - LICENSE.md
111
+ - MAINTENANCE.md
112
+ - README.md
187
113
  - lib/hoe/packaging.rb
188
114
  homepage: https://github.com/saigkill/hoe-packaging
189
115
  licenses:
190
116
  - GPL-3.0
191
- metadata: {}
192
- post_install_message: "*** Please file bugreports on: https://github.com/saigkill/hoe-packaging/issues"
193
- rdoc_options:
194
- - "--main"
195
- - README.rdoc
117
+ metadata:
118
+ homepage_uri: https://github.com/saigkill/hoe-packaging
119
+ changelog_uri: https://github.com/saigkill/hoe-packaging/blob/master/CHANGELOG.md
120
+ source_code_uri: https://github.com/saigkill/hoe-packaging
121
+ documentation_uri: https://github.com/saigkill/hoe-packaging/wiki
122
+ bug_tracker_uri: https://github.com/saigkill/hoe-packaging/issues
123
+ post_install_message: 'Please file bugreports on: https://github.com/saigkill/hoe-packaging/issues'
124
+ rdoc_options: []
196
125
  require_paths:
197
126
  - lib
198
127
  required_ruby_version: !ruby/object:Gem::Requirement
199
128
  requirements:
200
129
  - - ">="
201
130
  - !ruby/object:Gem::Version
202
- version: 2.3.0
131
+ version: 2.7.0
203
132
  required_rubygems_version: !ruby/object:Gem::Requirement
204
133
  requirements:
205
134
  - - ">="
206
135
  - !ruby/object:Gem::Version
207
136
  version: '0'
208
137
  requirements: []
209
- rubyforge_project:
210
- rubygems_version: 2.7.6
138
+ rubygems_version: 3.1.2
211
139
  signing_key:
212
140
  specification_version: 4
213
- summary: hoe-packaging is a plugin for the hoe ruby projecthelper (https://github.com/seattlerb/hoe)
141
+ summary: Collection of some personal used tasks for creating and deploying RPM and
142
+ DEB packages.
214
143
  test_files: []
@@ -1,26 +0,0 @@
1
- = CONTRIBUTOR CODE OF CONDUCT:
2
- As contributors and maintainers of this project, we pledge to respect all
3
- people who contribute through reporting issues, posting feature requests,
4
- updating documentation, submitting pull requests or patches, and other
5
- activities.
6
-
7
- We are committed to making participation in this project a harassment-free
8
- experience for everyone, regardless of level of experience, gender, gender
9
- identity and expression, sexual orientation, disability, personal
10
- appearance, body size, race, age, or religion.
11
-
12
- Examples of unacceptable behavior by participants include the use of sexual
13
- language or imagery, derogatory comments or personal attacks, trolling,
14
- public or private harassment, insults, or other unprofessional conduct.
15
-
16
- Project maintainers have the right and responsibility to remove, edit, or
17
- reject comments, commits, code, wiki edits, issues, and other contributions
18
- that are not aligned to this Code of Conduct. Project maintainers who do
19
- not follow the Code of Conduct may be removed from the project team.
20
-
21
- Instances of abusive, harassing, or otherwise unacceptable behavior may be
22
- reported by opening an issue or contacting one or more of the project
23
- maintainers.
24
-
25
- This Code of Conduct is adapted from the {Contributor Covenant}[http:contributor-covenant.org],
26
- version 1.0.0, available at {http://contributor-covenant.org/version/1/0/0/}[http://contributor-covenant.org/version/1/0/0/].
data/Gemfile DELETED
@@ -1,19 +0,0 @@
1
- # -*- ruby -*-
2
-
3
- # DO NOT EDIT THIS FILE. Instead, edit Rakefile, and run `rake bundler:gemfile`.
4
-
5
- source "https://rubygems.org/"
6
-
7
- gem "fpm", "~>1.9"
8
- gem "fpm-cookery", "~>0.33"
9
- gem "parseconfig", "~>1.0.8"
10
-
11
- gem "hoe-bundler", "~>1.4", :group => [:development, :test]
12
- gem "hoe-version", "~>1.2", :group => [:development, :test]
13
- gem "rake", "~>12.3", :group => [:development, :test]
14
- gem "rdoc", "~>6.0", :group => [:development, :test]
15
- gem "rspec", "~>3.7", :group => [:development, :test]
16
- gem "coveralls", "~>0.8", :group => [:development, :test]
17
- gem "hoe", "~>3.17", :group => [:development, :test]
18
-
19
- # vim: syntax=ruby
@@ -1,143 +0,0 @@
1
- GEM
2
- remote: https://rubygems.org/
3
- specs:
4
- addressable (2.3.8)
5
- arr-pm (0.0.10)
6
- cabin (> 0)
7
- backports (3.11.3)
8
- cabin (0.9.0)
9
- childprocess (0.9.0)
10
- ffi (~> 1.0, >= 1.0.11)
11
- clamp (1.0.1)
12
- coveralls (0.8.21)
13
- json (>= 1.8, < 3)
14
- simplecov (~> 0.14.1)
15
- term-ansicolor (~> 1.3)
16
- thor (~> 0.19.4)
17
- tins (~> 1.6)
18
- diff-lcs (1.3)
19
- docile (1.1.5)
20
- dotenv (2.4.0)
21
- facter (2.5.1)
22
- facter (2.5.1-x64-mingw32)
23
- ffi (~> 1.9.5)
24
- ffi (1.9.23)
25
- ffi (1.9.23-x64-mingw32)
26
- ffi-win32-extensions (1.0.3)
27
- ffi
28
- fpm (1.9.3)
29
- arr-pm (~> 0.0.10)
30
- backports (>= 2.6.2)
31
- cabin (>= 0.6.0)
32
- childprocess
33
- clamp (~> 1.0.0)
34
- ffi
35
- json (>= 1.7.7, < 2.0)
36
- pleaserun (~> 0.0.29)
37
- ruby-xz
38
- stud
39
- fpm-cookery (0.33.0)
40
- addressable (~> 2.3.8)
41
- facter
42
- fpm (~> 1.1)
43
- json (>= 1.7.7, < 2.0)
44
- json_pure (>= 1.7.7, < 2.0)
45
- puppet (~> 3.4)
46
- safe_yaml (~> 1.0.4)
47
- systemu
48
- hiera (1.3.4)
49
- json_pure
50
- hoe (3.17.0)
51
- rake (>= 0.8, < 13.0)
52
- hoe-bundler (1.4.0)
53
- hoe-version (1.2.0)
54
- insist (1.0.0)
55
- io-like (0.3.0)
56
- json (1.8.6)
57
- json_pure (1.8.6)
58
- minitar (0.5.4)
59
- mustache (0.99.8)
60
- parseconfig (1.0.8)
61
- pleaserun (0.0.30)
62
- cabin (> 0)
63
- clamp
64
- dotenv
65
- insist
66
- mustache (= 0.99.8)
67
- stud
68
- puppet (3.8.7)
69
- facter (> 1.6, < 3)
70
- hiera (~> 1.0)
71
- json_pure
72
- puppet (3.8.7-x64-mingw32)
73
- facter (> 1.6, < 3)
74
- ffi (~> 1.9.5)
75
- hiera (~> 1.0)
76
- json_pure
77
- minitar (~> 0.5.4)
78
- win32-dir (~> 0.4.9)
79
- win32-eventlog (~> 0.6.1)
80
- win32-process (~> 0.7.4)
81
- win32-security (~> 0.2.5)
82
- win32-service (~> 0.8.6)
83
- rake (12.3.1)
84
- rdoc (6.0.3)
85
- rspec (3.7.0)
86
- rspec-core (~> 3.7.0)
87
- rspec-expectations (~> 3.7.0)
88
- rspec-mocks (~> 3.7.0)
89
- rspec-core (3.7.1)
90
- rspec-support (~> 3.7.0)
91
- rspec-expectations (3.7.0)
92
- diff-lcs (>= 1.2.0, < 2.0)
93
- rspec-support (~> 3.7.0)
94
- rspec-mocks (3.7.0)
95
- diff-lcs (>= 1.2.0, < 2.0)
96
- rspec-support (~> 3.7.0)
97
- rspec-support (3.7.1)
98
- ruby-xz (0.2.3)
99
- ffi (~> 1.9)
100
- io-like (~> 0.3)
101
- safe_yaml (1.0.4)
102
- simplecov (0.14.1)
103
- docile (~> 1.1.0)
104
- json (>= 1.8, < 3)
105
- simplecov-html (~> 0.10.0)
106
- simplecov-html (0.10.2)
107
- stud (0.0.23)
108
- systemu (2.6.5)
109
- term-ansicolor (1.6.0)
110
- tins (~> 1.0)
111
- thor (0.19.4)
112
- tins (1.16.3)
113
- win32-dir (0.4.9)
114
- ffi (>= 1.0.0)
115
- win32-eventlog (0.6.7)
116
- ffi
117
- win32-process (0.7.5)
118
- ffi (>= 1.0.0)
119
- win32-security (0.2.5)
120
- ffi
121
- win32-service (0.8.10)
122
- ffi
123
- ffi-win32-extensions
124
-
125
- PLATFORMS
126
- ruby
127
- x64-mingw32
128
- x86_64-linux
129
-
130
- DEPENDENCIES
131
- coveralls (~> 0.8)
132
- fpm (~> 1.9)
133
- fpm-cookery (~> 0.33)
134
- hoe (~> 3.17)
135
- hoe-bundler (~> 1.4)
136
- hoe-version (~> 1.2)
137
- parseconfig (~> 1.0.8)
138
- rake (~> 12.3)
139
- rdoc (~> 6.0)
140
- rspec (~> 3.7)
141
-
142
- BUNDLED WITH
143
- 1.16.1