avm-eac_php_base0 0.2.0 → 0.3.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: 86d8545af41689af3a98b9865fd9399fd14f1eb26e6a18b1afbef91cd0853865
4
- data.tar.gz: 7b6298ca486172149a4c2fcc443b0294a454f87fb34a556a72c2d699ee2408b6
3
+ metadata.gz: 15e4a095189a2e5934fd8dacb7f8a66daf8f0a1a935ec086cc26a11af96a2a1b
4
+ data.tar.gz: 05d31a8beafda1f3c2c303ba93729ed34e8eb88f076ed32f15556bec0306fe7c
5
5
  SHA512:
6
- metadata.gz: 6308d56cf3ac7d608fe0c681db7b113e7245dce8d4cdca25f5a297472f1632fdcdb043eb3b22d3b589ef517cdb7bea6cb070d529d699758eac661b897de86522
7
- data.tar.gz: e86c474d5fd1eca501c4d07a6bfa5ff26cb725b099ee03744aa0f622402636e318c6802de8754079e23a67fa6b2f2d9b1f93f57db53d1f610d5f9d0e90b3e59c
6
+ metadata.gz: 51a5a81a3ac839ba0b361e40b8a8da91bf72779f7eeedaaa86e8d97499386e936791b672f15d96bd4fb3923ccf1144b4f2346fb22a529f5a32af230eb4e5be1e
7
+ data.tar.gz: a94bdb01c6b9800e58fff934c9a8ae515559bfc1492c304f88a597c72819bc8d9bb9b8bcba960cb52d2a7e0f0d030624cc661aa0cdab44e92e41c302b5f9ffcc
@@ -0,0 +1,22 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'eac_ruby_utils/core_ext'
4
+ require 'eac_ruby_utils/envs'
5
+
6
+ module Avm
7
+ module EacPhpBase0
8
+ module Executables
9
+ class << self
10
+ enable_simple_cache
11
+
12
+ private
13
+
14
+ %w[php-cs-fixer].each do |program|
15
+ define_method(program.underscore + '_uncached') do
16
+ ::EacRubyUtils::Envs.local.executable(program, '--version')
17
+ end
18
+ end
19
+ end
20
+ end
21
+ end
22
+ end
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'avm/executables'
3
+ require 'avm/eac_php_base0/executables'
4
4
  require 'avm/eac_generic_base0/file_formats/base'
5
5
 
6
6
  module Avm
@@ -11,7 +11,7 @@ module Avm
11
11
  VALID_TYPES = ['x-php'].freeze
12
12
 
13
13
  def file_apply(file)
14
- ::Avm::Executables.php_cs_fixer.command.append(['fix', file]).system!
14
+ ::Avm::EacPhpBase0::Executables.php_cs_fixer.command.append(['fix', file]).system!
15
15
  super(file)
16
16
  end
17
17
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Avm
4
4
  module EacPhpBase0
5
- VERSION = '0.2.0'
5
+ VERSION = '0.3.0'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: avm-eac_php_base0
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.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-20 00:00:00.000000000 Z
11
+ date: 2022-10-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: avm-eac_generic_base0
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0.6'
19
+ version: '0.7'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '0.6'
26
+ version: '0.7'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: eac_ruby_utils
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '0.105'
33
+ version: '0.106'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '0.105'
40
+ version: '0.106'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: eac_ruby_gem_support
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -65,6 +65,7 @@ extensions: []
65
65
  extra_rdoc_files: []
66
66
  files:
67
67
  - lib/avm/eac_php_base0.rb
68
+ - lib/avm/eac_php_base0/executables.rb
68
69
  - lib/avm/eac_php_base0/file_formats.rb
69
70
  - lib/avm/eac_php_base0/file_formats/base.rb
70
71
  - lib/avm/eac_php_base0/version.rb