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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8f678a6c39ff15c4d050822d845b841cd4bb35f8
4
- data.tar.gz: 9e2c757588063e85a9e6b8782fd93ce50f212802
3
+ metadata.gz: 3439232590f082ba9d4a7101be993cdcda235b83
4
+ data.tar.gz: 68cc9b64d2d4adfc2a05b8be20b813164502d2ac
5
5
  SHA512:
6
- metadata.gz: ab4306d53f97bb1705ab2c1ac57d0c5173977c34d5199deb5e50684dcfdc49fd2a09a61d7ed3e734065b535a4c6956d9bae0afb04a8569bd4bc78f40e27ef05d
7
- data.tar.gz: 42d93ea56f3f5e02b6758a391b29759b1109523f8767b511148daaac1058824049e70e0b04353e6ee3a2b0a9a9ab1f8e482a08ffb7d0c8548ff3587543b851f5
6
+ metadata.gz: b0facf0247c7c27f67838a387becdcf901263924030ab17867cd8125a44aa62e73d6dbd5c2178fff2288004ee7537546dfd9b330ab961bc308471cd2a93587f3
7
+ data.tar.gz: 919b07580f1c2d004722e6e6adddddd599833c27018d0ac8d0ec30d987faa89842e96d29083f31b1f631626aac9ec6519bd7cada0800260878d5099d27d35a88
data/.circle-ruby CHANGED
@@ -1,3 +1,3 @@
1
- 2.4.1
2
- 2.3.4
3
- 2.2.7
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
- expected do
3
- static
4
- set 'green'
5
- end
6
+ noop
6
7
 
7
- actual do
8
- gemnasium
9
- slug 'akerl/pkgforge'
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
@@ -1,4 +1,7 @@
1
- Encoding:
2
- Enabled: false
3
- Style/FormatString:
4
- EnforcedStyle: percent
1
+ inherit_gem:
2
+ goodcop: .rubocop.yml
3
+ AllCops:
4
+ Include:
5
+ - 'bin/*'
6
+ Lint/Void:
7
+ Enabled: false
data/Gemfile CHANGED
@@ -1,4 +1,3 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
3
  gemspec
4
-
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: [:spec, :rubocop, :build, :install]
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 % { dep: dep(x) }).split }
25
+ value ||= @forge.deps.map { |x, _| format(default, dep: dep(x)).split }
26
26
  @forge.cflags += value.flatten
27
27
  nil
28
28
  end
@@ -1,4 +1,5 @@
1
1
  require 'open-uri'
2
+ require 'digest'
2
3
 
3
4
  module PkgForge
4
5
  ##
@@ -1,5 +1,5 @@
1
1
  ##
2
2
  # Declare version number
3
3
  module PkgForge
4
- VERSION = '0.18.0'.freeze
4
+ VERSION = '0.19.0'.freeze
5
5
  end
data/pkgforge.gemspec CHANGED
@@ -1,4 +1,5 @@
1
- $:.unshift File.expand_path('../lib/', __FILE__)
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 = "DSL engine for building Arch packages"
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.49.0'
25
- s.add_development_dependency 'rake', '~> 12.0.0'
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.18.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-06-04 00:00:00.000000000 Z
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.49.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.49.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.0.0
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.0.0
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.11
197
+ rubygems_version: 2.6.13
184
198
  signing_key:
185
199
  specification_version: 4
186
200
  summary: DSL engine for building Arch packages