avm-eac_php_base0 0.1.0 → 0.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: 3b166081c0c3479a15226bec7cdce9b8bc59d0b3526176111150a43f6350e60e
4
- data.tar.gz: 17557dc356d08ea4ca6ae180e321e4e8dd9e32f1f4c70d774cb5da783614cb64
3
+ metadata.gz: 86d8545af41689af3a98b9865fd9399fd14f1eb26e6a18b1afbef91cd0853865
4
+ data.tar.gz: 7b6298ca486172149a4c2fcc443b0294a454f87fb34a556a72c2d699ee2408b6
5
5
  SHA512:
6
- metadata.gz: 9de3c434c343fa9796070a99ade9c976d4d1fe3fdeb330a6d4dfd893844c303c19d2bbe777e1bbda2e92093a4ac114a81946c1166b94350ae9bd745c20945869
7
- data.tar.gz: d48a8063816fd3cf12f37cbc0459ea2203cdf6f74219872512789b4e0469ef456b72d1d6b01cc7c80eb91df9a3c309f3d42909e6080a428dea8aa5eb1bb75cf7
6
+ metadata.gz: 6308d56cf3ac7d608fe0c681db7b113e7245dce8d4cdca25f5a297472f1632fdcdb043eb3b22d3b589ef517cdb7bea6cb070d529d699758eac661b897de86522
7
+ data.tar.gz: e86c474d5fd1eca501c4d07a6bfa5ff26cb725b099ee03744aa0f622402636e318c6802de8754079e23a67fa6b2f2d9b1f93f57db53d1f610d5f9d0e90b3e59c
@@ -0,0 +1,20 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'avm/executables'
4
+ require 'avm/eac_generic_base0/file_formats/base'
5
+
6
+ module Avm
7
+ module EacPhpBase0
8
+ module FileFormats
9
+ class Base < ::Avm::EacGenericBase0::FileFormats::Base
10
+ VALID_BASENAMES = %w[*.php].freeze
11
+ VALID_TYPES = ['x-php'].freeze
12
+
13
+ def file_apply(file)
14
+ ::Avm::Executables.php_cs_fixer.command.append(['fix', file]).system!
15
+ super(file)
16
+ end
17
+ end
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,11 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'eac_ruby_utils/core_ext'
4
+
5
+ module Avm
6
+ module EacPhpBase0
7
+ module FileFormats
8
+ require_sub __FILE__
9
+ end
10
+ end
11
+ end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Avm
4
4
  module EacPhpBase0
5
- VERSION = '0.1.0'
5
+ VERSION = '0.2.0'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,29 +1,43 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: avm-eac_php_base0
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eduardo H. Bogoni
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-10-11 00:00:00.000000000 Z
11
+ date: 2022-10-20 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: avm-eac_generic_base0
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '0.6'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '0.6'
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: eac_ruby_utils
15
29
  requirement: !ruby/object:Gem::Requirement
16
30
  requirements:
17
31
  - - "~>"
18
32
  - !ruby/object:Gem::Version
19
- version: '0.104'
33
+ version: '0.105'
20
34
  type: :runtime
21
35
  prerelease: false
22
36
  version_requirements: !ruby/object:Gem::Requirement
23
37
  requirements:
24
38
  - - "~>"
25
39
  - !ruby/object:Gem::Version
26
- version: '0.104'
40
+ version: '0.105'
27
41
  - !ruby/object:Gem::Dependency
28
42
  name: eac_ruby_gem_support
29
43
  requirement: !ruby/object:Gem::Requirement
@@ -51,6 +65,8 @@ extensions: []
51
65
  extra_rdoc_files: []
52
66
  files:
53
67
  - lib/avm/eac_php_base0.rb
68
+ - lib/avm/eac_php_base0/file_formats.rb
69
+ - lib/avm/eac_php_base0/file_formats/base.rb
54
70
  - lib/avm/eac_php_base0/version.rb
55
71
  homepage:
56
72
  licenses: []