Permalink
Browse files

rename to motion-settings-bundle

  • Loading branch information...
1 parent bb22d5c commit 7e9cd234245a40157c74d97c5c770c741de72e11 @qrush committed Sep 10, 2012
View
@@ -1,4 +1,4 @@
source 'https://rubygems.org'
-# Specify your gem's dependencies in motion-settings.gemspec
+# Specify your gem's dependencies in motion-settings-bundle.gemspec
gemspec
View
@@ -1,27 +1,27 @@
-# motion-settings
+# motion-settings-bundle
Create a Settings.bundle for your RubyMotion app. This allows your app to have a "global" settings entry in the Settings app.
## Installation
Add this line to your application's Gemfile:
- gem 'motion-settings'
+ gem 'motion-settings-bundle'
And then execute:
bundle
Or install it yourself as:
- gem install motion-settings
+ gem install motion-settings-bundle
## Usage
Add a chunk of code into your project's `Rakefile` like so:
``` ruby
-require 'motion-settings'
+require 'motion-settings-bundle'
Motion::Settings.setup do |app|
# A text field. Allows configuration of a string.
@@ -49,7 +49,7 @@ Now just run `rake` as normal!
This should now add a `Settings.bundle` folder into your `resources` directory. Make sure to commit it! If you ever change the data in the `Settings.setup` block, it will be re-built on the next `rake` run. You'll end up with something like this:
-![screenshot of motion-settings](https://raw.github.com/qrush/motion-settings/master/screenshot.png)
+![screenshot of motion-settings-bundle](https://raw.github.com/qrush/motion-settings-bundle/master/screenshot.png)
If you're wondering how to access this in code, it's pretty easy:
@@ -62,7 +62,7 @@ And so on. Just remember, the defaults aren't populated until your user actually
## TODO
-This project really solely exists to avoid creating/editing the Settings.bundle in XCode. The specs for it so far have been based off [mordaroso/rubymotion-settings](https://github/mordaroso/rubymotion-settings). Please feel free to contribute more ways to generate settings!
+This project really solely exists to avoid creating/editing the Settings.bundle in XCode. The specs for it so far have been based off [mordaroso/rubymotion-settings-bundle](https://github/mordaroso/rubymotion-settings-bundle). Please feel free to contribute more ways to generate settings!
* Make `options` entry work
* Add a big chunk of text, like licensing info
View
@@ -10,7 +10,7 @@ task :default do
File.open("Gemfile", "w") do |f|
f.write <<-EOF
source :rubygems
- gem "motion-settings", :path => ".."
+ gem "motion-settings-bundle", :path => ".."
EOF
end
@@ -22,7 +22,7 @@ task :default do
require 'bundler'
Bundler.setup
-require 'motion-settings'
+require 'motion-settings-bundle'
Motion::Settings.setup do |app|
# A text field. Allows configuration of a string.
@@ -6,9 +6,9 @@
require "plist"
-require "motion-settings/configuration"
-require "motion-settings/generator"
-require "motion-settings/version"
+require "motion-settings-bundle/configuration"
+require "motion-settings-bundle/generator"
+require "motion-settings-bundle/version"
module Motion
module Settings
@@ -1,17 +1,17 @@
# -*- encoding: utf-8 -*-
-require File.expand_path('../lib/motion-settings/version', __FILE__)
+require File.expand_path('../lib/motion-settings-bundle/version', __FILE__)
Gem::Specification.new do |gem|
gem.authors = ["Nick Quaranto"]
gem.email = ["nick@quaran.to"]
gem.summary = gem.description =
%{Create a Settings.bundle for your RubyMotion app. This allows your app to have a "global" settings entry in the Settings app.}
- gem.homepage = "https://github.com/qrush/motion-settings"
+ gem.homepage = "https://github.com/qrush/motion-settings-bundle"
gem.files = `git ls-files`.split($\)
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
- gem.name = "motion-settings"
+ gem.name = "motion-settings-bundle"
gem.require_paths = ["lib"]
gem.version = Motion::Settings::VERSION

0 comments on commit 7e9cd23

Please sign in to comment.