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 +4 -4
- data/lib/composer/json/json_file.rb +2 -2
- data/lib/composer/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7616c72b51abf97e5588507d0ba6947a370764b8
|
|
4
|
+
data.tar.gz: a1d82952833f9413b487f1bb25d57505f88a28d4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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}"
|
data/lib/composer/version.rb
CHANGED
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.
|
|
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-
|
|
11
|
+
date: 2015-05-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: json
|