wire-framework 0.1.2.6 → 0.1.2.7

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/app/repo/svn.rb +6 -2
  3. data/lib/wire.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8dbde00851e84ca264fd503292bb79328a63949e
4
- data.tar.gz: af4ae752f9cea68e4de528b7e661d22d3e7d44f6
3
+ metadata.gz: ff699a6b1f9c41a1d2c24c30f5375e0efa7ff963
4
+ data.tar.gz: 3ae9d0b12c0e87f30f4aaa58418e985c97bf619f
5
5
  SHA512:
6
- metadata.gz: fee470b40f6bf3262c826036d2e92372d4c8c9b63eec0ed2f649814e2ae02766e5a0c25bc59fff20a10a8cbc3fbc44f16c81c43f6479b8e2bd20d94a027c9275
7
- data.tar.gz: 6444da9b1a8a26aee00c656391c6f1bfcfef51bd793d0919265db7518ad6ffff964dbc99fa507a93e2eda6937d90ef3a7d61286109297706941ca2d33ebc3477
6
+ metadata.gz: 0dc564d52ce7139c08a12dba009f8e482a82b7497658e1f22e4a24b087d80f12cc65b072e84532b79ae873f46392ef9b023ec3d5a8df2b7eeb7a63a1fef36f55
7
+ data.tar.gz: 72eb4d7bc5e91a4846ac25351ee63c565898f16c0bcb96ee68db65d7cf5d7f5d4de1b21d6cdf094182af6e6031791b61d73f53b141e06807878d881e6025009c
data/lib/app/repo/svn.rb CHANGED
@@ -153,14 +153,18 @@ module Repo
153
153
  status = 500
154
154
  `svn checkout #{@options} svn://localhost/#{repo} /tmp/svn/#{repo}`
155
155
  if $?.exitstatus == 0
156
+
156
157
  if web.nil?
157
158
  file_path = "/tmp/svn/#{repo}/#{id}"
158
159
  else
159
- dir_path = "/tmp/svn/#{repo}/#{web}"
160
+ file_path = "/tmp/svn/#{repo}/#{web}/#{id}"
161
+ id = id.split('/')
162
+ id.pop
163
+ id = id.join('/')
164
+ dir_path = "/tmp/svn/#{repo}/#{web}/#{id}"
160
165
  unless Dir.exist? dir_path
161
166
  FileUtils.mkdir_p( dir_path )
162
167
  end
163
- file_path = "/tmp/svn/#{repo}/#{web}/#{id}"
164
168
  end
165
169
 
166
170
  file = File.open(file_path, 'w+')
data/lib/wire.rb CHANGED
@@ -24,5 +24,5 @@ end
24
24
  # @author Bryan T. Meyers
25
25
  module Wire
26
26
  # Current version of the Wire Gem
27
- VERSION = '0.1.2.6'
27
+ VERSION = '0.1.2.7'
28
28
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wire-framework
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2.6
4
+ version: 0.1.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bryan T. Meyers