pkgforge 0.18.0 → 0.19.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circle-ruby +3 -3
- data/.prospectus +21 -7
- data/.rubocop.yml +7 -4
- data/Gemfile +0 -1
- data/Rakefile +1 -2
- data/lib/pkgforge/components/cflags.rb +1 -1
- data/lib/pkgforge/components/deps.rb +1 -0
- data/lib/pkgforge/version.rb +1 -1
- data/pkgforge.gemspec +6 -4
- metadata +21 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3439232590f082ba9d4a7101be993cdcda235b83
|
4
|
+
data.tar.gz: 68cc9b64d2d4adfc2a05b8be20b813164502d2ac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b0facf0247c7c27f67838a387becdcf901263924030ab17867cd8125a44aa62e73d6dbd5c2178fff2288004ee7537546dfd9b330ab961bc308471cd2a93587f3
|
7
|
+
data.tar.gz: 919b07580f1c2d004722e6e6adddddd599833c27018d0ac8d0ec30d987faa89842e96d29083f31b1f631626aac9ec6519bd7cada0800260878d5099d27d35a88
|
data/.circle-ruby
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
2.4.
|
2
|
-
2.3.
|
3
|
-
2.2.
|
1
|
+
2.4.2
|
2
|
+
2.3.5
|
3
|
+
2.2.8
|
data/.prospectus
CHANGED
@@ -1,11 +1,25 @@
|
|
1
|
+
Prospectus.extra_dep('file', 'prospectus_circleci')
|
2
|
+
|
3
|
+
my_slug = 'akerl/pkgforge'
|
4
|
+
|
1
5
|
item do
|
2
|
-
|
3
|
-
static
|
4
|
-
set 'green'
|
5
|
-
end
|
6
|
+
noop
|
6
7
|
|
7
|
-
|
8
|
-
|
9
|
-
|
8
|
+
deps do
|
9
|
+
item do
|
10
|
+
name 'gems'
|
11
|
+
|
12
|
+
expected do
|
13
|
+
static
|
14
|
+
set 'green'
|
15
|
+
end
|
16
|
+
|
17
|
+
actual do
|
18
|
+
gemnasium
|
19
|
+
slug my_slug
|
20
|
+
end
|
21
|
+
end
|
10
22
|
end
|
23
|
+
|
24
|
+
extend ProspectusCircleci::Build.new(my_slug)
|
11
25
|
end
|
data/.rubocop.yml
CHANGED
data/Gemfile
CHANGED
data/Rakefile
CHANGED
@@ -7,8 +7,7 @@ RSpec::Core::RakeTask.new(:spec)
|
|
7
7
|
|
8
8
|
desc 'Run Rubocop on the gem'
|
9
9
|
RuboCop::RakeTask.new(:rubocop) do |task|
|
10
|
-
task.patterns = ['lib/**/*.rb', 'spec/**/*.rb', 'bin/*']
|
11
10
|
task.fail_on_error = true
|
12
11
|
end
|
13
12
|
|
14
|
-
task default: [
|
13
|
+
task default: %i[spec rubocop build install]
|
@@ -22,7 +22,7 @@ module PkgForge
|
|
22
22
|
Contract Maybe[ArrayOf[String]] => nil
|
23
23
|
def cflags(value = nil)
|
24
24
|
default = '-I%<dep>s/usr/include -L%<dep>s/usr/lib'
|
25
|
-
value ||= @forge.deps.map { |x, _| (default
|
25
|
+
value ||= @forge.deps.map { |x, _| format(default, dep: dep(x)).split }
|
26
26
|
@forge.cflags += value.flatten
|
27
27
|
nil
|
28
28
|
end
|
data/lib/pkgforge/version.rb
CHANGED
data/pkgforge.gemspec
CHANGED
@@ -1,4 +1,5 @@
|
|
1
|
-
|
1
|
+
require 'English'
|
2
|
+
$LOAD_PATH.unshift File.expand_path('../lib/', __FILE__)
|
2
3
|
require 'pkgforge/version'
|
3
4
|
|
4
5
|
Gem::Specification.new do |s|
|
@@ -7,7 +8,7 @@ Gem::Specification.new do |s|
|
|
7
8
|
s.date = Time.now.strftime('%Y-%m-%d')
|
8
9
|
|
9
10
|
s.summary = 'DSL engine for building Arch packages'
|
10
|
-
s.description =
|
11
|
+
s.description = 'DSL engine for building Arch packages'
|
11
12
|
s.authors = ['Les Aker']
|
12
13
|
s.email = 'me@lesaker.org'
|
13
14
|
s.homepage = 'https://github.com/akerl/pkgforge'
|
@@ -21,8 +22,9 @@ Gem::Specification.new do |s|
|
|
21
22
|
s.add_dependency 'contracts', '~> 0.16.0'
|
22
23
|
s.add_dependency 'cymbal', '~> 1.0.0'
|
23
24
|
|
24
|
-
s.add_development_dependency 'rubocop', '~> 0.
|
25
|
-
s.add_development_dependency '
|
25
|
+
s.add_development_dependency 'rubocop', '~> 0.50.0'
|
26
|
+
s.add_development_dependency 'goodcop', '~> 0.1.0'
|
27
|
+
s.add_development_dependency 'rake', '~> 12.1.0'
|
26
28
|
s.add_development_dependency 'codecov', '~> 0.1.1'
|
27
29
|
s.add_development_dependency 'rspec', '~> 3.6.0'
|
28
30
|
s.add_development_dependency 'fuubar', '~> 2.2.0'
|
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.
|
4
|
+
version: 0.19.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: 2017-
|
11
|
+
date: 2017-09-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mercenary
|
@@ -58,28 +58,42 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 0.
|
61
|
+
version: 0.50.0
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 0.
|
68
|
+
version: 0.50.0
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: goodcop
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 0.1.0
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 0.1.0
|
69
83
|
- !ruby/object:Gem::Dependency
|
70
84
|
name: rake
|
71
85
|
requirement: !ruby/object:Gem::Requirement
|
72
86
|
requirements:
|
73
87
|
- - "~>"
|
74
88
|
- !ruby/object:Gem::Version
|
75
|
-
version: 12.
|
89
|
+
version: 12.1.0
|
76
90
|
type: :development
|
77
91
|
prerelease: false
|
78
92
|
version_requirements: !ruby/object:Gem::Requirement
|
79
93
|
requirements:
|
80
94
|
- - "~>"
|
81
95
|
- !ruby/object:Gem::Version
|
82
|
-
version: 12.
|
96
|
+
version: 12.1.0
|
83
97
|
- !ruby/object:Gem::Dependency
|
84
98
|
name: codecov
|
85
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -180,7 +194,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
180
194
|
version: '0'
|
181
195
|
requirements: []
|
182
196
|
rubyforge_project:
|
183
|
-
rubygems_version: 2.6.
|
197
|
+
rubygems_version: 2.6.13
|
184
198
|
signing_key:
|
185
199
|
specification_version: 4
|
186
200
|
summary: DSL engine for building Arch packages
|