rails_config 0.3.2 → 0.3.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 4efd1a612a114b168e9ddeb109fac76186b65dbf
4
+ data.tar.gz: 4f2f6db5b1137726cd050426d43b7f5ee1b8a831
5
+ SHA512:
6
+ metadata.gz: 62ef2ac4f378dc31128fc018a369ddc44c714d54ad3937f73a184136828fe63b3bdbc765bc7abed6e1785e1a72f6ab901e3432a369b686265842c1a174119385
7
+ data.tar.gz: bb2119a46660de9e8507044911ad05bd9d6c9394f988db2433d5f40c13b27c27d51214b79219d7721cc1e34af2b80ba02a6b2ea3ae4082fd5b351fdc8ea371ce
data/Gemfile CHANGED
@@ -1,9 +1,3 @@
1
1
  source 'http://rubygems.org'
2
2
 
3
3
  gemspec
4
-
5
- group :development do
6
- gem 'json', :platforms => :mri_18
7
- gem "ruby-debug", :platforms => :mri_18
8
- gem "ruby-debug19", :platforms => :mri_19
9
- end
@@ -21,7 +21,11 @@ module RailsConfig
21
21
  RailsConfig.load_and_set_settings(
22
22
  File.join(root.to_s, "config", "settings.yml").to_s,
23
23
  File.join(root.to_s, "config", "settings", "#{env}.yml").to_s,
24
- File.join(root.to_s, "config", "environments", "#{env}.yml").to_s
24
+ File.join(root.to_s, "config", "environments", "#{env}.yml").to_s,
25
+
26
+ File.join(root.to_s, "config", "settings.local.yml").to_s,
27
+ File.join(root.to_s, "config", "settings", "#{env}.local.yml").to_s,
28
+ File.join(root.to_s, "config", "environments", "#{env}.local.yml").to_s
25
29
  )
26
30
 
27
31
  inner_app.use(::RailsConfig::Rack::Reloader) if inner_app.development?
@@ -1,3 +1,3 @@
1
1
  module RailsConfig
2
- VERSION = '0.3.2'
2
+ VERSION = '0.3.3'
3
3
  end
data/rails_config.gemspec CHANGED
@@ -3,7 +3,7 @@ require File.dirname(__FILE__) + "/lib/rails_config/version"
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "rails_config"
5
5
  s.version = RailsConfig::VERSION
6
- s.date = Date.today.to_s
6
+ s.date = Time.now.strftime '%F'
7
7
  s.authors = ["Jacques Crocker", "Fred Wu"]
8
8
  s.email = ["railsjedi@gmail.com", "ifredwu@gmail.com"]
9
9
  s.summary = "Provides a Settings helper for rails3 that reads from config/settings.yml"
@@ -16,11 +16,9 @@ Gem::Specification.new do |s|
16
16
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
17
17
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
18
18
 
19
- s.add_runtime_dependency "activesupport", ">= 3.0"
19
+ s.add_dependency "activesupport", ">= 3.0"
20
20
  s.add_development_dependency "rake"
21
21
  s.add_development_dependency "rdoc"
22
+ s.add_development_dependency "pry"
22
23
  s.add_development_dependency "rspec", "~> 2.0"
23
- s.add_development_dependency "autotest", ">= 0"
24
- s.add_development_dependency "growl-glue", ">= 0"
25
24
  end
26
-
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_config
3
3
  version: !ruby/object:Gem::Version
4
- prerelease:
5
- version: 0.3.2
4
+ version: 0.3.3
6
5
  platform: ruby
7
6
  authors:
8
7
  - Jacques Crocker
@@ -10,104 +9,78 @@ authors:
10
9
  autorequire:
11
10
  bindir: bin
12
11
  cert_chain: []
13
- date: 2012-12-19 00:00:00.000000000 Z
12
+ date: 2013-04-18 00:00:00.000000000 Z
14
13
  dependencies:
15
14
  - !ruby/object:Gem::Dependency
16
- version_requirements: !ruby/object:Gem::Requirement
17
- requirements:
18
- - - ! '>='
19
- - !ruby/object:Gem::Version
20
- version: '3.0'
21
- none: false
22
- prerelease: false
23
15
  name: activesupport
24
16
  requirement: !ruby/object:Gem::Requirement
25
17
  requirements:
26
- - - ! '>='
18
+ - - '>='
27
19
  - !ruby/object:Gem::Version
28
20
  version: '3.0'
29
- none: false
30
21
  type: :runtime
31
- - !ruby/object:Gem::Dependency
22
+ prerelease: false
32
23
  version_requirements: !ruby/object:Gem::Requirement
33
24
  requirements:
34
- - - ! '>='
25
+ - - '>='
35
26
  - !ruby/object:Gem::Version
36
- version: '0'
37
- none: false
38
- prerelease: false
27
+ version: '3.0'
28
+ - !ruby/object:Gem::Dependency
39
29
  name: rake
40
30
  requirement: !ruby/object:Gem::Requirement
41
31
  requirements:
42
- - - ! '>='
32
+ - - '>='
43
33
  - !ruby/object:Gem::Version
44
34
  version: '0'
45
- none: false
46
35
  type: :development
47
- - !ruby/object:Gem::Dependency
36
+ prerelease: false
48
37
  version_requirements: !ruby/object:Gem::Requirement
49
38
  requirements:
50
- - - ! '>='
39
+ - - '>='
51
40
  - !ruby/object:Gem::Version
52
41
  version: '0'
53
- none: false
54
- prerelease: false
42
+ - !ruby/object:Gem::Dependency
55
43
  name: rdoc
56
44
  requirement: !ruby/object:Gem::Requirement
57
45
  requirements:
58
- - - ! '>='
46
+ - - '>='
59
47
  - !ruby/object:Gem::Version
60
48
  version: '0'
61
- none: false
62
49
  type: :development
63
- - !ruby/object:Gem::Dependency
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - ~>
67
- - !ruby/object:Gem::Version
68
- version: '2.0'
69
- none: false
70
50
  prerelease: false
71
- name: rspec
72
- requirement: !ruby/object:Gem::Requirement
73
- requirements:
74
- - - ~>
75
- - !ruby/object:Gem::Version
76
- version: '2.0'
77
- none: false
78
- type: :development
79
- - !ruby/object:Gem::Dependency
80
51
  version_requirements: !ruby/object:Gem::Requirement
81
52
  requirements:
82
- - - ! '>='
53
+ - - '>='
83
54
  - !ruby/object:Gem::Version
84
55
  version: '0'
85
- none: false
86
- prerelease: false
87
- name: autotest
56
+ - !ruby/object:Gem::Dependency
57
+ name: pry
88
58
  requirement: !ruby/object:Gem::Requirement
89
59
  requirements:
90
- - - ! '>='
60
+ - - '>='
91
61
  - !ruby/object:Gem::Version
92
62
  version: '0'
93
- none: false
94
63
  type: :development
95
- - !ruby/object:Gem::Dependency
64
+ prerelease: false
96
65
  version_requirements: !ruby/object:Gem::Requirement
97
66
  requirements:
98
- - - ! '>='
67
+ - - '>='
99
68
  - !ruby/object:Gem::Version
100
69
  version: '0'
101
- none: false
102
- prerelease: false
103
- name: growl-glue
70
+ - !ruby/object:Gem::Dependency
71
+ name: rspec
104
72
  requirement: !ruby/object:Gem::Requirement
105
73
  requirements:
106
- - - ! '>='
74
+ - - ~>
107
75
  - !ruby/object:Gem::Version
108
- version: '0'
109
- none: false
76
+ version: '2.0'
110
77
  type: :development
78
+ prerelease: false
79
+ version_requirements: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - ~>
82
+ - !ruby/object:Gem::Version
83
+ version: '2.0'
111
84
  description: Easy to use Settings helper that loads its data in from config/settings.yml.
112
85
  Handles adding multiple sources, and easy reloading.
113
86
  email:
@@ -160,6 +133,7 @@ files:
160
133
  - spec/spec_helper.rb
161
134
  homepage: http://github.com/railsjedi/rails_config
162
135
  licenses: []
136
+ metadata: {}
163
137
  post_install_message:
164
138
  rdoc_options:
165
139
  - --charset=UTF-8
@@ -167,27 +141,19 @@ require_paths:
167
141
  - lib
168
142
  required_ruby_version: !ruby/object:Gem::Requirement
169
143
  requirements:
170
- - - ! '>='
144
+ - - '>='
171
145
  - !ruby/object:Gem::Version
172
146
  version: '0'
173
- segments:
174
- - 0
175
- hash: -3137865863593940262
176
- none: false
177
147
  required_rubygems_version: !ruby/object:Gem::Requirement
178
148
  requirements:
179
- - - ! '>='
149
+ - - '>='
180
150
  - !ruby/object:Gem::Version
181
151
  version: '0'
182
- segments:
183
- - 0
184
- hash: -3137865863593940262
185
- none: false
186
152
  requirements: []
187
153
  rubyforge_project:
188
- rubygems_version: 1.8.24
154
+ rubygems_version: 2.0.0
189
155
  signing_key:
190
- specification_version: 3
156
+ specification_version: 4
191
157
  summary: Provides a Settings helper for rails3 that reads from config/settings.yml
192
158
  test_files:
193
159
  - spec/fixtures/bool_override/config1.yml