pit 0.0.4 → 0.0.5

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. data/ChangeLog +14 -0
  2. data/Rakefile +0 -1
  3. data/lib/pit.rb +2 -2
  4. metadata +2 -2
data/ChangeLog CHANGED
@@ -1,5 +1,19 @@
1
+ 2008-01-06 cho45
2
+
3
+ * [r4144] lib/pit.rb:
4
+
5
+ Fix config merge bug.
6
+
7
+ * [r4141] Rakefile:
8
+
9
+ follow removing Step::Ask
10
+
1
11
  2008-01-05 cho45
2
12
 
13
+ * [r4072] ChangeLog, lib/pit.rb:
14
+
15
+ Release 0.0.4
16
+
3
17
  * [r4067] Rakefile, bin/pit, lib/pit.rb:
4
18
 
5
19
  shipit つかうように
data/Rakefile CHANGED
@@ -117,7 +117,6 @@ Rake::ShipitTask.new do |s|
117
117
  s.Step.new {
118
118
  system("svn", "up")
119
119
  }.and {}
120
- s.Ask
121
120
  s.Task :rubyforge
122
121
  s.Step.new {
123
122
  raise "svn2cl.sh is not found" unless system("svn2cl.sh", "--version")
data/lib/pit.rb CHANGED
@@ -4,7 +4,7 @@ require "pathname"
4
4
  require "tempfile"
5
5
 
6
6
  module Pit
7
- VERSION = "0.0.4"
7
+ VERSION = "0.0.5"
8
8
  Directory = Pathname.new("~/.pit").expand_path
9
9
  @@config = Directory + "pit.yaml"
10
10
  @@profile = Directory + "default.yaml"
@@ -36,7 +36,7 @@ module Pit
36
36
  ret = self.load[name] || {}
37
37
  if opts[:require]
38
38
  unless opts[:require].keys.all? {|k| ret[k] }
39
- ret.update(opts[:require])
39
+ ret = opts[:require].update(ret)
40
40
  ret = self.set(name, :config => ret)
41
41
  end
42
42
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - cho45
@@ -9,7 +9,7 @@ autorequire: pit
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-01-06 00:00:00 +09:00
12
+ date: 2008-01-07 00:00:00 +09:00
13
13
  default_executable:
14
14
  dependencies: []
15
15