ec2select 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/README.rdoc CHANGED
@@ -6,8 +6,7 @@ A little command line script to switch between multiple EC2 profiles.
6
6
 
7
7
  Setup gemcutter as a source (http://gemcutter.org) and:
8
8
 
9
- $ gem install ec2-select
10
-
9
+ $ gem install ec2select
11
10
 
12
11
  == Usage
13
12
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.2
1
+ 0.0.3
data/ec2select.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{ec2select}
8
- s.version = "0.0.2"
8
+ s.version = "0.0.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Brian Kaney"]
12
- s.date = %q{2009-10-07}
12
+ s.date = %q{2009-10-24}
13
13
  s.description = %q{Resets your env EC2 variables via a quick command-line.}
14
14
  s.email = %q{brian@vermonster.com}
15
15
  s.executables = ["ec2-select", "ec2select"]
data/lib/ec2_select.rb CHANGED
@@ -6,7 +6,7 @@ module Ec2Select
6
6
 
7
7
  def rewrite_or_show(profile=nil)
8
8
  return show if profile.nil?
9
- rewrite(profile) and show unless profile.nil?
9
+ rewrite(profile) unless profile.nil?
10
10
  end
11
11
 
12
12
  def show
@@ -63,14 +63,15 @@ module Ec2Select
63
63
  $stderr.puts "Unknown shell `#{shell}'"
64
64
  exit 1
65
65
  end
66
-
66
+
67
+
67
68
  File.open(ECTWOS_FILE, 'w') {|f| f.write(content) }
68
69
 
69
- "IMPORTANT!!! You need re-source if you want to use #{profile}" +
70
- "in this terminal session! This should do the trick:" +
70
+ "IMPORTANT!!! You need re-source if you want to use #{profile}\n" +
71
+ "in this terminal session! This should do the trick:\n" +
71
72
  "\n source #{ECTWOS_FILE}\n\n" +
72
- "Any new terminal sessions will use this profile as long as you" +
73
- "have 'source #{ECTWOS_FILE}' in your ~/.profile or" +
73
+ "Any new terminal sessions will use this profile as long as you\n" +
74
+ "have 'source #{ECTWOS_FILE}' in your ~/.profile or\n" +
74
75
  "~/.bashrc, ~/.bash_profile (or similar)."
75
76
  end
76
77
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ec2select
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Kaney
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-10-07 00:00:00 -04:00
12
+ date: 2009-10-24 00:00:00 -04:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency