Categories
No matching categories were found
A simple and straightforward settings solution that uses an ERB enabled YAML file and a singleton design pattern.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
Activity
Easiest way to manage multi-environment settings in any ruby project or framework: Rails, Sinatra, Padrino and others
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
Activity
1.11
Provides the generator settings required for Rails to use Slim
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
Activity
0.72
The best solution for store global settings in Rails applications.
This gem will managing a table of а global key, value pairs easy. Think of it like a
global Hash stored in your database, that uses simple ActiveRecord like methods for manipulation.
Keep track of any global setting that you dont want to hard code into your rails app.
You can store any kind of object. Strings, numbers, arrays, or any object.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
Activity
0.85
Easy to use Settings helper that loads its data in from config/settings.yml. Handles adding multiple sources, and easy reloading.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
Activity
0.0
Keep application settings in the database
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
Settings gem for Ruby on Rails
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
Activity
0.61
A key value store for environment settings in Cocoa Apps.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
Activity
0.04
Create a Settings.bundle for your RubyMotion app. This allows your app to have a "global" settings entry in the Settings app.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
Activity
0.0
This gem offers you a convenient settings structure for parameterizing your application.
Those settings are read from a YAML file.
Inheritance of settings (like in development modes) and multiple settings groups are available.
Great for a rails app but can be used for any ruby app.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
0.0
Rails settings models with multiple data types, allowing db-driven global configuration. PostgreSQL Only.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
0.0
A simple ActiveRecord based model for storing global application settings for your rails application in your database.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
Activity
0.0
Scan ENV and override correspondong settings in a nested Hash
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
0.01
This RubyMotion specific gem makes it easy to include the CocoaPods acknowledgements file in your application. Simply add to your bundle file, run `rake acknowledgements:generate` and each time you build your application, the CocoaPods acknowledgements file will be copied over to your Settings.bundle. This then adds an entry for your app into the system's Settings.app with an 'Acknowledgements' submenu.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
Activity
0.0
Used by tribunals_frontend and tribunals_api to share configuration.
To use:
1) add "gem 'moj_tribunals_config'" to your Gemfile
2) in an initializer, add the following code:
require 'moj_tribunals_config'
my_config = Moj::Tribunals::ConfigLoader.new.load
This will load the default config files from the gem.
To load different files, you can provide an alternative path
to the ConfigLoader.new method, e.g.
my_config = Moj::Tribunals::ConfigLoader.new('/my/alternative/config/path').load
To just load config for a specific tribunal, you can do:
config_loader = Moj::Tribunals::ConfigLoader.new
config_file = config_loader.config_file_for('utiac')
config_loader.load_file( config_file )
RailsConfig integration
=======================
If you're using the RailsConfig gem, your intializer can just do something like:
files = Moj::Tribunals::ConfigLoader.new.config_files
files.each{ |f| Settings.add_source!( f ) }
Settings.reload!
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
Activity
0.0
Instead of having to constantly use YAML::load(File.read('some/dir/with/file_resources/database_blah.yml')) in every app you write, now you can simply use s = SettingsManager::settings('database');puts s["my_setting"] to get your file resources and the rest is automagically managed for you!
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
Activity
0.0
A library for handling Ruby configuration settings. Inspired by the Settingslogic library but providing some additional functionality.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
Activity
0.0
Settings management for Ruby on Rails applications (with ActiveRecord)
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
0.0
Comand line interface to create SettingsManager singleton
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
0.0
Keep application settings in the database
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
Activity