Giter VIP home page Giter VIP logo

sprout-robotlegs's Introduction

Project Sprouts Robotlegs Gem Beta

This RubyGem contains templates and libraries for developing Robotlegs based MVCS DI applications in Actionscript 3.0 and Flex 4.0

WARNING This is opinionated software. This is not and will never be infinitely configurable. Care was taken to allow customization where needed, but it is made and tested to work the way I think it should. Please fork and add whatever features you feel are missing.

Description

This bundle contains generators for creating:

  • Project
  • Context
  • SignalContext
  • Proxy
  • Mediator
  • Command
  • SignalCommand
  • Service

Prerequisites

Install

git clone [this repo]
cd sprout-robotlegs
bundle install
gem build robotlegs.gemspec 
gem install robotlegs-1.3.0.5.pre.gem

####Or

gem install robotlegs --pre

Usage

Project Generator
rl-project SomeProject --package=com.foo or rl-project SomeProject --package=com.foo --shallow

Proxy Generator
rl-proxy SomeProxy --package=com.foo

Mediator Generator
rl-mediator SomeMediator --package=com.foo

Command Generator
rl-command SomeCommand --package=com.foo

Service Generator
rl-service SomeService --package=com.foo

##Development

####If you want to aid in the development of this gem: fork this repo git clone [your fork] cd sprout-robotlegs bundle install rake test do code in the interface hard rake test gem build robotlegs.gemspec gem install robotlegs try it out rl-project SomeProject --package=com.foo send pull request I will merge your changes I will increment the version and push the gem I will send you a present that you will like

##Todo ####In prioritized order

  • Add project model to store information such as default package and user project overrides

MIT License

Copyright (c) 2010 Kristofer Joseph

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

sprout-robotlegs's People

Contributors

kristoferjoseph avatar amoslanka avatar

Stargazers

ranke avatar Michael Bearne avatar creynders avatar TJ Gillis avatar  avatar javier abanses avatar Stefan avatar Paddy Keane avatar harmy avatar Michał avatar Stray avatar Brian Connatser avatar Brady Georgen avatar  avatar Till Schneidereit avatar Joohun, Maeng avatar  avatar David Ortinau avatar Eric Skogen avatar Luke Bayes avatar

Watchers

James Cloos avatar  avatar

sprout-robotlegs's Issues

Generator Failing

Hi,

Seems this issue is preventing mediator/command etc classes being generated:

/Users/newtriks/.rvm/gems/ruby-1.9.2-p136/gems/robotlegs-1.3.0.5.pre/lib/robotlegs/generators/mediator_generator.rb:11:in manifest': undefined local variable or methodno_test' for #Robotlegs::MediatorGenerator:0x00000100dfa358 (NameError)
from /Users/newtriks/.rvm/gems/ruby-1.9.2-p136/gems/sprout-1.1.10.pre/lib/sprout/generator/base.rb:153:in `prepare_command'

no_test undefined

I've successfully installed the gem and built an application with rl-project but when I look to generate a proxy or service I receive the error:
.rvm/gems/ruby-1.9.2-p136/gems/robotlegs-1.3.0.5.pre/lib/robotlegs/generators/service_generator.rb:11:in manifest': undefined local variable or methodno_test' for #Robotlegs::ServiceGenerator:0x00000100c950a8

I cant seem to find the "no_test" method, although it seems to be in the generator's manifest.

Thanks so much - I'm attempting to upgrade to the newest project sprouts and rl-generators but it all seems a bit too fresh to put into actual production.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.