1. Wyświetlanie i edycja pola "source_file" w widoku ticketu.
[redakcja.git] / redmine / redmine_publications / init.rb
diff --git a/redmine/redmine_publications/init.rb b/redmine/redmine_publications/init.rb
new file mode 100644 (file)
index 0000000..1df1e93
--- /dev/null
@@ -0,0 +1,27 @@
+require 'redmine'
+
+# Patches to the Redmine core.
+require 'dispatcher'
+Dispatcher.to_prepare :redmine_kanban do
+  require_dependency 'issue'
+  # Guards against including the module multiple time (like in tests)
+  # and registering multiple callbacks
+  unless Issue.included_modules.include? RedminePublications::IssuePatch
+    Issue.send(:include, RedminePublications::IssuePatch)
+  end
+end
+
+require_dependency 'issue_publication_hook'
+
+Redmine::Plugin.register :redmine_publicatons do
+  name 'Publications managment plugin'
+  author 'Łukasz Rekucki'
+  description 'This plugn helps manage issues related to a publication.'
+  version '0.0.3'
+
+
+  requires_redmine :version_or_higher => '0.8.0'        
+
+end
+