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 +4 -4
- data/lib/avm/eac_php_base0/file_formats/base.rb +20 -0
- data/lib/avm/eac_php_base0/file_formats.rb +11 -0
- data/lib/avm/eac_php_base0/version.rb +1 -1
- metadata +20 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 86d8545af41689af3a98b9865fd9399fd14f1eb26e6a18b1afbef91cd0853865
|
4
|
+
data.tar.gz: 7b6298ca486172149a4c2fcc443b0294a454f87fb34a556a72c2d699ee2408b6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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.
|
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
|
+
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.
|
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.
|
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: []
|