youthtree-settings 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/lib/youth_tree/settings.rb +2 -2
- data/youthtree-settings.gemspec +7 -8
- metadata +10 -11
data/Rakefile
CHANGED
@@ -15,7 +15,7 @@ begin
|
|
15
15
|
gem.homepage = "http://github.com/YouthTree/youthtree-settings"
|
16
16
|
gem.authors = ["Darcy Laycock"]
|
17
17
|
gem.version = YouthTree::Settings::VERSION
|
18
|
-
gem.add_dependency "activesupport", "
|
18
|
+
gem.add_dependency "activesupport", "~> 3.0.1"
|
19
19
|
end
|
20
20
|
Jeweler::GemcutterTasks.new
|
21
21
|
rescue LoadError
|
data/lib/youth_tree/settings.rb
CHANGED
@@ -4,7 +4,7 @@ require 'erb'
|
|
4
4
|
module YouthTree
|
5
5
|
class Settings
|
6
6
|
|
7
|
-
VERSION = "0.2.
|
7
|
+
VERSION = "0.2.1".freeze
|
8
8
|
|
9
9
|
cattr_reader :settings_path
|
10
10
|
def self.settings_path
|
@@ -103,7 +103,7 @@ module YouthTree
|
|
103
103
|
ActionMailer::Base.smtp_settings = s.smtp_settings.to_hash if s.smtp_settings?
|
104
104
|
ActionMailer::Base.sendmail_settings = s.sendmail_settings.to_hash if s.sendmail_settings?
|
105
105
|
ActionMailer::Base.default :from => s.from
|
106
|
-
|
106
|
+
|
107
107
|
# Setup sendgrid if present, sort of a faux-sendgrid helper.
|
108
108
|
if s.delivery_method.to_sym == :sendgrid
|
109
109
|
ActionMailer::Base.delivery_method = :smtp
|
data/youthtree-settings.gemspec
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
# Generated by jeweler
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{youthtree-settings}
|
8
|
-
s.version = "0.2.
|
8
|
+
s.version = "0.2.1"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Darcy Laycock"]
|
12
|
-
s.date = %q{
|
12
|
+
s.date = %q{2011-03-31}
|
13
13
|
s.description = %q{Lets you use config/settings.yml in a rails application to manage settings on a per-env basis.}
|
14
14
|
s.email = %q{sutto@sutto.net}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -27,20 +27,19 @@ Gem::Specification.new do |s|
|
|
27
27
|
]
|
28
28
|
s.homepage = %q{http://github.com/YouthTree/youthtree-settings}
|
29
29
|
s.require_paths = ["lib"]
|
30
|
-
s.rubygems_version = %q{1.
|
30
|
+
s.rubygems_version = %q{1.6.2}
|
31
31
|
s.summary = %q{Simple Settings for Rails Applications}
|
32
32
|
|
33
33
|
if s.respond_to? :specification_version then
|
34
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
35
34
|
s.specification_version = 3
|
36
35
|
|
37
36
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
38
|
-
s.add_runtime_dependency(%q<activesupport>, ["
|
37
|
+
s.add_runtime_dependency(%q<activesupport>, ["~> 3.0.1"])
|
39
38
|
else
|
40
|
-
s.add_dependency(%q<activesupport>, ["
|
39
|
+
s.add_dependency(%q<activesupport>, ["~> 3.0.1"])
|
41
40
|
end
|
42
41
|
else
|
43
|
-
s.add_dependency(%q<activesupport>, ["
|
42
|
+
s.add_dependency(%q<activesupport>, ["~> 3.0.1"])
|
44
43
|
end
|
45
44
|
end
|
46
45
|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: youthtree-settings
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 21
|
5
|
+
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 1
|
10
|
+
version: 0.2.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Darcy Laycock
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date:
|
18
|
+
date: 2011-03-31 00:00:00 +08:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -24,15 +24,14 @@ dependencies:
|
|
24
24
|
requirement: &id001 !ruby/object:Gem::Requirement
|
25
25
|
none: false
|
26
26
|
requirements:
|
27
|
-
- -
|
27
|
+
- - ~>
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
hash:
|
29
|
+
hash: 5
|
30
30
|
segments:
|
31
31
|
- 3
|
32
32
|
- 0
|
33
|
-
-
|
34
|
-
|
35
|
-
version: 3.0.0.beta4
|
33
|
+
- 1
|
34
|
+
version: 3.0.1
|
36
35
|
type: :runtime
|
37
36
|
version_requirements: *id001
|
38
37
|
description: Lets you use config/settings.yml in a rails application to manage settings on a per-env basis.
|
@@ -82,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
82
81
|
requirements: []
|
83
82
|
|
84
83
|
rubyforge_project:
|
85
|
-
rubygems_version: 1.
|
84
|
+
rubygems_version: 1.6.2
|
86
85
|
signing_key:
|
87
86
|
specification_version: 3
|
88
87
|
summary: Simple Settings for Rails Applications
|