php-composer 0.4.0 → 0.4.1

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: e981adfbd6c76ea6e5f1c9f770e9403c0c9492e9
4
- data.tar.gz: a60073002c991cb4623c9b708e4cf584e7c176a1
3
+ metadata.gz: ac6fbc54b88fcfab068b4865fef68c7d24f46420
4
+ data.tar.gz: cb01bf0afe687e57f35dcaa516430fdd211c6370
5
5
  SHA512:
6
- metadata.gz: 607cd9effcbb8e0864916b82aaf846ba3e9e146302c57a5d8e8554a37da7ca5fec30b7101153090f1e1e3391a8b4683faf3c97fe7b22361bb0ae1a64a9cc4069
7
- data.tar.gz: d5783fa1d05fa3bcc97753bb61924ab414c2507edce673f2969a205c1b2c21dbc7a9d228db8fa487ab83b80705447bab6c07171e9f496459f7bde95a33489302
6
+ metadata.gz: 5f8b3bb67ac32ff387dc7e82005351fd1c603249b3dedffa99a85793a0ab06db6fa1c67cd88c9bdcfe3d7edc4341fc042f381a06836b22b5e009c3e92275d756
7
+ data.tar.gz: 8111e149c144d6c4044593d8d1d9473c25161243836ad3fa6499accea795a42b95eef7dd89a7756a3155590cece94ac1c2d2a579b830312187b6a10615103f08
@@ -79,7 +79,7 @@ module Composer
79
79
  def write(hash, options = 448)
80
80
  dir = File.dirname(@path)
81
81
 
82
- unless File.directory?(storage_path)
82
+ unless File.directory?(dir)
83
83
  if File.exists?(dir)
84
84
  raise UnexpectedValueError,
85
85
  "#{dir} exists and is not a directory."
@@ -1,3 +1,3 @@
1
1
  module Composer
2
- VERSION = '0.4.0'
2
+ VERSION = '0.4.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: php-composer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ioannis Kappas