cap_reserve 0.1.6 → 0.1.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/cap_reserve.gemspec +2 -2
  2. data/lib/cap_reserve.rb +2 -2
  3. metadata +5 -5
data/cap_reserve.gemspec CHANGED
@@ -6,7 +6,7 @@ $:.unshift lib unless $:.include?(lib)
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "cap_reserve"
9
- s.version = '0.1.6'
9
+ s.version = '0.1.7'
10
10
  s.platform = Gem::Platform::RUBY
11
11
  s.authors = [ "Winton Welsh" ]
12
12
  s.email = [ "mail@wintoni.us" ]
@@ -22,4 +22,4 @@ Gem::Specification.new do |s|
22
22
  s.add_development_dependency "rspec", "~> 1.0"
23
23
 
24
24
  s.add_dependency "yajl-ruby", "= 1.0.0"
25
- end
25
+ end
data/lib/cap_reserve.rb CHANGED
@@ -107,10 +107,10 @@ HELP
107
107
  res = get.call("#{url}/reservations/show", :environment => env)
108
108
  puts "#{env.yellow} is #{res['status'] == 'available' ? "available".green : "reserved".red}"
109
109
  if res['status'] == 'reserved'
110
- puts " #{"#{res['user']}@#{env}".yellow} for #{expires_to_string.call(Time.at(res['expires'])).yellow}"
110
+ puts " #{"#{res['user']}@#{env}".yellow} for #{expires_to_string.call(Time.at(res['expires'])).yellow} at branch #{res['branch'].yellow}"
111
111
  end
112
112
  puts "\n"
113
113
  end
114
114
  end
115
115
  end
116
- end
116
+ end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cap_reserve
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 6
10
- version: 0.1.6
9
+ - 7
10
+ version: 0.1.7
11
11
  platform: ruby
12
12
  authors:
13
13
  - Winton Welsh
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-01-20 00:00:00 -08:00
18
+ date: 2012-02-13 00:00:00 -08:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -98,7 +98,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
98
98
  requirements: []
99
99
 
100
100
  rubyforge_project:
101
- rubygems_version: 1.5.0
101
+ rubygems_version: 1.4.2
102
102
  signing_key:
103
103
  specification_version: 3
104
104
  summary: Uses a maitre_d server to reserve time on deploy environments