scms 2.0.0 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/bin/scms +2 -1
  3. data/lib/scms/version.rb +1 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bdb6469369b7419d7255f4d534c74bf8b49034bf
4
- data.tar.gz: f3c2e3658b9f75017551ef6b80b2202f52fdbce5
3
+ metadata.gz: 70608f5a221d75ec349c88c30463deeeeefd9e10
4
+ data.tar.gz: c46321dd2211f5e27eef6454e5eeb6a530a9f162
5
5
  SHA512:
6
- metadata.gz: 2ace91b95b0605de4079bd3e251b8fc0b4bca076695d49dfa45110f3751b9d30ad84656d885f447e5706b0cc36bfee15ac1a86d490229ded12dfd3943d7683ca
7
- data.tar.gz: 8ceeec4bfdb74813411668b2403ee1eec99f2336dc3876f2cca6bfa780e8ec48dd20f95d2026ab70c71eef11f5dbe28ca244c75cc8d5bd6d21e0e5a8653f3ee8
6
+ metadata.gz: 01098df78d1d4d17597a906d9b6fa524492a0db4183fbd77d6979f8abe3a2e46396bc200397271342906521758a477cec9439efe07866f2da934481638ae7bc1
7
+ data.tar.gz: 1e9a3e49f51ba43823c0d1009d243f392640b9de128ae2ff880478649d5b7fa447a16730186710fbb5f73f7650464466f04dea84489d95f8f977543b9a35f3bc
data/bin/scms CHANGED
@@ -58,6 +58,7 @@ optparse.parse!
58
58
  $stdout.sync = true
59
59
  root_folder = File.expand_path("../", File.dirname(__FILE__))
60
60
  website = (options[:website].nil?) ? Dir.pwd : options[:website]
61
+ $website = website
61
62
  Folders = {
62
63
  :root => root_folder,
63
64
  :website => File.join(website),
@@ -94,4 +95,4 @@ raise "No website in folder #{Folders[:website]}" if !File::directory?(Folders[:
94
95
  Scms.upgrade(Folders[:website])
95
96
  Scms.build(Folders[:website], Folders[:pub], Folders[:config], options[:mode])
96
97
  Scms.copywebsite(Folders[:website], Folders[:pub]) if Folders[:pub] != nil
97
- Scms.deploy(deployDir, Folders[:config]) if options[:action] == "deploy"
98
+ Scms.deploy(Folders[:website], Folders[:config]) if options[:action] == "deploy"
data/lib/scms/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Scms
2
- VERSION = "2.0.0"
2
+ VERSION = "2.0.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scms
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Courtenay Probert
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-07-11 00:00:00.000000000 Z
11
+ date: 2013-07-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cprobert-s3sync