Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add settings, update rakefile

  • Loading branch information...
commit 7c1669b74fd5010373b5428d6737f411dbd76d06 1 parent 4109fe9
@Sutto Sutto authored
Showing with 6 additions and 1 deletion.
  1. +4 −1 Rakefile
  2. +2 −0  lib/youth_tree/settings.rb
View
5 Rakefile
@@ -1,7 +1,9 @@
require 'rubygems'
require 'rake'
-require File.expand_path('lib/youthtree-settings', File.dirname(__FILE__))
+require 'active_support'
+require 'active_support/core_ext'
+require File.expand_path('lib/youth_tree/settings', File.dirname(__FILE__))
begin
require 'jeweler'
@@ -13,6 +15,7 @@ begin
gem.homepage = "http://github.com/YouthTree/youthtree-settings"
gem.authors = ["Darcy Laycock"]
gem.version = YouthTree::Settings::VERSION
+ gem.add_dependency "activesupport", ">= 3.0.0.beta4"
end
Jeweler::GemcutterTasks.new
rescue LoadError
View
2  lib/youth_tree/settings.rb
@@ -3,6 +3,8 @@
module YouthTree
class Settings
+ VERSION = "0.1.0".freeze
+
cattr_reader :settings_path
def self.settings_path
@@settings_path ||= Rails.root.join("config", "settings.yml")

0 comments on commit 7c1669b

Please sign in to comment.
Something went wrong with that request. Please try again.