runecms 0.0.9 → 0.0.10

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4e162e5ed832d659aefc45eebf43303128dd7d2cb653d14263a350be33d0c14d
4
- data.tar.gz: 1839fa510624cf255fa28a8d84da1358712f651db3bb2499004236d96df2e88a
3
+ metadata.gz: 4a062a984b48d8c2ab544e301d9cfeb243aec1cc88fd0bead439aa42477b87ba
4
+ data.tar.gz: 801811de9ce926f2bbfb12b83cf5e0ffedd365035af8bd158a08b9b93f3fac0b
5
5
  SHA512:
6
- metadata.gz: aef8c22e38f68eb322055d0fb55c5f4b769b6d17cee8dba0d84ea1373e1e48ab6cfd12b8bfb5ff6f1a560f06fd770a7445d33dc4fb01f5a01ba1c1f52b8a4e81
7
- data.tar.gz: 6f5e6945f13d9bba6b0e7d25ac20963d9e8f7e23264728863f96e78b2426fdf6ed64026319bb7bcd0664cbe2fceb6737192b7e64a8d1781fd0cd0054c03182ab
6
+ metadata.gz: 0e26adbc6906e4683bf0368721e77999a8e16e5604aa86dc7b9c98a47b91a72c5c0a7f4fa0407cc539b1cc756fd4d67b6ae9aad253ea918571d1418b11499c3e
7
+ data.tar.gz: dd9c65162b5e09df4925e997fe7099ce6e8936b064f2d395f459d0158529c4a9091661b384512d23038b175d42af38f2d83cf5334db7ed35f1d134e9a7cb0139
@@ -34,16 +34,16 @@ def stale?(file) # without source/ or target/
34
34
  end
35
35
 
36
36
  def update_target(file)
37
- return if File.directory?(file)
38
37
  file2 = fix_extension(file)
39
38
  if lt3?(file)
40
- update = "livetext"
41
- redir = ">"
39
+ cmd = "livetext source/#{file} > target/#{file2}"
42
40
  else
43
- update = "cp"
44
- redir = ""
41
+ if File.directory?(file)
42
+ cmd = "mkdir target/#{file2}"
43
+ else
44
+ cmd = "cp source/#{file} target/#{file2}"
45
+ end
45
46
  end
46
- cmd = "#{update} source/#{file} #{redir} target/#{file2}"
47
47
  # puts cmd
48
48
  system(cmd)
49
49
  end
@@ -1,3 +1,3 @@
1
1
  class RuneCMS
2
- VERSION = "0.0.9"
2
+ VERSION = "0.0.10"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: runecms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hal Fulton