pwim-app_config 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/VERSION.yml +1 -1
  2. data/app_config.gemspec +6 -4
  3. data/rails/init.rb +4 -0
  4. metadata +5 -4
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :minor: 0
3
+ :patch: 3
3
4
  :major: 1
4
- :patch: 1
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{app_config}
8
- s.version = "1.0.2"
8
+ s.version = "1.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 = ["Christopher J Bottaro"]
12
- s.date = %q{2009-08-27}
12
+ s.date = %q{2009-08-28}
13
13
  s.description = %q{Application level configuration that supports YAML config file, inheritance, ERB, and object member notation.}
14
14
  s.email = %q{cjbottaro@alumni.cs.utexas.edu}
15
15
  s.extra_rdoc_files = [
@@ -25,6 +25,7 @@ Gem::Specification.new do |s|
25
25
  "install.rb",
26
26
  "lib/app_config.rb",
27
27
  "lib/closed_struct.rb",
28
+ "rails/init.rb",
28
29
  "tasks/app_config_tasks.rake",
29
30
  "test/app_config.yml",
30
31
  "test/app_config_test.rb",
@@ -34,10 +35,11 @@ Gem::Specification.new do |s|
34
35
  "test/empty2.yml",
35
36
  "uninstall.rb"
36
37
  ]
38
+ s.has_rdoc = true
37
39
  s.homepage = %q{http://github.com/cjbottaro/app_config}
38
40
  s.rdoc_options = ["--charset=UTF-8"]
39
41
  s.require_paths = ["lib"]
40
- s.rubygems_version = %q{1.3.3}
42
+ s.rubygems_version = %q{1.3.1}
41
43
  s.summary = %q{Application level configuration.}
42
44
  s.test_files = [
43
45
  "test/app_config_test.rb",
@@ -46,7 +48,7 @@ Gem::Specification.new do |s|
46
48
 
47
49
  if s.respond_to? :specification_version then
48
50
  current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
49
- s.specification_version = 3
51
+ s.specification_version = 2
50
52
 
51
53
  if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
52
54
  else
@@ -0,0 +1,4 @@
1
+ require 'app_config'
2
+
3
+ ::AppConfig = ApplicationConfiguration.new(RAILS_ROOT+"/config/app_config.yml",
4
+ RAILS_ROOT+"/config/environments/#{RAILS_ENV}.yml")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pwim-app_config
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christopher J Bottaro
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-08-27 00:00:00 -07:00
12
+ date: 2009-08-28 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
 
@@ -31,6 +31,7 @@ files:
31
31
  - install.rb
32
32
  - lib/app_config.rb
33
33
  - lib/closed_struct.rb
34
+ - rails/init.rb
34
35
  - tasks/app_config_tasks.rake
35
36
  - test/app_config.yml
36
37
  - test/app_config_test.rb
@@ -39,7 +40,7 @@ files:
39
40
  - test/empty1.yml
40
41
  - test/empty2.yml
41
42
  - uninstall.rb
42
- has_rdoc: false
43
+ has_rdoc: true
43
44
  homepage: http://github.com/cjbottaro/app_config
44
45
  licenses:
45
46
  post_install_message:
@@ -64,7 +65,7 @@ requirements: []
64
65
  rubyforge_project:
65
66
  rubygems_version: 1.3.5
66
67
  signing_key:
67
- specification_version: 3
68
+ specification_version: 2
68
69
  summary: Application level configuration.
69
70
  test_files:
70
71
  - test/app_config_test.rb