File tree Expand file tree Collapse file tree 7 files changed +59
-2
lines changed Expand file tree Collapse file tree 7 files changed +59
-2
lines changed Original file line number Diff line number Diff line change 1+ * .gem
2+ * .rbc
3+ .bundle
4+ .config
5+ .yardoc
6+ Gemfile.lock
7+ InstalledFiles
8+ _yardoc
9+ coverage
10+ doc /
11+ lib /bundler /man
12+ pkg
13+ rdoc
14+ spec /reports
15+ test /tmp
16+ test /version_tmp
17+ tmp
Original file line number Diff line number Diff line change 1+ source 'https://rubygems.org'
2+
3+ # Specify your gem's dependencies in redmine_github_hook.gemspec
4+ gemspec
Original file line number Diff line number Diff line change 1+ require "bundler/gem_tasks"
12require 'rake/testtask'
23
34Rake ::TestTask . new do |t |
@@ -7,4 +8,4 @@ Rake::TestTask.new do |t|
78 t . verbose = true
89end
910
10- task :default => :test
11+ task :default => :test
Original file line number Diff line number Diff line change 44 name 'Redmine Github Hook plugin'
55 author 'Jakob Skjerning'
66 description 'This plugin allows your Redmine installation to receive Github post-receive notifications'
7- version '2.0.0'
7+ version RedmineGithubHook :: VERSION
88end
Original file line number Diff line number Diff line change 1+ require "redmine_github_hook/version"
2+
3+ module RedmineGithubHook
4+ # Run the classic redmine plugin initializer after rails boot
5+ class Plugin < ::Rails ::Engine
6+ config . after_initialize do
7+ require File . expand_path ( "../../init" , __FILE__ )
8+ end
9+ end
10+ end
Original file line number Diff line number Diff line change 1+ module RedmineGithubHook
2+ VERSION = "2.0.0"
3+ end
Original file line number Diff line number Diff line change 1+ # coding: utf-8
2+ lib = File . expand_path ( '../lib' , __FILE__ )
3+ $LOAD_PATH. unshift ( lib ) unless $LOAD_PATH. include? ( lib )
4+ require 'redmine_github_hook/version'
5+
6+ Gem ::Specification . new do |spec |
7+ spec . name = "redmine_github_hook"
8+ spec . version = RedmineGithubHook ::VERSION
9+ spec . authors = [ "Jakob Skjerning" ]
10+ spec . email = [ "jakob@mentalized.net" ]
11+ spec . summary = "Allow your Redmine installation to be notified when changes have been pushed to a Github repository."
12+ spec . homepage = ""
13+ spec . license = "MIT"
14+
15+ spec . files = `git ls-files` . split ( $/)
16+ spec . executables = spec . files . grep ( %r{^bin/} ) { |f | File . basename ( f ) }
17+ spec . test_files = spec . files . grep ( %r{^(test|spec|features)/} )
18+ spec . require_paths = [ "lib" ]
19+
20+ spec . add_development_dependency "bundler" , "~> 1.5"
21+ spec . add_development_dependency "rake"
22+ end
You can’t perform that action at this time.
0 commit comments