dssx 0.0.2.c → 0.0.2.d

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/dssx.rb +1 -1
  2. data/lib/dssx/cli.rb +7 -1
  3. metadata +2 -2
@@ -1,6 +1,6 @@
1
1
 
2
2
  module Dssx
3
- VERSION = '0.0.2.c'
3
+ VERSION = '0.0.2.d'
4
4
  end
5
5
 
6
6
  begin
@@ -40,7 +40,7 @@ module Dssx
40
40
  desc "update [PATH]", "Update to latest repository version"
41
41
  def update(path=Dir.pwd)
42
42
  puts "dssx update #{path}"
43
- cmd = "dssc populate -recursive -replace -full #{path}"
43
+ cmd = "dssc populate -recursive -replace -unify #{path}"
44
44
  cmd = cmd + " --version #{options[:r]}" if options[:r]
45
45
  puts "=> #{cmd}"
46
46
  end
@@ -66,6 +66,12 @@ module Dssx
66
66
  invoke :commit
67
67
  end
68
68
 
69
+ desc "lock [PATH]", "Lock file"
70
+ def ci(path=Dir.pwd)
71
+ puts "dssx lock #{path}"
72
+ puts "=> dssc co -lock -nocomment #{path}"
73
+ end
74
+
69
75
 
70
76
  desc "diff [PATH]", "Diff local modifications"
71
77
  def diff(path=Dir.pwd)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dssx
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2.c
4
+ version: 0.0.2.d
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-04-25 00:00:00.000000000 Z
12
+ date: 2013-05-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: thor