File tree 7 files changed +59
-2
lines changed
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"
1
2
require 'rake/testtask'
2
3
3
4
Rake ::TestTask . new do |t |
@@ -7,4 +8,4 @@ Rake::TestTask.new do |t|
7
8
t . verbose = true
8
9
end
9
10
10
- task :default => :test
11
+ task :default => :test
Original file line number Diff line number Diff line change 4
4
name 'Redmine Github Hook plugin'
5
5
author 'Jakob Skjerning'
6
6
description 'This plugin allows your Redmine installation to receive Github post-receive notifications'
7
- version '2.0.0'
7
+ version RedmineGithubHook :: VERSION
8
8
end
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 = [ "[email protected] " ]
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