php-composer 0.4.3 → 0.4.4

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
  SHA1:
3
- metadata.gz: 4f4fef9e32074a6500ae797874890fda4025bc99
4
- data.tar.gz: 5089e218bae13ef1bd70bc2b8aadd0041865f02b
3
+ metadata.gz: 7616c72b51abf97e5588507d0ba6947a370764b8
4
+ data.tar.gz: a1d82952833f9413b487f1bb25d57505f88a28d4
5
5
  SHA512:
6
- metadata.gz: 6b9f6656b78a14d010c6301c21220d4744efff3b3950e60c0f55a70c6521390d4dc242a636b57a0997b3dd1f8a8724f37e9784db3ffd606fe01bd3473b66a3c7
7
- data.tar.gz: efff2210450d467cb7eaaacd54261322a4a9694a749f9bb7380d86677463eb7465fd8ac2dc857140acde7baecd47637e7ec91bc360934f958a49f882a67e9f52
6
+ metadata.gz: 2a1e8436346f39875b25ef5f7a21a239b0b78cac667b409fc177c7698cc541409f1fd213e0beef7abf6008c3734fdb44b6d404b3df4179ce3c104dd92801ea22
7
+ data.tar.gz: 552295ee7d6b39e96829ce0f3ff531365d1424765582fedf597f01762b103596cf9bd7ba109c7fdf14d64145a484551d60c8e1665a481af4706d059dd744dc38
@@ -70,7 +70,7 @@ module Composer
70
70
  json = File.open(@path, 'r') { |f| f.read }
71
71
  end
72
72
 
73
- parse_json(json, @path)
73
+ JsonFile::parse_json(json, @path)
74
74
 
75
75
  rescue Exception => e
76
76
  raise e
@@ -239,7 +239,7 @@ module Composer
239
239
  end
240
240
 
241
241
  if data.nil? && last_error != JSON_ERROR_NONE
242
- validate_syntax(json, file)
242
+ JsonFile::validate_syntax(json, file)
243
243
  raise JSON::ParserError,
244
244
  "\"#{file}\" does not contain valid JSON\n
245
245
  #{last_error.message}"
@@ -1,3 +1,3 @@
1
1
  module Composer
2
- VERSION = '0.4.3'
2
+ VERSION = '0.4.4'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: php-composer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.3
4
+ version: 0.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ioannis Kappas
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-03 00:00:00.000000000 Z
11
+ date: 2015-05-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json