hen 0.8.7 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/ChangeLog +5 -0
- data/README +2 -2
- data/Rakefile +2 -3
- data/lib/hen.rb +5 -5
- data/lib/hen/commands.rb +1 -2
- data/lib/hen/version.rb +2 -2
- data/lib/hens/gem.rake +4 -1
- metadata +9 -34
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 6e5fcb67fa88a3ddb9faf7251aec4c0147e8bffc6f175a88af1cfdae650d33a5
|
4
|
+
data.tar.gz: 94bb9d5fae236ff1b74bb5d24c356aadc083dca6af0889798051667786fb6c3b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b25cd975cf71c3e28e904a70fdec1dec4ef205cfba95f6f0a886c969af4b48b1a5dcc2dad235aff946ac1b2c6b2442caee1eeadcdb1d1cccabd0cecab503e2ae
|
7
|
+
data.tar.gz: 35da5258ae1b22ce5d87d350e776ae46efa849fe4583e70618dc9d1054d0db9c3557fc0ff5b7d000e3edcf16654f4d02082e78df9a006b7ae3860dbdf60fcf9e
|
data/ChangeLog
CHANGED
data/README
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
== VERSION
|
4
4
|
|
5
|
-
This documentation refers to hen version 0.
|
5
|
+
This documentation refers to hen version 0.9.0
|
6
6
|
|
7
7
|
|
8
8
|
== DESCRIPTION
|
@@ -72,7 +72,7 @@ RubyGem:: https://rubygems.org/gems/hen
|
|
72
72
|
Copyright (C) 2007-2012 University of Cologne,
|
73
73
|
Albertus-Magnus-Platz, 50923 Cologne, Germany
|
74
74
|
|
75
|
-
Copyright (C) 2013-
|
75
|
+
Copyright (C) 2013-2018 Jens Wille
|
76
76
|
|
77
77
|
hen is free software: you can redistribute it and/or modify it under the
|
78
78
|
terms of the GNU Affero General Public License as published by the Free
|
data/Rakefile
CHANGED
@@ -13,10 +13,9 @@ Hen.lay! {{
|
|
13
13
|
extra_files: FileList['lib/hens/*.rake'].to_a,
|
14
14
|
dependencies: {
|
15
15
|
highline: '~> 1.7',
|
16
|
-
nuggets: '~> 1.5'
|
17
|
-
safe_yaml: '~> 1.0'
|
16
|
+
nuggets: '~> 1.5'
|
18
17
|
},
|
19
18
|
|
20
|
-
required_ruby_version: '>= 1
|
19
|
+
required_ruby_version: '>= 2.1'
|
21
20
|
}
|
22
21
|
}}
|
data/lib/hen.rb
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
# Albertus-Magnus-Platz, #
|
8
8
|
# 50923 Cologne, Germany #
|
9
9
|
# #
|
10
|
-
# Copyright (C) 2013-
|
10
|
+
# Copyright (C) 2013-2018 Jens Wille #
|
11
11
|
# #
|
12
12
|
# Authors: #
|
13
13
|
# Jens Wille <jens.wille@gmail.com> #
|
@@ -28,12 +28,12 @@
|
|
28
28
|
###############################################################################
|
29
29
|
#++
|
30
30
|
|
31
|
-
require 'rake'
|
32
|
-
require 'rake/clean'
|
33
|
-
require 'safe_yaml/load'
|
34
31
|
require 'nuggets/env/user_home'
|
35
32
|
require 'nuggets/hash/deep_merge'
|
36
33
|
require 'nuggets/proc/bind'
|
34
|
+
require 'psych'
|
35
|
+
require 'rake'
|
36
|
+
require 'rake/clean'
|
37
37
|
|
38
38
|
require_relative 'hen/dsl'
|
39
39
|
require_relative 'hen/version'
|
@@ -183,7 +183,7 @@ class Hen
|
|
183
183
|
hash = Hash.new { |h, k| h[k] = {} }
|
184
184
|
|
185
185
|
henrc.each { |path|
|
186
|
-
yaml =
|
186
|
+
yaml = Psych.safe_load(File.read(path), symbolize_names: true)
|
187
187
|
hash.deep_update(yaml) if yaml.is_a?(Hash)
|
188
188
|
}
|
189
189
|
|
data/lib/hen/commands.rb
CHANGED
@@ -28,7 +28,6 @@
|
|
28
28
|
|
29
29
|
require 'fileutils'
|
30
30
|
require 'nuggets/argv/option'
|
31
|
-
require 'nuggets/enumerable/minmax'
|
32
31
|
|
33
32
|
require_relative 'cli'
|
34
33
|
|
@@ -73,7 +72,7 @@ Usage: #{$0} {#{COMMANDS.keys.sort.join('|')}} [arguments] [options]
|
|
73
72
|
puts
|
74
73
|
puts 'Commands:'
|
75
74
|
|
76
|
-
max = COMMANDS.keys.
|
75
|
+
max = COMMANDS.keys.map(&:length).max
|
77
76
|
|
78
77
|
COMMANDS.sort.each { |cmd, desc|
|
79
78
|
puts " %-#{max}s - %s" % [cmd, (desc = [*desc]).shift]
|
data/lib/hen/version.rb
CHANGED
data/lib/hens/gem.rake
CHANGED
@@ -402,10 +402,13 @@ Hen gem: :rdoc do
|
|
402
402
|
end
|
403
403
|
|
404
404
|
if File.exist?(rc_config = File.expand_path('~/.rake-compiler/config.yml'))
|
405
|
-
ENV['RUBY_CC_VERSION'] ||=
|
405
|
+
ENV['RUBY_CC_VERSION'] ||= Psych.safe_load(File.read(rc_config)).keys.
|
406
406
|
map { |k| k.split('-').last }.uniq.join(':')
|
407
407
|
end
|
408
408
|
|
409
|
+
# TODO: Include RUBY_CC_VERSION in required_ruby_version
|
410
|
+
# https://github.com/sparklemotion/nokogiri/commit/fb00790
|
411
|
+
|
409
412
|
desc 'Build native gems'
|
410
413
|
task 'gem:native' => %w[cross compile rake:native gem]
|
411
414
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hen
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jens Wille
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-06-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: highline
|
@@ -38,20 +38,6 @@ dependencies:
|
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '1.5'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: safe_yaml
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - "~>"
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '1.0'
|
48
|
-
type: :runtime
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - "~>"
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '1.0'
|
55
41
|
- !ruby/object:Gem::Dependency
|
56
42
|
name: rake
|
57
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -71,11 +57,7 @@ email: jens.wille@gmail.com
|
|
71
57
|
executables:
|
72
58
|
- hen
|
73
59
|
extensions: []
|
74
|
-
extra_rdoc_files:
|
75
|
-
- README
|
76
|
-
- CONDUCT
|
77
|
-
- COPYING
|
78
|
-
- ChangeLog
|
60
|
+
extra_rdoc_files: []
|
79
61
|
files:
|
80
62
|
- CONDUCT
|
81
63
|
- COPYING
|
@@ -109,26 +91,19 @@ licenses:
|
|
109
91
|
metadata: {}
|
110
92
|
post_install_message: |2+
|
111
93
|
|
112
|
-
hen-0.
|
94
|
+
hen-0.9.0 [2018-06-16]:
|
113
95
|
|
114
|
-
*
|
96
|
+
* <b>Dropped support for Ruby 2.0.</b>
|
97
|
+
* Dropped +safe_yaml+ dependency in favour of standard library.
|
115
98
|
|
116
|
-
rdoc_options:
|
117
|
-
- "--title"
|
118
|
-
- hen Application documentation (v0.8.7)
|
119
|
-
- "--charset"
|
120
|
-
- UTF-8
|
121
|
-
- "--line-numbers"
|
122
|
-
- "--all"
|
123
|
-
- "--main"
|
124
|
-
- README
|
99
|
+
rdoc_options: []
|
125
100
|
require_paths:
|
126
101
|
- lib
|
127
102
|
required_ruby_version: !ruby/object:Gem::Requirement
|
128
103
|
requirements:
|
129
104
|
- - ">="
|
130
105
|
- !ruby/object:Gem::Version
|
131
|
-
version: 1
|
106
|
+
version: '2.1'
|
132
107
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
133
108
|
requirements:
|
134
109
|
- - ">="
|
@@ -136,7 +111,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
136
111
|
version: '0'
|
137
112
|
requirements: []
|
138
113
|
rubyforge_project:
|
139
|
-
rubygems_version: 2.
|
114
|
+
rubygems_version: 2.7.7
|
140
115
|
signing_key:
|
141
116
|
specification_version: 4
|
142
117
|
summary: Just another project helper that integrates with Rake.
|