pfa 1.3.3 → 1.4.1

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: 9b8d62a5f39d230f423c9f170a15de535188930080814cffcf23a73917615d57
4
- data.tar.gz: b42c6a7fefd89bfb381171dd0fd082dc6b3840dcd111bfc7d5d875dc0e7f6833
3
+ metadata.gz: d03758e6469a69db6faf85a3be3c8ec15449fcd4be9ed6483cfeb3f1db91cd58
4
+ data.tar.gz: 15c36221686e5dd3712c08c1a2005273129304dd077721bd3a2b1b1b90cfd697
5
5
  SHA512:
6
- metadata.gz: fd4c8158ba4617267c2566e010394e9587a9d2aca0084c0a6e78eac3e003fe31fcacd757af8d5ecbef5f8c3107bc90d98f3c248e38b912ae2e89d48ac9880b8f
7
- data.tar.gz: 4f3f0751f3a7846bd4523e83bd8410e4704f8c446d6c290a10e66f1ea62e5a0572f8635510a2c38921de206b38ae88f788ace28fbe9d719f0903783e3032885b
6
+ metadata.gz: 23e36a494db36f946bb95eaac78674ad8d45f9999a2cd2fd5d292c213b34e4737d9139985faa5b0a9d5ec3e6ec1b4c38f0696c78dc9d9be1ad990b141c586dc4
7
+ data.tar.gz: 6faaa8470e5916496d700b16c1271fbbeb0c105f462344a9f13c0396bcc0058040add846d0723feea857d936eca06e53321d3f5e5ac59dffe9f45f2a85d1f679
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Change log
2
2
 
3
+ ## 1.4.0
4
+
5
+ * Ajout de mon gem 'log_in_file' pour logger la commande construite.
6
+
3
7
  ## 1.3.2
4
8
 
5
9
  * Simple suppressions d'un message intempestif.
@@ -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/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module PFA
2
- VERSION = "1.3.3"
2
+ VERSION = "1.4.1"
3
3
  end
data/lib/pfa.rb CHANGED
@@ -9,6 +9,7 @@ end
9
9
  require 'clir'
10
10
  require 'yaml'
11
11
  require 'singleton'
12
+ require 'log_in_file'
12
13
  require "pfa/version"
13
14
  require 'pfa/constants'
14
15
  require 'pfa/errors_manager'
data/pfa.gemspec CHANGED
@@ -16,6 +16,7 @@ Gem::Specification.new do |s|
16
16
  s.add_dependency 'yaml'
17
17
  s.add_dependency 'clir'
18
18
  s.add_dependency 'singleton'
19
+ s.add_dependency 'log_in_file'
19
20
  s.add_development_dependency 'minitest'
20
21
  s.add_development_dependency 'minitest-color'
21
22
 
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.3.3
4
+ version: 1.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - PhilippePerret
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-09-30 00:00:00.000000000 Z
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