rconf 1.0.9 → 1.0.10

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ ZWU2YmUxMzQ3YmUzMGRjYjUwYzQ5ZDNiMTRhNmNiZTFlNDlhYjEzYw==
5
+ data.tar.gz: !binary |-
6
+ NmIyOTM1ZjA3NWZhY2MwMjlhNzEwYWZlZmYzNDg0MzkwZTY5MTNmYw==
7
+ !binary "U0hBNTEy":
8
+ metadata.gz: !binary |-
9
+ YWY0NDM2OTg1ZTUyMDQyMTA1YWYyMTljNzYyOGMxNjYwMzAzODZjODZjY2Zm
10
+ MTYwNGRjOGU1Nzk4YTM0MDA4MDQyYTRjZTZiMDI4MzUxMzBkZDhkMzMyZWM0
11
+ Y2U1ODVjMWQzYTE3ZmJhOWRhMmExNWM1ZmJjNDM0ZmJhM2VkNGM=
12
+ data.tar.gz: !binary |-
13
+ NzZmNmY2NDZhYmFmMTg1YzJmNWZhYTM4YmU2ZGM4MWFiOTk0ODNlZTMyYzlh
14
+ YTA3MTYxYWFkY2I5NmI5ODM0YTVjYzk2ZDNmNGVlOGE2OTQ3YjMwNTk4ZjQy
15
+ ODNiOTdkNWYxYWZhNzUxOTRjYmNhYjdiYmIyZDYzNzFiZThkNzY=
data/Gemfile CHANGED
@@ -1,11 +1,10 @@
1
1
  source 'https://rubygems.org'
2
2
  gemspec
3
3
 
4
- gem 'rake', ' ~> 0.8.7'
5
-
6
4
  #Gems needed to execute the unit specs.
7
5
  group :development do
8
- gem 'rspec', '~> 2.5'
9
- gem 'flexmock', '~> 0.9'
6
+ gem 'rake'
7
+ gem 'rspec'
8
+ gem 'flexmock'
10
9
  end
11
10
 
data/Rakefile CHANGED
@@ -10,11 +10,11 @@
10
10
  # the licensee
11
11
 
12
12
  require 'rubygems'
13
+ require 'rubygems/package_task'
13
14
 
14
15
  require 'fileutils'
15
16
  require 'rake'
16
17
  require 'rspec/core/rake_task'
17
- require 'rake/gempackagetask'
18
18
  require 'rake/clean'
19
19
 
20
20
  begin
@@ -49,7 +49,7 @@ end
49
49
 
50
50
  # == Gem == #
51
51
 
52
- gemtask = Rake::GemPackageTask.new(Gem::Specification.load('rconf.gemspec')) do |package|
52
+ gemtask = Gem::PackageTask.new(Gem::Specification.load('rconf.gemspec')) do |package|
53
53
  package.package_dir = ENV['PACKAGE_DIR'] || 'pkg'
54
54
  package.need_zip = true
55
55
  package.need_tar = true
data/bin/rconf CHANGED
@@ -22,7 +22,7 @@ module RightConf
22
22
 
23
23
  def self.run
24
24
  opts = Trollop::options do
25
- version "rconf #{VERSION} (c) 2011-2013 RightScale"
25
+ version "rconf #{VERSION} (c) 2011-2013 RightScale, ruby #{RUBY_VERSION}"
26
26
  banner <<-EOS
27
27
  #{DESCRIPTION}
28
28
 
@@ -208,7 +208,6 @@ module RightConf
208
208
  unless Command.execute('rbenv', 'local', ruby_version).success?
209
209
  report_check("Installing ruby #{ruby_version} (this will take a while, please be patient)")
210
210
  Platform.dispatch(ruby_version) { :install_ruby }
211
- Command.execute('rbenv', 'local', ruby_version)
212
211
  end
213
212
 
214
213
  which = Command.execute('which', 'ruby').output.strip
@@ -233,6 +232,8 @@ module RightConf
233
232
  # Can't abort on failure rbenv install seems to exist with a non zero error code even when successful :(
234
233
  Command.execute('rbenv', 'install', ruby)
235
234
  report_success
235
+ post_note "rconf installed ruby #{ruby} and needs to be restarted so the right ruby tools get activated\nPlease run 'rconf' again."
236
+ aborting(true)
236
237
  true
237
238
  end
238
239
 
@@ -13,7 +13,7 @@ module RightConf
13
13
 
14
14
  MAJOR = 1
15
15
  MINOR = 0
16
- BUILD = 9
16
+ BUILD = 10
17
17
 
18
18
  VERSION = [MAJOR, MINOR, BUILD].map(&:to_s).join('.')
19
19
 
@@ -1,11 +1,9 @@
1
1
  # Configuration settings for RightSite
2
2
  ruby do
3
- version 'ruby-1.9.2-p290'
4
- rubygems '1.8.24'
5
- gemset 'rconf'
3
+ version 'ruby-1.9.3-p392'
6
4
  end
7
5
  bundler do
8
- version '1.2.1'
6
+ version '1.3.5'
9
7
  end
10
8
 
11
9
 
metadata CHANGED
@@ -1,20 +1,18 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rconf
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.9
5
- prerelease:
4
+ version: 1.0.10
6
5
  platform: ruby
7
6
  authors:
8
7
  - Raphael Simon
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-06-20 00:00:00.000000000 Z
11
+ date: 2013-08-13 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: rspec
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
17
  - - ~>
20
18
  - !ruby/object:Gem::Version
@@ -22,7 +20,6 @@ dependencies:
22
20
  type: :development
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
24
  - - ~>
28
25
  - !ruby/object:Gem::Version
@@ -30,7 +27,6 @@ dependencies:
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: flexmock
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
31
  - - ~>
36
32
  - !ruby/object:Gem::Version
@@ -38,7 +34,6 @@ dependencies:
38
34
  type: :development
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
38
  - - ~>
44
39
  - !ruby/object:Gem::Version
@@ -126,27 +121,26 @@ files:
126
121
  - spec/support/package_installer_spec.rb
127
122
  homepage: http://rubygems.org/gems/rconf
128
123
  licenses: []
124
+ metadata: {}
129
125
  post_install_message:
130
126
  rdoc_options: []
131
127
  require_paths:
132
128
  - lib
133
129
  required_ruby_version: !ruby/object:Gem::Requirement
134
- none: false
135
130
  requirements:
136
131
  - - ! '>='
137
132
  - !ruby/object:Gem::Version
138
133
  version: '0'
139
134
  required_rubygems_version: !ruby/object:Gem::Requirement
140
- none: false
141
135
  requirements:
142
136
  - - ! '>='
143
137
  - !ruby/object:Gem::Version
144
138
  version: '0'
145
139
  requirements: []
146
140
  rubyforge_project: rconf
147
- rubygems_version: 1.8.23
141
+ rubygems_version: 2.0.6
148
142
  signing_key:
149
- specification_version: 3
143
+ specification_version: 4
150
144
  summary: Cross platform environment configuration
151
145
  test_files:
152
146
  - spec/command_spec.rb