cmdeploy 0.2.0 → 0.2.2

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.
@@ -3,23 +3,9 @@ module CMDeploy
3
3
  set(name, *args, &block) unless exists?(name)
4
4
  end
5
5
 
6
- def set_default_overwrite(name,pre_value,new_value,overwrite_pattern)
7
- if pre_value =~ overwrite_pattern
8
- set name, new_value
9
- else
10
- set_default(name,new_value)
11
- end
12
- end
13
-
14
6
  def template(from, to)
15
7
  erb = File.read("#{File.dirname(__FILE__)}/templates/#{from}")
16
8
  put ERB.new(erb).result(binding), to
17
9
  end
18
10
 
19
- def local_template(from,to)
20
- erb = File.read("#{File.dirname(__FILE__)}/templates/#{from}")
21
- File.open(to,"w") do |output|
22
- output.write(ERB.new(erb).result(binding))
23
- end
24
- end
25
11
  end
@@ -1,3 +1,3 @@
1
1
  module CMDeploy
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cmdeploy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -35,7 +35,7 @@ files:
35
35
  - lib/cmdeploy/version.rb
36
36
  - lib/cmdeploy.rb
37
37
  - bin/cmdeploy
38
- homepage: ''
38
+ homepage: http://github.com/thomis/cmdeploy
39
39
  licenses: []
40
40
  post_install_message:
41
41
  rdoc_options: []