rails_config 0.2.4 → 0.2.5

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -3,6 +3,7 @@ source 'http://rubygems.org'
3
3
  gemspec
4
4
 
5
5
  group :development do
6
+ gem 'json', :platforms => :mri_18
6
7
  gem "ruby-debug", :platforms => :mri_18
7
8
  gem "ruby-debug19", :platforms => :mri_19
8
9
  end
@@ -27,7 +27,7 @@ module RailsConfig
27
27
  if Rails.env.development?
28
28
  initializer :rails_config_reload_on_development do
29
29
  ActionController::Base.class_eval do
30
- prepend_before_filter { ::RailsConfig.const_name.constantize.reload! }
30
+ prepend_before_filter { ::RailsConfig.reload! }
31
31
  end
32
32
  end
33
33
  end
@@ -1,3 +1,3 @@
1
1
  module RailsConfig
2
- VERSION = '0.2.4'
2
+ VERSION = '0.2.5'
3
3
  end
metadata CHANGED
@@ -1,84 +1,82 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: rails_config
3
- version: !ruby/object:Gem::Version
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.2.5
4
5
  prerelease:
5
- version: 0.2.4
6
6
  platform: ruby
7
- authors:
7
+ authors:
8
8
  - Jacques Crocker
9
9
  - Fred Wu
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
-
14
- date: 2011-06-13 00:00:00 Z
15
- dependencies:
16
- - !ruby/object:Gem::Dependency
13
+ date: 2011-10-31 00:00:00.000000000 Z
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
17
16
  name: activesupport
18
- prerelease: false
19
- requirement: &id001 !ruby/object:Gem::Requirement
17
+ requirement: &70334355103200 !ruby/object:Gem::Requirement
20
18
  none: false
21
- requirements:
22
- - - ">="
23
- - !ruby/object:Gem::Version
24
- version: "3.0"
19
+ requirements:
20
+ - - ! '>='
21
+ - !ruby/object:Gem::Version
22
+ version: '3.0'
25
23
  type: :runtime
26
- version_requirements: *id001
27
- - !ruby/object:Gem::Dependency
28
- name: rake
29
24
  prerelease: false
30
- requirement: &id002 !ruby/object:Gem::Requirement
25
+ version_requirements: *70334355103200
26
+ - !ruby/object:Gem::Dependency
27
+ name: rake
28
+ requirement: &70334355101580 !ruby/object:Gem::Requirement
31
29
  none: false
32
- requirements:
33
- - - ">="
34
- - !ruby/object:Gem::Version
35
- version: "0"
30
+ requirements:
31
+ - - ! '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
36
34
  type: :development
37
- version_requirements: *id002
38
- - !ruby/object:Gem::Dependency
39
- name: rspec
40
35
  prerelease: false
41
- requirement: &id003 !ruby/object:Gem::Requirement
36
+ version_requirements: *70334355101580
37
+ - !ruby/object:Gem::Dependency
38
+ name: rspec
39
+ requirement: &70334355100780 !ruby/object:Gem::Requirement
42
40
  none: false
43
- requirements:
41
+ requirements:
44
42
  - - ~>
45
- - !ruby/object:Gem::Version
46
- version: "2.0"
43
+ - !ruby/object:Gem::Version
44
+ version: '2.0'
47
45
  type: :development
48
- version_requirements: *id003
49
- - !ruby/object:Gem::Dependency
50
- name: autotest
51
46
  prerelease: false
52
- requirement: &id004 !ruby/object:Gem::Requirement
47
+ version_requirements: *70334355100780
48
+ - !ruby/object:Gem::Dependency
49
+ name: autotest
50
+ requirement: &70334355099860 !ruby/object:Gem::Requirement
53
51
  none: false
54
- requirements:
55
- - - ">="
56
- - !ruby/object:Gem::Version
57
- version: "0"
52
+ requirements:
53
+ - - ! '>='
54
+ - !ruby/object:Gem::Version
55
+ version: '0'
58
56
  type: :development
59
- version_requirements: *id004
60
- - !ruby/object:Gem::Dependency
61
- name: growl-glue
62
57
  prerelease: false
63
- requirement: &id005 !ruby/object:Gem::Requirement
58
+ version_requirements: *70334355099860
59
+ - !ruby/object:Gem::Dependency
60
+ name: growl-glue
61
+ requirement: &70334351057480 !ruby/object:Gem::Requirement
64
62
  none: false
65
- requirements:
66
- - - ">="
67
- - !ruby/object:Gem::Version
68
- version: "0"
63
+ requirements:
64
+ - - ! '>='
65
+ - !ruby/object:Gem::Version
66
+ version: '0'
69
67
  type: :development
70
- version_requirements: *id005
71
- description: Easy to use Settings helper that loads its data in from config/settings.yml. Handles adding multiple sources, and easy reloading.
72
- email:
68
+ prerelease: false
69
+ version_requirements: *70334351057480
70
+ description: Easy to use Settings helper that loads its data in from config/settings.yml.
71
+ Handles adding multiple sources, and easy reloading.
72
+ email:
73
73
  - railsjedi@gmail.com
74
74
  - ifredwu@gmail.com
75
75
  executables: []
76
-
77
76
  extensions: []
78
-
79
- extra_rdoc_files:
77
+ extra_rdoc_files:
80
78
  - README.md
81
- files:
79
+ files:
82
80
  - .bundle/config
83
81
  - .gitignore
84
82
  - Gemfile
@@ -121,32 +119,30 @@ files:
121
119
  - spec/spec_helper.rb
122
120
  homepage: http://github.com/railsjedi/rails_config
123
121
  licenses: []
124
-
125
122
  post_install_message:
126
- rdoc_options:
123
+ rdoc_options:
127
124
  - --charset=UTF-8
128
- require_paths:
125
+ require_paths:
129
126
  - lib
130
- required_ruby_version: !ruby/object:Gem::Requirement
127
+ required_ruby_version: !ruby/object:Gem::Requirement
131
128
  none: false
132
- requirements:
133
- - - ">="
134
- - !ruby/object:Gem::Version
135
- version: "0"
136
- required_rubygems_version: !ruby/object:Gem::Requirement
129
+ requirements:
130
+ - - ! '>='
131
+ - !ruby/object:Gem::Version
132
+ version: '0'
133
+ required_rubygems_version: !ruby/object:Gem::Requirement
137
134
  none: false
138
- requirements:
139
- - - ">="
140
- - !ruby/object:Gem::Version
141
- version: "0"
135
+ requirements:
136
+ - - ! '>='
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
142
139
  requirements: []
143
-
144
140
  rubyforge_project:
145
- rubygems_version: 1.8.5
141
+ rubygems_version: 1.8.10
146
142
  signing_key:
147
143
  specification_version: 3
148
144
  summary: Provides a Settings helper for rails3 that reads from config/settings.yml
149
- test_files:
145
+ test_files:
150
146
  - spec/fixtures/bool_override/config1.yml
151
147
  - spec/fixtures/bool_override/config2.yml
152
148
  - spec/fixtures/custom_types/hash.yml