avmtrf1-tools 0.25.1 → 0.26.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 847985e64b71c98909ab0400b8cf23e7e6618b1a57542756302201015e415c21
4
- data.tar.gz: 60e6ab1bd6678af7aabf56dfbd6a3c511143e24ee74e36434b40852354b60b7b
3
+ metadata.gz: 0fc536ae35fea31a81dcf588d028a691b22ef255652395556e9d5df4b18f9a86
4
+ data.tar.gz: fe45a68ece7117513a30b34c9f52b842339a916b4f5d7c2aa4ab6632b4ee0762
5
5
  SHA512:
6
- metadata.gz: c7c14a6ed52baad79aa9c22169ce95ed4c4e2a70e583b84be461d721a715141b42c914aef2526c32baf85200150ca17b5ca15a1ec1d264ee3d59ab22ba9b296d
7
- data.tar.gz: 8c97379a74611029eaa32850754317cdbea759e7619f542e83582a724c77442dcc3c31ad1b1b216fc9eaa8f7d2601fd7197af7a482907c978a5738c48f18d08c
6
+ metadata.gz: 3bc133b27c48f0926c2b7afbc096313e5658f58a04bae3b32f9d9e9f1798a0463ecae8fcfab9f3a6a489f48a6675cfae2878a4f242798cbfcafcff0c283f4a61
7
+ data.tar.gz: 790921a5e68cc1731ddbe2f79569a983543b2d4f3db2a96e2a2d643004610f2aa90bc030bcd24a15bfa9bb66983afeb5f389676f17bb0bb5493aea1f841c7bb2
@@ -16,6 +16,9 @@ module Avmtrf1
16
16
  RUN docker-php-ext-install mcrypt
17
17
  DOCKERFILE
18
18
 
19
+ XDEBUG_PECL_PACKAGE_LESSER_7 = 'xdebug-2.5.5'
20
+ XDEBUG_PECL_PACKAGE_GREATER_EQUAL = 'xdebug'
21
+
19
22
  enable_simple_cache
20
23
 
21
24
  attr_reader :php_version
@@ -40,6 +43,14 @@ module Avmtrf1
40
43
  MCRYPT_INSTALL_LESSER_7_2
41
44
  end
42
45
  end
46
+
47
+ def xdebug_pecl_package
48
+ if ::Gem::Version.new(php_version) < ::Gem::Version.new('7')
49
+ XDEBUG_PECL_PACKAGE_LESSER_7
50
+ else
51
+ XDEBUG_PECL_PACKAGE_GREATER_EQUAL
52
+ end
53
+ end
43
54
  end
44
55
  end
45
56
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Avmtrf1
4
4
  module Tools
5
- VERSION = '0.25.1'
5
+ VERSION = '0.26.0'
6
6
  end
7
7
  end
@@ -44,6 +44,10 @@ RUN docker-php-ext-install snmp
44
44
  RUN apt-get install -y libxml2-dev
45
45
  RUN docker-php-ext-install soap
46
46
 
47
+ # Extensão PHP "xdebug"
48
+ RUN pecl install %%XDEBUG_PECL_PACKAGE%%
49
+ RUN docker-php-ext-enable xdebug
50
+
47
51
  # Extensão PHP "xsl"
48
52
  RUN apt-get install -y libxslt1-dev
49
53
  RUN docker-php-ext-install xsl
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: avmtrf1-tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.25.1
4
+ version: 0.26.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eduardo H. Bogoni