Giter Site home page Giter Site logo

beanstalkapp's People

Contributors

dsabanin avatar isabanin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

beanstalkapp's Issues

allow auth credentials to be stored outside of API scripts

at the moment we have to put the following at the top of any beanstalk API scripts:

Beanstalk::API::Base.setup(
  :domain   => "subdomain",
  :login    => "username",
  :password => "password"
)

it would be good if this could be abstracted out, so that the gem reads the credentials from a file (say ~/.beanstalk) and inserts it automatically

this could be extended if the .beanstalk file could contain multiple auth credentials with something like

Beanstalk::API::Base.setup(
  :account   => "<an account tag assigned by user>",
)

where the beanstalk file has some kind of structure (maybe yaml) to store domain, user and pass pairs

this would help improve the security of deploy scripts and also allows users to put scripts in version control without exposing auth credentials of a specific user and also allows each user to run api tasks as there user (eg deploys etc)

activeresource with Rails 3?

I have come to use the gem for the first time and keep getting activeresource errors. Is there a way of using this gem with activeresource 3.0.3, alongside Rails 3?

Bundler could not find compatible versions for gem "activeresource":
In Gemfile:
rails (= 3.0.3) depends on
activeresource (= 3.0.3)

activeresource (2.3.5)

error when trying to get setup

I have code that matches exactly whats in the README and i get:

/Users/jcollins/.rvm/gems/ruby-2.3.3/gems/activeresource-2.3.5/lib/active_resource/base.rb:402:in `singleton class': undefined method `attr_accessor_with_default' for #<Class:ActiveResource::Base> (NoMethodError)
	from /Users/jcollins/.rvm/gems/ruby-2.3.3/gems/activeresource-2.3.5/lib/active_resource/base.rb:230:in `<class:Base>'
	from /Users/jcollins/.rvm/gems/ruby-2.3.3/gems/activeresource-2.3.5/lib/active_resource/base.rb:224:in `<module:ActiveResource>'
	from /Users/jcollins/.rvm/gems/ruby-2.3.3/gems/activeresource-2.3.5/lib/active_resource/base.rb:5:in `<top (required)>'
	from /Users/jcollins/.rvm/rubies/ruby-2.3.3/lib/ruby/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /Users/jcollins/.rvm/rubies/ruby-2.3.3/lib/ruby/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /Users/jcollins/.rvm/gems/ruby-2.3.3/gems/activeresource-2.3.5/lib/active_resource.rb:35:in `<top (required)>'
	from /Users/jcollins/.rvm/rubies/ruby-2.3.3/lib/ruby/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /Users/jcollins/.rvm/rubies/ruby-2.3.3/lib/ruby/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /Users/jcollins/.rvm/gems/ruby-2.3.3/gems/beanstalkapp-1.6.1/lib/beanstalkapp.rb:1:in `<top (required)>'
	from /Users/jcollins/.rvm/rubies/ruby-2.3.3/lib/ruby/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:133:in `require'
	from /Users/jcollins/.rvm/rubies/ruby-2.3.3/lib/ruby/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:133:in `rescue in require'
	from /Users/jcollins/.rvm/rubies/ruby-2.3.3/lib/ruby/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:40:in `require'
	from ./test.rb:3:in `<main>'

This is ruby 2.3.3 as it says. Any ideas?

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.