Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

motion_settings

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

motion_settings

  • 1.0.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

MotionSettings

Description

MotionSettings allows you to define string settings for you RubyMotion project without putting them in the Rakefile. You can set user level settings and app level settings.

After installation, the first rake will create two files

  • ~/.motion_settings.yml # this is the user level config file

  • /path/to/your_rm_project/.motion_settings.yml # this is the app level config file

App level config file take precedence over user level config file.

Installation

gem install 'motion-settings'

require 'motion-settings' in the Rakefile

or

gem 'motion-settings' in your Gemfile

Usage

  1. Run rake to create files

  2. Edit files ~/.motion_settings.yml or /path/to/your_rm_project/.motion_settings.yml

This is YAML and you can only set strings or this will fail, example yaml config :

api_endpoint: "https://www.google.fr"
FacebookAPPID: "323232DQSDQDDS"
  1. You now have access to ENV['api_endpoint'] in your app or your Rakefile

FAQs

Package last updated on 23 Mar 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc