Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Add settings, update rakefile

  • Loading branch information...
commit 7c1669b74fd5010373b5428d6737f411dbd76d06 1 parent 4109fe9
Darcy Laycock Sutto authored

Showing 2 changed files with 6 additions and 1 deletion. Show diff stats Hide diff stats

  1. +4 1 Rakefile
  2. +2 0  lib/youth_tree/settings.rb
5 Rakefile
... ... @@ -1,7 +1,9 @@
1 1 require 'rubygems'
2 2 require 'rake'
3 3
4   -require File.expand_path('lib/youthtree-settings', File.dirname(__FILE__))
  4 +require 'active_support'
  5 +require 'active_support/core_ext'
  6 +require File.expand_path('lib/youth_tree/settings', File.dirname(__FILE__))
5 7
6 8 begin
7 9 require 'jeweler'
@@ -13,6 +15,7 @@ begin
13 15 gem.homepage = "http://github.com/YouthTree/youthtree-settings"
14 16 gem.authors = ["Darcy Laycock"]
15 17 gem.version = YouthTree::Settings::VERSION
  18 + gem.add_dependency "activesupport", ">= 3.0.0.beta4"
16 19 end
17 20 Jeweler::GemcutterTasks.new
18 21 rescue LoadError
2  lib/youth_tree/settings.rb
@@ -3,6 +3,8 @@
3 3 module YouthTree
4 4 class Settings
5 5
  6 + VERSION = "0.1.0".freeze
  7 +
6 8 cattr_reader :settings_path
7 9 def self.settings_path
8 10 @@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.