rconf 0.8.9 → 0.8.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.
data/README.rdoc CHANGED
@@ -17,7 +17,7 @@ and potentially windows).
17
17
 
18
18
  rconf uses a DSL close to Chef recipes for defining an application configuration.
19
19
  Each application must be equipped with a definition that must reside at the top
20
- level directory of the application and use the '.rc' file extension. When run
20
+ level directory of the application and use the '.rconf' file extension. When run
21
21
  for the first time rconf sets up a .rvmrc file which gets invoked and sets up
22
22
  the environment each time the application directory gets 'cd-ed' into.
23
23
 
@@ -55,7 +55,7 @@ Then the build can be tested with
55
55
 
56
56
  == WRITING RCONF CONFIGURATION FILES
57
57
 
58
- rconf uses a ruby DSL for configuration files (.rc). Each configurator is
58
+ rconf uses a ruby DSL for configuration files (.rconf). Each configurator is
59
59
  associated with a keyword. The configuration for a given configurator then
60
60
  lists each configurator setting it needs to set and the associated value as in:
61
61
 
@@ -95,7 +95,7 @@ module RightConf
95
95
  end
96
96
  report_check("Checking whether rubygems #{rubygems} is installed")
97
97
  res = Command.execute_in_ruby('gem', '--version')
98
- if res.success? && res.output.chomp == rubygems
98
+ if res.success? && res.output =~ /^#{rubygems}$/
99
99
  report_success
100
100
  else
101
101
  report_failure
data/lib/rconf/version.rb CHANGED
@@ -13,7 +13,7 @@ module RightConf
13
13
 
14
14
  MAJOR = 0
15
15
  MINOR = 8
16
- BUILD = 9
16
+ BUILD = 10
17
17
 
18
18
  VERSION = [MAJOR, MINOR, BUILD].map(&:to_s).join('.')
19
19
 
metadata CHANGED
@@ -1,52 +1,58 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: rconf
3
- version: !ruby/object:Gem::Version
4
- version: 0.8.9
3
+ version: !ruby/object:Gem::Version
5
4
  prerelease:
5
+ version: 0.8.10
6
6
  platform: ruby
7
- authors:
7
+ authors:
8
8
  - Raphael Simon
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-06-10 00:00:00.000000000 -07:00
12
+
13
+ date: 2011-06-20 00:00:00 -07:00
13
14
  default_executable:
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
15
+ dependencies:
16
+ - !ruby/object:Gem::Dependency
16
17
  name: rspec
17
- requirement: &21389680 !ruby/object:Gem::Requirement
18
+ prerelease: false
19
+ requirement: &id001 !ruby/object:Gem::Requirement
18
20
  none: false
19
- requirements:
21
+ requirements:
20
22
  - - ~>
21
- - !ruby/object:Gem::Version
22
- version: '2.5'
23
+ - !ruby/object:Gem::Version
24
+ version: "2.5"
23
25
  type: :development
24
- prerelease: false
25
- version_requirements: *21389680
26
- - !ruby/object:Gem::Dependency
26
+ version_requirements: *id001
27
+ - !ruby/object:Gem::Dependency
27
28
  name: flexmock
28
- requirement: &21388920 !ruby/object:Gem::Requirement
29
+ prerelease: false
30
+ requirement: &id002 !ruby/object:Gem::Requirement
29
31
  none: false
30
- requirements:
32
+ requirements:
31
33
  - - ~>
32
- - !ruby/object:Gem::Version
33
- version: '0.9'
34
+ - !ruby/object:Gem::Version
35
+ version: "0.9"
34
36
  type: :development
35
- prerelease: false
36
- version_requirements: *21388920
37
- description: ! "rconf configures the environment for a given application. rconf reads\nthe
38
- content of an application configuration file and installs and/or\nconfigures the
39
- required tools for running or developing the corresponding\napplication. rconf can
40
- easily be extended to configure new tools and makes\nit easy to support multiple
41
- platforms.\nConsult the README.rdoc file for information on how to write rconf \nconfiguration
42
- files.\n"
43
- email:
37
+ version_requirements: *id002
38
+ description: |
39
+ rconf configures the environment for a given application. rconf reads
40
+ the content of an application configuration file and installs and/or
41
+ configures the required tools for running or developing the corresponding
42
+ application. rconf can easily be extended to configure new tools and makes
43
+ it easy to support multiple platforms.
44
+ Consult the README.rdoc file for information on how to write rconf
45
+ configuration files.
46
+
47
+ email:
44
48
  - raphael@rightscale.com
45
- executables:
49
+ executables:
46
50
  - rconf
47
51
  extensions: []
52
+
48
53
  extra_rdoc_files: []
49
- files:
54
+
55
+ files:
50
56
  - .gitignore
51
57
  - Gemfile
52
58
  - README.rdoc
@@ -104,29 +110,32 @@ files:
104
110
  has_rdoc: true
105
111
  homepage: http://rubygems.org/gems/rconf
106
112
  licenses: []
113
+
107
114
  post_install_message:
108
115
  rdoc_options: []
109
- require_paths:
116
+
117
+ require_paths:
110
118
  - lib
111
- required_ruby_version: !ruby/object:Gem::Requirement
119
+ required_ruby_version: !ruby/object:Gem::Requirement
112
120
  none: false
113
- requirements:
114
- - - ! '>='
115
- - !ruby/object:Gem::Version
116
- version: '0'
117
- required_rubygems_version: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: "0"
125
+ required_rubygems_version: !ruby/object:Gem::Requirement
118
126
  none: false
119
- requirements:
120
- - - ! '>='
121
- - !ruby/object:Gem::Version
122
- version: '0'
127
+ requirements:
128
+ - - ">="
129
+ - !ruby/object:Gem::Version
130
+ version: "0"
123
131
  requirements: []
132
+
124
133
  rubyforge_project: rconf
125
134
  rubygems_version: 1.6.2
126
135
  signing_key:
127
136
  specification_version: 3
128
137
  summary: Cross platform environment configuration
129
- test_files:
138
+ test_files:
130
139
  - spec/command_spec.rb
131
140
  - spec/configurator_spec.rb
132
141
  - spec/configurators/build_configurator_spec.rb