Merge pull request #15 from opf/release/1.0

release/1.0.1
pull/6827/head
cratz 11 years ago
commit efe4246c90
  1. 6
      README.md
  2. 36
      db/migrate/20140320140001_legacy_document_journal_data.rb
  3. 4
      doc/CHANGELOG.md
  4. 2
      lib/open_project/documents/version.rb
  5. 2
      openproject-documents.gemspec

@ -24,11 +24,11 @@ Installation
OpenProject Documents depends on OpenProject Plugins. Thus, if you haven't done it already, add the following line to the `Gemfile.plugins` in your OpenProject installation:
`gem "openproject-plugins", git: "https://github.com/opf/openproject-plugins.git", :branch => "dev"`
`gem "openproject-plugins", git: "https://github.com/opf/openproject-plugins.git", :branch => "stable"`
For OpenProject Documents itself you need to add the following line to the `Gemfile.plugins` of OpenProject:
`gem "openproject-documents", git: "https://github.com/opf/openproject-documents.git", :branch => "dev"`
`gem "openproject-documents", git: "https://github.com/opf/openproject-documents.git", :branch => "stable"`
Afterwards, run:
@ -44,7 +44,7 @@ Deinstallation
Remove the line
`gem "openproject-documents", git: "https://github.com/opf/openproject-documents.git", :branch => "dev"`
`gem "openproject-documents", git: "https://github.com/opf/openproject-documents.git", :branch => "stable"`
from the file `Gemfile.plugins` and run:

@ -0,0 +1,36 @@
#-- encoding: UTF-8
#-- copyright
# OpenProject is a project management system.
# Copyright (C) 2011-2013 the OpenProject Foundation (OPF)
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#
# See doc/COPYRIGHT.md for more details.
#++
#
require Rails.root.join("db","migrate","migration_utils","legacy_journal_migrator").to_s
class LegacyDocumentJournalData < ActiveRecord::Migration
def up
migrator.run
end
def down
migrator.remove_journals_derived_from_legacy_journals 'document_journals'
end
def migrator
@migrator ||= Migration::LegacyJournalMigrator.new "DocumentJournal", "document_journals"
end
end

@ -32,6 +32,10 @@ See doc/COPYRIGHT.rdoc for more details.
# Changelog
## 1.0.1
* `#5361` Add missing journal data migration
## 1.0.0
* `#3329` Refactor Duplicated Code Journals

@ -31,6 +31,6 @@
module OpenProject
module Documents
VERSION = "1.0.0"
VERSION = "1.0.1"
end
end

@ -9,7 +9,7 @@ Gem::Specification.new do |s|
s.authors = "Finn GmbH"
s.email = "info@finn.de"
s.homepage = "https://www.openproject.org/projects/documents"
s.summary = "An OpenProject plugin to allow creation of documents in projects"
s.summary = "OpenProject Documents"
s.description = "An OpenProject plugin to allow creation of documents in projects"
s.license = "GPLv3"

Loading…
Cancel
Save