Run relish help
to view the available commands.
For those of you checking out the code, all of the cukes and specs exist in the rails 3 app, which is a private repo.
Client gem for http://relishapp.com
Home Page: http://relishapp.com
License: MIT License
Run relish help
to view the available commands.
For those of you checking out the code, all of the cukes and specs exist in the rails 3 app, which is a private repo.
When first using the relish command line push for the first time, you need to enter in your e-mail and password to generate an API key. One issue I found here was that the e-mail that you needed to provide appeared to be case-sensitive as it only worked when I used an e-mail that matched the same case as the registered e-mail.
This is a quick win, and would help with this use case:
Currently, whenever I want to share features/scenarios that we've collaborated on, I send out a Relish link (guest only) to several members of our team. In addition to the link, I also send out an email message with a copy of the scenarios embedded within the email so that members of the UX and Business teams can comment on the scenarios.
Even though the project's creator is an organization, you should still be able to add a collaborator who is not part of that organization.
e.g. host, ssl
Also, why can't I set these in an option file?
I just did a bundle
on a clean gemset, and I got version 0.2.2
When I did bundle update relish
I got 0.0.3 !
I had to do gem install relish
to get the right version. Something must be squiffy with the gemspec dependencies.
Currently it just says this:
sent:
I use Turnip (https://github.com/jnicklas/turnip) for testing features. So, my features exist spec/acceptance. It is not supported by relish push
command. If you run relish push
with --path spec/acceptance
option, relish
append acceptance
prefix for generating document.
I just tried to use Relish on a Windows machine with Ruby 1.8.6 and it failed in a really ugly way. It would be more user-friendly to check the Ruby version and fail with a helpful error message.
As reported by Martin Solli to support email.
~ ruby -v
ruby 1.9.3dev (2011-09-23 revision 33323) [x86_64-darwin11.0.1]
The problem:
I've got docs in my git repo for a future version (so I don't want to publish them), but I've got improvements of the current docs that I want to push. The problem is that I don't know what git commit I was on the last time I pushed. I could go back to the tag of the last release, but I'm pretty sure I've made some enhancements since then.
The proposed solution:
relish push
can store data in a .relish-data
(or some such) file that includes the sha1 of git HEAD. Then I can simply roll back to that commit, branch off it, and update the docs from there.
I'm not at all married to this solution, so other ideas are more than welcome.
See this email from heroku:
The Heroku client will soon be switching to use the standard .netrc format in place of the current .heroku/credentials format. This makes it easier to use a tool like curl to access the Heroku API, and paves the way for git over HTTPS.
To try it out, install the plugin:
$ heroku plugins:install http://github.com/geemus/heroku-netrc
You can then use curl to query the Heroku API:
$ curl -H "Accept: application/json" -n https://api.heroku.com/apps
Full documentation:
http://devcenter.heroku.com/articles/authentication
user: beta
password: samurai14
Please give it a try, then let us know what you think by emailing
[email protected].
I'm using ruby 1.9.2p180, rubygems 1.7.2, Rails 3.0.6.
Wish I could tell you why this happens, but...
Try this with Relish 0.2.2 and you'll have no problem.
Try this with Relish 0.2.3 and Rails generators will fail.
$ rails new testapp
Gemfile:
gem 'rails', '3.0.6' gem 'devise', '1.3.0' gem 'relish', '0.2.3'
$ bundle install
$ rails generate devise:install
$ rails generate devise user
$ rails generate controller foobar index
Here's the full stack trace:
/Users/danielkehoe/.rvm/gems/ruby-1.9.2-p180@rails306/gems/activesupport-3.0.6/lib/active_support/dependencies.rb:239:in `require': no such file to load -- jopenssl (LoadError) from /Users/danielkehoe/.rvm/gems/ruby-1.9.2-p180@rails306/gems/activesupport-3.0.6/lib/active_support/dependencies.rb:239:in `block in require' from /Users/danielkehoe/.rvm/gems/ruby-1.9.2-p180@rails306/gems/activesupport-3.0.6/lib/active_support/dependencies.rb:225:in `block in load_dependency' from /Users/danielkehoe/.rvm/gems/ruby-1.9.2-p180@rails306/gems/activesupport-3.0.6/lib/active_support/dependencies.rb:596:in `new_constants_in' from /Users/danielkehoe/.rvm/gems/ruby-1.9.2-p180@rails306/gems/activesupport-3.0.6/lib/active_support/dependencies.rb:225:in `load_dependency' from /Users/danielkehoe/.rvm/gems/ruby-1.9.2-p180@rails306/gems/activesupport-3.0.6/lib/active_support/dependencies.rb:239:in `require' from /Users/danielkehoe/.rvm/gems/ruby-1.9.2-p180@rails306/gems/jruby-openssl-0.7.3/lib/openssl.rb:66:in `' from /Users/danielkehoe/.rvm/gems/ruby-1.9.2-p180@rails306/gems/activesupport-3.0.6/lib/active_support/dependencies.rb:239:in `require' from /Users/danielkehoe/.rvm/gems/ruby-1.9.2-p180@rails306/gems/activesupport-3.0.6/lib/active_support/dependencies.rb:239:in `block in require' from /Users/danielkehoe/.rvm/gems/ruby-1.9.2-p180@rails306/gems/activesupport-3.0.6/lib/active_support/dependencies.rb:225:in `block in load_dependency' from /Users/danielkehoe/.rvm/gems/ruby-1.9.2-p180@rails306/gems/activesupport-3.0.6/lib/active_support/dependencies.rb:596:in `new_constants_in' from /Users/danielkehoe/.rvm/gems/ruby-1.9.2-p180@rails306/gems/activesupport-3.0.6/lib/active_support/dependencies.rb:225:in `load_dependency' from /Users/danielkehoe/.rvm/gems/ruby-1.9.2-p180@rails306/gems/activesupport-3.0.6/lib/active_support/dependencies.rb:239:in `require' from /Users/danielkehoe/.rvm/gems/ruby-1.9.2-p180@rails306/gems/bcrypt-ruby-2.1.4/lib/bcrypt.rb:6:in `' from /Users/danielkehoe/.rvm/gems/ruby-1.9.2-p180@rails306/gems/activesupport-3.0.6/lib/active_support/dependencies.rb:239:in `require' from /Users/danielkehoe/.rvm/gems/ruby-1.9.2-p180@rails306/gems/activesupport-3.0.6/lib/active_support/dependencies.rb:239:in `block in require' from /Users/danielkehoe/.rvm/gems/ruby-1.9.2-p180@rails306/gems/activesupport-3.0.6/lib/active_support/dependencies.rb:225:in `block in load_dependency' from /Users/danielkehoe/.rvm/gems/ruby-1.9.2-p180@rails306/gems/activesupport-3.0.6/lib/active_support/dependencies.rb:596:in `new_constants_in' from /Users/danielkehoe/.rvm/gems/ruby-1.9.2-p180@rails306/gems/activesupport-3.0.6/lib/active_support/dependencies.rb:225:in `load_dependency' from /Users/danielkehoe/.rvm/gems/ruby-1.9.2-p180@rails306/gems/activesupport-3.0.6/lib/active_support/dependencies.rb:239:in `require' from /Users/danielkehoe/.rvm/gems/ruby-1.9.2-p180@rails306/gems/devise-1.3.0/lib/devise/models/database_authenticatable.rb:2:in `' from /Users/danielkehoe/.rvm/gems/ruby-1.9.2-p180@rails306/gems/devise-1.3.0/lib/devise/models.rb:60:in `const_get' from /Users/danielkehoe/.rvm/gems/ruby-1.9.2-p180@rails306/gems/devise-1.3.0/lib/devise/models.rb:60:in `block (2 levels) in devise' from /Users/danielkehoe/.rvm/gems/ruby-1.9.2-p180@rails306/gems/devise-1.3.0/lib/devise/models.rb:59:in `each' from /Users/danielkehoe/.rvm/gems/ruby-1.9.2-p180@rails306/gems/devise-1.3.0/lib/devise/models.rb:59:in `block in devise' from /Users/danielkehoe/.rvm/gems/ruby-1.9.2-p180@rails306/gems/devise-1.3.0/lib/devise/models.rb:86:in `devise_modules_hook!' from /Users/danielkehoe/.rvm/gems/ruby-1.9.2-p180@rails306/gems/devise-1.3.0/lib/devise/models.rb:58:in `devise' from /Users/danielkehoe/rails3/testapp/app/models/user.rb:4:in `' from /Users/danielkehoe/rails3/testapp/app/models/user.rb:1:in `' from /Users/danielkehoe/.rvm/gems/ruby-1.9.2-p180@rails306/gems/activesupport-3.0.6/lib/active_support/dependencies.rb:454:in `load' from /Users/danielkehoe/.rvm/gems/ruby-1.9.2-p180@rails306/gems/activesupport-3.0.6/lib/active_support/dependencies.rb:454:in `block in load_file' from /Users/danielkehoe/.rvm/gems/ruby-1.9.2-p180@rails306/gems/activesupport-3.0.6/lib/active_support/dependencies.rb:596:in `new_constants_in' from /Users/danielkehoe/.rvm/gems/ruby-1.9.2-p180@rails306/gems/activesupport-3.0.6/lib/active_support/dependencies.rb:453:in `load_file' from /Users/danielkehoe/.rvm/gems/ruby-1.9.2-p180@rails306/gems/activesupport-3.0.6/lib/active_support/dependencies.rb:340:in `require_or_load' from /Users/danielkehoe/.rvm/gems/ruby-1.9.2-p180@rails306/gems/activesupport-3.0.6/lib/active_support/dependencies.rb:491:in `load_missing_constant' from /Users/danielkehoe/.rvm/gems/ruby-1.9.2-p180@rails306/gems/activesupport-3.0.6/lib/active_support/dependencies.rb:183:in `block in const_missing' from /Users/danielkehoe/.rvm/gems/ruby-1.9.2-p180@rails306/gems/activesupport-3.0.6/lib/active_support/dependencies.rb:181:in `each' from /Users/danielkehoe/.rvm/gems/ruby-1.9.2-p180@rails306/gems/activesupport-3.0.6/lib/active_support/dependencies.rb:181:in `const_missing' from /Users/danielkehoe/.rvm/gems/ruby-1.9.2-p180@rails306/gems/activesupport-3.0.6/lib/active_support/inflector/methods.rb:124:in `block in constantize' from /Users/danielkehoe/.rvm/gems/ruby-1.9.2-p180@rails306/gems/activesupport-3.0.6/lib/active_support/inflector/methods.rb:123:in `each' from /Users/danielkehoe/.rvm/gems/ruby-1.9.2-p180@rails306/gems/activesupport-3.0.6/lib/active_support/inflector/methods.rb:123:in `constantize' from /Users/danielkehoe/.rvm/gems/ruby-1.9.2-p180@rails306/gems/activesupport-3.0.6/lib/active_support/dependencies.rb:528:in `block in ' from /Users/danielkehoe/.rvm/gems/ruby-1.9.2-p180@rails306/gems/activesupport-3.0.6/lib/active_support/dependencies.rb:538:in `yield' from /Users/danielkehoe/.rvm/gems/ruby-1.9.2-p180@rails306/gems/activesupport-3.0.6/lib/active_support/dependencies.rb:538:in `default' from /Users/danielkehoe/.rvm/gems/ruby-1.9.2-p180@rails306/gems/activesupport-3.0.6/lib/active_support/dependencies.rb:538:in `get' from /Users/danielkehoe/.rvm/gems/ruby-1.9.2-p180@rails306/gems/devise-1.3.0/lib/devise/mapping.rb:79:in `to' from /Users/danielkehoe/.rvm/gems/ruby-1.9.2-p180@rails306/gems/devise-1.3.0/lib/devise/rails/routes.rb:169:in `block in devise_for' from /Users/danielkehoe/.rvm/gems/ruby-1.9.2-p180@rails306/gems/devise-1.3.0/lib/devise/rails/routes.rb:165:in `each' from /Users/danielkehoe/.rvm/gems/ruby-1.9.2-p180@rails306/gems/devise-1.3.0/lib/devise/rails/routes.rb:165:in `devise_for' from /Users/danielkehoe/rails3/testapp/config/routes.rb:2:in `block in ' from /Users/danielkehoe/.rvm/gems/ruby-1.9.2-p180@rails306/gems/actionpack-3.0.6/lib/action_dispatch/routing/route_set.rb:233:in `instance_exec' from /Users/danielkehoe/.rvm/gems/ruby-1.9.2-p180@rails306/gems/actionpack-3.0.6/lib/action_dispatch/routing/route_set.rb:233:in `draw' from /Users/danielkehoe/rails3/testapp/config/routes.rb:1:in `' from /Users/danielkehoe/.rvm/gems/ruby-1.9.2-p180@rails306/gems/activesupport-3.0.6/lib/active_support/dependencies.rb:235:in `load' from /Users/danielkehoe/.rvm/gems/ruby-1.9.2-p180@rails306/gems/activesupport-3.0.6/lib/active_support/dependencies.rb:235:in `block in load' from /Users/danielkehoe/.rvm/gems/ruby-1.9.2-p180@rails306/gems/activesupport-3.0.6/lib/active_support/dependencies.rb:225:in `block in load_dependency' from /Users/danielkehoe/.rvm/gems/ruby-1.9.2-p180@rails306/gems/activesupport-3.0.6/lib/active_support/dependencies.rb:596:in `new_constants_in' from /Users/danielkehoe/.rvm/gems/ruby-1.9.2-p180@rails306/gems/activesupport-3.0.6/lib/active_support/dependencies.rb:225:in `load_dependency' from /Users/danielkehoe/.rvm/gems/ruby-1.9.2-p180@rails306/gems/activesupport-3.0.6/lib/active_support/dependencies.rb:235:in `load' from /Users/danielkehoe/.rvm/gems/ruby-1.9.2-p180@rails306/gems/railties-3.0.6/lib/rails/application.rb:127:in `block in reload_routes!' from /Users/danielkehoe/.rvm/gems/ruby-1.9.2-p180@rails306/gems/railties-3.0.6/lib/rails/application.rb:127:in `each' from /Users/danielkehoe/.rvm/gems/ruby-1.9.2-p180@rails306/gems/railties-3.0.6/lib/rails/application.rb:127:in `reload_routes!' from /Users/danielkehoe/.rvm/gems/ruby-1.9.2-p180@rails306/gems/railties-3.0.6/lib/rails/application.rb:120:in `block in routes_reloader' from /Users/danielkehoe/.rvm/gems/ruby-1.9.2-p180@rails306/gems/activesupport-3.0.6/lib/active_support/file_update_checker.rb:32:in `call' from /Users/danielkehoe/.rvm/gems/ruby-1.9.2-p180@rails306/gems/activesupport-3.0.6/lib/active_support/file_update_checker.rb:32:in `execute_if_updated' from /Users/danielkehoe/.rvm/gems/ruby-1.9.2-p180@rails306/gems/railties-3.0.6/lib/rails/application/finisher.rb:51:in `block (2 levels) in ' from /Users/danielkehoe/.rvm/gems/ruby-1.9.2-p180@rails306/gems/railties-3.0.6/lib/rails/application/finisher.rb:52:in `call' from /Users/danielkehoe/.rvm/gems/ruby-1.9.2-p180@rails306/gems/railties-3.0.6/lib/rails/application/finisher.rb:52:in `block in ' from /Users/danielkehoe/.rvm/gems/ruby-1.9.2-p180@rails306/gems/railties-3.0.6/lib/rails/initializable.rb:25:in `instance_exec' from /Users/danielkehoe/.rvm/gems/ruby-1.9.2-p180@rails306/gems/railties-3.0.6/lib/rails/initializable.rb:25:in `run' from /Users/danielkehoe/.rvm/gems/ruby-1.9.2-p180@rails306/gems/railties-3.0.6/lib/rails/initializable.rb:50:in `block in run_initializers' from /Users/danielkehoe/.rvm/gems/ruby-1.9.2-p180@rails306/gems/railties-3.0.6/lib/rails/initializable.rb:49:in `each' from /Users/danielkehoe/.rvm/gems/ruby-1.9.2-p180@rails306/gems/railties-3.0.6/lib/rails/initializable.rb:49:in `run_initializers' from /Users/danielkehoe/.rvm/gems/ruby-1.9.2-p180@rails306/gems/railties-3.0.6/lib/rails/application.rb:134:in `initialize!' from /Users/danielkehoe/.rvm/gems/ruby-1.9.2-p180@rails306/gems/railties-3.0.6/lib/rails/application.rb:77:in `method_missing' from /Users/danielkehoe/rails3/testapp/config/environment.rb:5:in `' from /Users/danielkehoe/.rvm/gems/ruby-1.9.2-p180@rails306/gems/activesupport-3.0.6/lib/active_support/dependencies.rb:239:in `require' from /Users/danielkehoe/.rvm/gems/ruby-1.9.2-p180@rails306/gems/activesupport-3.0.6/lib/active_support/dependencies.rb:239:in `block in require' from /Users/danielkehoe/.rvm/gems/ruby-1.9.2-p180@rails306/gems/activesupport-3.0.6/lib/active_support/dependencies.rb:225:in `block in load_dependency' from /Users/danielkehoe/.rvm/gems/ruby-1.9.2-p180@rails306/gems/activesupport-3.0.6/lib/active_support/dependencies.rb:596:in `new_constants_in' from /Users/danielkehoe/.rvm/gems/ruby-1.9.2-p180@rails306/gems/activesupport-3.0.6/lib/active_support/dependencies.rb:225:in `load_dependency' from /Users/danielkehoe/.rvm/gems/ruby-1.9.2-p180@rails306/gems/activesupport-3.0.6/lib/active_support/dependencies.rb:239:in `require' from /Users/danielkehoe/.rvm/gems/ruby-1.9.2-p180@rails306/gems/railties-3.0.6/lib/rails/application.rb:103:in `require_environment!' from /Users/danielkehoe/.rvm/gems/ruby-1.9.2-p180@rails306/gems/railties-3.0.6/lib/rails/commands.rb:16:in `' from script/rails:6:in `require' from script/rails:6:in `'
Matt, I see that you're setting the email from the invite record. Got an email from a guy saying that he'd like to use a different email. Can you take care of this one?
As reported by @ptrelford.
Here's a stack trace:
C:\Users\Phil>relish projects:add ptrelford/cellz
Please enter your Relish credentials.
Email: [email protected]
Password: DL is deprecated, please use Fiddle
C:/Ruby200-x64/lib/ruby/2.0.0/Win32API.rb:14:in `initialize': No such file or di
rectory (LoadError)
from C:/Ruby200-x64/lib/ruby/2.0.0/Win32API.rb:14:in `dlopen'
from C:/Ruby200-x64/lib/ruby/2.0.0/Win32API.rb:14:in `initialize'
from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/relish-0.6/lib/relish/ui.rb:26:in `new'
from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/relish-0.6/lib/relish/ui.rb:26:in `ask_for_password_on_windows'
from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/relish-0.6/lib/relish/ui.rb:10:in `get_credentials'
from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/relish-0.6/lib/relish/commands/base.rb:57:in `get_api_token'
from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/relish-0.6/lib/relish/commands/base.rb:51:in `get_and_store_api_token'
from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/relish-0.6/lib/relish/commands/base.rb:16:in `block in <class:Base>'
from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/relish-0.6/lib/relish/commands/dsl/option.rb:16:in `instance_exec'
from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/relish-0.6/lib/relish/commands/dsl/option.rb:16:in `block (2 levels) in define'
from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/relish-0.6/lib/relish/commands/base.rb:64:in `resource'
from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/relish-0.6/lib/relish/commands/projects.rb:15:in `block in <class:Projects>'
from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/relish-0.6/lib/relish/commands/dsl/command.rb:11:in `instance_exec'
from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/relish-0.6/lib/relish/commands/dsl/command.rb:11:in `block (2 levels) in define'
from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/relish-0.6/lib/relish/command.rb:23:in `run'
from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/relish-0.6/bin/relish:11:in`<top (required)>'
from C:/Ruby200-x64/bin/relish:23:in `load'
from C:/Ruby200-x64/bin/relish:23:in `<main>'
It looks like the problem is this code which uses a Win32 API call that's probably outmoded.
This looks like a better solution:
http://stackoverflow.com/questions/133719/how-can-i-read-a-password
As of 0.5.0 we use HTTPS for all connections to the server, but some users need to use the gem in an environment that doesn't support SSL connections.
Therefore, we need a --no-ssl option that allows them to switch the protocol to HTTP.
The quickstart page on the dashboard need to be made permanent somewhere. Probably on the site.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.