git-ds 0.9.8.3 → 0.9.8.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.
data/ChangeLog CHANGED
@@ -1,3 +1,9 @@
1
+ 2011-08-09 : mkfs <mkfs@thoughtgang.org>
2
+ * Added fix for "zero-padded file modes" error
3
+
4
+ 2011-08-04 : mkfs <mkfs@thoughtgang.org>
5
+ * Added better error string to InvalidProperty exception
6
+
1
7
  2011-08-03 : mkfs <mkfs@thoughtgang.org>
2
8
  * Repo#path_to_object now searches Index if appropriate
3
9
  * Index now has include? and path_to_object methods
@@ -38,7 +38,7 @@ makes it impossible to delete Tree objects!
38
38
  now_tree.contents.each do |obj|
39
39
  sha = [obj.id].pack("H*")
40
40
  k = obj.name
41
- tree_contents[k] = "%s %s\0%s" % [obj.mode.to_s, obj.name, sha]
41
+ tree_contents[k] = "%s %s\0%s" % [obj.mode.to_i.to_s, obj.name, sha]
42
42
  end if now_tree
43
43
 
44
44
  tree.each do |k, v|
@@ -88,7 +88,8 @@ Note: this returns the String representation of the value as written to the
88
88
  Property BLOB.
89
89
  =end
90
90
  def set(model, parent_path, value)
91
- raise InvalidPropertyValueError.new(name, value) if not valid? value
91
+ raise InvalidPropertyValueError.new(name, value.inspect) if not \
92
+ valid?(value)
92
93
  val = convert_value(value)
93
94
  write(model, path(parent_path), val + "\n")
94
95
  val
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: git-ds
3
3
  version: !ruby/object:Gem::Version
4
- hash: 33
4
+ hash: 47
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 9
9
9
  - 8
10
- - 3
11
- version: 0.9.8.3
10
+ - 4
11
+ version: 0.9.8.4
12
12
  platform: ruby
13
13
  authors:
14
14
  - TG Community
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2011-08-03 00:00:00 -04:00
19
+ date: 2011-08-09 00:00:00 -04:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency