pkgforge 0.23.2 → 0.24.0

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
  SHA256:
3
- metadata.gz: c797f0c73134747aa6b55e3455aa353abd6b1fd6d036906caff5ea1226d9b8cc
4
- data.tar.gz: c50030fbd3a96d2a8ae9353837a309ed179140dae9e4a7744e983dbf6e70d395
3
+ metadata.gz: 8f383f68693da54cd23bc96c8d34e56489dd65140bab44f1d4849e17d99a9054
4
+ data.tar.gz: fb95a84b5584ab56de2ce335410092a92a059c73cd4a4a1cf7e6b8c05ec5570a
5
5
  SHA512:
6
- metadata.gz: 7a1ebfc1002b584d60f0980266e770adcf2c29704f8cc1b25674ea88252d9214cc9ecec89018f2f791a15fb5e0356ad99839d649afd51b11324350768ab24de2
7
- data.tar.gz: 1eb48f00696536f9c6664553eb7f209e1f0a3b09300a03987eea125c8254428789671d315d5b80ad55c2386ef4953cc928518a3ad84550fbe861171d9844d6e0
6
+ metadata.gz: 55a6dd4779b679ab83d3b88fc5b152b89cfd8a529882c4b95dfbb14bce1a1e12c68a3e2ab7b2746fcb49941e827414ab53ab95a425257eabac89000b7cbb49a5
7
+ data.tar.gz: 7c2fab74dd792f3f85a1e4e58f1aa0a4358369b76832c5e2d208480e31fa538133d3b5f630b685ba12a80a0e67714738875725d90b75e443fd810ad0c5e193b3
data/.circle-ruby CHANGED
@@ -1,3 +1,4 @@
1
- 2.5.1
2
- 2.4.4
3
- 2.3.7
1
+ 2.6.1
2
+ 2.5.3
3
+ 2.4.5
4
+ 2.3.8
data/.travis.yml CHANGED
@@ -1,4 +1,4 @@
1
- dist: trusty
1
+ dist: xenial
2
2
  install:
3
3
  - for i in $(cat .circle-ruby) ; do rvm install $i || exit 1 ; done
4
4
  - for i in $(cat .circle-ruby) ; do rvm-exec $i bundle install || exit 1 ; done
@@ -37,14 +37,23 @@ module PkgForge
37
37
 
38
38
  # Shamelessly sourced from:
39
39
  # https://blog.mayflower.de/5800-Hardening-Compiler-Flags-for-NixOS.html
40
+ # https://developers.redhat.com/blog/2018/03/21/compiler-and-linker-flags-gcc/
41
+ # https://wiki.debian.org/Hardening
40
42
  ALL_HARDEN_OPTS = {
43
+ controlflow: %w[-fcf-protection],
41
44
  format: %w[-Wformat -Wformat-security -Werror=format-security],
45
+ fortify: %w[-D_FORTIFY_SOURCE=2],
46
+ implicit: %w[-Werror=implicit-function-declaration],
47
+ lazybinding: %w[-Wl,-z,now],
48
+ optimize: %w[-O2],
49
+ pic: %w[-fPIC -shared],
50
+ pie: %w[-fpie -Wl,-pie],
51
+ relro: %w[-Wl,-z,relro],
52
+ stackclash: %w[-fstack-clash-protection],
42
53
  stackprotector: %w[-fstack-protector-strong],
43
- fortify: %w[-O2 -D_FORTIFY_SOURCE=2],
44
- pic: '-fPIC',
45
- strictoverflow: '-fno-strict-overflow',
46
- relro: '-zrelro',
47
- bindnow: '-zbindnow'
54
+ strictoverflow: %w[-fno-strict-overflow],
55
+ underlinking: %w[-Wl,-z,defs],
56
+ warnings: %w[-Wall]
48
57
  }.freeze
49
58
 
50
59
  Contract Maybe[Array[String]] => nil
@@ -39,7 +39,7 @@ module PkgForge
39
39
  def upload_artifacts!
40
40
  return unless state[:artifacts]
41
41
  state[:artifacts].each do |artifact|
42
- args = ['targit', '--authfile', '.github', '--create']
42
+ args = ['targit', '--authfile', '.creds_github', '--create']
43
43
  args += ['--name', artifact[:name]]
44
44
  args += ['--endpoint', endpoint] if endpoint
45
45
  args += ["#{org}/#{name}", version, artifact[:source]]
@@ -1,5 +1,5 @@
1
1
  ##
2
2
  # Declare version number
3
3
  module PkgForge
4
- VERSION = '0.23.2'.freeze
4
+ VERSION = '0.24.0'.freeze
5
5
  end
data/pkgforge.gemspec CHANGED
@@ -19,13 +19,13 @@ Gem::Specification.new do |s|
19
19
  s.executables = ['pkgforge']
20
20
 
21
21
  s.add_dependency 'contracts', '~> 0.16.0'
22
- s.add_dependency 'cymbal', '~> 1.0.0'
22
+ s.add_dependency 'cymbal', '~> 2.0.0'
23
23
  s.add_dependency 'mercenary', '~> 0.3.4'
24
24
 
25
25
  s.add_development_dependency 'codecov', '~> 0.1.1'
26
- s.add_development_dependency 'fuubar', '~> 2.3.0'
27
- s.add_development_dependency 'goodcop', '~> 0.6.0'
28
- s.add_development_dependency 'rake', '~> 12.3.0'
29
- s.add_development_dependency 'rspec', '~> 3.8.0'
30
- s.add_development_dependency 'rubocop', '~> 0.59.0'
26
+ s.add_development_dependency 'fuubar', '~> 2.5.0'
27
+ s.add_development_dependency 'goodcop', '~> 0.8.0'
28
+ s.add_development_dependency 'rake', '~> 13.0.0'
29
+ s.add_development_dependency 'rspec', '~> 3.9.0'
30
+ s.add_development_dependency 'rubocop', '~> 0.76.0'
31
31
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pkgforge
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.23.2
4
+ version: 0.24.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Les Aker
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-10-09 00:00:00.000000000 Z
11
+ date: 2020-02-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: contracts
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 1.0.0
33
+ version: 2.0.0
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: 1.0.0
40
+ version: 2.0.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: mercenary
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -72,70 +72,70 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 2.3.0
75
+ version: 2.5.0
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: 2.3.0
82
+ version: 2.5.0
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: goodcop
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: 0.6.0
89
+ version: 0.8.0
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: 0.6.0
96
+ version: 0.8.0
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: rake
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: 12.3.0
103
+ version: 13.0.0
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: 12.3.0
110
+ version: 13.0.0
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: rspec
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
115
  - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: 3.8.0
117
+ version: 3.9.0
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - "~>"
123
123
  - !ruby/object:Gem::Version
124
- version: 3.8.0
124
+ version: 3.9.0
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: rubocop
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
129
  - - "~>"
130
130
  - !ruby/object:Gem::Version
131
- version: 0.59.0
131
+ version: 0.76.0
132
132
  type: :development
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
136
  - - "~>"
137
137
  - !ruby/object:Gem::Version
138
- version: 0.59.0
138
+ version: 0.76.0
139
139
  description: DSL engine for building Arch packages
140
140
  email: me@lesaker.org
141
141
  executables:
@@ -193,8 +193,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
193
193
  - !ruby/object:Gem::Version
194
194
  version: '0'
195
195
  requirements: []
196
- rubyforge_project:
197
- rubygems_version: 2.7.6
196
+ rubygems_version: 3.0.1
198
197
  signing_key:
199
198
  specification_version: 4
200
199
  summary: DSL engine for building Arch packages