rconf 1.0.9 → 1.0.10
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.
- checksums.yaml +15 -0
- data/Gemfile +3 -4
- data/Rakefile +2 -2
- data/bin/rconf +1 -1
- data/lib/rconf/configurators/ruby_configurator.rb +2 -1
- data/lib/rconf/version.rb +1 -1
- data/rconf.rconf +2 -4
- metadata +5 -11
checksums.yaml
ADDED
@@ -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
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 =
|
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
@@ -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
|
|
data/lib/rconf/version.rb
CHANGED
data/rconf.rconf
CHANGED
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.
|
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-
|
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:
|
141
|
+
rubygems_version: 2.0.6
|
148
142
|
signing_key:
|
149
|
-
specification_version:
|
143
|
+
specification_version: 4
|
150
144
|
summary: Cross platform environment configuration
|
151
145
|
test_files:
|
152
146
|
- spec/command_spec.rb
|