pfa 1.1.0 → 1.2.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
  SHA256:
3
- metadata.gz: 954bf4b6d68f905c832b829cb2b60576862cfca4181625120cbf9a05714c1af4
4
- data.tar.gz: 3e39efe3488f45edd9641a7cb6f6c34d874b5e2e1082772e2b4dca93b71c82a9
3
+ metadata.gz: a58c95abe6fbc6bce5a654ee112527a19c9fe246e14131e91272080f993e82d7
4
+ data.tar.gz: 15ab845938f1ee991c159cca196eab2b769dfdc894e9554374d417952781c79e
5
5
  SHA512:
6
- metadata.gz: edaacba4bb1310875003dcb54a4b8cccd784e0ce1f4396d938dd5f4799aa8a3b746577592b59bd3fd012f55991c5e903779b93e3a180105711c743fab9d27c9e
7
- data.tar.gz: e52c5b8b332751da42088cf79a11926338f812fbc7e44b2109bbf9acb1cb0c453217aff22d9b27182c4ab7a8f81c827553eaaa14028c64504701d407719ef1e1
6
+ metadata.gz: f361f19a68751c35563dac9767a8cf290245d28da1c09d65483cfa08baf79ad3a181655d14f4f73ad75bad2832a395460fce216289b7148e446a749a92ea6cfa
7
+ data.tar.gz: 21b4806cff3f374c27c1c4dc7f72e59d5492b8d6dd283c74fcd7ba7ba912487ebceba5ec2924bdb84e6114d2eacc651b796f88d561afa3d0d03ad96876c40eab
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Change log
2
2
 
3
+ ## 1.2.0
4
+
5
+ * gestion des identifiants de PFA pour en avoir plusieurs dans le même dossier (peut aussi servir à faire plusieurs versions).
6
+
3
7
  ## 1.1.0
4
8
 
5
9
  * Écriture de la table du paradigme de Field Augmenté, de travers.
@@ -178,8 +178,7 @@ class ImgBuilder < AnyBuilder
178
178
 
179
179
  # @return \String Chemin d'accès au fichier de l'image finale
180
180
  def image_path
181
- @image_path ||= File.expand_path(File.join('.','pfa.jpg'))
182
- # @image_path ||= File.expand_path(File.join('.','pfa.img'))
181
+ @image_path ||= File.expand_path(File.join('.',"pfa#{"_#{pfa.pfa_id}" if pfa.pfa_id}.jpg"))
183
182
  end
184
183
 
185
184
  # @private
@@ -182,7 +182,9 @@ class RelativePFA
182
182
  # --- Helper Methods ---
183
183
 
184
184
 
185
+ # --- Fixed Data ---
185
186
 
187
+ def pfa_id; data[:pfa_id] end
186
188
 
187
189
  # --- Output Methods ---
188
190
 
data/lib/pfa/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module PFA
2
- VERSION = "1.1.0"
2
+ VERSION = "1.2.0"
3
3
  end
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.1.0
4
+ version: 1.2.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-09-11 00:00:00.000000000 Z
11
+ date: 2023-09-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: yaml