Skip to content

Redmine mixin gem - provides access to Redmine Objects from another RAILS app

License

Notifications You must be signed in to change notification settings

itsmikeq/redmine_mixin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RedmineMixin

Enables some Redmine models to be available via other rails apps

TODOs

  • Write tests... yeah.

Installation

Add this line to your application's Gemfile:

gem 'redmine_mixin'

And then execute:

$ bundle

Or install it yourself as:

$ gem install redmine_mixin

Usage

The "Enable REST web service" box must be checked on the Redmine server under Settings -> Authentication

The default username and password for the redmine server are used. To override, create a file in config called redmine_mixin.yml and input your settings:

```ruby default: &default redmine_server: "http://localhost:3000" redmine_username: "admin" redmine_password: "admin"

development: <<: *default

test: <<: *default

production: <<: *default

</code>
The following Redmine models are exported via this gem:

* IssueResource
* UserResource
* MemberResource
* RoleResource
* ProjectResource
* GitResource
* MessageResource
* GroupResource
* CustomFieldResource
* CustomValueResource
* TrackerResource
* PrincipalResource
* UserResource

To use them in your Rails app, install the gem and write stuff

To use from the command line,  bundle exec irb -Ilib -Iconfig/initializers.rb -rredmine_mixin

## Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request

About

Redmine mixin gem - provides access to Redmine Objects from another RAILS app

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages