auser-suitcase 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION.yml +2 -2
  2. data/lib/suitcase/zipper.rb +2 -2
  3. metadata +2 -2
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
- :major: 0
3
2
  :minor: 0
4
- :patch: 5
3
+ :patch: 6
4
+ :major: 0
@@ -30,7 +30,7 @@ module Suitcase
30
30
  def self.build_dir!(dirpath)
31
31
  ::FileUtils.mkdir_p dirpath unless ::File.directory? dirpath
32
32
  items.each do |name, path|
33
- if name.to_s =~ /string/
33
+ if name.to_s =~ /__p__string/
34
34
  fpath = "#{dirpath}/#{path[:namespace]}/#{path[:name]}"
35
35
  ensure_location_exists(::File.dirname(fpath))
36
36
  ::File.open(fpath, "w+") do |tf|
@@ -112,7 +112,7 @@ module Suitcase
112
112
  end
113
113
 
114
114
  def self.add_content_as(content="", filename="", namespace="files")
115
- items.merge!({"string_#{filename}_#{namespace}".to_sym => {:name => ::File.basename(filename), :content => content, :namespace => namespace}})
115
+ items.merge!({"__p__string#{filename}_#{namespace}".to_sym => {:name => ::File.basename(filename), :content => content, :namespace => namespace}})
116
116
  end
117
117
 
118
118
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: auser-suitcase
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ari Lerner
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-04-16 00:00:00 -07:00
12
+ date: 2009-04-27 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency