settingslogic icon indicating copy to clipboard operation
settingslogic copied to clipboard

A simple and straightforward settings solution that uses an ERB enabled YAML file and a singleton design pattern.

Results 46 settingslogic issues
Sort by recently updated
recently updated
newest added

Do we really need these runtime dependencies? Can't they be just development dependencies? Since version 2.0.7, settingslogic has jeweler, rake, rspec and ruby-debug19 as its runtime dependencies. Of these, ruby-debug19...

Please refer to comment in PR: https://github.com/binarylogic/settingslogic/commit/52722f129bcb1dbd4f3f774147d34163640338d8 Some recent code style changes have broken assignment of values in 3 methods.

Settingslogic 2.0.7 is not comaptible with ruby 1.8.7 due to its dependency on ruby-debug19. There was ``` gem 'settingslogic', '~>2.0.6' ``` in my Gemfile. Then bundle failed ``` # bundle...

Hi, I just installed this GEM and i am getting this error: Missing setting 'development' in C:/RoR/swp/config/application.yml This is the content of my application.yml file # config/application.yml defaults: &defaults api_token:...

https://github.com/binarylogic/settingslogic/blob/c510affe2e7ab96289525b95f50a5dd528854807/lib/settingslogic.rb#L113 ``` ruby # Called for dynamically-defined keys, and also the first key deferenced at the top-level, if load! is not used. # Otherwise, create_accessors! (called by new) will have...

error info like `Psych::SyntaxError: (): found a tab character that violate intendation while scanning a plain scalar at line 8 column 15` yes , the prompt is very accurate, when...

I implemented my own Settings without knowing about Settingslogic, and the api is almost exactly the same except that I have ENV-overrides built in for misc things like the google...

Hi, This is ranjith, in my yml file i have some key as integer like yml 3d_max: :summary: :total: 0 :cities: :hyderabad: :summary: :latitude: 17.347139358520508 :longitude: 78.42813110351562 and i configure...

Hi, I have some optional settings, but when I restart server, every optional settings are gone. Is possible to save these settings? Thanks

I have the following nested settings: https://gist.github.com/sweatpantsninja/4741147 Settings.cloudant.facebook_database should always be "facebook_data", but in development, I get Settingslogic::MissingSetting: Missing setting 'facebook_database' in 'cloudant' section It seems as if it overrides...