Skip to content
This repository has been archived by the owner on Oct 19, 2018. It is now read-only.

Working with the Ruby Hyperloop Gems

Jan Biedermann edited this page Dec 14, 2017 · 9 revisions

Anyobody who wants to work with the hyperloop gems, fixing, improving, currently there is this way: create a directoy, in that directory clone the repos so that you have sth like this:

drwxr-xr-x  29 jan  staff   986 11 Dez 21:04 hyper-component
drwxr-xr-x  47 jan  staff  1598 11 Dez 21:04 hyper-mesh
drwxr-xr-x  30 jan  staff  1020 11 Dez 21:04 hyper-model
drwxr-xr-x  36 jan  staff  1224 11 Dez 21:04 hyper-operation
drwxr-xr-x  44 jan  staff  1496 11 Dez 21:04 hyper-react
drwxr-xr-x  34 jan  staff  1156 11 Dez 21:04 hyper-router
drwxr-xr-x  34 jan  staff  1156 11 Dez 21:04 hyper-spec
drwxr-xr-x  34 jan  staff  1156 11 Dez 21:04 hyper-store
drwxr-xr-x  30 jan  staff  1020 11 Dez 21:04 hyperloop
drwxr-xr-x  31 jan  staff  1054 11 Dez 21:04 hyperloop-config

then you

cd hyperloop
git checkout 1_0_0
rake -T

und this is available for assistance:

rake hyperloop:gems:build                      # build all hyperloop gems
rake hyperloop:gems:inabox[host]               # upload all hyperloop gems to the inabox gem server, accepts host...
rake hyperloop:git:co_branch[branch_name]      # checkout branch in local hyperloop repos, requires branch name a...
rake hyperloop:git:commit[commit_message]      # commit all changes in all repos in their current branches, requi...
rake hyperloop:git:create_branch[branch_name]  # create new branch in local hyperloop repos, requires branch name...
rake hyperloop:git:push[remote,branch]         # push all local hyperloop repos, accepts remote and branch as arg...
rake hyperloop:git:show_branch                 # show current branch in local hyperloop repos
rake hyperloop:git:status                      # show git status for local hyperloop repos
rake hyperloop:version:set[version,hrversion]  # set gems version to, requires gem version and hyper-router gem v...
rake hyperloop:version:show                    # show current gem versions

For the following repos, based on the 1_0_0 branch, you can turn on travis:

  • hyper-mesh
  • hyper-operation
  • hyper-react
  • hyper-spec
  • hyper-store

You can set a HYPER_DEV_GEM_SOURCE environment variable, which should be a bundler source. The gems then can pull custom versions of the other gems from that source.

The version number of the gems is expected to by in sync, they all have the same version number, except hyper-router.

Clone this wiki locally