pfa 1.3.2 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/pfa/img_builder.rb +4 -1
- data/lib/pfa/relative_pfa.rb +2 -1
- data/lib/pfa/version.rb +1 -1
- data/pfa.gemspec +1 -0
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 703c9f852f2db691bbb2069390605b231ce39a18fa9a1ee0932bd67f33d0c46b
|
4
|
+
data.tar.gz: 0415d13d28a2827a25699a6216fa45ef2191cb9d072ef19932d48aaf3eec9695
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '0849121b27d1d9cde776119d99542f851e6ae495b79d7a39c13da778e3c91dd3884a8f23f9fe2baaa451e21bae7f4b6977122bba84c60b1275cd5650b39abb3c'
|
7
|
+
data.tar.gz: 716422051c329ddedb2666009aaac8b3ea7374d95b9b276f2711d5bd9a40f2566103767e51a92de9c4c5a731ed9f85adfb323a7358903d39b81bb0ee94b4dfb2
|
data/CHANGELOG.md
CHANGED
data/lib/pfa/img_builder.rb
CHANGED
@@ -137,6 +137,9 @@ class ImgBuilder < AnyBuilder
|
|
137
137
|
# (je ne parviens pas à mettre la commande sur plusieurs lignes,
|
138
138
|
# même avec la contre-balance…)
|
139
139
|
cmd_finale = @code_image_magick.split("\n").compact.join(" ")
|
140
|
+
|
141
|
+
# gem 'log_in_file'
|
142
|
+
logif("Command finale :\n<<<<<<<<<<\n#{cmd_finale}\n>>>>>>>>>>")
|
140
143
|
|
141
144
|
|
142
145
|
# Pour débugger facilement, on met les numéros des lignes
|
@@ -159,7 +162,7 @@ class ImgBuilder < AnyBuilder
|
|
159
162
|
# L'image doit avoir été créée
|
160
163
|
#
|
161
164
|
File.exist?(image_path) || raise(PFAFatalError.new(5000, **{path: image_path}))
|
162
|
-
puts "Image #{image_path.inspect} produite avec succès."
|
165
|
+
puts "Image #{image_path.inspect} produite avec succès.".vert
|
163
166
|
|
164
167
|
end #/ build
|
165
168
|
|
data/lib/pfa/relative_pfa.rb
CHANGED
@@ -26,6 +26,7 @@ class RelativePFA
|
|
26
26
|
# [Integer] Indice éventuel du PFA (quand il y en a plusieurs dans
|
27
27
|
# un film)
|
28
28
|
attr_reader :pfa_id
|
29
|
+
alias :id :pfa_id
|
29
30
|
|
30
31
|
# Instanciation du paradigme
|
31
32
|
#
|
@@ -38,6 +39,7 @@ class RelativePFA
|
|
38
39
|
#
|
39
40
|
input_data ||= {}
|
40
41
|
@pfa_id = input_data.delete(:pfa_id) # indice éventuel du PFA
|
42
|
+
|
41
43
|
input_data.each { |k, v| add(k, v) }
|
42
44
|
end
|
43
45
|
|
@@ -194,7 +196,6 @@ class RelativePFA
|
|
194
196
|
|
195
197
|
# --- Fixed Data ---
|
196
198
|
|
197
|
-
def pfa_id; data[:pfa_id] end
|
198
199
|
|
199
200
|
# --- Output Methods ---
|
200
201
|
|
data/lib/pfa/version.rb
CHANGED
data/pfa.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pfa
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- PhilippePerret
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-10-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: yaml
|
@@ -52,6 +52,20 @@ dependencies:
|
|
52
52
|
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: log_in_file
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
55
69
|
- !ruby/object:Gem::Dependency
|
56
70
|
name: minitest
|
57
71
|
requirement: !ruby/object:Gem::Requirement
|