parcel 0.2 → 0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/parcel.rb +2 -0
  2. metadata +2 -2
@@ -49,6 +49,8 @@ module Parcel
49
49
 
50
50
  merge_opts = framework_opts.merge({ :class_name => underscore(reference.class.name) }).merge(options)
51
51
 
52
+ merge_opts[:id] = ("%08d" % merge_opts[:id].to_s).scan(/..../)
53
+
52
54
  merge_opts.to_a.sort_by { |(k,v)| -k.to_s.length }.each do |(k,v)|
53
55
  new_path = new_path.gsub(":#{k}", v.to_s)
54
56
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: parcel
3
3
  version: !ruby/object:Gem::Version
4
- version: "0.2"
4
+ version: "0.3"
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean St. Quentin
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-03-05 00:00:00 +11:00
12
+ date: 2010-03-22 00:00:00 +11:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency