tvd-runit 0.0.21 → 0.0.23

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.21
1
+ 0.0.23
@@ -0,0 +1,7 @@
1
+ def dev(nm_gem, workarea="git")
2
+ gem nm_gem, (
3
+ File.exists?(File.expand_path("../#{workarea}/#{nm_gem}", __FILE__)) ?
4
+ (ENV["EDIT_#{nm_gem.gsub(/[-]/, "_")}"] = "true"; { :path => "#{workarea}/#{nm_gem}" }) :
5
+ Dir["vendor/cache/#{nm_gem}-*.gem"].collect {|x| [x.gsub(/\d+/) {|num| sprintf("%011d", num) }, x] }.sort[0][1].split(/-/)[-1].gsub(/\.gem$/,"")
6
+ )
7
+ end
@@ -1,5 +1,5 @@
1
1
  module TVDinner
2
2
  module Runit
3
- VERSION = File.read(File.dirname(__FILE__) + '/../../VERSION')
3
+ VERSION = File.read(File.dirname(__FILE__) + '/../../VERSION').strip
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tvd-runit
3
3
  version: !ruby/object:Gem::Version
4
- hash: 53
4
+ hash: 49
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 21
10
- version: 0.0.21
9
+ - 23
10
+ version: 0.0.23
11
11
  platform: ruby
12
12
  authors:
13
13
  - Tom Bombadil
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2013-03-04 00:00:00 -08:00
18
+ date: 2013-03-07 00:00:00 -08:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -48,6 +48,7 @@ files:
48
48
  - cookbooks/runit/recipes/default.rb
49
49
  - cookbooks/runit/templates/default/envdir.erb
50
50
  - cookbooks/runit/templates/default/sv-log-config.erb
51
+ - lib/development.rb
51
52
  - lib/tvd-runit.rb
52
53
  - lib/tvd-runit/version.rb
53
54
  - spec/.gitignore